Class TILTickableBlockEntity1_18_2
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.registry.blockentity.TILBasicBlockEntity1_18_2
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.registry.blockentity.TILTickableBlockEntity1_18_2
-
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_18_2(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_18_2
public TILTickableBlockEntity1_18_2(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()
-