Modifier and Type | Method and Description |
---|---|
static void |
ClientRegistry.bindTileEntitySpecialRenderer(Class<? extends TileEntity> tileEntityClass,
TileEntitySpecialRenderer specialRenderer) |
static void |
ClientRegistry.registerTileEntity(Class<? extends TileEntity> tileEntityClass,
String id,
TileEntitySpecialRenderer specialRenderer)
Utility method for registering a tile entity and it's renderer at once - generally you should register them separately
|
Modifier and Type | Method and Description |
---|---|
static void |
GameRegistry.registerTileEntity(Class<? extends TileEntity> tileEntityClass,
String id) |
static void |
GameRegistry.registerTileEntityWithAlternatives(Class<? extends TileEntity> tileEntityClass,
String id,
String... alternatives)
Register a tile entity, with alternative TileEntity identifiers.
|
Modifier and Type | Method and Description |
---|---|
TileEntity |
BlockEnderChest.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockNote.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockDispenser.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockMobSpawner.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockDropper.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockCommandBlock.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockEndPortal.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockJukeBox.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockFurnace.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockBrewingStand.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockChest.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockHopper.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockSign.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockDaylightDetector.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockEnchantmentTable.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockBeacon.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
ITileEntityProvider.createNewTileEntity(World world)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockPistonMoving.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockSkull.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
BlockComparator.createNewTileEntity(World par1World)
Returns a new instance of a block's tile entity class.
|
TileEntity |
Block.createTileEntity(World world,
int metadata)
Called throughout the code as a replacement for ITileEntityProvider.createNewTileEntity
Return the same thing you would from that function.
|
TileEntity |
BlockSourceImpl.getBlockTileEntity() |
static TileEntity |
BlockPistonMoving.getTileEntity(int par0,
int par1,
int par2,
boolean par3,
boolean par4)
gets a new TileEntityPiston created with the arguments provided.
|
Modifier and Type | Method and Description |
---|---|
void |
EntityPlayerSP.displayGUIEditSign(TileEntity par1TileEntity)
Displays the GUI for editing a sign.
|
Modifier and Type | Method and Description |
---|---|
void |
RenderEnchantmentTable.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8) |
Modifier and Type | Method and Description |
---|---|
TileEntitySpecialRenderer |
TileEntityRenderer.getSpecialRendererForEntity(TileEntity par1TileEntity)
Returns the TileEntitySpecialRenderer used to render this TileEntity instance, or null if it has no special
renderer
|
boolean |
TileEntityRenderer.hasSpecialRenderer(TileEntity par1TileEntity)
Returns true if this TileEntity instance has a TileEntitySpecialRenderer associated with it, false otherwise.
|
void |
TileEntityRenderer.renderTileEntity(TileEntity par1TileEntity,
float par2)
Render this TileEntity at its current position from the player
|
void |
TileEntitySignRenderer.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8) |
void |
TileEntityBeaconRenderer.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8) |
void |
TileEntityRenderer.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8)
Render this TileEntity at a given set of coordinates
|
void |
TileEntityMobSpawnerRenderer.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8) |
abstract void |
TileEntitySpecialRenderer.renderTileEntityAt(TileEntity tileentity,
double d0,
double d1,
double d2,
float f) |
void |
TileEntitySkullRenderer.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8) |
void |
TileEntityEnderChestRenderer.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8) |
void |
RenderEndPortal.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8) |
void |
TileEntityChestRenderer.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8) |
void |
TileEntityRendererPiston.renderTileEntityAt(TileEntity par1TileEntity,
double par2,
double par4,
double par6,
float par8) |
Modifier and Type | Method and Description |
---|---|
TileEntity |
IBlockSource.getBlockTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
EntityPlayerMP.displayGUIEditSign(TileEntity par1TileEntity)
Displays the GUI for editing a sign.
|
void |
EntityPlayer.displayGUIEditSign(TileEntity par1TileEntity)
Displays the GUI for editing a sign.
|
Modifier and Type | Method and Description |
---|---|
static void |
ModLoader.registerTileEntity(Class<? extends TileEntity> tileEntityClass,
String id)
Register a new tile entity class
|
static void |
ModLoader.registerTileEntity(Class<? extends TileEntity> tileEntityClass,
String id,
TileEntitySpecialRenderer renderer) |
Modifier and Type | Class and Description |
---|---|
class |
TileEntityBeacon |
class |
TileEntityBrewingStand |
class |
TileEntityChest |
class |
TileEntityCommandBlock |
class |
TileEntityComparator |
class |
TileEntityDaylightDetector |
class |
TileEntityDispenser |
class |
TileEntityDropper |
class |
TileEntityEnchantmentTable |
class |
TileEntityEnderChest |
class |
TileEntityEndPortal |
class |
TileEntityFurnace |
class |
TileEntityHopper |
class |
TileEntityMobSpawner |
class |
TileEntityNote |
class |
TileEntityPiston |
class |
TileEntityRecordPlayer |
class |
TileEntitySign |
class |
TileEntitySkull |
Modifier and Type | Method and Description |
---|---|
static TileEntity |
TileEntity.createAndLoadEntity(NBTTagCompound par0NBTTagCompound)
Creates a new entity and loads its data from the specified NBT.
|
Modifier and Type | Method and Description |
---|---|
TileEntity |
World.getBlockTileEntity(int par1,
int par2,
int par3)
Returns the TileEntity associated with a given block in X,Y,Z coordinates, or null if no TileEntity exists
|
TileEntity |
IBlockAccess.getBlockTileEntity(int i,
int j,
int k)
Returns the TileEntity associated with a given block in X,Y,Z coordinates, or null if no TileEntity exists
|
TileEntity |
ChunkCache.getBlockTileEntity(int par1,
int par2,
int par3)
Returns the TileEntity associated with a given block in X,Y,Z coordinates, or null if no TileEntity exists
|
Modifier and Type | Method and Description |
---|---|
void |
World.addTileEntity(TileEntity entity)
Adds a single TileEntity to the world.
|
void |
World.markTileEntityChunkModified(int par1,
int par2,
int par3,
TileEntity par4TileEntity)
Args: X, Y, Z, tile entity Marks the chunk the tile entity is in as modified.
|
void |
World.markTileEntityForDespawn(TileEntity par1TileEntity)
adds tile entity to despawn list (renamed from markEntityForDespawn)
|
void |
World.setBlockTileEntity(int par1,
int par2,
int par3,
TileEntity par4TileEntity)
Sets the TileEntity for a given block in X, Y, Z coordinates
|
Modifier and Type | Method and Description |
---|---|
TileEntity |
EmptyChunk.getChunkBlockTileEntity(int par1,
int par2,
int par3)
Gets the TileEntity for a given block in this chunk
|
TileEntity |
Chunk.getChunkBlockTileEntity(int par1,
int par2,
int par3)
Gets the TileEntity for a given block in this chunk
|
Modifier and Type | Method and Description |
---|---|
void |
EmptyChunk.addTileEntity(TileEntity par1TileEntity)
Adds a TileEntity to a chunk
|
void |
Chunk.addTileEntity(TileEntity par1TileEntity)
Adds a TileEntity to a chunk
|
void |
EmptyChunk.setChunkBlockTileEntity(int par1,
int par2,
int par3,
TileEntity par4TileEntity)
Sets the TileEntity for a given block in this chunk
|
void |
Chunk.setChunkBlockTileEntity(int par1,
int par2,
int par3,
TileEntity par4TileEntity)
Sets the TileEntity for a given block in this chunk
|
Modifier and Type | Class and Description |
---|---|
class |
TileFluidHandler
Reference Tile Entity implementation of
IFluidHandler . |
Constructor and Description |
---|
LiquidTank(int liquidId,
int quantity,
int capacity,
TileEntity tile)
Deprecated.
|
LiquidTank(LiquidStack liquid,
int capacity,
TileEntity tile)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableMap<TileEntity,int[]> |
ForgeTimeTracker.getTileTimings() |
Modifier and Type | Method and Description |
---|---|
static void |
ForgeTimeTracker.trackEnd(TileEntity tileEntity) |
static void |
ForgeTimeTracker.trackStart(TileEntity tileEntity) |