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 dac$a
intermediary net/minecraft/class_8172$class_8526
named net/minecraft/block/entity/DecoratedPotBlockEntity$Sherds
official b
intermediary comp_1487
named back
official c
intermediary comp_1488
named left
official d
intermediary comp_1489
named right
official e
intermediary comp_1490
named front
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Item
The field for theback
record component.static final DecoratedPotBlockEntity.Sherds
private final Item
The field for thefront
record component.private final Item
The field for theleft
record component.private final Item
The field for theright
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionback()
Returns the value of theback
record component.final boolean
Indicates whether some other object is "equal to" this one.fromNbt
(@Nullable NbtCompound nbt) front()
Returns the value of thefront
record component.private static Item
final int
hashCode()
Returns a hash code value for this object.left()
Returns the value of theleft
record component.right()
Returns the value of theright
record component.stream()
toNbt
(NbtCompound nbt) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
back
The field for theback
record component. -
left
The field for theleft
record component. -
right
The field for theright
record component. -
front
The field for thefront
record component. -
DEFAULT
- Mappings:
Namespace Name Mixin selector official a
Ldac$a;a:Ldac$a;
intermediary field_44707
Lnet/minecraft/class_8172$class_8526;field_44707:Lnet/minecraft/class_8172$class_8526;
named DEFAULT
Lnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;DEFAULT:Lnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;
-
-
Constructor Details
-
Sherds
-
-
Method Details
-
toNbt
- Mappings:
Namespace Name Mixin selector official a
Ldac$a;a(Lqr;)Lqr;
intermediary method_51513
Lnet/minecraft/class_8172$class_8526;method_51513(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named toNbt
Lnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;toNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
stream
- Mappings:
Namespace Name Mixin selector official a
Ldac$a;a()Ljava/util/stream/Stream;
intermediary method_51512
Lnet/minecraft/class_8172$class_8526;method_51512()Ljava/util/stream/Stream;
named stream
Lnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;stream()Ljava/util/stream/Stream;
-
fromNbt
- Mappings:
Namespace Name Mixin selector official b
Ldac$a;b(Lqr;)Ldac$a;
intermediary method_51516
Lnet/minecraft/class_8172$class_8526;method_51516(Lnet/minecraft/class_2487;)Lnet/minecraft/class_8172$class_8526;
named fromNbt
Lnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;fromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/block/entity/DecoratedPotBlockEntity$Sherds;
-
getSherd
- Mappings:
Namespace Name Mixin selector official a
Ldac$a;a(Lqx;I)Lcfu;
intermediary method_51514
Lnet/minecraft/class_8172$class_8526;method_51514(Lnet/minecraft/class_2499;I)Lnet/minecraft/class_1792;
named getSherd
Lnet/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 theback
record component.- Returns:
- the value of the
back
record component
-
left
Returns the value of theleft
record component.- Returns:
- the value of the
left
record component
-
right
Returns the value of theright
record component.- Returns:
- the value of the
right
record component
-
front
Returns the value of thefront
record component.- Returns:
- the value of the
front
record component
-