3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 10:30:04 +01:00

Added 1.7 blocks to BlockType methods.

Dieser Commit ist enthalten in:
Wizjany 2011-07-02 15:13:21 -04:00
Ursprung 5231352f6c
Commit 084e9456e1

Datei anzeigen

@ -458,7 +458,10 @@ public enum BlockType {
|| id == 26 // Bed || id == 26 // Bed
|| id == 27 // Powered rails || id == 27 // Powered rails
|| id == 28 // Detector rails || id == 28 // Detector rails
|| id == 29 // Sticky piston
|| id == 31 // Tall grass || id == 31 // Tall grass
|| id == 33 // Piston
|| id == 34 // Piston extension
|| id == 35 // Wool || id == 35 // Wool
|| id == 43 // Double slab || id == 43 // Double slab
|| id == 44 // Slab || id == 44 // Slab
@ -514,6 +517,8 @@ public enum BlockType {
public static boolean isRedstoneBlock(int id) { public static boolean isRedstoneBlock(int id) {
return id == 27 // Powered rail return id == 27 // Powered rail
|| id == 28 // Detector rail || id == 28 // Detector rail
|| id == 29 // Sticky piston
|| id == 33 // Piston
|| id == 69 // Lever || id == 69 // Lever
|| id == 70 // Stone pressure plate || id == 70 // Stone pressure plate
|| id == 72 // Wood pressure plate || id == 72 // Wood pressure plate