Package net.minecraft
Record Class class_8892
java.lang.Object
java.lang.Record
net.minecraft.class_8892
- Record Components:
alias-targets-
- All Implemented Interfaces:
class_8889
record class_8892(RegistryKey<StructurePool> alias, DataPool<RegistryKey<StructurePool>> targets)
extends Record
implements class_8889
- Mappings:
Namespace Name official dyjintermediary net/minecraft/class_8892named net/minecraft/class_8892official cintermediary comp_2005named aliasofficial dintermediary comp_2006named targets
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryKey<StructurePool>The field for thealiasrecord component.(package private) static com.mojang.serialization.Codec<class_8892>private final DataPool<RegistryKey<StructurePool>>The field for thetargetsrecord component.Fields inherited from interface net.minecraft.class_8889
field_46825 -
Constructor Summary
ConstructorsConstructorDescriptionclass_8892(RegistryKey<StructurePool> registryKey, DataPool<RegistryKey<StructurePool>> dataPool) -
Method Summary
Modifier and TypeMethodDescriptionalias()Returns the value of thealiasrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.voidmethod_54500(Random random, BiConsumer<RegistryKey<StructurePool>, RegistryKey<StructurePool>> biConsumer) com.mojang.serialization.Codec<class_8892>targets()Returns the value of thetargetsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
alias
The field for thealiasrecord component. -
targets
The field for thetargetsrecord component. -
field_46827
- Mappings:
Namespace Name Mixin selector official aLdyj;a:Lcom/mojang/serialization/Codec;intermediary field_46827Lnet/minecraft/class_8892;field_46827:Lcom/mojang/serialization/Codec;named field_46827Lnet/minecraft/class_8892;field_46827:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8892
class_8892(RegistryKey<StructurePool> registryKey, DataPool<RegistryKey<StructurePool>> dataPool)
-
-
Method Details
-
method_54500
public void method_54500(Random random, BiConsumer<RegistryKey<StructurePool>, RegistryKey<StructurePool>> biConsumer) - Specified by:
method_54500in interfaceclass_8889- Mappings:
Namespace Name Mixin selector official aLdyg;a(Lato;Ljava/util/function/BiConsumer;)Vintermediary method_54500Lnet/minecraft/class_8889;method_54500(Lnet/minecraft/class_5819;Ljava/util/function/BiConsumer;)Vnamed method_54500Lnet/minecraft/class_8889;method_54500(Lnet/minecraft/util/math/random/Random;Ljava/util/function/BiConsumer;)V
-
method_54499
- Specified by:
method_54499in interfaceclass_8889- Mappings:
Namespace Name Mixin selector official aLdyg;a()Ljava/util/stream/Stream;intermediary method_54499Lnet/minecraft/class_8889;method_54499()Ljava/util/stream/Stream;named method_54499Lnet/minecraft/class_8889;method_54499()Ljava/util/stream/Stream;
-
method_54502
- Specified by:
method_54502in interfaceclass_8889- Mappings:
Namespace Name Mixin selector official bLdyg;b()Lcom/mojang/serialization/Codec;intermediary method_54502Lnet/minecraft/class_8889;method_54502()Lcom/mojang/serialization/Codec;named method_54502Lnet/minecraft/class_8889;method_54502()Lcom/mojang/serialization/Codec;
-
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). -
alias
Returns the value of thealiasrecord component.- Returns:
- the value of the
aliasrecord component
-
targets
Returns the value of thetargetsrecord component.- Returns:
- the value of the
targetsrecord component
-