Modifier and Type | Method and Description |
---|---|
int |
BlockRail.getBasicRailMetadata(IBlockAccess world,
EntityMinecart cart,
int x,
int y,
int z)
Return the rails metadata (without the power bit if the rail uses one).
|
float |
BlockRail.getRailMaxSpeed(World world,
EntityMinecart cart,
int y,
int x,
int z)
Returns the max speed of the rail at the specified position.
|
void |
BlockRail.onMinecartPass(World world,
EntityMinecart cart,
int y,
int x,
int z)
This function is called by any minecart that passes over this rail.
|
Modifier and Type | Method and Description |
---|---|
IUpdatePlayerListBox |
WorldClient.func_82735_a(EntityMinecart par1EntityMinecart) |
Modifier and Type | Method and Description |
---|---|
void |
RenderMinecart.renderTheMinecart(EntityMinecart par1EntityMinecart,
double par2,
double par4,
double par6,
float par8,
float par9)
Renders the Minecart.
|
Constructor and Description |
---|
SoundUpdaterMinecart(SoundManager par1SoundManager,
EntityMinecart par2EntityMinecart,
EntityPlayerSP par3EntityPlayerSP) |
Modifier and Type | Method and Description |
---|---|
IUpdatePlayerListBox |
World.func_82735_a(EntityMinecart par1EntityMinecart) |
Modifier and Type | Field and Description |
---|---|
Class<? extends EntityMinecart> |
MinecartRegistry.MinecartKey.minecart |
Modifier and Type | Method and Description |
---|---|
static Class<? extends EntityMinecart> |
MinecartRegistry.getCartClassForItem(ItemStack item)
The function will return the cart class for a given item.
|
Modifier and Type | Method and Description |
---|---|
AxisAlignedBB |
IMinecartCollisionHandler.getBoundingBox(EntityMinecart cart)
This function replaces the function of the same name in EntityMinecart.
|
AxisAlignedBB |
IMinecartCollisionHandler.getCollisionBox(EntityMinecart cart,
Entity other)
This function replaced the function of the same name in EntityMinecart.
|
static ItemStack |
MinecartRegistry.getItemForCart(EntityMinecart cart)
This function returns an ItemStack that represents this cart.
|
AxisAlignedBB |
IMinecartCollisionHandler.getMinecartCollisionBox(EntityMinecart cart)
This function is used to define the box used for detecting minecart collisions.
|
void |
IMinecartCollisionHandler.onEntityCollision(EntityMinecart cart,
Entity other)
This basically replaces the function of the same name in EnityMinecart.
|
Modifier and Type | Method and Description |
---|---|
static ItemStack |
MinecartRegistry.getItemForCart(Class<? extends EntityMinecart> minecart)
This function returns an ItemStack that represents this cart.
|
static ItemStack |
MinecartRegistry.getItemForCart(Class<? extends EntityMinecart> minecart,
int type)
This function returns an ItemStack that represents this cart.
|
static void |
MinecartRegistry.registerMinecart(Class<? extends EntityMinecart> minecart,
int type,
ItemStack item)
Registers a minecart and its corresponding item.
|
static void |
MinecartRegistry.registerMinecart(Class<? extends EntityMinecart> cart,
ItemStack item)
Registers a custom minecart and its corresponding item.
|
static void |
MinecartRegistry.removeMinecart(Class<? extends EntityMinecart> minecart,
int type)
Removes a previously registered Minecart.
|
Constructor and Description |
---|
MinecartRegistry.MinecartKey(Class<? extends EntityMinecart> cls,
int typtID) |
Modifier and Type | Field and Description |
---|---|
EntityMinecart |
MinecartEvent.minecart |
Constructor and Description |
---|
MinecartCollisionEvent(EntityMinecart minecart,
Entity collider) |
MinecartEvent(EntityMinecart minecart) |
MinecartInteractEvent(EntityMinecart minecart,
EntityPlayer player) |
MinecartUpdateEvent(EntityMinecart minecart,
float x,
float y,
float z) |