Package net.minecraft

Record Class class_11568.class_11572

java.lang.Object
java.lang.Record
net.minecraft.class_11568.class_11572
Record Components:
pos -
container -
blockEntity -
state -
Enclosing class:
class_11568

public static record class_11568.class_11572(BlockPos pos, Inventory container, BlockEntity blockEntity, BlockState state) extends Record
Mappings:
Namespace Name
named net/minecraft/class_11568$class_11572
intermediary net/minecraft/class_11568$class_11572
official cfl$d
named pos
intermediary comp_4427
official a
named container
intermediary comp_4428
official b
named blockEntity
intermediary comp_4429
official c
named state
intermediary comp_4430
official d
  • Field Details

    • pos

      private final BlockPos pos
      The field for the pos record component.
    • container

      private final Inventory container
      The field for the container record component.
    • blockEntity

      private final BlockEntity blockEntity
      The field for the blockEntity record component.
    • state

      private final BlockState state
      The field for the state record component.
  • Constructor Details

  • Method Details

    • method_72455

      public static Optional<class_11568.class_11572> method_72455(BlockPos blockPos, BlockEntity blockEntity, World world)
      Mappings:
      Namespace Name Mixin selector
      named method_72455 Lnet/minecraft/class_11568$class_11572;method_72455(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/world/World;)Ljava/util/Optional;
      intermediary method_72455 Lnet/minecraft/class_11568$class_11572;method_72455(Lnet/minecraft/class_2338;Lnet/minecraft/class_2586;Lnet/minecraft/class_1937;)Ljava/util/Optional;
      official a Lcfl$d;a(Ljb;Lecb;Ldno;)Ljava/util/Optional;
    • method_72454

      public static Optional<class_11568.class_11572> method_72454(BlockPos blockPos, World world)
      Mappings:
      Namespace Name Mixin selector
      named method_72454 Lnet/minecraft/class_11568$class_11572;method_72454(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/World;)Ljava/util/Optional;
      intermediary method_72454 Lnet/minecraft/class_11568$class_11572;method_72454(Lnet/minecraft/class_2338;Lnet/minecraft/class_1937;)Ljava/util/Optional;
      official a Lcfl$d;a(Ljb;Ldno;)Ljava/util/Optional;
    • method_72453

      @Nullable private static @Nullable Inventory method_72453(BlockEntity blockEntity, BlockState blockState, World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      named method_72453 Lnet/minecraft/class_11568$class_11572;method_72453(Lnet/minecraft/block/entity/BlockEntity;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/inventory/Inventory;
      intermediary method_72453 Lnet/minecraft/class_11568$class_11572;method_72453(Lnet/minecraft/class_2586;Lnet/minecraft/class_2680;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Lnet/minecraft/class_1263;
      official a Lcfl$d;a(Lecb;Lefg;Ldno;Ljb;)Lbxm;
    • 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.
    • pos

      public BlockPos pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component
    • container

      public Inventory container()
      Returns the value of the container record component.
      Returns:
      the value of the container record component
    • blockEntity

      public BlockEntity blockEntity()
      Returns the value of the blockEntity record component.
      Returns:
      the value of the blockEntity record component
    • state

      public BlockState state()
      Returns the value of the state record component.
      Returns:
      the value of the state record component