Class StructurePlacer
java.lang.Object
com.gtnewhorizons.horizonqa.structure.StructurePlacer
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic voidplace(HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ) static voidplace(HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ, int rotation) static voidplace(HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ, int rotation, StructurePlacer.TileEntityNbtRotator tileNbtRotator) static intplacedSizeX(HybridStructureTemplate template, int rotation) static intplacedSizeZ(HybridStructureTemplate template, int rotation) static voidplaceStrict(String templateName, HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ) static voidplaceStrict(String templateName, HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ, int rotation) static voidplaceStrict(String templateName, HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ, int rotation, StructurePlacer.TileEntityNbtRotator tileNbtRotator) static introtatedLocalX(int x, int z, int sizeX, int sizeZ, int rotation) static introtatedLocalZ(int x, int z, int sizeX, int sizeZ, int rotation) static voidvalidateVerticalBounds(String templateName, int originY, int sizeY)
-
Method Details
-
place
public static void place(HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ) -
place
public static void place(HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ, int rotation) -
place
public static void place(HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ, int rotation, StructurePlacer.TileEntityNbtRotator tileNbtRotator) -
placeStrict
public static void placeStrict(String templateName, HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ) throws TemplateException - Throws:
TemplateException
-
placeStrict
public static void placeStrict(String templateName, HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ, int rotation) throws TemplateException - Throws:
TemplateException
-
placeStrict
public static void placeStrict(String templateName, HybridStructureTemplate template, net.minecraft.world.WorldServer world, int originX, int originY, int originZ, int rotation, StructurePlacer.TileEntityNbtRotator tileNbtRotator) throws TemplateException - Throws:
TemplateException
-
placedSizeX
-
placedSizeZ
-
validateVerticalBounds
public static void validateVerticalBounds(String templateName, int originY, int sizeY) throws TemplateException - Throws:
TemplateException
-
rotatedLocalX
public static int rotatedLocalX(int x, int z, int sizeX, int sizeZ, int rotation) -
rotatedLocalZ
public static int rotatedLocalZ(int x, int z, int sizeX, int sizeZ, int rotation)
-