Class ChestBoatEntity
- All Implemented Interfaces:
RideableInventory
,VariantHolder<BoatEntity.Type>
,VehicleInventory
,Inventory
,NamedScreenHandlerFactory
,ScreenHandlerFactory
,CommandOutput
,Clearable
,Nameable
,EntityLike
- Mappings:
Namespace Name official cdo
intermediary net/minecraft/class_7264
named net/minecraft/entity/vehicle/ChestBoatEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.vehicle.BoatEntity
BoatEntity.Location, BoatEntity.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 static final int
private @Nullable Identifier
private long
Fields inherited from class net.minecraft.entity.vehicle.BoatEntity
EMIT_SOUND_EVENT_PADDLE_ROTATION, field_30697, field_30698, field_30700
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_29991, field_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, 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
field_42619, MAX_COUNT_PER_STACK
-
Constructor Summary
ConstructorDescriptionChestBoatEntity
(EntityType<? extends BoatEntity> type, World world) ChestBoatEntity
(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionasItem()
boolean
canPlayerUse
(PlayerEntity player) Returns whetherplayer
can use this inventory.void
clear()
createMenu
(int syncId, PlayerInventory playerInventory, PlayerEntity player) void
dropItems
(DamageSource source) void
generateLoot
(@Nullable PlayerEntity player) long
protected int
protected float
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
Marks the inventory as modified.void
onClose
(PlayerEntity player) Called when the inventory is closed.void
openInventory
(PlayerEntity player) 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
setLootTableId
(@Nullable Identifier lootTableId) void
setLootTableSeed
(long lootTableSeed) void
Sets the stack stored atslot
tostack
.int
size()
Returns the size of the inventory.protected void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.vehicle.BoatEntity
animateDamage, canAddPassenger, canCollide, canHit, clampPassengerYaw, collidesWith, damage, fall, getControllingPassenger, getDamageWobbleSide, getDamageWobbleStrength, getDamageWobbleTicks, getDefaultName, getEyeHeight, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getMoveEffect, getMovementDirection, getNearbySlipperiness, getPaddleSoundEvent, getPassengerAttachmentPos, getPickBlockStack, getVariant, getWaterHeightBelow, initDataTracker, interpolateBubbleWobble, interpolatePaddlePhase, isCollidable, isPaddleMoving, isPushable, isSmallerThanBoat, isSubmergedInWater, onBubbleColumnSurfaceCollision, onPassengerLookAround, positionInPortal, pushAwayFrom, setDamageWobbleSide, setDamageWobbleStrength, setDamageWobbleTicks, setInputs, setPaddleMovings, setVariant, tick, updatePassengerForDismount, updatePassengerPosition, updateTrackedPositionAndAngles
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, baseTick, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canFreeze, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, equipStack, extinguish, extinguishWithSound, getAir, getArmorItems, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBodyYaw, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultPortalCooldown, getDimensions, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandItems, getHandPosOffset, getHeadYaw, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengerRidingPos, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRidingOffset, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getStepHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUnscaledRidingOffset, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getVelocityMultiplier, getVisibilityBoundingBox, getWidth, getWorld, getX, getY, getYaw, getYaw, getZ, handleAttack, handleFallDamage, handleStatus, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAlive, isAttackable, 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, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, kill, lerpPosAndRotation, limitFallDistance, lookAt, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onDamaged, onDataTrackerUpdate, onKilledOther, onLanding, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, onTrackedDataSet, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBodyYaw, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setHeadYaw, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSprinting, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, 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, teleport, tickInVoid, tickPortal, tickPortalCooldown, tickRiding, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, 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, getMaxCountPerStack, isValid, onOpen
Methods inherited from interface net.minecraft.screen.NamedScreenHandlerFactory
getDisplayName
Methods inherited from interface net.minecraft.entity.vehicle.VehicleInventory
canPlayerAccess, clearInventory, generateInventoryLoot, getInventoryStack, getInventoryStackReference, getPos, getWorld, isEmpty, isInventoryEmpty, isRemoved, onBroken, open, readInventoryFromNbt, removeInventoryStack, removeInventoryStack, setInventoryStack, writeInventoryToNbt
-
Field Details
-
INVENTORY_SIZE
private static final int INVENTORY_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lcdo;f:I
intermediary field_38207
Lnet/minecraft/class_7264;field_38207:I
named INVENTORY_SIZE
Lnet/minecraft/entity/vehicle/ChestBoatEntity;INVENTORY_SIZE:I
-
inventory
- Mappings:
Namespace Name Mixin selector official g
Lcdo;g:Lhn;
intermediary field_38204
Lnet/minecraft/class_7264;field_38204:Lnet/minecraft/class_2371;
named inventory
Lnet/minecraft/entity/vehicle/ChestBoatEntity;inventory:Lnet/minecraft/util/collection/DefaultedList;
-
lootTableId
- Mappings:
Namespace Name Mixin selector official h
Lcdo;h:Laew;
intermediary field_38205
Lnet/minecraft/class_7264;field_38205:Lnet/minecraft/class_2960;
named lootTableId
Lnet/minecraft/entity/vehicle/ChestBoatEntity;lootTableId:Lnet/minecraft/util/Identifier;
-
lootTableSeed
private long lootTableSeed- Mappings:
Namespace Name Mixin selector official i
Lcdo;i:J
intermediary field_38206
Lnet/minecraft/class_7264;field_38206:J
named lootTableSeed
Lnet/minecraft/entity/vehicle/ChestBoatEntity;lootTableSeed:J
-
-
Constructor Details
-
ChestBoatEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbiq;<init>(Lbiu;Lcpv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
ChestBoatEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcdn;<init>(Lcpv;DDD)V
intermediary <init>
Lnet/minecraft/class_1690;<init>(Lnet/minecraft/class_1937;DDD)V
named <init>
Lnet/minecraft/entity/vehicle/BoatEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
getPassengerHorizontalOffset
protected float getPassengerHorizontalOffset()- Overrides:
getPassengerHorizontalOffset
in classBoatEntity
- Mappings:
Namespace Name Mixin selector official w
Lcdn;w()F
intermediary method_42280
Lnet/minecraft/class_1690;method_42280()F
named getPassengerHorizontalOffset
Lnet/minecraft/entity/vehicle/BoatEntity;getPassengerHorizontalOffset()F
-
getMaxPassengers
protected int getMaxPassengers()- Overrides:
getMaxPassengers
in classBoatEntity
- Mappings:
Namespace Name Mixin selector official B
Lcdn;B()I
intermediary method_42281
Lnet/minecraft/class_1690;method_42281()I
named getMaxPassengers
Lnet/minecraft/entity/vehicle/BoatEntity;getMaxPassengers()I
-
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 classBoatEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbiq;b(Lqw;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)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 classBoatEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lqw;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
dropItems
- Overrides:
dropItems
in classBoatEntity
- Mappings:
Namespace Name Mixin selector official a
Lcdn;a(Lbho;)V
intermediary method_42279
Lnet/minecraft/class_1690;method_42279(Lnet/minecraft/class_1282;)V
named dropItems
Lnet/minecraft/entity/vehicle/BoatEntity;dropItems(Lnet/minecraft/entity/damage/DamageSource;)V
-
remove
Removes the entity.- Overrides:
remove
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lbiq$c;)V
intermediary method_5650
Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)V
named remove
Lnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)V
-
interact
Called when a player interacts with this entity.- Overrides:
interact
in classBoatEntity
- Parameters:
player
- the playerhand
- the hand the player used to interact with this entity- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lcbu;Lbgx;)Lbgy;
intermediary method_5688
Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interact
Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
openInventory
- Specified by:
openInventory
in interfaceRideableInventory
- Mappings:
Namespace Name Mixin selector official b
Lbiz;b(Lcbu;)V
intermediary method_6722
Lnet/minecraft/class_7248;method_6722(Lnet/minecraft/class_1657;)V
named openInventory
Lnet/minecraft/entity/RideableInventory;openInventory(Lnet/minecraft/entity/player/PlayerEntity;)V
-
asItem
- Overrides:
asItem
in classBoatEntity
- Mappings:
Namespace Name Mixin selector official q
Lcdn;q()Lcja;
intermediary method_7557
Lnet/minecraft/class_1690;method_7557()Lnet/minecraft/class_1792;
named asItem
Lnet/minecraft/entity/vehicle/BoatEntity;asItem()Lnet/minecraft/item/Item;
-
clear
public void clear() -
size
public int size()Returns the size of the inventory.The inventory should support the slot ID from
0
tosize() - 1
. This should remain constant throughout the inventory's lifetime. -
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 official a
Lbgr;a(I)Lcjf;
intermediary method_5438
Lnet/minecraft/class_1263;method_5438(I)Lnet/minecraft/class_1799;
named getStack
Lnet/minecraft/inventory/Inventory;getStack(I)Lnet/minecraft/item/ItemStack;
-
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 official a
Lbgr;a(II)Lcjf;
intermediary method_5434
Lnet/minecraft/class_1263;method_5434(II)Lnet/minecraft/class_1799;
named removeStack
Lnet/minecraft/inventory/Inventory;removeStack(II)Lnet/minecraft/item/ItemStack;
-
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 official b
Lbgr;b(I)Lcjf;
intermediary method_5441
Lnet/minecraft/class_1263;method_5441(I)Lnet/minecraft/class_1799;
named removeStack
Lnet/minecraft/inventory/Inventory;removeStack(I)Lnet/minecraft/item/ItemStack;
-
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 official a_
Lbiq;a_(I)Lbjy;
intermediary method_32318
Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;
named getStackReference
Lnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
-
markDirty
public void markDirty()Marks the inventory as modified. Implementations should call this method every time the inventory is changed in any way. -
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:
- Mappings:
Namespace Name Mixin selector official a
Lbgr;a(Lcbu;)Z
intermediary method_5443
Lnet/minecraft/class_1263;method_5443(Lnet/minecraft/class_1657;)Z
named canPlayerUse
Lnet/minecraft/inventory/Inventory;canPlayerUse(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
createMenu
@Nullable public @Nullable ScreenHandler createMenu(int syncId, PlayerInventory playerInventory, PlayerEntity player) - Specified by:
createMenu
in interfaceScreenHandlerFactory
- Mappings:
Namespace Name Mixin selector official createMenu
Lcfp;createMenu(ILcbt;Lcbu;)Lcel;
intermediary createMenu
Lnet/minecraft/class_1270;createMenu(ILnet/minecraft/class_1661;Lnet/minecraft/class_1657;)Lnet/minecraft/class_1703;
named createMenu
Lnet/minecraft/screen/ScreenHandlerFactory;createMenu(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
-
generateLoot
- Mappings:
Namespace Name Mixin selector official e
Lcdo;e(Lcbu;)V
intermediary method_42282
Lnet/minecraft/class_7264;method_42282(Lnet/minecraft/class_1657;)V
named generateLoot
Lnet/minecraft/entity/vehicle/ChestBoatEntity;generateLoot(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getLootTableId
- Specified by:
getLootTableId
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector official G
Lcdp;G()Laew;
intermediary method_42276
Lnet/minecraft/class_7265;method_42276()Lnet/minecraft/class_2960;
named getLootTableId
Lnet/minecraft/entity/vehicle/VehicleInventory;getLootTableId()Lnet/minecraft/util/Identifier;
-
setLootTableId
- Specified by:
setLootTableId
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector official a
Lcdp;a(Laew;)V
intermediary method_42275
Lnet/minecraft/class_7265;method_42275(Lnet/minecraft/class_2960;)V
named setLootTableId
Lnet/minecraft/entity/vehicle/VehicleInventory;setLootTableId(Lnet/minecraft/util/Identifier;)V
-
getLootTableSeed
public long getLootTableSeed()- Specified by:
getLootTableSeed
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector official H
Lcdp;H()J
intermediary method_42277
Lnet/minecraft/class_7265;method_42277()J
named getLootTableSeed
Lnet/minecraft/entity/vehicle/VehicleInventory;getLootTableSeed()J
-
setLootTableSeed
public void setLootTableSeed(long lootTableSeed) - Specified by:
setLootTableSeed
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector official a
Lcdp;a(J)V
intermediary method_42274
Lnet/minecraft/class_7265;method_42274(J)V
named setLootTableSeed
Lnet/minecraft/entity/vehicle/VehicleInventory;setLootTableSeed(J)V
-
getInventory
- Specified by:
getInventory
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector official I
Lcdp;I()Lhn;
intermediary method_42278
Lnet/minecraft/class_7265;method_42278()Lnet/minecraft/class_2371;
named getInventory
Lnet/minecraft/entity/vehicle/VehicleInventory;getInventory()Lnet/minecraft/util/collection/DefaultedList;
-
resetInventory
public void resetInventory()- Specified by:
resetInventory
in interfaceVehicleInventory
- Mappings:
Namespace Name Mixin selector official K
Lcdp;K()V
intermediary method_42273
Lnet/minecraft/class_7265;method_42273()V
named resetInventory
Lnet/minecraft/entity/vehicle/VehicleInventory;resetInventory()V
-
onClose
Called when the inventory is closed. Specifically, this is called insideScreenHandler.onClosed(net.minecraft.entity.player.PlayerEntity)
. This does nothing by default.The method is called in both the client and the server. However, because clientside screen handler is created with a
SimpleInventory
, other implementations can (and the vanilla code does) assume that the method is called in the server.- Specified by:
onClose
in interfaceInventory
- Mappings:
Namespace Name Mixin selector official c
Lbgr;c(Lcbu;)V
intermediary method_5432
Lnet/minecraft/class_1263;method_5432(Lnet/minecraft/class_1657;)V
named onClose
Lnet/minecraft/inventory/Inventory;onClose(Lnet/minecraft/entity/player/PlayerEntity;)V
-