Package net.minecraft

Record Class class_8888

java.lang.Object
java.lang.Record
net.minecraft.class_8888
Record Components:
alias -
target -
All Implemented Interfaces:
class_8889

record class_8888(RegistryKey<StructurePool> alias, RegistryKey<StructurePool> target) extends Record implements class_8889
Mappings:
Namespace Name
official dyf
intermediary net/minecraft/class_8888
named net/minecraft/class_8888
official c
intermediary comp_2003
named alias
official d
intermediary comp_2004
named target
  • Field Details

    • alias

      private final RegistryKey<StructurePool> alias
      The field for the alias record component.
    • target

      private final RegistryKey<StructurePool> target
      The field for the target record component.
    • field_46824

      static com.mojang.serialization.Codec<class_8888> field_46824
      Mappings:
      Namespace Name Mixin selector
      official a Ldyf;a:Lcom/mojang/serialization/Codec;
      intermediary field_46824 Lnet/minecraft/class_8888;field_46824:Lcom/mojang/serialization/Codec;
      named field_46824 Lnet/minecraft/class_8888;field_46824:Lcom/mojang/serialization/Codec;
  • Constructor Details

  • Method Details

    • method_54500

      public void method_54500(Random random, BiConsumer<RegistryKey<StructurePool>,RegistryKey<StructurePool>> biConsumer)
      Specified by:
      method_54500 in interface class_8889
      Mappings:
      Namespace Name Mixin selector
      official a Ldyg;a(Lato;Ljava/util/function/BiConsumer;)V
      intermediary method_54500 Lnet/minecraft/class_8889;method_54500(Lnet/minecraft/class_5819;Ljava/util/function/BiConsumer;)V
      named method_54500 Lnet/minecraft/class_8889;method_54500(Lnet/minecraft/util/math/random/Random;Ljava/util/function/BiConsumer;)V
    • method_54499

      public Stream<RegistryKey<StructurePool>> method_54499()
      Specified by:
      method_54499 in interface class_8889
      Mappings:
      Namespace Name Mixin selector
      official a Ldyg;a()Ljava/util/stream/Stream;
      intermediary method_54499 Lnet/minecraft/class_8889;method_54499()Ljava/util/stream/Stream;
      named method_54499 Lnet/minecraft/class_8889;method_54499()Ljava/util/stream/Stream;
    • method_54502

      public com.mojang.serialization.Codec<class_8888> method_54502()
      Specified by:
      method_54502 in interface class_8889
      Mappings:
      Namespace Name Mixin selector
      official b Ldyg;b()Lcom/mojang/serialization/Codec;
      intermediary method_54502 Lnet/minecraft/class_8889;method_54502()Lcom/mojang/serialization/Codec;
      named method_54502 Lnet/minecraft/class_8889;method_54502()Lcom/mojang/serialization/Codec;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • alias

      public RegistryKey<StructurePool> alias()
      Returns the value of the alias record component.
      Returns:
      the value of the alias record component
    • target

      public RegistryKey<StructurePool> target()
      Returns the value of the target record component.
      Returns:
      the value of the target record component