Interface StructureWorldAccess

All Superinterfaces:
BiomeAccess.Storage, BlockRenderView, BlockView, CollisionView, EntityView, HeightLimitView, LunarWorldView, ModifiableTestableWorld, ModifiableWorld, RegistryWorldView, ServerWorldAccess, TestableWorld, WorldAccess, WorldView
All Known Implementing Classes:
ChunkRegion, ServerWorld

public interface StructureWorldAccess extends ServerWorldAccess
Mappings:
Namespace Name
official cao
intermediary net/minecraft/class_5281
named net/minecraft/world/StructureWorldAccess
  • Method Details

    • getSeed

      long getSeed()
      Mappings:
      Namespace Name Mixin selector
      official E Lcao;E()J
      intermediary method_8412 Lnet/minecraft/class_5281;method_8412()J
      named getSeed Lnet/minecraft/world/StructureWorldAccess;getSeed()J
    • getStructures

      List<? extends StructureStart<?>> getStructures(ChunkSectionPos pos, StructureFeature<?> feature)
      Mappings:
      Namespace Name Mixin selector
      official a Lcao;a(Lha;Lcxy;)Ljava/util/List;
      intermediary method_30275 Lnet/minecraft/class_5281;method_30275(Lnet/minecraft/class_4076;Lnet/minecraft/class_3195;)Ljava/util/List;
      named getStructures Lnet/minecraft/world/StructureWorldAccess;getStructures(Lnet/minecraft/util/math/ChunkSectionPos;Lnet/minecraft/world/gen/feature/StructureFeature;)Ljava/util/List;
    • isValidForSetBlock

      default boolean isValidForSetBlock(BlockPos pos)
      Returns true if the given position is an accessible position for the setBlockState function.
      Returns:
      true if the given position is an accessible position for the setBlockState function
      Mappings:
      Namespace Name Mixin selector
      official e_ Lcao;e_(Lgh;)Z
      intermediary method_37368 Lnet/minecraft/class_5281;method_37368(Lnet/minecraft/class_2338;)Z
      named isValidForSetBlock Lnet/minecraft/world/StructureWorldAccess;isValidForSetBlock(Lnet/minecraft/util/math/BlockPos;)Z
    • setCurrentlyGeneratingStructureName

      default void setCurrentlyGeneratingStructureName(@Nullable @Nullable Supplier<String> structureName)
      Mappings:
      Namespace Name Mixin selector
      official a Lcao;a(Ljava/util/function/Supplier;)V
      intermediary method_36972 Lnet/minecraft/class_5281;method_36972(Ljava/util/function/Supplier;)V
      named setCurrentlyGeneratingStructureName Lnet/minecraft/world/StructureWorldAccess;setCurrentlyGeneratingStructureName(Ljava/util/function/Supplier;)V