Class TILTickableBlockEntity1_21
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
mods.thecomputerizer.theimpossiblelibrary.shared.v21.registry.blockentity.TILBasicBlockEntity1_21
mods.thecomputerizer.theimpossiblelibrary.shared.v21.registry.blockentity.TILTickableBlockEntity1_21
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput -
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_21(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, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, clearRemoved, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadAdditional, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, saveAdditional, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, setRemoved, triggerEvent
-
Field Details
-
onTick
protected final Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?,?>> onTick
-
-
Constructor Details
-
TILTickableBlockEntity1_21
public TILTickableBlockEntity1_21(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()
-