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_11572intermediary net/minecraft/class_11568$class_11572official cfl$dnamed posintermediary comp_4427official anamed containerintermediary comp_4428official bnamed blockEntityintermediary comp_4429official cnamed stateintermediary comp_4430official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BlockEntityThe field for theblockEntityrecord component.private final InventoryThe field for thecontainerrecord component.private final BlockPosThe field for theposrecord component.private final BlockStateThe field for thestaterecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11572(BlockPos blockPos, Inventory inventory, BlockEntity blockEntity, BlockState blockState) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockEntityrecord component.Returns the value of thecontainerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_72453(BlockEntity blockEntity, BlockState blockState, World world, BlockPos blockPos) static Optional<class_11568.class_11572> method_72454(BlockPos blockPos, World world) static Optional<class_11568.class_11572> method_72455(BlockPos blockPos, BlockEntity blockEntity, World world) pos()Returns the value of theposrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pos
The field for theposrecord component. -
container
The field for thecontainerrecord component. -
blockEntity
The field for theblockEntityrecord component. -
state
The field for thestaterecord component.
-
-
Constructor Details
-
class_11572
public class_11572(BlockPos blockPos, Inventory inventory, BlockEntity blockEntity, BlockState blockState)
-
-
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_72455Lnet/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_72455Lnet/minecraft/class_11568$class_11572;method_72455(Lnet/minecraft/class_2338;Lnet/minecraft/class_2586;Lnet/minecraft/class_1937;)Ljava/util/Optional;official aLcfl$d;a(Ljb;Lecb;Ldno;)Ljava/util/Optional;
-
method_72454
- Mappings:
Namespace Name Mixin selector named method_72454Lnet/minecraft/class_11568$class_11572;method_72454(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/World;)Ljava/util/Optional;intermediary method_72454Lnet/minecraft/class_11568$class_11572;method_72454(Lnet/minecraft/class_2338;Lnet/minecraft/class_1937;)Ljava/util/Optional;official aLcfl$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_72453Lnet/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_72453Lnet/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 aLcfl$d;a(Lecb;Lefg;Ldno;Ljb;)Lbxm;
-
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). -
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-
container
Returns the value of thecontainerrecord component.- Returns:
- the value of the
containerrecord component
-
blockEntity
Returns the value of theblockEntityrecord component.- Returns:
- the value of the
blockEntityrecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-