2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_2586 net/minecraft/block/entity/BlockEntity
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT A block entity is an object holding extra data about a block in a world.
|
|
|
|
COMMENT Blocks hold their data using pre-defined, finite sets of {@link BlockState};
|
|
|
|
COMMENT however, some blocks need to hold data that cannot be pre-defined, such as
|
|
|
|
COMMENT inventories of chests, texts of signs, or pattern combinations of banners.
|
|
|
|
COMMENT Block entities can hold these data.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Block entities have two other important additions to normal blocks: they
|
|
|
|
COMMENT can define custom rendering behaviors, and they can tick on every server tick
|
|
|
|
COMMENT instead of randomly. Some block entities only use these without any extra data.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Block entities are bound to a world and there is one instance of {@link
|
|
|
|
COMMENT BlockEntity} per the block position, unlike {@link net.minecraft.block.Block}
|
|
|
|
COMMENT or {@link BlockState} which are reused. Block entities are created using {@link
|
|
|
|
COMMENT BlockEntityType}, a type of block entities. In most cases, block entities do not
|
|
|
|
COMMENT have to be constructed manually except in {@link
|
|
|
|
COMMENT net.minecraft.block.BlockEntityProvider#createBlockEntity}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>To get the block entity at a certain position, use {@link World#getBlockEntity}.
|
|
|
|
COMMENT Note that the block entity returned can be, in rare cases, different from the
|
|
|
|
COMMENT one associated with the block at that position. For this reason the return value
|
|
|
|
COMMENT should not be cast unsafely.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Block entities, like entities, use NBT for the storage of data. The data is
|
|
|
|
COMMENT loaded to the instance's fields in {@link #readNbt} and written to NBT in
|
|
|
|
COMMENT {@link #writeNbt}. When a data that needs to be saved has changed, always make sure
|
|
|
|
COMMENT to call {@link #markDirty()}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>See {@link net.minecraft.block.BlockEntityProvider} and {@link BlockEntityType}
|
|
|
|
COMMENT for information on creating a block with block entities.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Block entity's data, unlike block states, are not automatically synced. Block
|
|
|
|
COMMENT entities declare when and which data to sync. In general, block entities need to
|
|
|
|
COMMENT sync states observable from the clients without specific interaction (such as opening
|
|
|
|
COMMENT a container). {@link #toUpdatePacket} and {@link #toInitialChunkDataNbt} control
|
|
|
|
COMMENT which data is sent to the client. To sync the block entity to the client, call
|
|
|
|
COMMENT {@code serverWorld.getChunkManager().markForUpdate(this.getPos());}.
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_11863 world Lnet/minecraft/class_1937;
|
|
|
|
FIELD field_11864 type Lnet/minecraft/class_2591;
|
2019-09-12 09:28:23 -04:00
|
|
|
FIELD field_11865 removed Z
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_11866 cachedState Lnet/minecraft/class_2680;
|
|
|
|
FIELD field_11867 pos Lnet/minecraft/class_2338;
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_11868 LOGGER Lorg/slf4j/Logger;
|
2024-03-28 15:14:35 -04:00
|
|
|
FIELD field_50172 components Lnet/minecraft/class_9323;
|
2021-01-21 18:33:27 -05:00
|
|
|
METHOD <init> (Lnet/minecraft/class_2591;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
|
2024-03-28 15:14:35 -04:00
|
|
|
ARG 1 type
|
2021-01-21 18:33:27 -05:00
|
|
|
ARG 2 pos
|
|
|
|
ARG 3 state
|
2019-09-12 09:28:23 -04:00
|
|
|
METHOD method_10996 cancelRemoval ()V
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_10997 getWorld ()Lnet/minecraft/class_1937;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the world the block entity belongs to}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This can return {@code null} during world generation.
|
2021-09-16 15:04:31 -04:00
|
|
|
METHOD method_10999 writeIdentifyingData (Lnet/minecraft/class_2487;)V
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT Writes to {@code nbt} the block entity type ID under the {@code id} key,
|
|
|
|
COMMENT and the block's position under {@code x}, {@code y}, and {@code z} keys.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @throws RuntimeException if the block entity type is not registered in
|
|
|
|
COMMENT the registry
|
2021-04-02 17:03:30 -04:00
|
|
|
ARG 1 nbt
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_11002 hasWorld ()Z
|
|
|
|
METHOD method_11003 populateCrashReport (Lnet/minecraft/class_129;)V
|
2021-01-21 18:33:27 -05:00
|
|
|
ARG 1 crashReportSection
|
2020-05-02 16:29:07 -04:00
|
|
|
METHOD method_11004 onSyncedBlockEvent (II)Z
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT If this block entity's block extends {@link net.minecraft.block.BlockWithEntity},
|
|
|
|
COMMENT this is called inside {@link net.minecraft.block.AbstractBlock#onSyncedBlockEvent}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see net.minecraft.block.AbstractBlock#onSyncedBlockEvent
|
2020-05-02 16:29:07 -04:00
|
|
|
ARG 1 type
|
|
|
|
ARG 2 data
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_11005 createFromNbt (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2586;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the new block entity loaded from {@code nbt}, or {@code null} if it fails}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This is used during chunk loading. This can fail if {@code nbt} has an improper or
|
|
|
|
COMMENT unregistered {@code id}, or if {@link #readNbt} throws an exception; in these cases,
|
|
|
|
COMMENT this logs an error and returns {@code null}.
|
2021-01-21 18:33:27 -05:00
|
|
|
ARG 0 pos
|
|
|
|
ARG 1 state
|
2021-04-02 17:03:30 -04:00
|
|
|
ARG 2 nbt
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 3 registryLookup
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_11007 writeNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT Writes data to {@code nbt}. Subclasses should override this if they
|
|
|
|
COMMENT store a persistent data.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>NBT is a storage format; therefore, a data from NBT is loaded to a
|
|
|
|
COMMENT block entity instance's fields, which are used for other operations instead
|
|
|
|
COMMENT of the NBT. The data is written back to NBT when saving the block entity.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #readNbt
|
2021-04-02 17:03:30 -04:00
|
|
|
ARG 1 nbt
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 2 registryLookup
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_11010 getCachedState ()Lnet/minecraft/class_2680;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the cached block state at the block entity's position}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This is faster than calling {@link World#getBlockState}.
|
2020-04-06 19:29:55 -04:00
|
|
|
METHOD method_11011 copyItemDataRequiresOperator ()Z
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return whether the block item should require the player to have operator
|
|
|
|
COMMENT permissions to copy the block entity data on placement}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Block entities that can execute commands should override this to return
|
|
|
|
COMMENT {@code true}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see net.minecraft.entity.player.PlayerEntity#isCreativeLevelTwoOp
|
2019-09-12 09:28:23 -04:00
|
|
|
METHOD method_11012 markRemoved ()V
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_11014 readNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT Reads data from {@code nbt}. Subclasses should override this if they
|
|
|
|
COMMENT store a persistent data.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>NBT is a storage format; therefore, a data from NBT is loaded to a
|
|
|
|
COMMENT block entity instance's fields, which are used for other operations instead
|
|
|
|
COMMENT of the NBT. The data is written back to NBT when saving the block entity.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>{@code nbt} might not have all expected keys, or might have a key whose
|
|
|
|
COMMENT value does not meet the requirement (such as the type or the range). This
|
|
|
|
COMMENT method should fall back to a reasonable default value instead of throwing an
|
|
|
|
COMMENT exception.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #writeNbt
|
2021-04-02 17:03:30 -04:00
|
|
|
ARG 1 nbt
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 2 registryLookup
|
2019-09-12 09:28:23 -04:00
|
|
|
METHOD method_11015 isRemoved ()Z
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_11016 getPos ()Lnet/minecraft/class_2338;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the block entity's position}
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_11017 getType ()Lnet/minecraft/class_2591;
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_16887 toInitialChunkDataNbt (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the serialized state of this block entity that is observable by clients}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This is sent alongside the initial chunk data, as well as when the block
|
2021-10-03 07:48:29 -04:00
|
|
|
COMMENT entity implements {@link #toUpdatePacket} and decides to use the default
|
|
|
|
COMMENT {@link net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket}.
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT <p>"Observable state" is a state that clients can observe without specific interaction.
|
|
|
|
COMMENT For example, {@link CampfireBlockEntity}'s cooked items are observable states,
|
|
|
|
COMMENT but chests' inventories are not observable states, since the player must first open
|
|
|
|
COMMENT that chest before they can see the contents.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>To send all NBT data of this block entity saved to disk, return {@link #createNbt}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #toUpdatePacket
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 1 registryLookup
|
|
|
|
METHOD method_17897 (Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;Ljava/lang/String;Lnet/minecraft/class_2586;)Lnet/minecraft/class_2586;
|
|
|
|
ARG 3 blockEntity
|
2021-11-09 17:09:37 -05:00
|
|
|
METHOD method_17899 (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Ljava/lang/String;Lnet/minecraft/class_2591;)Lnet/minecraft/class_2586;
|
|
|
|
ARG 3 type
|
2020-11-06 07:49:58 -05:00
|
|
|
METHOD method_31662 setWorld (Lnet/minecraft/class_1937;)V
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT Sets the world the block entity belongs to.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This should not be called manually; however, this can be overridden
|
|
|
|
COMMENT to initialize fields dependent on the world.
|
2021-01-21 18:33:27 -05:00
|
|
|
ARG 1 world
|
2020-11-06 07:49:58 -05:00
|
|
|
METHOD method_31663 markDirty (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
|
2021-01-21 18:33:27 -05:00
|
|
|
ARG 0 world
|
|
|
|
ARG 1 pos
|
|
|
|
ARG 2 state
|
2020-11-06 07:49:58 -05:00
|
|
|
METHOD method_31664 setCachedState (Lnet/minecraft/class_2680;)V
|
2021-01-21 18:33:27 -05:00
|
|
|
ARG 1 state
|
2021-09-20 11:51:29 -04:00
|
|
|
METHOD method_38235 toUpdatePacket ()Lnet/minecraft/class_2596;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the packet to send to nearby players when the block entity's observable
|
|
|
|
COMMENT state changes, or {@code null} to not send the packet}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>If the data returned by {@link #toInitialChunkDataNbt initial chunk data} is suitable
|
|
|
|
COMMENT for updates, the following shortcut can be used to create an update packet: {@code
|
|
|
|
COMMENT BlockEntityUpdateS2CPacket.create(this)}. The NBT will be passed to {@link #readNbt}
|
|
|
|
COMMENT on the client.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>"Observable state" is a state that clients can observe without specific interaction.
|
|
|
|
COMMENT For example, {@link CampfireBlockEntity}'s cooked items are observable states,
|
|
|
|
COMMENT but chests' inventories are not observable states, since the player must first open
|
|
|
|
COMMENT that chest before they can see the contents.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>To sync block entity data using this method, use {@code
|
|
|
|
COMMENT serverWorld.getChunkManager().markForUpdate(this.getPos());}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #toInitialChunkDataNbt
|
2021-09-17 11:18:49 -04:00
|
|
|
METHOD method_38238 writeIdToNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_2591;)V
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT Writes the ID of {@code type} to {@code nbt} under the {@code id} key.
|
2021-09-17 11:18:49 -04:00
|
|
|
ARG 0 nbt
|
|
|
|
ARG 1 type
|
|
|
|
METHOD method_38239 posFromNbt (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2338;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the block position from {@code nbt}}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>The passed NBT should use lowercase {@code x}, {@code y}, and {@code z}
|
|
|
|
COMMENT keys to store the position. This is incompatible with {@link
|
2022-08-12 06:48:14 -04:00
|
|
|
COMMENT net.minecraft.nbt.NbtHelper#fromBlockPos} that use uppercase keys.
|
2021-09-17 11:18:49 -04:00
|
|
|
ARG 0 nbt
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_38240 setStackNbt (Lnet/minecraft/class_1799;Lnet/minecraft/class_7225$class_7874;)V
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT Sets {@code stack}'s {@code net.minecraft.item.BlockItem#BLOCK_ENTITY_TAG_KEY}
|
|
|
|
COMMENT NBT value to {@linkplain #createNbt the block entity's NBT data}.
|
2024-02-29 04:06:13 -05:00
|
|
|
ARG 1 stack
|
|
|
|
ARG 2 registries
|
2021-09-17 11:18:49 -04:00
|
|
|
METHOD method_38241 writeIdToNbt (Lnet/minecraft/class_2487;)V
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT Writes the block entity type ID to {@code nbt} under the {@code id} key.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @throws RuntimeException if the block entity type is not registered in
|
|
|
|
COMMENT the registry
|
2021-09-17 11:18:49 -04:00
|
|
|
ARG 1 nbt
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_38242 createNbtWithIdentifyingData (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the block entity's NBT data with identifying data}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>In addition to data written at {@link #writeNbt}, this also
|
|
|
|
COMMENT writes the {@linkplain #writeIdToNbt block entity type ID} and the
|
|
|
|
COMMENT position of the block entity.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #createNbt
|
|
|
|
COMMENT @see #createNbtWithId
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 1 registryLookup
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_38243 createNbtWithId (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the block entity's NBT data with block entity type ID}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>In addition to data written at {@link #writeNbt}, this also
|
|
|
|
COMMENT writes the {@linkplain #writeIdToNbt block entity type ID}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #createNbt
|
|
|
|
COMMENT @see #createNbtWithIdentifyingData
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 1 registryLookup
|
2024-01-31 12:12:25 -05:00
|
|
|
METHOD method_38244 createNbt (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT {@return the block entity's NBT data}
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Internally, this calls {@link #writeNbt} with a new {@link NbtCompound}
|
|
|
|
COMMENT and returns the compound.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see #writeNbt
|
|
|
|
COMMENT @see #createNbtWithIdentifyingData
|
|
|
|
COMMENT @see #createNbtWithId
|
2024-01-31 22:10:35 -05:00
|
|
|
ARG 1 registryLookup
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5431 markDirty ()V
|
2022-07-25 15:22:59 -04:00
|
|
|
COMMENT Marks this block entity as dirty and that it needs to be saved.
|
|
|
|
COMMENT This also triggers {@linkplain World#updateComparators comparator update}.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>This <strong>must be called</strong> when something changed in a way that
|
|
|
|
COMMENT affects the saved NBT; otherwise, the game might not save the block entity.
|
2024-02-29 04:06:13 -05:00
|
|
|
METHOD method_57567 addComponents (Lnet/minecraft/class_9323$class_9324;)V
|
|
|
|
ARG 1 componentMapBuilder
|
2024-03-27 12:44:45 -04:00
|
|
|
METHOD method_57568 readComponents (Lnet/minecraft/class_2586$class_9473;)V
|
2024-03-28 15:14:35 -04:00
|
|
|
ARG 1 components
|
2024-02-29 04:06:13 -05:00
|
|
|
METHOD method_57569 removeFromCopiedStackNbt (Lnet/minecraft/class_2487;)V
|
|
|
|
ARG 1 nbt
|
|
|
|
METHOD method_57590 createComponentMap ()Lnet/minecraft/class_9323;
|
2024-03-28 15:14:35 -04:00
|
|
|
METHOD method_58683 readComponents (Lnet/minecraft/class_1799;)V
|
|
|
|
ARG 1 stack
|
|
|
|
METHOD method_58684 setComponents (Lnet/minecraft/class_9323;)V
|
|
|
|
ARG 1 components
|
|
|
|
METHOD method_58685 readComponents (Lnet/minecraft/class_9323;Lnet/minecraft/class_9326;)V
|
|
|
|
ARG 1 defaultComponents
|
|
|
|
ARG 2 components
|
2024-04-03 12:15:12 -04:00
|
|
|
METHOD method_58686 (Lnet/minecraft/class_2487;Lnet/minecraft/class_2520;)V
|
|
|
|
ARG 1 nbt
|
|
|
|
METHOD method_58687 (Ljava/lang/String;)V
|
|
|
|
ARG 0 snbt
|
2024-03-28 15:14:35 -04:00
|
|
|
METHOD method_58688 (Lnet/minecraft/class_9323;)V
|
|
|
|
ARG 1 components
|
|
|
|
METHOD method_58689 (Ljava/lang/String;)V
|
|
|
|
ARG 0 error
|
|
|
|
METHOD method_58690 read (Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
|
|
|
|
ARG 1 nbt
|
|
|
|
ARG 2 registryLookup
|
|
|
|
METHOD method_58691 readComponentlessNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)V
|
|
|
|
ARG 1 nbt
|
|
|
|
ARG 2 registryLookup
|
|
|
|
METHOD method_58692 createComponentlessNbt (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
|
|
|
|
ARG 1 registryLookup
|
|
|
|
METHOD method_58693 getComponents ()Lnet/minecraft/class_9323;
|
2024-04-03 12:15:12 -04:00
|
|
|
METHOD method_59535 createComponentlessNbtWithIdentifyingData (Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
|
|
|
|
ARG 1 registryLookup
|
2024-04-26 09:18:33 -04:00
|
|
|
METHOD method_59894 tryParseCustomName (Ljava/lang/String;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2561;
|
|
|
|
ARG 0 json
|
|
|
|
ARG 1 registryLookup
|
2024-03-28 15:14:35 -04:00
|
|
|
CLASS class_9472 Components
|
|
|
|
FIELD field_50176 CODEC Lcom/mojang/serialization/Codec;
|
|
|
|
CLASS class_9473 ComponentsAccess
|
|
|
|
METHOD method_58694 get (Lnet/minecraft/class_9331;)Ljava/lang/Object;
|
|
|
|
ARG 1 type
|
|
|
|
METHOD method_58695 getOrDefault (Lnet/minecraft/class_9331;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
ARG 1 type
|
|
|
|
ARG 2 fallback
|