Package net.minecraft
Record Class class_10665.class_10671
java.lang.Object
java.lang.Record
net.minecraft.class_10665.class_10671
- Record Components:
weather-
- All Implemented Interfaces:
class_10665
- Enclosing interface:
class_10665
public static record class_10665.class_10671(class_10665.class_10671.class_10672 weather)
extends Record
implements class_10665
- Mappings:
Namespace Name named net/minecraft/class_10665$class_10671intermediary net/minecraft/class_10665$class_10671official tj$enamed weatherintermediary comp_3557official d
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.class_10665
class_10665.class_10666, class_10665.class_10667, class_10665.class_10668, class_10665.class_10670, class_10665.class_10671 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_10665.class_10671> private final class_10665.class_10671.class_10672The field for theweatherrecord component.Fields inherited from interface net.minecraft.class_10665
field_56200, field_56201 -
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.com.mojang.serialization.MapCodec<class_10665.class_10671> voidmethod_67051(ServerWorld serverWorld) voidmethod_67054(ServerWorld serverWorld) final StringtoString()Returns a string representation of this record class.weather()Returns the value of theweatherrecord component.
-
Field Details
-
weather
The field for theweatherrecord component. -
field_56207
- Mappings:
Namespace Name Mixin selector named field_56207Lnet/minecraft/class_10665$class_10671;field_56207:Lcom/mojang/serialization/MapCodec;intermediary field_56207Lnet/minecraft/class_10665$class_10671;field_56207:Lcom/mojang/serialization/MapCodec;official cLtj$e;c:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_10671
-
-
Method Details
-
method_67051
- Specified by:
method_67051in interfaceclass_10665- Mappings:
Namespace Name Mixin selector named method_67051Lnet/minecraft/class_10665;method_67051(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_67051Lnet/minecraft/class_10665;method_67051(Lnet/minecraft/class_3218;)Vofficial aLtj;a(Larn;)V
-
method_67054
- Specified by:
method_67054in interfaceclass_10665- Mappings:
Namespace Name Mixin selector named method_67054Lnet/minecraft/class_10665;method_67054(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_67054Lnet/minecraft/class_10665;method_67054(Lnet/minecraft/class_3218;)Vofficial bLtj;b(Larn;)V
-
method_67050
- Specified by:
method_67050in interfaceclass_10665- Mappings:
Namespace Name Mixin selector named method_67050Lnet/minecraft/class_10665;method_67050()Lcom/mojang/serialization/MapCodec;intermediary method_67050Lnet/minecraft/class_10665;method_67050()Lcom/mojang/serialization/MapCodec;official aLtj;a()Lcom/mojang/serialization/MapCodec;
-
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). -
weather
Returns the value of theweatherrecord component.- Returns:
- the value of the
weatherrecord component
-