Class StructureRef

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.common.structure.StructureRef

public class StructureRef extends Object
  • Method Details

    • getRegisteredStructures

      public static Collection<StructureRef> getRegisteredStructures()
    • getStructure

      @Nullable public static StructureRef getStructure(net.minecraft.util.ResourceLocation id)
    • getStructureAt

      @Nullable public static StructureRef getStructureAt(net.minecraft.world.WorldServer world, net.minecraft.util.math.BlockPos pos)
    • isRegistered

      public static boolean isRegistered(StructureRef ref)
    • register

      public static void register(net.minecraft.util.ResourceLocation id, String name)
    • register

      public static void register(net.minecraft.util.ResourceLocation id, String name, BiFunction<net.minecraft.world.WorldServer, net.minecraft.util.math.BlockPos, Boolean> posCheck)
    • isPosInside

      public boolean isPosInside(net.minecraft.world.WorldServer world, net.minecraft.util.math.BlockPos pos)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object