Package net.minecraft
Class class_9571
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.class_9571
- Mappings:
Namespace Name official dqaintermediary net/minecraft/class_9571named net/minecraft/class_9571
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate static final doubleprivate static final intprivate static final Stringprivate intprivate intFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponents(ComponentMap.Builder componentMapBuilder) voidmethod_59162(int int2) static voidmethod_59164(World world, BlockPos blockPos, BlockState blockState, class_9571 class_9571) intvoidreadNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Reads data fromnbt.voidprotected voidwriteNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) Writes data tonbt.Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createComponentMap, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, posFromNbt, readComponents, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbt
-
Field Details
-
field_50903
- See Also:
- Mappings:
Namespace Name Mixin selector official aLdqa;a:Ljava/lang/String;intermediary field_50903Lnet/minecraft/class_9571;field_50903:Ljava/lang/String;named field_50903Lnet/minecraft/class_9571;field_50903:Ljava/lang/String;
-
field_50904
private static final double field_50904- See Also:
- Mappings:
Namespace Name Mixin selector official bLdqa;b:Dintermediary field_50904Lnet/minecraft/class_9571;field_50904:Dnamed field_50904Lnet/minecraft/class_9571;field_50904:D
-
field_50905
private static final int field_50905- See Also:
- Mappings:
Namespace Name Mixin selector official cLdqa;c:Iintermediary field_50905Lnet/minecraft/class_9571;field_50905:Inamed field_50905Lnet/minecraft/class_9571;field_50905:I
-
field_50906
- See Also:
- Mappings:
Namespace Name Mixin selector official dLdqa;d:Ljava/lang/String;intermediary field_50906Lnet/minecraft/class_9571;field_50906:Ljava/lang/String;named field_50906Lnet/minecraft/class_9571;field_50906:Ljava/lang/String;
-
field_50907
private int field_50907- Mappings:
Namespace Name Mixin selector official eLdqa;e:Iintermediary field_50907Lnet/minecraft/class_9571;field_50907:Inamed field_50907Lnet/minecraft/class_9571;field_50907:I
-
field_50908
private int field_50908- Mappings:
Namespace Name Mixin selector official fLdqa;f:Iintermediary field_50908Lnet/minecraft/class_9571;field_50908:Inamed field_50908Lnet/minecraft/class_9571;field_50908:I
-
-
Constructor Details
-
class_9571
-
-
Method Details
-
readNbt
Reads data fromnbt. Subclasses should override this if they store a persistent data.NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.
nbtmight 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:
readNbtin classBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLdqc;a(Luk;Ljc$a;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Vnamed readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
-
writeNbt
Writes data tonbt. Subclasses should override this if they store a persistent data.NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.
- Overrides:
writeNbtin classBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLdqc;b(Luk;Ljc$a;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Vnamed writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
-
method_59165
public int method_59165()- Mappings:
Namespace Name Mixin selector official bLdqa;b()Iintermediary method_59165Lnet/minecraft/class_9571;method_59165()Inamed method_59165Lnet/minecraft/class_9571;method_59165()I
-
method_59162
public void method_59162(int int2) - Mappings:
Namespace Name Mixin selector official aLdqa;a(I)Vintermediary method_59162Lnet/minecraft/class_9571;method_59162(I)Vnamed method_59162Lnet/minecraft/class_9571;method_59162(I)V
-
addComponents
- Overrides:
addComponentsin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLdqc;a(Lka$a;)Vintermediary method_57567Lnet/minecraft/class_2586;method_57567(Lnet/minecraft/class_9323$class_9324;)Vnamed addComponentsLnet/minecraft/block/entity/BlockEntity;addComponents(Lnet/minecraft/component/ComponentMap$Builder;)V
-
removeFromCopiedStackNbt
- Overrides:
removeFromCopiedStackNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLdqc;a(Luk;)Vintermediary method_57569Lnet/minecraft/class_2586;method_57569(Lnet/minecraft/class_2487;)Vnamed removeFromCopiedStackNbtLnet/minecraft/block/entity/BlockEntity;removeFromCopiedStackNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_59164
public static void method_59164(World world, BlockPos blockPos, BlockState blockState, class_9571 class_9571) - Mappings:
Namespace Name Mixin selector official aLdqa;a(Ldca;Lir;Ldtc;Ldqa;)Vintermediary method_59164Lnet/minecraft/class_9571;method_59164(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_9571;)Vnamed method_59164Lnet/minecraft/class_9571;method_59164(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/class_9571;)V
-