Uses of Class
net.minecraft.world.entity.vehicle.AbstractMinecart
Package
Description
-
Uses of AbstractMinecart in net.minecraft.client.renderer.entity
-
Uses of AbstractMinecart in net.minecraft.client.resources.sounds
Modifier and TypeFieldDescriptionprivate final AbstractMinecart
MinecartSoundInstance.minecart
private final AbstractMinecart
RidingMinecartSoundInstance.minecart
ModifierConstructorDescriptionMinecartSoundInstance
(AbstractMinecart p_119696_) RidingMinecartSoundInstance
(Player p_174940_, AbstractMinecart p_174941_, boolean p_174942_) -
Uses of AbstractMinecart in net.minecraft.world.entity.vehicle
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
Modifier and TypeMethodDescriptionstatic AbstractMinecart
AbstractMinecart.createMinecart
(Level p_38120_, double p_38121_, double p_38122_, double p_38123_, AbstractMinecart.Type p_38124_) -
Uses of AbstractMinecart in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprivate <T extends AbstractMinecart>
List<T>DetectorRailBlock.getInteractingMinecartOfType
(Level p_52437_, BlockPos p_52438_, Class<T> p_52439_, Predicate<Entity> p_52440_) Modifier and TypeMethodDescriptionBaseRailBlock.getRailDirection
(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) -
Uses of AbstractMinecart in net.minecraftforge.common
Modifier and TypeMethodDescriptionIMinecartCollisionHandler.getBoundingBox
(AbstractMinecart cart) This function replaces the function of the same name in EntityMinecart.IMinecartCollisionHandler.getCollisionBox
(AbstractMinecart cart, Entity other) This function replaced the function of the same name in EntityMinecart.IMinecartCollisionHandler.getMinecartCollisionBox
(AbstractMinecart cart) This function is used to define the box used for detecting minecart collisions.void
IMinecartCollisionHandler.onEntityCollision
(AbstractMinecart cart, Entity other) This basically replaces the function of the same name in EntityMinecart. -
Uses of AbstractMinecart in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptionIForgeBaseRailBlock.getRailDirection
(BlockState state, BlockGetter level, BlockPos pos, @Nullable AbstractMinecart cart) Return the rail's direction.default float
IForgeBaseRailBlock.getRailMaxSpeed
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) Returns the max speed of the rail at the specified position.default void
IForgeBaseRailBlock.onMinecartPass
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) This function is called by any minecart that passes over this rail.