Uses of Class
net.minecraft.world.entity.vehicle.minecart.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 TypeClassDescriptionclassAbstractMinecartRenderer<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 minecart, NewMinecartBehavior behavior, S reusedState, float partialTick) private static <T extends AbstractMinecart,S extends MinecartRenderState>
voidAbstractMinecartRenderer.oldExtractState(T minecart, OldMinecartBehavior behavior, S reusedState, float partialTick) -
Uses of AbstractMinecart in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as AbstractMinecartModifier and TypeFieldDescriptionprivate final AbstractMinecartMinecartSoundInstance.minecartprivate final AbstractMinecartRidingMinecartSoundInstance.minecartConstructors in net.minecraft.client.resources.sounds with parameters of type AbstractMinecartModifierConstructorDescriptionMinecartSoundInstance(AbstractMinecart minecart) RidingMinecartSoundInstance(Player player, AbstractMinecart minecart, boolean underwaterSound, SoundEvent soundEvent, float volumeMin, float volumeMax, float volumeAmplifier) -
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.entityTypeConstructor parameters in net.minecraft.core.dispenser with type arguments of type AbstractMinecartModifierConstructorDescriptionMinecartDispenseItemBehavior(EntityType<? extends AbstractMinecart> entityType) -
Uses of AbstractMinecart in net.minecraft.world.entity.vehicle.minecart
Subclasses of AbstractMinecart in net.minecraft.world.entity.vehicle.minecartModifier and TypeClassDescriptionclassclassclassclassclassclassclassclassFields in net.minecraft.world.entity.vehicle.minecart declared as AbstractMinecartMethods in net.minecraft.world.entity.vehicle.minecart with type parameters of type AbstractMinecartModifier and TypeMethodDescriptionstatic <T extends AbstractMinecart>
@Nullable TAbstractMinecart.createMinecart(Level level, double x, double y, double z, EntityType<T> entityType, EntitySpawnReason spawnReason, ItemStack stack, @Nullable Player player) Methods in net.minecraft.world.entity.vehicle.minecart with parameters of type AbstractMinecartModifier and TypeMethodDescriptionprivate voidAbstractMinecart.pushOtherMinecart(AbstractMinecart otherMinecart, double deltaX, double deltaZ) Constructors in net.minecraft.world.entity.vehicle.minecart with parameters of type AbstractMinecartModifierConstructorDescriptionprotectedMinecartBehavior(AbstractMinecart minecart) NewMinecartBehavior(AbstractMinecart p_479851_) OldMinecartBehavior(AbstractMinecart p_478068_) -
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.typeConstructor parameters in net.minecraft.world.item with type arguments of type AbstractMinecartModifierConstructorDescriptionMinecartItem(EntityType<? extends AbstractMinecart> type, Item.Properties properties) -
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 level, BlockPos pos, Class<T> cartType, Predicate<Entity> filter) Methods in net.minecraft.world.level.block with parameters of type AbstractMinecartModifier and TypeMethodDescriptionBaseRailBlock.getRailDirection(BlockState state, BlockGetter world, BlockPos pos, @Nullable 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 voidMinecartCollisionContext.setupContext(AbstractMinecart minecart) Constructors in net.minecraft.world.phys.shapes with parameters of type AbstractMinecartModifierConstructorDescriptionprotectedMinecartCollisionContext(AbstractMinecart minecart, boolean alwaysCollideWithFluid) -
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.voidIMinecartCollisionHandler.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 floatIBaseRailBlockExtension.getRailMaxSpeed(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) Returns the max speed of the rail at the specified position.default voidIBaseRailBlockExtension.onMinecartPass(BlockState state, Level level, BlockPos pos, AbstractMinecart cart) This function is called by any minecart that passes over this rail.