Modifier and Type | Method and Description |
---|---|
protected <T extends AbstractMinecartEntity> |
DetectorRailBlock.findMinecarts(World worldIn,
BlockPos pos,
java.lang.Class<T> cartType,
java.util.function.Predicate<Entity> filter) |
Modifier and Type | Method and Description |
---|---|
RailShape |
AbstractRailBlock.getRailDirection(BlockState state,
IBlockReader world,
BlockPos pos,
AbstractMinecartEntity cart)
Return the rail's direction.
|
float |
AbstractRailBlock.getRailMaxSpeed(BlockState state,
World world,
BlockPos pos,
AbstractMinecartEntity cart)
Returns the max speed of the rail at the specified position.
|
void |
AbstractRailBlock.onMinecartPass(BlockState state,
World world,
BlockPos pos,
AbstractMinecartEntity cart)
This function is called by any minecart that passes over this rail.
|
Modifier and Type | Field and Description |
---|---|
private AbstractMinecartEntity |
RidingMinecartTickableSound.minecart |
private AbstractMinecartEntity |
MinecartTickableSound.minecart |
Constructor and Description |
---|
MinecartTickableSound(AbstractMinecartEntity minecartIn) |
RidingMinecartTickableSound(PlayerEntity playerIn,
AbstractMinecartEntity minecartIn) |
Modifier and Type | Class and Description |
---|---|
class |
MinecartRenderer<T extends AbstractMinecartEntity> |
Modifier and Type | Class and Description |
---|---|
class |
ChestMinecartEntity |
class |
ContainerMinecartEntity |
class |
FurnaceMinecartEntity |
class |
HopperMinecartEntity |
class |
MinecartCommandBlockEntity |
class |
MinecartEntity |
class |
SpawnerMinecartEntity |
class |
TNTMinecartEntity |
Modifier and Type | Method and Description |
---|---|
static AbstractMinecartEntity |
AbstractMinecartEntity.create(World worldIn,
double x,
double y,
double z,
AbstractMinecartEntity.Type typeIn) |
Modifier and Type | Method and Description |
---|---|
AxisAlignedBB |
IMinecartCollisionHandler.getBoundingBox(AbstractMinecartEntity cart)
This function replaces the function of the same name in EntityMinecart.
|
AxisAlignedBB |
IMinecartCollisionHandler.getCollisionBox(AbstractMinecartEntity cart,
Entity other)
This function replaced the function of the same name in EntityMinecart.
|
AxisAlignedBB |
IMinecartCollisionHandler.getMinecartCollisionBox(AbstractMinecartEntity cart)
This function is used to define the box used for detecting minecart collisions.
|
void |
IMinecartCollisionHandler.onEntityCollision(AbstractMinecartEntity cart,
Entity other)
This basically replaces the function of the same name in EntityMinecart.
|
Modifier and Type | Method and Description |
---|---|
default AbstractMinecartEntity |
IForgeEntityMinecart.getMinecart() |