mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-01 07:03:52 +01:00
*This should probably also have nbt
This commit is contained in:
parent
ffd3275904
commit
22c89ce33a
@ -241,7 +241,27 @@ public class CuboidClipboard {
|
|||||||
case 29:
|
case 29:
|
||||||
case 33:
|
case 33:
|
||||||
case 151:
|
case 151:
|
||||||
case 178: {
|
case 178:
|
||||||
|
case 209:
|
||||||
|
case 210:
|
||||||
|
case 211:
|
||||||
|
case 255:
|
||||||
|
case 219:
|
||||||
|
case 220:
|
||||||
|
case 221:
|
||||||
|
case 222:
|
||||||
|
case 223:
|
||||||
|
case 224:
|
||||||
|
case 225:
|
||||||
|
case 226:
|
||||||
|
case 227:
|
||||||
|
case 228:
|
||||||
|
case 229:
|
||||||
|
case 230:
|
||||||
|
case 231:
|
||||||
|
case 232:
|
||||||
|
case 233:
|
||||||
|
case 234: {
|
||||||
if (block.hasNbtData()) {
|
if (block.hasNbtData()) {
|
||||||
nbtMap.put(new IntegerTrio(x, y, z), block.getNbtData());
|
nbtMap.put(new IntegerTrio(x, y, z), block.getNbtData());
|
||||||
}
|
}
|
||||||
|
@ -327,6 +327,7 @@ public class DefaultBlockParser extends InputParser<BaseBlock> {
|
|||||||
text[2] = blockAndExtraData.length > 3 ? blockAndExtraData[3] : "";
|
text[2] = blockAndExtraData.length > 3 ? blockAndExtraData[3] : "";
|
||||||
text[3] = blockAndExtraData.length > 4 ? blockAndExtraData[4] : "";
|
text[3] = blockAndExtraData.length > 4 ? blockAndExtraData[4] : "";
|
||||||
return new SignBlock(blockType.getID(), data, text);
|
return new SignBlock(blockType.getID(), data, text);
|
||||||
|
case END_GATEWAY:
|
||||||
case END_PORTAL:
|
case END_PORTAL:
|
||||||
return new BaseBlock(blockId, data, new CompoundTag(new HashMap<String, Tag>()));
|
return new BaseBlock(blockId, data, new CompoundTag(new HashMap<String, Tag>()));
|
||||||
case MOB_SPAWNER:
|
case MOB_SPAWNER:
|
||||||
|
Loading…
Reference in New Issue
Block a user