Package net.minecraft
Record Class class_9275
java.lang.Object
java.lang.Record
net.minecraft.class_9275
- Record Components:
properties-
- Mappings:
Namespace Name official ctqintermediary net/minecraft/class_9275named net/minecraft/class_9275official dintermediary comp_2381named properties
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final class_9275static final com.mojang.serialization.Codec<class_9275> static final PacketCodec<ByteBuf, class_9275> private static final PacketCodec<ByteBuf, Map<String, String>> The field for thepropertiesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmethod_57415(BlockState blockState) private static <T extends Comparable<T>>
BlockStatemethod_57417(BlockState blockState, Property<T> property, String string) <T extends Comparable<T>>
Tmethod_57418(Property<T> property) <T extends Comparable<T>>
class_9275method_57419(Property<T> property, BlockState blockState) <T extends Comparable<T>>
class_9275method_57420(Property<T> property, T t) Returns the value of thepropertiesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
properties
The field for thepropertiesrecord component. -
field_49284
- Mappings:
Namespace Name Mixin selector official aLctq;a:Lctq;intermediary field_49284Lnet/minecraft/class_9275;field_49284:Lnet/minecraft/class_9275;named field_49284Lnet/minecraft/class_9275;field_49284:Lnet/minecraft/class_9275;
-
field_49285
- Mappings:
Namespace Name Mixin selector official bLctq;b:Lcom/mojang/serialization/Codec;intermediary field_49285Lnet/minecraft/class_9275;field_49285:Lcom/mojang/serialization/Codec;named field_49285Lnet/minecraft/class_9275;field_49285:Lcom/mojang/serialization/Codec;
-
field_49287
- Mappings:
Namespace Name Mixin selector official eLctq;e:Lye;intermediary field_49287Lnet/minecraft/class_9275;field_49287:Lnet/minecraft/class_9139;named field_49287Lnet/minecraft/class_9275;field_49287:Lnet/minecraft/network/codec/PacketCodec;
-
field_49286
- Mappings:
Namespace Name Mixin selector official cLctq;c:Lye;intermediary field_49286Lnet/minecraft/class_9275;field_49286:Lnet/minecraft/class_9139;named field_49286Lnet/minecraft/class_9275;field_49286:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
class_9275
-
-
Method Details
-
method_57420
- Mappings:
Namespace Name Mixin selector official aLctq;a(Ldqc;Ljava/lang/Comparable;)Lctq;intermediary method_57420Lnet/minecraft/class_9275;method_57420(Lnet/minecraft/class_2769;Ljava/lang/Comparable;)Lnet/minecraft/class_9275;named method_57420Lnet/minecraft/class_9275;method_57420(Lnet/minecraft/state/property/Property;Ljava/lang/Comparable;)Lnet/minecraft/class_9275;
-
method_57419
public <T extends Comparable<T>> class_9275 method_57419(Property<T> property, BlockState blockState) - Mappings:
Namespace Name Mixin selector official aLctq;a(Ldqc;Ldoz;)Lctq;intermediary method_57419Lnet/minecraft/class_9275;method_57419(Lnet/minecraft/class_2769;Lnet/minecraft/class_2680;)Lnet/minecraft/class_9275;named method_57419Lnet/minecraft/class_9275;method_57419(Lnet/minecraft/state/property/Property;Lnet/minecraft/block/BlockState;)Lnet/minecraft/class_9275;
-
method_57418
- Mappings:
Namespace Name Mixin selector official aLctq;a(Ldqc;)Ljava/lang/Comparable;intermediary method_57418Lnet/minecraft/class_9275;method_57418(Lnet/minecraft/class_2769;)Ljava/lang/Comparable;named method_57418Lnet/minecraft/class_9275;method_57418(Lnet/minecraft/state/property/Property;)Ljava/lang/Comparable;
-
method_57415
- Mappings:
Namespace Name Mixin selector official aLctq;a(Ldoz;)Ldoz;intermediary method_57415Lnet/minecraft/class_9275;method_57415(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;named method_57415Lnet/minecraft/class_9275;method_57415(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
-
method_57417
private static <T extends Comparable<T>> BlockState method_57417(BlockState blockState, Property<T> property, String string) - Mappings:
Namespace Name Mixin selector official aLctq;a(Ldoz;Ldqc;Ljava/lang/String;)Ldoz;intermediary method_57417Lnet/minecraft/class_9275;method_57417(Lnet/minecraft/class_2680;Lnet/minecraft/class_2769;Ljava/lang/String;)Lnet/minecraft/class_2680;named method_57417Lnet/minecraft/class_9275;method_57417(Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;Ljava/lang/String;)Lnet/minecraft/block/BlockState;
-
method_57414
public boolean method_57414()- Mappings:
Namespace Name Mixin selector official aLctq;a()Zintermediary method_57414Lnet/minecraft/class_9275;method_57414()Znamed method_57414Lnet/minecraft/class_9275;method_57414()Z
-
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). -
properties
Returns the value of thepropertiesrecord component.- Returns:
- the value of the
propertiesrecord component
-