Enum Class StructurePool.Projection

java.lang.Object
java.lang.Enum<StructurePool.Projection>
net.minecraft.structure.pool.StructurePool.Projection
All Implemented Interfaces:
Serializable, Comparable<StructurePool.Projection>, Constable, StringIdentifiable
Enclosing class:
StructurePool

public static enum StructurePool.Projection extends Enum<StructurePool.Projection> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/structure/pool/StructurePool$Projection
intermediary net/minecraft/class_3785$class_3786
official ekw$a
  • Enum Constant Details

    • TERRAIN_MATCHING

      public static final StructurePool.Projection TERRAIN_MATCHING
      Mappings:
      Namespace Name Mixin selector
      named TERRAIN_MATCHING Lnet/minecraft/structure/pool/StructurePool$Projection;TERRAIN_MATCHING:Lnet/minecraft/structure/pool/StructurePool$Projection;
      intermediary field_16686 Lnet/minecraft/class_3785$class_3786;field_16686:Lnet/minecraft/class_3785$class_3786;
      official a Lekw$a;a:Lekw$a;
    • RIGID

      public static final StructurePool.Projection RIGID
      Mappings:
      Namespace Name Mixin selector
      named RIGID Lnet/minecraft/structure/pool/StructurePool$Projection;RIGID:Lnet/minecraft/structure/pool/StructurePool$Projection;
      intermediary field_16687 Lnet/minecraft/class_3785$class_3786;field_16687:Lnet/minecraft/class_3785$class_3786;
      official b Lekw$a;b:Lekw$a;
  • Field Details

    • CODEC

      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/structure/pool/StructurePool$Projection;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_24956 Lnet/minecraft/class_3785$class_3786;field_24956:Lnet/minecraft/class_3542$class_7292;
      official c Lekw$a;c:Lazj$a;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/structure/pool/StructurePool$Projection;id:Ljava/lang/String;
      intermediary field_16682 Lnet/minecraft/class_3785$class_3786;field_16682:Ljava/lang/String;
      official d Lekw$a;d:Ljava/lang/String;
    • processors

      private final ImmutableList<StructureProcessor> processors
      Mappings:
      Namespace Name Mixin selector
      named processors Lnet/minecraft/structure/pool/StructurePool$Projection;processors:Lcom/google/common/collect/ImmutableList;
      intermediary field_16685 Lnet/minecraft/class_3785$class_3786;field_16685:Lcom/google/common/collect/ImmutableList;
      official e Lekw$a;e:Lcom/google/common/collect/ImmutableList;
  • Constructor Details

    • Projection

      private Projection(String id, ImmutableList<StructureProcessor> processors)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/pool/StructurePool$Projection;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/google/common/collect/ImmutableList;)V
      intermediary <init> Lnet/minecraft/class_3785$class_3786;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/google/common/collect/ImmutableList;)V
      official <init> Lekw$a;<init>(Ljava/lang/String;ILjava/lang/String;Lcom/google/common/collect/ImmutableList;)V
  • Method Details

    • values

      public static StructurePool.Projection[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static StructurePool.Projection valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public String getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/structure/pool/StructurePool$Projection;getId()Ljava/lang/String;
      intermediary method_16635 Lnet/minecraft/class_3785$class_3786;method_16635()Ljava/lang/String;
      official a Lekw$a;a()Ljava/lang/String;
    • getById

      public static StructurePool.Projection getById(String id)
      Mappings:
      Namespace Name Mixin selector
      named getById Lnet/minecraft/structure/pool/StructurePool$Projection;getById(Ljava/lang/String;)Lnet/minecraft/structure/pool/StructurePool$Projection;
      intermediary method_16638 Lnet/minecraft/class_3785$class_3786;method_16638(Ljava/lang/String;)Lnet/minecraft/class_3785$class_3786;
      official a Lekw$a;a(Ljava/lang/String;)Lekw$a;
    • getProcessors

      public ImmutableList<StructureProcessor> getProcessors()
      Mappings:
      Namespace Name Mixin selector
      named getProcessors Lnet/minecraft/structure/pool/StructurePool$Projection;getProcessors()Lcom/google/common/collect/ImmutableList;
      intermediary method_16636 Lnet/minecraft/class_3785$class_3786;method_16636()Lcom/google/common/collect/ImmutableList;
      official b Lekw$a;b()Lcom/google/common/collect/ImmutableList;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazj;c()Ljava/lang/String;