Package net.minecraft.block.entity
Record Class DecoratedPotBlockEntity.Sherds
java.lang.Object
java.lang.Record
net.minecraft.block.entity.DecoratedPotBlockEntity.Sherds
- Record Components:
back-left-right-front-
- Enclosing class:
DecoratedPotBlockEntity
public static record DecoratedPotBlockEntity.Sherds(Item back, Item left, Item right, Item front)
extends Record
- Mappings:
Namespace Name official czz$aintermediary net/minecraft/class_8172$class_8526named net/minecraft/block/entity/DecoratedPotBlockEntity$Sherdsofficial bintermediary comp_1487named backofficial cintermediary comp_1488named leftofficial dintermediary comp_1489named rightofficial eintermediary comp_1490named front
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ItemThe field for thebackrecord component.static final DecoratedPotBlockEntity.Sherdsprivate final ItemThe field for thefrontrecord component.private final ItemThe field for theleftrecord component.private final ItemThe field for therightrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionback()Returns the value of thebackrecord component.final booleanIndicates whether some other object is "equal to" this one.fromNbt(@Nullable NbtCompound nbt) front()Returns the value of thefrontrecord component.private static Itemfinal inthashCode()Returns a hash code value for this object.left()Returns the value of theleftrecord component.right()Returns the value of therightrecord component.stream()toNbt(NbtCompound nbt) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
back
The field for thebackrecord component. -
left
The field for theleftrecord component. -
right
The field for therightrecord component. -
front
The field for thefrontrecord component. -
DEFAULT
- Mappings:
Namespace Name Mixin selector official aLczz$a;a:Lczz$a;intermediary field_44707Lnet/minecraft/class_8172$class_8526;field_44707:Lnet/minecraft/class_8172$class_8526;named DEFAULTLnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;DEFAULT:Lnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;
-
-
Constructor Details
-
Sherds
-
-
Method Details
-
toNbt
- Mappings:
Namespace Name Mixin selector official aLczz$a;a(Lqr;)Lqr;intermediary method_51513Lnet/minecraft/class_8172$class_8526;method_51513(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;named toNbtLnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;toNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
stream
- Mappings:
Namespace Name Mixin selector official aLczz$a;a()Ljava/util/stream/Stream;intermediary method_51512Lnet/minecraft/class_8172$class_8526;method_51512()Ljava/util/stream/Stream;named streamLnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;stream()Ljava/util/stream/Stream;
-
fromNbt
- Mappings:
Namespace Name Mixin selector official bLczz$a;b(Lqr;)Lczz$a;intermediary method_51516Lnet/minecraft/class_8172$class_8526;method_51516(Lnet/minecraft/class_2487;)Lnet/minecraft/class_8172$class_8526;named fromNbtLnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;
-
getSherd
- Mappings:
Namespace Name Mixin selector official aLczz$a;a(Lqx;I)Lcfs;intermediary method_51514Lnet/minecraft/class_8172$class_8526;method_51514(Lnet/minecraft/class_2499;I)Lnet/minecraft/class_1792;named getSherdLnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;getSherd(Lnet/minecraft/nbt/NbtList;I)Lnet/minecraft/item/Item;
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
back
Returns the value of thebackrecord component.- Returns:
- the value of the
backrecord component
-
left
Returns the value of theleftrecord component.- Returns:
- the value of the
leftrecord component
-
right
Returns the value of therightrecord component.- Returns:
- the value of the
rightrecord component
-
front
Returns the value of thefrontrecord component.- Returns:
- the value of the
frontrecord component
-