public class DeferralBehaviour extends TileEntityBehaviour
| Modifier and Type | Field and Description |
|---|---|
static BehaviourType<DeferralBehaviour> |
TYPE |
tileEntity| Constructor and Description |
|---|
DeferralBehaviour(SmartTileEntity te,
java.util.function.Supplier<java.lang.Boolean> callback) |
| Modifier and Type | Method and Description |
|---|---|
BehaviourType<?> |
getType() |
boolean |
isSafeNBT() |
void |
read(net.minecraft.nbt.CompoundNBT nbt,
boolean clientPacket) |
void |
scheduleUpdate() |
void |
tick() |
void |
write(net.minecraft.nbt.CompoundNBT nbt,
boolean clientPacket) |
destroy, destroy, get, get, getPos, getRequiredItems, getWorld, initialize, lazyTick, onBlockChanged, onNeighborChanged, remove, setLazyTickRatepublic static BehaviourType<DeferralBehaviour> TYPE
public DeferralBehaviour(SmartTileEntity te, java.util.function.Supplier<java.lang.Boolean> callback)
public boolean isSafeNBT()
isSafeNBT in class TileEntityBehaviourpublic void write(net.minecraft.nbt.CompoundNBT nbt,
boolean clientPacket)
write in class TileEntityBehaviourpublic void read(net.minecraft.nbt.CompoundNBT nbt,
boolean clientPacket)
read in class TileEntityBehaviourpublic void tick()
tick in class TileEntityBehaviourpublic void scheduleUpdate()
public BehaviourType<?> getType()
getType in class TileEntityBehaviour