Class StructureAccessor

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

public class StructureAccessor
extends Object
Mappings:
Namespace Name
official bum
intermediary net/minecraft/class_5138
named net/minecraft/world/gen/StructureAccessor
  • Field Details

    • world

      private final WorldAccess world
      Mappings:
      Namespace Name Mixin selector
      official a Lbum;a:Lbtw;
      intermediary field_24404 Lnet/minecraft/class_5138;field_24404:Lnet/minecraft/class_1936;
      named world Lnet/minecraft/world/gen/StructureAccessor;world:Lnet/minecraft/world/WorldAccess;
    • options

      private final GeneratorOptions options
      Mappings:
      Namespace Name Mixin selector
      official b Lbum;b:Lcmy;
      intermediary field_24497 Lnet/minecraft/class_5138;field_24497:Lnet/minecraft/class_5285;
      named options Lnet/minecraft/world/gen/StructureAccessor;options:Lnet/minecraft/world/gen/GeneratorOptions;
  • Constructor Details

    • StructureAccessor

      public StructureAccessor​(WorldAccess world, GeneratorOptions options)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbum;<init>(Lbtw;Lcmy;)V
      intermediary <init> Lnet/minecraft/class_5138;<init>(Lnet/minecraft/class_1936;Lnet/minecraft/class_5285;)V
      named <init> Lnet/minecraft/world/gen/StructureAccessor;<init>(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/world/gen/GeneratorOptions;)V
  • Method Details

    • forRegion

      public StructureAccessor forRegion​(ChunkRegion region)
      Mappings:
      Namespace Name Mixin selector
      official a Lbum;a(Labb;)Lbum;
      intermediary method_29951 Lnet/minecraft/class_5138;method_29951(Lnet/minecraft/class_3233;)Lnet/minecraft/class_5138;
      named forRegion Lnet/minecraft/world/gen/StructureAccessor;forRegion(Lnet/minecraft/world/ChunkRegion;)Lnet/minecraft/world/gen/StructureAccessor;
    • getStructuresWithChildren

      public Stream<? extends StructureStart<?>> getStructuresWithChildren​(ChunkSectionPos pos, StructureFeature<?> feature)
      Mappings:
      Namespace Name Mixin selector
      official a Lbum;a(Lgq;Lcqj;)Ljava/util/stream/Stream;
      intermediary method_26974 Lnet/minecraft/class_5138;method_26974(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)Ljava/util/stream/Stream;
      named getStructuresWithChildren Lnet/minecraft/world/gen/StructureAccessor;getStructuresWithChildren(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;)Ljava/util/stream/Stream;
    • getStructureStart

      @Nullable public StructureStart<?> getStructureStart​(ChunkSectionPos pos, StructureFeature<?> feature, StructureHolder holder)
      Mappings:
      Namespace Name Mixin selector
      official a Lbum;a(Lgq;Lcqj;Lcjs;)Lcxi;
      intermediary method_26975 Lnet/minecraft/class_5138;method_26975(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;Lnet/minecraft/class_2810;)Lnet/minecraft/class_3449;
      named getStructureStart Lnet/minecraft/world/gen/StructureAccessor;getStructureStart(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/world/StructureHolder;)Lnet/minecraft/structure/StructureStart;
    • setStructureStart

      public void setStructureStart​(ChunkSectionPos pos, StructureFeature<?> feature, StructureStart<?> structureStart, StructureHolder holder)
      Mappings:
      Namespace Name Mixin selector
      official a Lbum;a(Lgq;Lcqj;Lcxi;Lcjs;)V
      intermediary method_26976 Lnet/minecraft/class_5138;method_26976(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;Lnet/minecraft/class_3449;Lnet/minecraft/class_2810;)V
      named setStructureStart Lnet/minecraft/world/gen/StructureAccessor;setStructureStart(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;Lnet/minecraft/structure/StructureStart;Lnet/minecraft/world/StructureHolder;)V
    • addStructureReference

      public void addStructureReference​(ChunkSectionPos pos, StructureFeature<?> feature, long reference, StructureHolder holder)
      Mappings:
      Namespace Name Mixin selector
      official a Lbum;a(Lgq;Lcqj;JLcjs;)V
      intermediary method_26973 Lnet/minecraft/class_5138;method_26973(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;JLnet/minecraft/class_2810;)V
      named addStructureReference Lnet/minecraft/world/gen/StructureAccessor;addStructureReference(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;JLnet/minecraft/world/StructureHolder;)V
    • shouldGenerateStructures

      public boolean shouldGenerateStructures()
      Mappings:
      Namespace Name Mixin selector
      official a Lbum;a()Z
      intermediary method_27834 Lnet/minecraft/class_5138;method_27834()Z
      named shouldGenerateStructures Lnet/minecraft/world/gen/StructureAccessor;shouldGenerateStructures()Z
    • getStructureAt

      public StructureStart<?> getStructureAt​(BlockPos pos, boolean matchChildren, StructureFeature<?> feature)
      Mappings:
      Namespace Name Mixin selector
      official a Lbum;a(Lfx;ZLcqj;)Lcxi;
      intermediary method_28388 Lnet/minecraft/class_5138;method_28388(Lnet/minecraft/class_2338;ZLnet/minecraft/class_3195;)Lnet/minecraft/class_3449;
      named getStructureAt Lnet/minecraft/world/gen/StructureAccessor;getStructureAt(Lnet/minecraft/util/math/BlockPos;ZLnet/minecraft/world/gen/feature/StructureFeature;)Lnet/minecraft/structure/StructureStart;