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
- Mappings:
Namespace Name official vgintermediary net/minecraft/class_1577named 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, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, 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, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionMinecartEntity(World world) MinecartEntity(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionvoidonActivatorRail(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, dropItems, getBlockOffset, getBox, getContainedBlock, getCustomName, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getDefaultBlockOffset, getDefaultContainedBlock, getHardCollisionBox, getMaxOffRailSpeed, getMountedHeightOffset, getTranslationKey, hasCustomBlock, hasCustomName, initDataTracker, isPushable, method_6344, moveOffRail, moveOnRail, pushAwayFrom, readCustomDataFromNbt, remove, setCustomBlock, setCustomBlockOffset, setCustomBlockPresent, setCustomName, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, setVelocityClient, snapPositionToRail, snapPositionToRailWithOffset, tick, updatePosition, updateTrackedPositionAndAngles, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, baseTick, burn, canAvoidTraps, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, equip, extinguish, fall, fromClientNbt, fromNbt, getAir, getArmorStacks, getBlastResistance, getBlockPos, getBoundingBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEyeHeight, getFlag, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getParts, getPos, getRotation, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, 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, isSwimming, isTouchingLava, isTouchingWater, kill, method_10948, method_10965, method_6097, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setArmorSlot, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSprinting, setStat, setSwimming, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, teleportToDimension, tickFire, tickRiding, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Constructor Details
-
MinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)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_965;<init>(Lnet/minecraft/class_1150;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_6100Lnet/minecraft/class_864;method_6100(Lnet/minecraft/class_988;)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_5409Lnet/minecraft/class_965;method_5409(IIIZ)Vnamed onActivatorRailLnet/minecraft/entity/vehicle/AbstractMinecartEntity;onActivatorRail(IIIZ)V
-
getMinecartType
- Specified by:
getMinecartTypein classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official sLva;s()Lva$a;intermediary method_11169Lnet/minecraft/class_965;method_11169()Lnet/minecraft/class_965$class_2638;named getMinecartTypeLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getMinecartType()Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
-