mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-01-13 19:21:48 +01:00
Update IC2 wire model
This commit is contained in:
parent
90ef8a4faf
commit
2eb6d47d87
@ -3,18 +3,18 @@ linkmap:id=228,linkalg=5,linkid=223,linkid=225,linkid=226,linkid=227,linkid=228,
|
||||
# Wire - (data is faked: 1=north,2=east,4=south,8=west)
|
||||
# Wire - no neighbors
|
||||
block:id=228,data=0,scale=16
|
||||
layer:6,7,8,9
|
||||
layer:5,6,7,8,9,10
|
||||
----------------
|
||||
----------------
|
||||
----------------
|
||||
----------------
|
||||
----------------
|
||||
----------------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
----------------
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
----------------
|
||||
----------------
|
||||
----------------
|
||||
@ -22,18 +22,18 @@ layer:6,7,8,9
|
||||
----------------
|
||||
# Wire - just north neighbor
|
||||
block:id=228,data=1,scale=16
|
||||
layer:6,7,8,9
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
----------------
|
||||
layer:5,6,7,8,9,10
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
----------------
|
||||
----------------
|
||||
----------------
|
||||
@ -50,18 +50,18 @@ block:id=228,data=8,scale=16
|
||||
rotate:id=228,data=1,rot=270
|
||||
# Wire - north and east neighbor
|
||||
block:id=228,data=3,scale=16
|
||||
layer:6,7,8,9
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------**********
|
||||
------**********
|
||||
------**********
|
||||
------**********
|
||||
----------------
|
||||
layer:5,6,7,8,9,10
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----***********
|
||||
-----***********
|
||||
-----***********
|
||||
-----***********
|
||||
-----***********
|
||||
----------------
|
||||
----------------
|
||||
----------------
|
||||
@ -78,45 +78,45 @@ block:id=228,data=9,scale=16
|
||||
rotate:id=228,data=3,rot=270
|
||||
# Wire - north and south neighbor
|
||||
block:id=228,data=5,scale=16
|
||||
layer:6,7,8,9
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
layer:5,6,7,8,9,10
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
# Wire - east and west neighbor
|
||||
block:id=228,data=10,scale=16
|
||||
rotate:id=228,data=5,rot=90
|
||||
# Wire - north, east and south neighbor
|
||||
block:id=228,data=7,scale=16
|
||||
layer:6,7,8,9
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------**********
|
||||
------**********
|
||||
------**********
|
||||
------**********
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
layer:5,6,7,8,9,10
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----***********
|
||||
-----***********
|
||||
-----***********
|
||||
-----***********
|
||||
-----***********
|
||||
-----***********
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
# Wire - east, south and west neighbor
|
||||
block:id=228,data=14,scale=16
|
||||
rotate:id=228,data=7,rot=90
|
||||
@ -128,23 +128,23 @@ block:id=228,data=11,scale=16
|
||||
rotate:id=228,data=7,rot=270
|
||||
# Wire - north, south, east, west neightbors
|
||||
block:id=228,data=15,scale=16
|
||||
layer:6,7,8,9
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
layer:5,6,7,8,9,10
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
****************
|
||||
****************
|
||||
****************
|
||||
****************
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
------****------
|
||||
****************
|
||||
****************
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
-----******-----
|
||||
# Iron Fence - set render algorithm
|
||||
linkmap:id=232,linkalg=1
|
||||
# Iron Fence - (data is faked: 1=north,2=east,4=south,8=west)
|
||||
|
@ -417,7 +417,7 @@ public class HDBlockModels {
|
||||
ArrayList<Integer> blkids = new ArrayList<Integer>();
|
||||
line = line.substring(8);
|
||||
String[] args = line.split(",");
|
||||
List<Integer> map = null;
|
||||
List<Integer> map = new ArrayList<Integer>();
|
||||
int linktype = 0;
|
||||
for(String a : args) {
|
||||
String[] av = a.split("=");
|
||||
@ -429,11 +429,10 @@ public class HDBlockModels {
|
||||
linktype = Integer.parseInt(av[1]);
|
||||
}
|
||||
else if(av[0].equals("linkid")) {
|
||||
if(map == null) map = new ArrayList<Integer>();
|
||||
map.add(Integer.parseInt(av[1]));
|
||||
}
|
||||
}
|
||||
if(map != null) {
|
||||
if(linktype > 0) {
|
||||
int[] mapids = new int[map.size()];
|
||||
for(int i = 0; i < mapids.length; i++)
|
||||
mapids[i] = map.get(i);
|
||||
|
Loading…
Reference in New Issue
Block a user