Class StorageMinecartEntity
- All Implemented Interfaces:
DataTracked
,VehicleInventory
,Inventory
,ScoreHolder
,NamedScreenHandlerFactory
,ScreenHandlerFactory
,CommandOutput
,Clearable
,Nameable
,EntityLike
- Direct Known Subclasses:
ChestMinecartEntity
,HopperMinecartEntity
- Mappings:
Namespace Name named net/minecraft/entity/vehicle/StorageMinecartEntity
intermediary net/minecraft/class_1693
official cou
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
AbstractMinecartEntity.Type
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate DefaultedList
<ItemStack> private long
private @Nullable RegistryKey
<LootTable> Fields inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
VELOCITY_SLOWDOWN_MULTIPLIER
Fields inherited from class net.minecraft.entity.vehicle.VehicleEntity
DAMAGE_WOBBLE_SIDE, DAMAGE_WOBBLE_STRENGTH, DAMAGE_WOBBLE_TICKS
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inPowderSnow, intersectionChecked, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
Fields inherited from interface net.minecraft.inventory.Inventory
DEFAULT_MAX_INTERACTION_RANGE
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
-
Constructor Summary
ModifierConstructorDescriptionprotected
StorageMinecartEntity
(EntityType<?> type, double x, double y, double z, World world) protected
StorageMinecartEntity
(EntityType<?> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
boolean
canPlayerUse
(PlayerEntity player) Returns whetherplayer
can use this inventory.void
clear()
createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) long
protected abstract ScreenHandler
getScreenHandler
(int syncId, PlayerInventory playerInventory) getStack
(int slot) Returns the stack currently stored atslot
.getStackReference
(int mappedIndex) Obtains a stack reference to be modified.interact
(PlayerEntity player, Hand hand) Called when a player interacts with this entity.void
killAndDropSelf
(DamageSource source) void
Marks the inventory as modified.protected void
Reads custom data fromnbt
.void
remove
(Entity.RemovalReason reason) Removes the entity.removeStack
(int slot) Removes the stack currently stored atslot
.removeStack
(int slot, int amount) Removes a specific number of items fromslot
.void
void
setLootTable
(@Nullable RegistryKey<LootTable> lootTable) void
setLootTable
(RegistryKey<LootTable> lootTable, long lootSeed) void
setLootTableSeed
(long lootTableSeed) void
Sets the stack stored atslot
tostack
.protected void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.vehicle.AbstractMinecartEntity
animateDamage, canHit, collidesWith, create, getBlockOffset, getContainedBlock, getDefaultBlockOffset, getDefaultContainedBlock, getGravity, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getMaxSpeed, getMinecartType, getMoveEffect, getMovementDirection, getPassengerAttachmentPos, getPickBlockStack, getVelocityMultiplier, getVisibilityBoundingBox, hasCustomBlock, initDataTracker, isOnRail, isPushable, moveOffRail, moveOnRail, onActivatorRail, positionInPortal, pushAwayFrom, setCustomBlock, setCustomBlockOffset, setCustomBlockPresent, setVelocityClient, snapPositionToRail, snapPositionToRailWithOffset, tick, updatePassengerForDismount, updateTrackedPositionAndAngles
Methods inherited from class net.minecraft.entity.vehicle.VehicleEntity
asItem, damage, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, killAndDropItem, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, shouldAlwaysKill
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyGravity, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, fall, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMinFreezeDamageTicks, getMovement, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWeaponStack, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAlive, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowing, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWall, isInsideWaterOrBubbleColumn, isInSneakingPose, isInSwimmingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, lerpYaw, limitFallDistance, lookAt, move, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDamaged, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setAngles, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireForTicks, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setSwimming, setUuid, setVelocity, setVelocity, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldRenderName, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, stopRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickInVoid, tickPortalCooldown, tickPortalTeleportation, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedHeadRotation, updateTrackedPosition, updateVelocity, updateWaterState, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
Methods inherited from interface net.minecraft.inventory.Inventory
canTransferTo, containsAny, containsAny, count, getMaxCount, getMaxCountPerStack, isValid, onClose, onOpen, size
Methods inherited from interface net.minecraft.screen.NamedScreenHandlerFactory
getDisplayName
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
Methods inherited from interface net.minecraft.entity.vehicle.VehicleInventory
canPlayerAccess, clearInventory, generateInventoryLoot, getBoundingBox, getInventoryStack, getInventoryStackReference, getPos, getWorld, isEmpty, isInventoryEmpty, isRemoved, onBroken, open, readInventoryFromNbt, removeInventoryStack, removeInventoryStack, setInventoryStack, writeInventoryToNbt
-
Field Details
-
inventory
- Mappings:
Namespace Name Mixin selector named inventory
Lnet/minecraft/entity/vehicle/StorageMinecartEntity;inventory:Lnet/minecraft/util/collection/DefaultedList;
intermediary field_7735
Lnet/minecraft/class_1693;field_7735:Lnet/minecraft/class_2371;
official c
Lcou;c:Ljv;
-
lootTable
- Mappings:
Namespace Name Mixin selector named lootTable
Lnet/minecraft/entity/vehicle/StorageMinecartEntity;lootTable:Lnet/minecraft/registry/RegistryKey;
intermediary field_7734
Lnet/minecraft/class_1693;field_7734:Lnet/minecraft/class_5321;
official d
Lcou;d:Lakq;
-
lootSeed
private long lootSeed- Mappings:
Namespace Name Mixin selector named lootSeed
Lnet/minecraft/entity/vehicle/StorageMinecartEntity;lootSeed:J
intermediary field_7732
Lnet/minecraft/class_1693;field_7732:J
official e
Lcou;e:J
-
-
Constructor Details
-
StorageMinecartEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
official <init>
Lbsr;<init>(Lbsx;Ldcw;)V
-
StorageMinecartEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/vehicle/StorageMinecartEntity;<init>(Lnet/minecraft/entity/EntityType;DDDLnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_1693;<init>(Lnet/minecraft/class_1299;DDDLnet/minecraft/class_1937;)V
official <init>
Lcou;<init>(Lbsx;DDDLdcw;)V
-
-
Method Details
-
killAndDropSelf
- Overrides:
killAndDropSelf
in classVehicleEntity
- Mappings:
Namespace Name Mixin selector named killAndDropSelf
Lnet/minecraft/entity/vehicle/VehicleEntity;killAndDropSelf(Lnet/minecraft/entity/damage/DamageSource;)V
intermediary method_7516
Lnet/minecraft/class_8836;method_7516(Lnet/minecraft/class_1282;)V
official a
Lcpg;a(Lbrk;)V
-
getStack
Returns the stack currently stored atslot
.If the slot is empty, or is outside the bounds of this inventory, this returns
ItemStack.EMPTY
.- Specified by:
getStack
in interfaceInventory
- Returns:
- the stack currently stored at
slot
- Mappings:
Namespace Name Mixin selector named getStack
Lnet/minecraft/inventory/Inventory;getStack(I)Lnet/minecraft/item/ItemStack;
intermediary method_5438
Lnet/minecraft/class_1263;method_5438(I)Lnet/minecraft/class_1799;
official a
Lbqk;a(I)Lcuq;
-
removeStack
Removes a specific number of items fromslot
.- Specified by:
removeStack
in interfaceInventory
- Returns:
- the removed items as a stack
- Mappings:
Namespace Name Mixin selector named removeStack
Lnet/minecraft/inventory/Inventory;removeStack(II)Lnet/minecraft/item/ItemStack;
intermediary method_5434
Lnet/minecraft/class_1263;method_5434(II)Lnet/minecraft/class_1799;
official a
Lbqk;a(II)Lcuq;
-
removeStack
Removes the stack currently stored atslot
.- Specified by:
removeStack
in interfaceInventory
- Returns:
- the stack previously stored at the indicated slot
- Mappings:
Namespace Name Mixin selector named removeStack
Lnet/minecraft/inventory/Inventory;removeStack(I)Lnet/minecraft/item/ItemStack;
intermediary method_5441
Lnet/minecraft/class_1263;method_5441(I)Lnet/minecraft/class_1799;
official b
Lbqk;b(I)Lcuq;
-
setStack
Sets the stack stored atslot
tostack
. -
getStackReference
Obtains a stack reference to be modified. Used by commands like/loot
or/item
.- Overrides:
getStackReference
in classEntity
- Parameters:
mappedIndex
- the mapped index as given by the item slot argument- See Also:
- Mappings:
Namespace Name Mixin selector named getStackReference
Lnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
intermediary method_32318
Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;
official a_
Lbsr;a_(I)Lbug;
-
markDirty
public void markDirty()Marks the inventory as modified. Implementations should call this method every time the inventory is changed in any way.- Specified by:
markDirty
in interfaceInventory
- See Also:
- API Note:
- Implementations should mark the inventory for synchronization or
saving in this method. Since this is called frequently, it is not recommended to
synchronize or save the inventory directly in this method. If this inventory is
implemented in a block entity, then it should always call
super.markDirty();
to ensure the block entity gets saved. - Mappings:
Namespace Name Mixin selector named markDirty
Lnet/minecraft/inventory/Inventory;markDirty()V
intermediary method_5431
Lnet/minecraft/class_1263;method_5431()V
official e
Lbqk;e()V
-
canPlayerUse
Returns whetherplayer
can use this inventory.This is called by
ScreenHandler.canUse(net.minecraft.screen.ScreenHandlerContext, net.minecraft.entity.player.PlayerEntity, net.minecraft.block.Block)
.- Specified by:
canPlayerUse
in interfaceInventory
- Returns:
- whether
player
can use this inventory - See Also:
- API Note:
- Implementations should check the distance between the inventory
holder and
player
. For convenience, this interface offers two methods used by block entities to implement this check. - Mappings:
Namespace Name Mixin selector named canPlayerUse
Lnet/minecraft/inventory/Inventory;canPlayerUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
intermediary method_5443
Lnet/minecraft/class_1263;method_5443(Lnet/minecraft/class_1657;)Z
official a
Lbqk;a(Lcmx;)Z
-
remove
Removes the entity.- Overrides:
remove
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named remove
Lnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)V
intermediary method_5650
Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)V
official a
Lbsr;a(Lbsr$c;)V
-
writeCustomDataToNbt
Writes custom data tonbt
. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbt
in classAbstractMinecartEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
official b
Lbsr;b(Lub;)V
-
readCustomDataFromNbt
Reads custom data fromnbt
. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbt
might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbt
in classAbstractMinecartEntity
- See Also:
- Mappings:
Namespace Name Mixin selector named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
official a
Lbsr;a(Lub;)V
-
interact
Called when a player interacts with this entity.- Overrides:
interact
in classEntity
- Parameters:
player
- the playerhand
- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector named interact
Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
intermediary method_5688
Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
official a
Lbsr;a(Lcmx;Lbqq;)Lbqr;
-
applySlowdown
protected void applySlowdown()- Overrides:
applySlowdown
in classAbstractMinecartEntity
- Mappings:
Namespace Name Mixin selector named applySlowdown
Lnet/minecraft/entity/vehicle/AbstractMinecartEntity;applySlowdown()V
intermediary method_7525
Lnet/minecraft/class_1688;method_7525()V
official t
Lcot;t()V
-
clear
public void clear() -
setLootTable
- Mappings:
Namespace Name Mixin selector named setLootTable
Lnet/minecraft/entity/vehicle/StorageMinecartEntity;setLootTable(Lnet/minecraft/registry/RegistryKey;J)V
intermediary method_7562
Lnet/minecraft/class_1693;method_7562(Lnet/minecraft/class_5321;J)V
official a
Lcou;a(Lakq;J)V
-
createMenu
@Nullable public @Nullable ScreenHandler createMenu(int syncId, PlayerInventory playerInventory, PlayerEntity player) - Specified by:
createMenu
in interfaceScreenHandlerFactory
- Mappings:
Namespace Name Mixin selector named createMenu
Lnet/minecraft/screen/ScreenHandlerFactory;createMenu(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
intermediary createMenu
Lnet/minecraft/class_1270;createMenu(ILnet/minecraft/class_1661;Lnet/minecraft/class_1657;)Lnet/minecraft/class_1703;
official createMenu
Lcrb;createMenu(ILcmw;Lcmx;)Lcpu;
-
getScreenHandler
- Mappings:
Namespace Name Mixin selector named getScreenHandler
Lnet/minecraft/entity/vehicle/StorageMinecartEntity;getScreenHandler(ILnet/minecraft/entity/player/PlayerInventory;)Lnet/minecraft/screen/ScreenHandler;
intermediary method_17357
Lnet/minecraft/class_1693;method_17357(ILnet/minecraft/class_1661;)Lnet/minecraft/class_1703;
official a
Lcou;a(ILcmw;)Lcpu;
-
getLootTable
- Specified by:
getLootTable
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector named getLootTable
Lnet/minecraft/entity/vehicle/VehicleInventory;getLootTable()Lnet/minecraft/registry/RegistryKey;
intermediary method_42276
Lnet/minecraft/class_7265;method_42276()Lnet/minecraft/class_5321;
official B
Lcox;B()Lakq;
-
setLootTable
- Specified by:
setLootTable
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector named setLootTable
Lnet/minecraft/entity/vehicle/VehicleInventory;setLootTable(Lnet/minecraft/registry/RegistryKey;)V
intermediary method_42275
Lnet/minecraft/class_7265;method_42275(Lnet/minecraft/class_5321;)V
official a
Lcox;a(Lakq;)V
-
getLootTableSeed
public long getLootTableSeed()- Specified by:
getLootTableSeed
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector named getLootTableSeed
Lnet/minecraft/entity/vehicle/VehicleInventory;getLootTableSeed()J
intermediary method_42277
Lnet/minecraft/class_7265;method_42277()J
official C
Lcox;C()J
-
setLootTableSeed
public void setLootTableSeed(long lootTableSeed) - Specified by:
setLootTableSeed
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector named setLootTableSeed
Lnet/minecraft/entity/vehicle/VehicleInventory;setLootTableSeed(J)V
intermediary method_42274
Lnet/minecraft/class_7265;method_42274(J)V
official a
Lcox;a(J)V
-
getInventory
- Specified by:
getInventory
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector named getInventory
Lnet/minecraft/entity/vehicle/VehicleInventory;getInventory()Lnet/minecraft/util/collection/DefaultedList;
intermediary method_42278
Lnet/minecraft/class_7265;method_42278()Lnet/minecraft/class_2371;
official D
Lcox;D()Ljv;
-
resetInventory
public void resetInventory()- Specified by:
resetInventory
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector named resetInventory
Lnet/minecraft/entity/vehicle/VehicleInventory;resetInventory()V
intermediary method_42273
Lnet/minecraft/class_7265;method_42273()V
official E
Lcox;E()V
-