Package net.minecraft.entity.vehicle
Class ChestMinecartEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.vehicle.AbstractMinecartEntity
net.minecraft.entity.vehicle.InventoryMinecartEntity
net.minecraft.entity.vehicle.ChestMinecartEntity
- All Implemented Interfaces:
LockableScreenHandlerFactory,CommandSource,Inventory,NamedScreenHandlerFactory,Nameable
public class ChestMinecartEntity extends InventoryMinecartEntity
- Mappings:
Namespace Name official vbintermediary net/minecraft/class_1897named net/minecraft/entity/vehicle/ChestMinecartEntity
-
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 ChestMinecartEntity(World world)ChestMinecartEntity(World world, double x, double y, double z) -
Method Summary
Modifier and Type Method Description ScreenHandlercreateScreenHandler(PlayerInventory inventory, PlayerEntity player)voiddropItems(DamageSource damageSource)intgetDefaultBlockOffset()BlockStategetDefaultContainedBlock()StringgetId()intgetInvSize()AbstractMinecartEntity.Typemethod_7794()Methods inherited from class net.minecraft.entity.vehicle.InventoryMinecartEntity
applySlowdown, canPlayerUseInv, clear, deserialize, getInvMaxStackAmount, getInvStack, getLock, getProperties, getProperty, getTranslationKey, hasLock, isValidInvStack, markDirty, onInvClose, onInvOpen, openInventory, remove, removeInvStack, serialize, setInvStack, setLock, setProperty, takeInvStack, teleportToDimensionMethods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, canClimb, collides, createMinecart, damage, getBox, getCustomName, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getHardCollisionBox, getMaxOffRailSpeed, getMountedHeightOffset, getName, hasCustomName, initDataTracker, isPushable, method_7776, method_7783, method_7785, method_7789, method_7795, method_7797, method_7799, moveOnRail, onActivatorRail, pushAwayFrom, 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, tickFire, tickRiding, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePositionAndAngles, writePlayerDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.text.Nameable
getName, hasCustomName
-
Constructor Details
-
ChestMinecartEntity
- 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
-
ChestMinecartEntity
- 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
-
dropItems
- Overrides:
dropItemsin classInventoryMinecartEntity- Mappings:
Namespace Name Mixin selector official aLva;a(Low;)Vintermediary method_7782Lnet/minecraft/class_1895;method_7782(Lnet/minecraft/class_1733;)Vnamed dropItemsLnet/minecraft/entity/vehicle/AbstractMinecartEntity;dropItems(Lnet/minecraft/entity/damage/DamageSource;)V
-
getInvSize
public int getInvSize()- Mappings:
Namespace Name Mixin selector official o_Log;o_()Iintermediary method_6748Lnet/minecraft/class_1718;method_6748()Inamed getInvSizeLnet/minecraft/inventory/Inventory;getInvSize()I
-
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;
-
getDefaultBlockOffset
public int getDefaultBlockOffset()- Overrides:
getDefaultBlockOffsetin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official wLva;w()Iintermediary method_7798Lnet/minecraft/class_1895;method_7798()Inamed getDefaultBlockOffsetLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultBlockOffset()I
-
getId
- Mappings:
Namespace Name Mixin selector official kLol;k()Ljava/lang/String;intermediary method_6762Lnet/minecraft/class_1723;method_6762()Ljava/lang/String;named getIdLnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;
-
createScreenHandler
- Mappings:
Namespace Name Mixin selector official aLol;a(Lwm;Lwn;)Lxi;intermediary method_6761Lnet/minecraft/class_1723;method_6761(Lnet/minecraft/class_1962;Lnet/minecraft/class_1963;)Lnet/minecraft/class_1983;named createScreenHandlerLnet/minecraft/screen/NamedScreenHandlerFactory;createScreenHandler(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
-