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 AbstractMinecart -
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 pMinecart) RidingMinecartSoundInstance
(Player pPlayer, AbstractMinecart pMinecart, boolean pUnderwaterSound) -
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
Methods in net.minecraft.world.entity.vehicle that return AbstractMinecartModifier and TypeMethodDescriptionstatic AbstractMinecart
AbstractMinecart.createMinecart
(ServerLevel pLevel, double pX, double pY, double pZ, AbstractMinecart.Type pType, ItemStack pStack, Player pPlayer) -
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 pLevel, BlockPos pPos, Class<T> pCartType, Predicate<Entity> pFilter) 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.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 that return AbstractMinecartMethods 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.