Class MultiControllerBehaviour<M extends IMulti<? super M>>
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
com.petrolpark.compat.create.core.block.multi.MultiBehaviour<M>
com.petrolpark.compat.create.core.block.multi.MultiControllerBehaviour<M>
- All Implemented Interfaces:
IMultiBehaviour<M>,IMultiSideBehaviour<M>
public abstract class MultiControllerBehaviour<M extends IMulti<? super M>>
extends MultiBehaviour<M>
implements IMultiSideBehaviour<M>
-
Field Summary
FieldsFields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
blockEntity -
Constructor Summary
ConstructorsConstructorDescriptionMultiControllerBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal voidvoidread(net.minecraft.nbt.CompoundTag nbt, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) voidtransform(com.simibubi.create.content.contraptions.StructureTransform transform) voidwrite(net.minecraft.nbt.CompoundTag nbt, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) Methods inherited from class com.petrolpark.compat.create.core.block.multi.MultiBehaviour
destroy, disassembleMulti, getTypeMethods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
get, get, getPos, getRequiredItems, getWorld, initialize, isSafeNBT, lazyTick, onBlockChanged, onNeighborChanged, setLazyTickRate, tick, unload, writeSafeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.petrolpark.compat.create.core.block.multi.IMultiSideBehaviour
getMultiFace
-
Field Details
-
multi
-
LOWER_POS_TAG_KEY
- See Also:
-
UPPER_POS_TAG_KEY
- See Also:
-
-
Constructor Details
-
MultiControllerBehaviour
public MultiControllerBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be)
-
-
Method Details
-
getOptionalMulti
- Specified by:
getOptionalMultiin interfaceIMultiBehaviour<M extends IMulti<? super M>>
-
isMultiController
public final boolean isMultiController()- Specified by:
isMultiControllerin classMultiBehaviour<M extends IMulti<? super M>>
-
multiDisassembled
public final void multiDisassembled()- Specified by:
multiDisassembledin classMultiBehaviour<M extends IMulti<? super M>>
-
transform
public void transform(com.simibubi.create.content.contraptions.StructureTransform transform) - Specified by:
transformin classMultiBehaviour<M extends IMulti<? super M>>
-
read
public void read(net.minecraft.nbt.CompoundTag nbt, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) - Overrides:
readin classcom.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
-
write
public void write(net.minecraft.nbt.CompoundTag nbt, net.minecraft.core.HolderLookup.Provider registries, boolean clientPacket) - Overrides:
writein classcom.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
-