Class MultiBehaviour<M extends IMulti<? super M>>
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
com.petrolpark.compat.create.core.block.multi.MultiBehaviour<M>
- All Implemented Interfaces:
IMultiBehaviour<M>
public abstract class MultiBehaviour<M extends IMulti<? super M>>
extends com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
implements IMultiBehaviour<M>
-
Field Summary
Fields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
blockEntity -
Constructor Summary
ConstructorsConstructorDescriptionMultiBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be) -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()final voidabstract com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<? extends MultiBehaviour<? extends M>> getType()abstract booleanabstract voidabstract voidtransform(com.simibubi.create.content.contraptions.StructureTransform transform) Methods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
get, get, getPos, getRequiredItems, getWorld, initialize, isSafeNBT, lazyTick, onBlockChanged, onNeighborChanged, read, setLazyTickRate, tick, unload, write, 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.IMultiBehaviour
getOptionalMulti
-
Constructor Details
-
MultiBehaviour
public MultiBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be)
-
-
Method Details
-
isMultiController
public abstract boolean isMultiController() -
multiDisassembled
public abstract void multiDisassembled() -
transform
public abstract void transform(com.simibubi.create.content.contraptions.StructureTransform transform) -
destroy
public void destroy()- Overrides:
destroyin classcom.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
-
disassembleMulti
public final void disassembleMulti() -
getType
public abstract com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<? extends MultiBehaviour<? extends M>> getType()- Specified by:
getTypein classcom.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
-