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

    Fields
    Modifier and Type
    Field
    Description
    protected 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

    Constructors
    Constructor
    Description
     
    TILTickableBlockEntity1_12_2(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> api, Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?,?>> onTick)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    readFromNBT(net.minecraft.nbt.NBTTagCompound tag)
     
    void
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • onTickMap

      protected static final Map<net.minecraft.util.ResourceLocation, Consumer<mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<?,?>>> 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:
      readFromNBT in class net.minecraft.tileentity.TileEntity
    • update

      public void update()
      Specified by:
      update in interface net.minecraft.util.ITickable