Package net.minecraft
Record Class class_10665.class_10668
java.lang.Object
java.lang.Record
net.minecraft.class_10665.class_10668
- Record Components:
boolRules-intRules-
- All Implemented Interfaces:
class_10665
- Enclosing interface:
class_10665
public static record class_10665.class_10668(List<class_10665.class_10668.class_10669<Boolean,GameRules.BooleanRule>> boolRules, List<class_10665.class_10668.class_10669<Integer,GameRules.IntRule>> intRules)
extends Record
implements class_10665
- Mappings:
Namespace Name named net/minecraft/class_10665$class_10668intermediary net/minecraft/class_10665$class_10668official tj$cnamed boolRulesintermediary comp_3552official dnamed intRulesintermediary comp_3553official e
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordclass_10665.class_10668.class_10669<S,T extends GameRules.Rule<T>> Nested 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 TypeFieldDescriptionprivate final List<class_10665.class_10668.class_10669<Boolean, GameRules.BooleanRule>> The field for theboolRulesrecord component.static final com.mojang.serialization.MapCodec<class_10665.class_10668> private final List<class_10665.class_10668.class_10669<Integer, GameRules.IntRule>> The field for theintRulesrecord component.Fields inherited from interface net.minecraft.class_10665
field_56200, field_56201 -
Constructor Summary
ConstructorsConstructorDescriptionclass_10668(List<class_10665.class_10668.class_10669<Boolean, GameRules.BooleanRule>> list, List<class_10665.class_10668.class_10669<Integer, GameRules.IntRule>> list2) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theboolRulesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intRules()Returns the value of theintRulesrecord component.com.mojang.serialization.MapCodec<class_10665.class_10668> voidmethod_67051(ServerWorld serverWorld) voidmethod_67054(ServerWorld serverWorld) static <S,T extends GameRules.Rule<T>>
class_10665.class_10668.class_10669<S, T> method_67063(GameRules.Key<T> key, S s) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
boolRules
The field for theboolRulesrecord component. -
intRules
The field for theintRulesrecord component. -
field_56205
- Mappings:
Namespace Name Mixin selector named field_56205Lnet/minecraft/class_10665$class_10668;field_56205:Lcom/mojang/serialization/MapCodec;intermediary field_56205Lnet/minecraft/class_10665$class_10668;field_56205:Lcom/mojang/serialization/MapCodec;official cLtj$c;c:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
class_10668
public class_10668(List<class_10665.class_10668.class_10669<Boolean, GameRules.BooleanRule>> list, List<class_10665.class_10668.class_10669<Integer, GameRules.IntRule>> list2)
-
-
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;
-
method_67063
public static <S,T extends GameRules.Rule<T>> class_10665.class_10668.class_10669<S,T> method_67063(GameRules.Key<T> key, S s) - Mappings:
Namespace Name Mixin selector named method_67063Lnet/minecraft/class_10665$class_10668;method_67063(Lnet/minecraft/world/GameRules$Key;Ljava/lang/Object;)Lnet/minecraft/class_10665$class_10668$class_10669;intermediary method_67063Lnet/minecraft/class_10665$class_10668;method_67063(Lnet/minecraft/class_1928$class_4313;Ljava/lang/Object;)Lnet/minecraft/class_10665$class_10668$class_10669;official aLtj$c;a(Ldhl$e;Ljava/lang/Object;)Ltj$c$a;
-
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). -
boolRules
Returns the value of theboolRulesrecord component.- Returns:
- the value of the
boolRulesrecord component
-
intRules
Returns the value of theintRulesrecord component.- Returns:
- the value of the
intRulesrecord component
-