geforkt von Mirrors/FastAsyncWorldEdit
Added ender chest to flip/rotate.
Dieser Commit ist enthalten in:
Ursprung
bcf4204ffc
Commit
5e4c809f66
@ -124,6 +124,7 @@ public final class BlockData {
|
|||||||
case BlockID.FURNACE:
|
case BlockID.FURNACE:
|
||||||
case BlockID.BURNING_FURNACE:
|
case BlockID.BURNING_FURNACE:
|
||||||
case BlockID.DISPENSER:
|
case BlockID.DISPENSER:
|
||||||
|
case BlockID.ENDER_CHEST:
|
||||||
switch (data) {
|
switch (data) {
|
||||||
case 2: return 5;
|
case 2: return 5;
|
||||||
case 3: return 4;
|
case 3: return 4;
|
||||||
@ -293,6 +294,7 @@ public final class BlockData {
|
|||||||
case BlockID.FURNACE:
|
case BlockID.FURNACE:
|
||||||
case BlockID.BURNING_FURNACE:
|
case BlockID.BURNING_FURNACE:
|
||||||
case BlockID.DISPENSER:
|
case BlockID.DISPENSER:
|
||||||
|
case BlockID.ENDER_CHEST:
|
||||||
switch (data) {
|
switch (data) {
|
||||||
case 5: return 2;
|
case 5: return 2;
|
||||||
case 4: return 3;
|
case 4: return 3;
|
||||||
@ -493,6 +495,7 @@ public final class BlockData {
|
|||||||
case BlockID.FURNACE:
|
case BlockID.FURNACE:
|
||||||
case BlockID.BURNING_FURNACE:
|
case BlockID.BURNING_FURNACE:
|
||||||
case BlockID.DISPENSER:
|
case BlockID.DISPENSER:
|
||||||
|
case BlockID.ENDER_CHEST:
|
||||||
switch (data) {
|
switch (data) {
|
||||||
case 2:
|
case 2:
|
||||||
case 3:
|
case 3:
|
||||||
@ -697,6 +700,7 @@ public final class BlockData {
|
|||||||
case BlockID.WALL_SIGN:
|
case BlockID.WALL_SIGN:
|
||||||
case BlockID.LADDER:
|
case BlockID.LADDER:
|
||||||
case BlockID.CHEST:
|
case BlockID.CHEST:
|
||||||
|
case BlockID.ENDER_CHEST:
|
||||||
if (data < 2 || data > 5) return -1;
|
if (data < 2 || data > 5) return -1;
|
||||||
return mod((data - 2 + increment), 4) + 2;
|
return mod((data - 2 + increment), 4) + 2;
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren