Class TILTickableBlockEntity1_12_2
java.lang.Object
net.minecraft.tileentity.TileEntity
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.registry.blockentity.TILBasicBlockEntity1_12_2
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.registry.blockentity.TILTickableBlockEntity1_12_2
- All Implemented Interfaces:
net.minecraft.util.ITickable,net.minecraftforge.common.capabilities.ICapabilityProvider,net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.NBTTagCompound>,net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.NBTTagCompound>
@ParametersAreNonnullByDefault
public class TILTickableBlockEntity1_12_2
extends TILBasicBlockEntity1_12_2
implements net.minecraft.util.ITickable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Map<net.minecraft.util.ResourceLocation, Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?, ?>>> Fields inherited from class net.minecraft.tileentity.TileEntity
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world -
Constructor Summary
ConstructorsConstructorDescriptionTILTickableBlockEntity1_12_2(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> api, Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?, ?>> onTick) -
Method Summary
Modifier and TypeMethodDescriptionvoidreadFromNBT(net.minecraft.nbt.NBTTagCompound tag) voidupdate()Methods inherited from class net.minecraft.tileentity.TileEntity
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdatePacket, getUpdateTag, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate, writeToNBT
-
Field Details
-
onTickMap
-
-
Constructor Details
-
TILTickableBlockEntity1_12_2
public TILTickableBlockEntity1_12_2() -
TILTickableBlockEntity1_12_2
public TILTickableBlockEntity1_12_2(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> api, Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?, ?>> onTick)
-
-
Method Details
-
readFromNBT
public void readFromNBT(net.minecraft.nbt.NBTTagCompound tag) - Overrides:
readFromNBTin classnet.minecraft.tileentity.TileEntity
-
update
public void update()- Specified by:
updatein interfacenet.minecraft.util.ITickable
-