Package net.minecraft.entity.vehicle
Class CommandBlockMinecartEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.vehicle.AbstractMinecartEntity
net.minecraft.entity.vehicle.CommandBlockMinecartEntity
- All Implemented Interfaces:
CommandSource,Nameable
- Mappings:
Namespace Name official afgintermediary net/minecraft/class_2155named net/minecraft/entity/vehicle/CommandBlockMinecartEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
AbstractMinecartEntity.Type -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<String>private final CommandBlockExecutorprivate static final TrackedData<Text>private intFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
ConstructorsConstructorDescriptionCommandBlockMinecartEntity(World world) CommandBlockMinecartEntity(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected voidbooleaninteract(PlayerEntity player, Hand hand) static voidmethod_13304(class_2934 class_2934) voidonActivatorRail(int x, int y, int z, boolean powered) voidonTrackedDataSet(TrackedData<?> data) protected voidprotected voidMethods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, applySlowdown, canClimb, collides, createMinecart, damage, dropItems, getBlockOffset, getBox, getContainedBlock, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getDefaultBlockOffset, getHardCollisionBox, getMaxOffRailSpeed, getMountedHeightOffset, getMovementDirection, getVisibilityBoundingBox, hasCustomBlock, isPushable, method_13639, moveOffRail, moveOnRail, pushAwayFrom, setCustomBlock, setCustomBlockOffset, setCustomBlockPresent, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, setVelocityClient, snapPositionToRail, snapPositionToRailWithOffset, tick, updatePosition, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, baseTick, burn, canAddPassenger, canAvoidTraps, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, equip, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBlastResistance, getBlockPos, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getWorld, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10965, method_12984, method_12985, method_12991, method_13003, method_13932, method_15051, method_15052, method_15055, method_2492, method_6344, move, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStat, setUuid, setWorld, setYaw, shouldRender, shouldRender, shouldRenderName, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, startRiding, stopRiding, teleportRequested, tickFire, tickNetherPortalCooldown, tickRiding, toListNbt, toListNbt, toNbt, toString, updateKilledAchievement, updatePassengerPosition, updatePositionAndAngles, updateSubmergedInWaterState, updateWaterStateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.text.Nameable
getTranslationKey, hasCustomName, method_6344
-
Field Details
-
COMMAND
- Mappings:
Namespace Name Mixin selector official aLafg;a:Lmy;intermediary field_12256Lnet/minecraft/class_2155;field_12256:Lnet/minecraft/class_2921;named COMMANDLnet/minecraft/entity/vehicle/CommandBlockMinecartEntity;COMMAND:Lnet/minecraft/entity/data/TrackedData;
-
LAST_OUTPUT
- Mappings:
Namespace Name Mixin selector official bLafg;b:Lmy;intermediary field_12257Lnet/minecraft/class_2155;field_12257:Lnet/minecraft/class_2921;named LAST_OUTPUTLnet/minecraft/entity/vehicle/CommandBlockMinecartEntity;LAST_OUTPUT:Lnet/minecraft/entity/data/TrackedData;
-
executor
- Mappings:
Namespace Name Mixin selector official cLafg;c:Lamj;intermediary field_9123Lnet/minecraft/class_2155;field_9123:Lnet/minecraft/class_1740;named executorLnet/minecraft/entity/vehicle/CommandBlockMinecartEntity;executor:Lnet/minecraft/world/CommandBlockExecutor;
-
lastExecuted
private int lastExecuted- Mappings:
Namespace Name Mixin selector official dLafg;d:Iintermediary field_9124Lnet/minecraft/class_2155;field_9124:Inamed lastExecutedLnet/minecraft/entity/vehicle/CommandBlockMinecartEntity;lastExecuted:I
-
-
Constructor Details
-
CommandBlockMinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Lvg;<init>(Lamu;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
CommandBlockMinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Lafe;<init>(Lamu;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
-
method_13304
- Mappings:
Namespace Name Mixin selector official aLafg;a(Lry;)Vintermediary method_13304Lnet/minecraft/class_2155;method_13304(Lnet/minecraft/class_2934;)Vnamed method_13304Lnet/minecraft/entity/vehicle/CommandBlockMinecartEntity;method_13304(Lnet/minecraft/class_2934;)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official iLvg;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(Lfy;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official bLvg;b(Lfy;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getMinecartType
- Specified by:
getMinecartTypein classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official vLafe;v()Lafe$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;
-
getDefaultContainedBlock
- Overrides:
getDefaultContainedBlockin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official xLafe;x()Lawt;intermediary method_11171Lnet/minecraft/class_965;method_11171()Lnet/minecraft/class_2232;named getDefaultContainedBlockLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultContainedBlock()Lnet/minecraft/block/BlockState;
-
getCommandExecutor
- Mappings:
Namespace Name Mixin selector official jLafg;j()Lamj;intermediary method_8402Lnet/minecraft/class_2155;method_8402()Lnet/minecraft/class_1740;named getCommandExecutorLnet/minecraft/entity/vehicle/CommandBlockMinecartEntity;getCommandExecutor()Lnet/minecraft/world/CommandBlockExecutor;
-
onActivatorRail
public void onActivatorRail(int x, int y, int z, boolean powered) - Overrides:
onActivatorRailin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official aLafe;a(IIIZ)Vintermediary method_5409Lnet/minecraft/class_965;method_5409(IIIZ)Vnamed onActivatorRailLnet/minecraft/entity/vehicle/AbstractMinecartEntity;onActivatorRail(IIIZ)V
-
interact
- Overrides:
interactin classEntity- Mappings:
Namespace Name Mixin selector official bLvg;b(Laed;Lub;)Zintermediary method_6100Lnet/minecraft/class_864;method_6100(Lnet/minecraft/class_988;Lnet/minecraft/class_2961;)Znamed interactLnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Z
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(Lmy;)Vintermediary method_12974Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
entityDataRequiresOperator
public boolean entityDataRequiresOperator()- Overrides:
entityDataRequiresOperatorin classEntity- Mappings:
Namespace Name Mixin selector official bCLvg;bC()Zintermediary method_12997Lnet/minecraft/class_864;method_12997()Znamed entityDataRequiresOperatorLnet/minecraft/entity/Entity;entityDataRequiresOperator()Z
-