Class StructureData

java.lang.Object
com.mrbysco.spawnoverlay.structure.StructureData

public class StructureData extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static List<net.minecraft.world.level.levelgen.structure.BoundingBox>
     
    static net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.structure.Structure>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
     
    static boolean
    isInsideStructure(net.minecraft.core.BlockPos pos)
     
    static void
    setKnownStructure(@Nullable net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.structure.Structure> structure, @Nullable List<net.minecraft.world.level.levelgen.structure.BoundingBox> box)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • knownStructure

      public static net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.structure.Structure> knownStructure
    • boundingBoxList

      public static List<net.minecraft.world.level.levelgen.structure.BoundingBox> boundingBoxList
  • Constructor Details

    • StructureData

      public StructureData()
  • Method Details

    • setKnownStructure

      public static void setKnownStructure(@Nullable @Nullable net.minecraft.resources.ResourceKey<net.minecraft.world.level.levelgen.structure.Structure> structure, @Nullable @Nullable List<net.minecraft.world.level.levelgen.structure.BoundingBox> box)
    • hasKnownStructure

      public static boolean hasKnownStructure()
    • isInsideStructure

      public static boolean isInsideStructure(net.minecraft.core.BlockPos pos)