mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-08-10 17:55:44 +00:00
more ports on the pa yay
j
This commit is contained in:
parent
40b9ca1a47
commit
38d29878c8
@ -9,6 +9,7 @@ import com.hbm.main.MainRegistry;
|
||||
import com.hbm.tileentity.TileEntityProxyCombo;
|
||||
import com.hbm.tileentity.machine.albion.TileEntityPASource;
|
||||
|
||||
import com.hbm.util.fauxpointtwelve.DirPos;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@ -45,7 +46,6 @@ public class BlockPASource extends BlockDummyable implements ITooltipProvider {
|
||||
super.fillSpace(world, x, y, z, dir, o);
|
||||
|
||||
ForgeDirection rot = dir.getRotation(ForgeDirection.UP);
|
||||
|
||||
this.makeExtra(world, x + rot.offsetX * 4, y, z + rot.offsetZ * 4);
|
||||
this.makeExtra(world, x + dir.offsetX, y, z + dir.offsetZ);
|
||||
this.makeExtra(world, x + dir.offsetX + rot.offsetX * 2, y, z + dir.offsetZ + rot.offsetZ * 2);
|
||||
@ -53,6 +53,9 @@ public class BlockPASource extends BlockDummyable implements ITooltipProvider {
|
||||
this.makeExtra(world, x - dir.offsetX, y, z - dir.offsetZ);
|
||||
this.makeExtra(world, x - dir.offsetX + rot.offsetX * 2, y, z - dir.offsetZ + rot.offsetZ * 2);
|
||||
this.makeExtra(world, x - dir.offsetX - rot.offsetX * 2, y, z - dir.offsetZ - rot.offsetZ * 2);
|
||||
this.makeExtra(world, x, y-1, z);
|
||||
this.makeExtra(world, x + dir.offsetX + rot.offsetX * 2, y-1, z + rot.offsetZ*2);
|
||||
this.makeExtra(world, x - dir.offsetX - rot.offsetX * 2, y-1, z - rot.offsetZ*2);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@ -167,6 +167,9 @@ public class TileEntityPASource extends TileEntityCooledBase implements IGUIProv
|
||||
new DirPos(xCoord - dir.offsetX * 2 + rot.offsetX * 2, yCoord, zCoord - dir.offsetZ * 2 + rot.offsetZ * 2, dir.getOpposite()),
|
||||
new DirPos(xCoord - dir.offsetX * 2 - rot.offsetX * 2, yCoord, zCoord - dir.offsetZ * 2 - rot.offsetZ * 2, dir.getOpposite()),
|
||||
new DirPos(xCoord + rot.offsetX * 5, yCoord, zCoord + rot.offsetZ * 5, rot),
|
||||
new DirPos(xCoord, yCoord-2, zCoord, dir),
|
||||
new DirPos(xCoord + rot.offsetX * 2, yCoord-2, zCoord + rot.offsetZ, dir),
|
||||
new DirPos(xCoord - rot.offsetX * 2, yCoord-2, zCoord - rot.offsetZ, dir),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.0 KiB After Width: | Height: | Size: 10 KiB |
Loading…
x
Reference in New Issue
Block a user