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
public class CommandBlockMinecartEntity extends AbstractMinecartEntity
- Mappings:
Namespace Name official vcintermediary net/minecraft/class_1898named net/minecraft/entity/vehicle/CommandBlockMinecartEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
AbstractMinecartEntity.Type -
Field Summary
Fields Modifier and Type Field Description private CommandBlockExecutorexecutorprivate intlastExecutedFields 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 CommandBlockMinecartEntity(World world)CommandBlockMinecartEntity(World world, double x, double y, double z) -
Method Summary
Modifier and Type Method Description protected voiddeserialize(CompoundTag tag)CommandBlockExecutorgetCommandExecutor()BlockStategetDefaultContainedBlock()protected voidinitDataTracker()voidmethod_7049(int int2)AbstractMinecartEntity.Typemethod_7794()voidonActivatorRail(int x, int y, int z, boolean powered)booleanopenInventory(PlayerEntity player)protected voidserialize(CompoundTag tag)Methods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, applySlowdown, canClimb, collides, createMinecart, damage, dropItems, getBox, getCustomName, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getDefaultBlockOffset, getHardCollisionBox, getMaxOffRailSpeed, getMountedHeightOffset, getName, getTranslationKey, hasCustomName, isPushable, method_7776, method_7783, method_7785, method_7789, method_7795, method_7797, method_7799, moveOnRail, pushAwayFrom, remove, 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_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
-
Field Details
-
executor
- Mappings:
Namespace Name Mixin selector official aLvc;a:Ladc;intermediary field_8164Lnet/minecraft/class_1898;field_8164:Lnet/minecraft/class_87;named executorLnet/minecraft/entity/vehicle/CommandBlockMinecartEntity;executor:Lnet/minecraft/world/CommandBlockExecutor;
-
lastExecuted
private int lastExecuted- Mappings:
Namespace Name Mixin selector official bLvc;b:Iintermediary field_8165Lnet/minecraft/class_1898;field_8165:Inamed lastExecutedLnet/minecraft/entity/vehicle/CommandBlockMinecartEntity;lastExecuted:I
-
-
Constructor Details
-
CommandBlockMinecartEntity
- 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
-
CommandBlockMinecartEntity
- 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
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
deserialize
- Overrides:
deserializein classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
serialize
- Overrides:
serializein classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(Ldn;)Vintermediary method_7003Lnet/minecraft/class_1745;method_7003(Lnet/minecraft/class_1405;)Vnamed serializeLnet/minecraft/entity/Entity;serialize(Lnet/minecraft/nbt/CompoundTag;)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;
-
getDefaultContainedBlock
- Overrides:
getDefaultContainedBlockin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official uLva;u()Lalz;intermediary method_7796Lnet/minecraft/class_1895;method_7796()Lnet/minecraft/class_376;named getDefaultContainedBlockLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultContainedBlock()Lnet/minecraft/block/BlockState;
-
getCommandExecutor
- Mappings:
Namespace Name Mixin selector official jLvc;j()Ladc;intermediary method_7803Lnet/minecraft/class_1898;method_7803()Lnet/minecraft/class_87;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 aLva;a(IIIZ)Vintermediary method_7778Lnet/minecraft/class_1895;method_7778(IIIZ)Vnamed onActivatorRailLnet/minecraft/entity/vehicle/AbstractMinecartEntity;onActivatorRail(IIIZ)V
-
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
-
method_7049
public void method_7049(int int2)- Overrides:
method_7049in classEntity- Mappings:
Namespace Name Mixin selector official iLpk;i(I)Vintermediary method_7049Lnet/minecraft/class_1745;method_7049(I)Vnamed method_7049Lnet/minecraft/entity/Entity;method_7049(I)V
-