3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 11:00:05 +01:00

Apparently the wiki has wrong data values for the stone button.

Also added top attachment for vines.
Dieser Commit ist enthalten in:
TomyLobo 2011-09-29 21:06:24 +02:00
Ursprung 69367e7762
Commit 7fec065d4a

Datei anzeigen

@ -909,7 +909,7 @@ public enum BlockType {
nonDataAttachments.put(BlockID.WOODEN_PRESSURE_PLATE, PlayerDirection.DOWN);
// redstone torches: see torches
for (int offset = 0; offset <= 8; offset += 8) {
addCardinals(BlockID.STONE_BUTTON, offset+2, offset+3, offset+1, offset+4);
addCardinals(BlockID.STONE_BUTTON, offset+4, offset+1, offset+3, offset+2);
}
nonDataAttachments.put(BlockID.REED, PlayerDirection.DOWN);
nonDataAttachments.put(BlockID.CAKE_BLOCK, PlayerDirection.DOWN);
@ -921,6 +921,7 @@ public enum BlockType {
nonDataAttachments.put(BlockID.PUMPKIN_STEM, PlayerDirection.DOWN);
nonDataAttachments.put(BlockID.MELON_STEM, PlayerDirection.DOWN);
// vines are complicated, but I'll list the single-attachment variants anyway
dataAttachments.put(attachmentKey(BlockID.VINE, 0), PlayerDirection.UP);
addCardinals(BlockID.VINE, 1, 2, 4, 8);
//nonDataAttachments.put(BlockID.NETHER_WART, PlayerDirection.DOWN);
}