Record Class DecoratedPotBlockEntity.class_8526

java.lang.Object
java.lang.Record
net.minecraft.block.entity.DecoratedPotBlockEntity.class_8526
Record Components:
back -
left -
right -
front -
Enclosing class:
DecoratedPotBlockEntity

public static record DecoratedPotBlockEntity.class_8526(Item back, Item left, Item right, Item front) extends Record
Mappings:
Namespace Name
official czu$a
intermediary net/minecraft/class_8172$class_8526
named net/minecraft/block/entity/DecoratedPotBlockEntity$class_8526
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 Details

    • back

      private final Item back
      The field for the back record component.
    • left

      private final Item left
      The field for the left record component.
    • front

      private final Item front
      The field for the front record component.
    • field_44707

      public static final DecoratedPotBlockEntity.class_8526 field_44707
      Mappings:
      Namespace Name Mixin selector
      official a Lczu$a;a:Lczu$a;
      intermediary field_44707 Lnet/minecraft/class_8172$class_8526;field_44707:Lnet/minecraft/class_8172$class_8526;
      named field_44707 Lnet/minecraft/block/entity/DecoratedPotBlockEntity$class_8526;field_44707:Lnet/minecraft/block/entity/DecoratedPotBlockEntity$class_8526;
  • Constructor Details

    • class_8526

      public class_8526(Item item, Item item2, Item item3, Item item4)
  • Method Details

    • method_51513

      public NbtCompound method_51513(NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official a Lczu$a;a(Lqr;)Lqr;
      intermediary method_51513 Lnet/minecraft/class_8172$class_8526;method_51513(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
      named method_51513 Lnet/minecraft/block/entity/DecoratedPotBlockEntity$class_8526;method_51513(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • method_51512

      public Stream<Item> method_51512()
      Mappings:
      Namespace Name Mixin selector
      official a Lczu$a;a()Ljava/util/stream/Stream;
      intermediary method_51512 Lnet/minecraft/class_8172$class_8526;method_51512()Ljava/util/stream/Stream;
      named method_51512 Lnet/minecraft/block/entity/DecoratedPotBlockEntity$class_8526;method_51512()Ljava/util/stream/Stream;
    • method_51516

      public static DecoratedPotBlockEntity.class_8526 method_51516(@Nullable @Nullable NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official b Lczu$a;b(Lqr;)Lczu$a;
      intermediary method_51516 Lnet/minecraft/class_8172$class_8526;method_51516(Lnet/minecraft/class_2487;)Lnet/minecraft/class_8172$class_8526;
      named method_51516 Lnet/minecraft/block/entity/DecoratedPotBlockEntity$class_8526;method_51516(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/block/entity/DecoratedPotBlockEntity$class_8526;
    • method_51514

      private static Item method_51514(NbtList nbtList, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Lczu$a;a(Lqx;I)Lcfn;
      intermediary method_51514 Lnet/minecraft/class_8172$class_8526;method_51514(Lnet/minecraft/class_2499;I)Lnet/minecraft/class_1792;
      named method_51514 Lnet/minecraft/block/entity/DecoratedPotBlockEntity$class_8526;method_51514(Lnet/minecraft/nbt/NbtList;I)Lnet/minecraft/item/Item;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • back

      public Item back()
      Returns the value of the back record component.
      Returns:
      the value of the back record component
    • left

      public Item left()
      Returns the value of the left record component.
      Returns:
      the value of the left record component
    • right

      public Item right()
      Returns the value of the right record component.
      Returns:
      the value of the right record component
    • front

      public Item front()
      Returns the value of the front record component.
      Returns:
      the value of the front record component