From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- javadoc/net/minecraft/tileentity/TileEntity.html | 766 +++++++++++++++++++++++ 1 file changed, 766 insertions(+) create mode 100644 javadoc/net/minecraft/tileentity/TileEntity.html (limited to 'javadoc/net/minecraft/tileentity/TileEntity.html') diff --git a/javadoc/net/minecraft/tileentity/TileEntity.html b/javadoc/net/minecraft/tileentity/TileEntity.html new file mode 100644 index 0000000..5d84e91 --- /dev/null +++ b/javadoc/net/minecraft/tileentity/TileEntity.html @@ -0,0 +1,766 @@ + + + + + +TileEntity (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraft.tileentity
+

Class TileEntity

+
+
+ + +
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        worldObj

        +
        protected World worldObj
        +
      • +
      + + + +
        +
      • +

        xCoord

        +
        public int xCoord
        +
      • +
      + + + +
        +
      • +

        yCoord

        +
        public int yCoord
        +
      • +
      + + + +
        +
      • +

        zCoord

        +
        public int zCoord
        +
      • +
      + + + +
        +
      • +

        tileEntityInvalid

        +
        protected boolean tileEntityInvalid
        +
      • +
      + + + +
        +
      • +

        blockMetadata

        +
        public int blockMetadata
        +
      • +
      + + + +
        +
      • +

        blockType

        +
        public Block blockType
        +
      • +
      + + + +
        +
      • +

        INFINITE_EXTENT_AABB

        +
        public static final AxisAlignedBB INFINITE_EXTENT_AABB
        +
        Sometimes default render bounding box: infinite in scope. Used to control rendering on TileEntitySpecialRenderer.
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TileEntity

        +
        public TileEntity()
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        addMapping

        +
        public static void addMapping(java.lang.Class p_145826_0_,
        +              java.lang.String p_145826_1_)
        +
      • +
      + + + +
        +
      • +

        getWorldObj

        +
        public World getWorldObj()
        +
      • +
      + + + +
        +
      • +

        setWorldObj

        +
        public void setWorldObj(World p_145834_1_)
        +
      • +
      + + + +
        +
      • +

        hasWorldObj

        +
        public boolean hasWorldObj()
        +
      • +
      + + + +
        +
      • +

        readFromNBT

        +
        public void readFromNBT(NBTTagCompound p_145839_1_)
        +
      • +
      + + + +
        +
      • +

        writeToNBT

        +
        public void writeToNBT(NBTTagCompound p_145841_1_)
        +
      • +
      + + + +
        +
      • +

        updateEntity

        +
        public void updateEntity()
        +
      • +
      + + + + + + + +
        +
      • +

        getBlockMetadata

        +
        public int getBlockMetadata()
        +
      • +
      + + + +
        +
      • +

        markDirty

        +
        public void markDirty()
        +
      • +
      + + + +
        +
      • +

        getDistanceFrom

        +
        public double getDistanceFrom(double p_145835_1_,
        +                     double p_145835_3_,
        +                     double p_145835_5_)
        +
      • +
      + + + +
        +
      • +

        getMaxRenderDistanceSquared

        +
        public double getMaxRenderDistanceSquared()
        +
      • +
      + + + +
        +
      • +

        getBlockType

        +
        public Block getBlockType()
        +
      • +
      + + + +
        +
      • +

        getDescriptionPacket

        +
        public Packet getDescriptionPacket()
        +
      • +
      + + + +
        +
      • +

        isInvalid

        +
        public boolean isInvalid()
        +
      • +
      + + + +
        +
      • +

        invalidate

        +
        public void invalidate()
        +
      • +
      + + + +
        +
      • +

        validate

        +
        public void validate()
        +
      • +
      + + + +
        +
      • +

        receiveClientEvent

        +
        public boolean receiveClientEvent(int p_145842_1_,
        +                         int p_145842_2_)
        +
      • +
      + + + +
        +
      • +

        updateContainingBlockInfo

        +
        public void updateContainingBlockInfo()
        +
      • +
      + + + + + + + +
        +
      • +

        canUpdate

        +
        public boolean canUpdate()
        +
        Determines if this TileEntity requires update calls.
        +
        Returns:
        True if you want updateEntity() to be called, false if not
        +
      • +
      + + + +
        +
      • +

        onDataPacket

        +
        public void onDataPacket(NetworkManager net,
        +                S35PacketUpdateTileEntity pkt)
        +
        Called when you receive a TileEntityData packet for the location this + TileEntity is currently in. On the client, the NetworkManager will always + be the remote server. On the server, it will be whomever is responsible for + sending the packet.
        +
        Parameters:
        net - The NetworkManager the packet originated from
        pkt - The data packet
        +
      • +
      + + + +
        +
      • +

        onChunkUnload

        +
        public void onChunkUnload()
        +
        Called when the chunk this TileEntity is on is Unloaded.
        +
      • +
      + + + +
        +
      • +

        shouldRefresh

        +
        public boolean shouldRefresh(Block oldBlock,
        +                    Block newBlock,
        +                    int oldMeta,
        +                    int newMeta,
        +                    World world,
        +                    int x,
        +                    int y,
        +                    int z)
        +
        Called from Chunk.setBlockIDWithMetadata, determines if this tile entity should be re-created when the ID, or Metadata changes. + Use with caution as this will leave straggler TileEntities, or create conflicts with other TileEntities if not used properly.
        +
        Parameters:
        oldID - The old ID of the block
        newID - The new ID of the block (May be the same)
        oldMeta - The old metadata of the block
        newMeta - The new metadata of the block (May be the same)
        world - Current world
        x - X Position
        y - Y Position
        z - Z Position
        +
        Returns:
        True to remove the old tile entity, false to keep it in tact {and create a new one if the new values specify to}
        +
      • +
      + + + +
        +
      • +

        shouldRenderInPass

        +
        public boolean shouldRenderInPass(int pass)
        +
      • +
      + + + + +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3