Class StructureWeightSampler

java.lang.Object
net.minecraft.world.gen.StructureWeightSampler

public class StructureWeightSampler
extends Object
Mappings:
Namespace Name
official cmd
intermediary net/minecraft/class_5817
named net/minecraft/world/gen/StructureWeightSampler
  • Field Details

    • INSTANCE

      public static final StructureWeightSampler INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Lcmd;a:Lcmd;
      intermediary field_28740 Lnet/minecraft/class_5817;field_28740:Lnet/minecraft/class_5817;
      named INSTANCE Lnet/minecraft/world/gen/StructureWeightSampler;INSTANCE:Lnet/minecraft/world/gen/StructureWeightSampler;
    • STRUCTURE_WEIGHT_TABLE

      private static final float[] STRUCTURE_WEIGHT_TABLE
      Mappings:
      Namespace Name Mixin selector
      official b Lcmd;b:[F
      intermediary field_28741 Lnet/minecraft/class_5817;field_28741:[F
      named STRUCTURE_WEIGHT_TABLE Lnet/minecraft/world/gen/StructureWeightSampler;STRUCTURE_WEIGHT_TABLE:[F
    • pieces

      private final ObjectList<StructurePiece> pieces
      Mappings:
      Namespace Name Mixin selector
      official c Lcmd;c:Lit/unimi/dsi/fastutil/objects/ObjectList;
      intermediary field_28742 Lnet/minecraft/class_5817;field_28742:Lit/unimi/dsi/fastutil/objects/ObjectList;
      named pieces Lnet/minecraft/world/gen/StructureWeightSampler;pieces:Lit/unimi/dsi/fastutil/objects/ObjectList;
    • junctions

      private final ObjectList<JigsawJunction> junctions
      Mappings:
      Namespace Name Mixin selector
      official d Lcmd;d:Lit/unimi/dsi/fastutil/objects/ObjectList;
      intermediary field_28743 Lnet/minecraft/class_5817;field_28743:Lit/unimi/dsi/fastutil/objects/ObjectList;
      named junctions Lnet/minecraft/world/gen/StructureWeightSampler;junctions:Lit/unimi/dsi/fastutil/objects/ObjectList;
    • pieceIterator

      private final ObjectListIterator<StructurePiece> pieceIterator
      Mappings:
      Namespace Name Mixin selector
      official e Lcmd;e:Lit/unimi/dsi/fastutil/objects/ObjectListIterator;
      intermediary field_28744 Lnet/minecraft/class_5817;field_28744:Lit/unimi/dsi/fastutil/objects/ObjectListIterator;
      named pieceIterator Lnet/minecraft/world/gen/StructureWeightSampler;pieceIterator:Lit/unimi/dsi/fastutil/objects/ObjectListIterator;
    • junctionIterator

      private final ObjectListIterator<JigsawJunction> junctionIterator
      Mappings:
      Namespace Name Mixin selector
      official f Lcmd;f:Lit/unimi/dsi/fastutil/objects/ObjectListIterator;
      intermediary field_28745 Lnet/minecraft/class_5817;field_28745:Lit/unimi/dsi/fastutil/objects/ObjectListIterator;
      named junctionIterator Lnet/minecraft/world/gen/StructureWeightSampler;junctionIterator:Lit/unimi/dsi/fastutil/objects/ObjectListIterator;
  • Constructor Details

    • StructureWeightSampler

      protected StructureWeightSampler​(StructureAccessor accessor, Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcmd;<init>(Lbum;Lcjl;)V
      intermediary <init> Lnet/minecraft/class_5817;<init>(Lnet/minecraft/class_5138;Lnet/minecraft/class_2791;)V
      named <init> Lnet/minecraft/world/gen/StructureWeightSampler;<init>(Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/chunk/Chunk;)V
    • StructureWeightSampler

      private StructureWeightSampler()
  • Method Details

    • getWeight

      protected double getWeight​(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lcmd;a(III)D
      intermediary method_33638 Lnet/minecraft/class_5817;method_33638(III)D
      named getWeight Lnet/minecraft/world/gen/StructureWeightSampler;getWeight(III)D
    • getStructureWeight

      private static double getStructureWeight​(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Lcmd;b(III)D
      intermediary method_33641 Lnet/minecraft/class_5817;method_33641(III)D
      named getStructureWeight Lnet/minecraft/world/gen/StructureWeightSampler;getStructureWeight(III)D
    • calculateStructureWeight

      private static double calculateStructureWeight​(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official c Lcmd;c(III)D
      intermediary method_33642 Lnet/minecraft/class_5817;method_33642(III)D
      named calculateStructureWeight Lnet/minecraft/world/gen/StructureWeightSampler;calculateStructureWeight(III)D