Dieser Commit ist enthalten in:
Ursprung
418b122f02
Commit
ed57eaec1a
@ -245,6 +245,8 @@ public class BlockBoundingBox {
|
||||
eastTrapDoor.setFacing(BlockFace.EAST);
|
||||
eastTrapDoor.setOpen(true);
|
||||
addPixel(eastTrapDoor, 0, 0, 0, 3, 16, 16, createItem("LAUFBAU_BLOCK_IRON_TRAPDOOR", Material.IRON_TRAPDOOR, "LAUFBAU_FACING_EAST", "LAUFBAU_OPEN"));
|
||||
|
||||
LaufbauLazyInit.init();
|
||||
}
|
||||
|
||||
private static void addPixel(BlockData blockData, double xPixel, double yPixel, double zPixel, double dxPixel, double dyPixel, double dzPixel, SWItem swItem) {
|
||||
|
@ -0,0 +1,22 @@
|
||||
package de.steamwar.bausystem.features.slaves.laufbau;
|
||||
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.boundingboxes.*;
|
||||
|
||||
public class LaufbauLazyInit {
|
||||
|
||||
public static void init() {
|
||||
}
|
||||
|
||||
static {
|
||||
new BellBoundingBox();
|
||||
new BrewingStandBoundingBox();
|
||||
new ChorusPlantBoundingBox();
|
||||
new FencesBoundingBox();
|
||||
new GrindstoneBoundingBox();
|
||||
new HopperBoundingBox();
|
||||
new IronBarBoundingBox();
|
||||
new LanternBoundingBox();
|
||||
new StairBoundingBox();
|
||||
new WallBoundingBox();
|
||||
}
|
||||
}
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.block.data.type.Bell;
|
||||
@ -34,7 +32,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class BellBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.data.type.BrewingStand;
|
||||
|
||||
@ -33,7 +31,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class BrewingStandBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.block.data.MultipleFacing;
|
||||
@ -34,7 +32,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class ChorusPlantBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.block.data.type.Fence;
|
||||
@ -34,7 +32,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class FencesBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.block.data.FaceAttachable;
|
||||
@ -35,7 +33,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class GrindstoneBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.block.data.type.Hopper;
|
||||
@ -34,7 +32,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class HopperBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.block.data.type.Fence;
|
||||
@ -34,7 +32,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class IronBarBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.data.type.Lantern;
|
||||
|
||||
@ -33,7 +31,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class LanternBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.block.data.type.Stairs;
|
||||
@ -34,7 +32,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class StairBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
@ -22,8 +22,6 @@ package de.steamwar.bausystem.features.slaves.laufbau.boundingboxes;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.BlockBoundingBox;
|
||||
import de.steamwar.bausystem.features.slaves.laufbau.Cuboid;
|
||||
import de.steamwar.bausystem.linkage.Enable;
|
||||
import de.steamwar.bausystem.linkage.LinkageType;
|
||||
import de.steamwar.bausystem.linkage.Linked;
|
||||
import de.steamwar.core.Core;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.BlockFace;
|
||||
@ -36,7 +34,6 @@ import java.util.List;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.createItem;
|
||||
import static de.steamwar.bausystem.features.slaves.laufbau.LaufbauUtils.pixelCuboid;
|
||||
|
||||
@Linked(LinkageType.ENABLE_LINK)
|
||||
public class WallBoundingBox implements Enable {
|
||||
|
||||
@Override
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren