Package net.minecraft.entity.vehicle
Class ChestMinecartEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.vehicle.AbstractMinecartEntity
net.minecraft.entity.vehicle.StorageMinecartEntity
net.minecraft.entity.vehicle.ChestMinecartEntity
- All Implemented Interfaces:
LockableScreenHandlerFactory,class_2964,class_3893,Inventory,NamedScreenHandlerFactory,Nameable
- Mappings:
Namespace Name official aplintermediary net/minecraft/class_1573named 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, chunkX, chunkY, chunkZ, colliding, dataTracker, distanceTraveled, fallDistance, field_16693, field_16694, field_16696, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, LOGGER_, 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
ConstructorsConstructorDescriptionChestMinecartEntity(World world) ChestMinecartEntity(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptioncreateScreenHandler(PlayerInventory inventory, PlayerEntity player) voiddropItems(DamageSource damageSource) intgetId()intMethods inherited from class net.minecraft.entity.vehicle.StorageMinecartEntity
applySlowdown, canPlayerUseInv, clear, equip, generateLoot, getInvMaxStackAmount, getInvStack, getLock, getLootTableId, getProperties, getProperty, hasLock, interact, isEmpty, isValidInvStack, markDirty, method_12991, method_15562, onInvClose, onInvOpen, readCustomDataFromNbt, remove, removeInvStack, setInvStack, setLock, setLootTable, setProperty, takeInvStack, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, canClimb, collides, createMinecart, damage, getBlockOffset, getContainedBlock, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getHardCollisionBox, getMaxOffRailSpeed, getMountedHeightOffset, getMovementDirection, getVisibilityBoundingBox, hasCustomBlock, initDataTracker, isPushable, moveOffRail, moveOnRail, onActivatorRail, 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, canFly, canStartRiding, canUsePortals, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, destroy, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, entityDataRequiresOperator, equals, equipStack, extinguish, fall, fromNbt, getAir, getArmorItems, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getEntityName, getEyeHeight, getFlag, getHeadRotation, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getItemsHand, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getParts, getPassengerList, getPassengersDeep, getPistonBehavior, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getUuid, getVehicle, handleAttack, handleFallDamage, handleStatus, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, interactAt, isAlive, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, kill, method_10787, method_10931, method_10932, method_10933, method_10936, method_12265, method_12833, method_12984, method_12985, method_13003, method_15051, method_15055, method_15540, method_15541, method_15557, method_15558, method_15559, method_15560, method_15561, method_15563, method_15564, method_15566, method_15567, method_15569, method_15570, method_15571, method_15572, method_15573, method_15574, method_15575, method_15576, method_15577, method_15578, method_15580, method_15581, method_15582, method_15583, method_15584, method_15585, method_15586, method_15588, method_15589, method_15590, method_15591, method_15592, method_15593, method_15594, method_17412, method_17413, method_17414, method_2492, method_4086, method_5505, method_5506, method_6344, move, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, onTrackedDataSet, playSound, populateCrashReport, pushOutOfBlocks, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, scheduleVelocityUpdate, setAir, setBoundingBox, setBounds, setCustomNameVisible, setEntityId, setFlag, setGlowing, setHeadYaw, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, 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.inventory.Inventory
getHeight, method_11260Methods inherited from interface net.minecraft.text.Nameable
hasCustomName, method_15540, method_15541, method_6344
-
Constructor Details
-
ChestMinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Laer;<init>(Laxy;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
ChestMinecartEntity
- Mappings:
Namespace Name Mixin selector official <init>Laph;<init>(Laxy;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
-
dropItems
- Overrides:
dropItemsin classStorageMinecartEntity- Mappings:
Namespace Name Mixin selector official aLaph;a(Laea;)Vintermediary method_5412Lnet/minecraft/class_965;method_5412(Lnet/minecraft/class_856;)Vnamed dropItemsLnet/minecraft/entity/vehicle/AbstractMinecartEntity;dropItems(Lnet/minecraft/entity/damage/DamageSource;)V
-
getInvSize
public int getInvSize()- Mappings:
Namespace Name Mixin selector official T_Lade;T_()Iintermediary method_2388Lnet/minecraft/class_849;method_2388()Inamed getInvSizeLnet/minecraft/inventory/Inventory;getInvSize()I
-
getMinecartType
- Specified by:
getMinecartTypein classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official vLaph;v()Laph$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 zLaph;z()Lblc;intermediary method_11171Lnet/minecraft/class_965;method_11171()Lnet/minecraft/class_2232;named getDefaultContainedBlockLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultContainedBlock()Lnet/minecraft/block/BlockState;
-
getDefaultBlockOffset
public int getDefaultBlockOffset()- Overrides:
getDefaultBlockOffsetin classAbstractMinecartEntity- Mappings:
Namespace Name Mixin selector official BLaph;B()Iintermediary method_5425Lnet/minecraft/class_965;method_5425()Inamed getDefaultBlockOffsetLnet/minecraft/entity/vehicle/AbstractMinecartEntity;getDefaultBlockOffset()I
-
getId
- Mappings:
Namespace Name Mixin selector official lLadl;l()Ljava/lang/String;intermediary method_10906Lnet/minecraft/class_2608;method_10906()Ljava/lang/String;named getIdLnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;
-
createScreenHandler
- Mappings:
Namespace Name Mixin selector official aLadl;a(Laof;Laog;)Lapv;intermediary method_10905Lnet/minecraft/class_2608;method_10905(Lnet/minecraft/class_987;Lnet/minecraft/class_988;)Lnet/minecraft/class_1002;named createScreenHandlerLnet/minecraft/screen/NamedScreenHandlerFactory;createScreenHandler(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
-