Class StructureRef
java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.common.structure.StructureRef
-
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Collection<StructureRef> static StructureRefgetStructure(net.minecraft.util.ResourceLocation id) static StructureRefgetStructureAt(net.minecraft.world.WorldServer world, net.minecraft.util.math.BlockPos pos) booleanisPosInside(net.minecraft.world.WorldServer world, net.minecraft.util.math.BlockPos pos) static booleanisRegistered(StructureRef ref) static voidstatic voidregister(net.minecraft.util.ResourceLocation id, String name, BiFunction<net.minecraft.world.WorldServer, net.minecraft.util.math.BlockPos, Boolean> posCheck)
-
Method Details
-
getRegisteredStructures
-
getStructure
-
getStructureAt
@Nullable public static StructureRef getStructureAt(net.minecraft.world.WorldServer world, net.minecraft.util.math.BlockPos pos) -
isRegistered
-
register
-
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
-