Interface StructureWorldAccess

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

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

    • getSeed

      long getSeed()
      Mappings:
      Namespace Name Mixin selector
      official A Lcng;A()J
      intermediary method_8412 Lnet/minecraft/class_5281;method_8412()J
      named getSeed Lnet/minecraft/world/StructureWorldAccess;getSeed()J
    • 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 f_ Lcng;f_(Lgu;)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 Lcng;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