Package net.minecraft.entity.vehicle
Class MinecartEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.vehicle.AbstractMinecartEntity
net.minecraft.entity.vehicle.MinecartEntity
- All Implemented Interfaces:
CommandSource,Nameable
public class MinecartEntity extends AbstractMinecartEntity
- Mappings:
Namespace Name official vgintermediary net/minecraft/class_1902named net/minecraft/entity/vehicle/MinecartEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
AbstractMinecartEntity.Type -
Field Summary
Fields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors Constructor Description MinecartEntity(World world)MinecartEntity(World world, double x, double y, double z) -
Method Summary
Modifier and Type Method Description AbstractMinecartEntity.Typemethod_7794()voidonActivatorRail(int x, int y, int z, boolean powered)booleanopenInventory(PlayerEntity player)Methods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, applySlowdown, canClimb, collides, createMinecart, damage, deserialize, dropItems, getBox, getCustomName, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getDefaultBlockOffset, getDefaultContainedBlock, getHardCollisionBox, getMaxOffRailSpeed, getMountedHeightOffset, getName, getTranslationKey, hasCustomName, initDataTracker, isPushable, method_7776, method_7783, method_7785, method_7789, method_7795, method_7797, method_7799, moveOnRail, pushAwayFrom, remove, serialize, setCustomBlock, setCustomBlockOffset, setCustomName, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, setVelocityClient, tick, updatePosition, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, destroy, doesNotCollide, doesRenderOnFire, equals, equip, extinguish, fall, fromClientTag, fromTag, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getCameraPosVec, getCommandStats, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getEyeHeight, getFlag, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getPos, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getUuid, getWorld, handleAttack, handleFallDamage, handleStatus, hashCode, hasVehicle, increaseTransforms, interactAt, isAlive, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, kill, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6985, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, saveSelfToTag, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, startRiding, teleportToDimension, tickFire, tickRiding, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePositionAndAngles, writePlayerData
-
Constructor Details
-
MinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
MinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Lva;<init>(Ladm;DDD)Vintermediary <init>Lnet/minecraft/class_1895;<init>(Lnet/minecraft/class_99;DDD)Vnamed <init>Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
openInventory
- Overrides:
openInventoryin classEntity- Mappings:
Namespace Name Mixin selector official eLpk;e(Lwn;)Zintermediary method_7028Lnet/minecraft/class_1745;method_7028(Lnet/minecraft/class_1963;)Znamed openInventoryLnet/minecraft/entity/Entity;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
onActivatorRail
public void onActivatorRail(int x, int y, int z, boolean powered)- Overrides:
onActivatorRailin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official aLva;a(IIIZ)Vintermediary method_7778Lnet/minecraft/class_1895;method_7778(IIIZ)Vnamed onActivatorRailLnet/minecraft/entity/vehicle/AbstractMinecartEntity;onActivatorRail(IIIZ)V
-
method_7794
- Specified by:
method_7794in classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official sLva;s()Lva$a;intermediary method_7794Lnet/minecraft/class_1895;method_7794()Lnet/minecraft/class_1895$class_1896;named method_7794Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;method_7794()Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-