Uses of Class
net.minecraft.world.entity.vehicle.AbstractMinecart
Packages that use AbstractMinecart
Package
Description
-
Uses of AbstractMinecart in net.minecraft.client.renderer.entity
Classes in net.minecraft.client.renderer.entity with type parameters of type AbstractMinecartModifier and TypeClassDescriptionclass
AbstractMinecartRenderer<T extends AbstractMinecart,
S extends MinecartRenderState> Methods in net.minecraft.client.renderer.entity with type parameters of type AbstractMinecartModifier and TypeMethodDescriptionprivate static <T extends AbstractMinecart,
S extends MinecartRenderState>
voidAbstractMinecartRenderer.newExtractState
(T p_365349_, NewMinecartBehavior p_365110_, S p_363052_, float p_364223_) private static <T extends AbstractMinecart,
S extends MinecartRenderState>
voidAbstractMinecartRenderer.oldExtractState
(T p_363303_, OldMinecartBehavior p_363748_, S p_360336_, float p_363476_) -
Uses of AbstractMinecart in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as AbstractMinecartModifier and TypeFieldDescriptionprivate final AbstractMinecart
MinecartSoundInstance.minecart
private final AbstractMinecart
RidingMinecartSoundInstance.minecart
Constructors in net.minecraft.client.resources.sounds with parameters of type AbstractMinecartModifierConstructorDescriptionMinecartSoundInstance
(AbstractMinecart p_119696_) RidingMinecartSoundInstance
(Player p_174940_, AbstractMinecart p_174941_, boolean p_174942_) -
Uses of AbstractMinecart in net.minecraft.core.dispenser
Fields in net.minecraft.core.dispenser with type parameters of type AbstractMinecartModifier and TypeFieldDescriptionprivate final EntityType
<? extends AbstractMinecart> MinecartDispenseItemBehavior.entityType
Constructor parameters in net.minecraft.core.dispenser with type arguments of type AbstractMinecartModifierConstructorDescriptionMinecartDispenseItemBehavior
(EntityType<? extends AbstractMinecart> p_374102_) -
Uses of AbstractMinecart in net.minecraft.world.entity.vehicle
Subclasses of AbstractMinecart in net.minecraft.world.entity.vehicleModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
Fields in net.minecraft.world.entity.vehicle declared as AbstractMinecartMethods in net.minecraft.world.entity.vehicle with type parameters of type AbstractMinecartModifier and TypeMethodDescriptionstatic <T extends AbstractMinecart>
TAbstractMinecart.createMinecart
(Level p_366408_, double p_38121_, double p_38122_, double p_38123_, EntityType<T> p_374583_, EntitySpawnReason p_374412_, ItemStack p_305892_, Player p_306203_) Methods in net.minecraft.world.entity.vehicle with parameters of type AbstractMinecartModifier and TypeMethodDescriptionprivate void
AbstractMinecart.pushOtherMinecart
(AbstractMinecart p_374524_, double p_374304_, double p_374378_) Constructors in net.minecraft.world.entity.vehicle with parameters of type AbstractMinecartModifierConstructorDescriptionprotected
MinecartBehavior
(AbstractMinecart p_364358_) NewMinecartBehavior
(AbstractMinecart p_360977_) OldMinecartBehavior
(AbstractMinecart p_364444_) -
Uses of AbstractMinecart in net.minecraft.world.item
Fields in net.minecraft.world.item with type parameters of type AbstractMinecartModifier and TypeFieldDescriptionprivate final EntityType
<? extends AbstractMinecart> MinecartItem.type
Constructor parameters in net.minecraft.world.item with type arguments of type AbstractMinecartModifierConstructorDescriptionMinecartItem
(EntityType<? extends AbstractMinecart> p_374566_, Item.Properties p_42939_) -
Uses of AbstractMinecart in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block with type parameters of type AbstractMinecartModifier and TypeMethodDescriptionprivate <T extends AbstractMinecart>
List<T> DetectorRailBlock.getInteractingMinecartOfType
(Level p_52437_, BlockPos p_52438_, Class<T> p_52439_, Predicate<Entity> p_52440_) Methods in net.minecraft.world.level.block with parameters of type AbstractMinecartModifier and TypeMethodDescriptionBaseRailBlock.getRailDirection
(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) -
Uses of AbstractMinecart in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes with parameters of type AbstractMinecartModifier and TypeMethodDescriptionprivate void
MinecartCollisionContext.setupContext
(AbstractMinecart p_366450_) Constructors in net.minecraft.world.phys.shapes with parameters of type AbstractMinecartModifierConstructorDescriptionprotected
MinecartCollisionContext
(AbstractMinecart p_366667_, boolean p_366484_) -
Uses of AbstractMinecart in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common with parameters of type AbstractMinecartModifier 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.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions with parameters of type AbstractMinecartModifier and TypeMethodDescriptionIBaseRailBlockExtension.getRailDirection
(BlockState state, BlockGetter level, BlockPos pos, @Nullable AbstractMinecart cart) Return the rail's direction.default float
IBaseRailBlockExtension.getRailMaxSpeed
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) Returns the max speed of the rail at the specified position.default void
IBaseRailBlockExtension.onMinecartPass
(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) This function is called by any minecart that passes over this rail.