Package net.minecraft
Record Class class_7907.class_7910<Value>
java.lang.Object
java.lang.Record
net.minecraft.class_7907.class_7910<Value>
- Record Components:
memory-
- All Implemented Interfaces:
class_7907<com.mojang.datafixers.kinds.OptionalBox.Mu,Value>
- Enclosing interface:
class_7907<F extends com.mojang.datafixers.kinds.K1,Value>
public static record class_7907.class_7910<Value>(MemoryModuleType<Value> memory)
extends Record
implements class_7907<com.mojang.datafixers.kinds.OptionalBox.Mu,Value>
- Mappings:
Namespace Name official bix$cintermediary net/minecraft/class_7907$class_7910named net/minecraft/class_7907$class_7910official aintermediary comp_1151named memory
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_7907
class_7907.class_7908<Value>, class_7907.class_7909<Value>, class_7907.class_7910<Value> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MemoryModuleType<Value>The field for thememoryrecord 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.memory()class_7906<com.mojang.datafixers.kinds.OptionalBox.Mu,Value> method_47253(Brain<?> brain, Optional<Value> optional) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
memory
The field for thememoryrecord component.
-
-
Constructor Details
-
class_7910
-
-
Method Details
-
method_47254
- Specified by:
method_47254in interfaceclass_7907<com.mojang.datafixers.kinds.OptionalBox.Mu,Value> - Mappings:
Namespace Name Mixin selector official bLbix;b()Lbmu;intermediary method_47254Lnet/minecraft/class_7907;method_47254()Lnet/minecraft/class_4141;named method_47254Lnet/minecraft/class_7907;method_47254()Lnet/minecraft/entity/ai/brain/MemoryModuleState;
-
method_47253
public class_7906<com.mojang.datafixers.kinds.OptionalBox.Mu,Value> method_47253(Brain<?> brain, Optional<Value> optional) - Specified by:
method_47253in interfaceclass_7907<com.mojang.datafixers.kinds.OptionalBox.Mu,Value> - Mappings:
Namespace Name Mixin selector official aLbix;a(Lbes;Ljava/util/Optional;)Lbiw;intermediary method_47253Lnet/minecraft/class_7907;method_47253(Lnet/minecraft/class_4095;Ljava/util/Optional;)Lnet/minecraft/class_7906;named method_47253Lnet/minecraft/class_7907;method_47253(Lnet/minecraft/entity/ai/brain/Brain;Ljava/util/Optional;)Lnet/minecraft/class_7906;
-
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). -
memory
- Specified by:
memoryin interfaceclass_7907<com.mojang.datafixers.kinds.OptionalBox.Mu,Value> - Mappings:
Namespace Name Mixin selector official aLbix;a()Lbmt;intermediary comp_1151Lnet/minecraft/class_7907;comp_1151()Lnet/minecraft/class_4140;named memoryLnet/minecraft/class_7907;memory()Lnet/minecraft/entity/ai/brain/MemoryModuleType;
-