Class TILTickableBlockEntity1_20
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
mods.thecomputerizer.theimpossiblelibrary.shared.v20.registry.blockentity.TILBasicBlockEntity1_20
mods.thecomputerizer.theimpossiblelibrary.shared.v20.registry.blockentity.TILTickableBlockEntity1_20
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?,?>> Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition -
Constructor Summary
ConstructorsConstructorDescriptionTILTickableBlockEntity1_20(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?, ?>> onTick) -
Method Summary
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, load, loadStatic, onlyOpCanSetNbt, saveAdditional, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent
-
Field Details
-
onTick
protected final Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?,?>> onTick
-
-
Constructor Details
-
TILTickableBlockEntity1_20
public TILTickableBlockEntity1_20(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?, ?>> onTick)
-
-
Method Details
-
tick
public void tick()
-