Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions core/src/main/java/com/boydti/fawe/FaweCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -629,13 +629,22 @@ public static boolean hasData(int id) {
case 129:
case 133:
case 138:
case 139:
case 140:
case 165:
case 166:
case 169:
case 172:
case 173:
case 174:
case 532:
case 533:
case 542:
case 552:
case 637:
case 641:
case 645:
case 649:
return false;
default:
return true;
Expand Down Expand Up @@ -690,6 +699,8 @@ public static boolean hasNBT(int id) {
case 33:
case 151:
case 178:
case 199:
case 205:
case 209:
case 210:
case 211:
Expand All @@ -710,6 +721,11 @@ public static boolean hasNBT(int id) {
case 232:
case 233:
case 234:
case 449:
case 458:
case 464:
case 468:
case 545:
return true;
case -220:
case 0:
Expand Down Expand Up @@ -873,13 +889,11 @@ public static boolean hasNBT(int id) {
case 196:
case 197:
case 198:
case 199:
case 200:
case 201:
case 202:
case 203:
case 204:
case 205:
case 206:
case 207:
case 208:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class BaseBlock implements TileEntityBlock, Pattern, Serializable {
* Indicates the maximum data value (inclusive) that can be used. A future
* version of Minecraft may abolish block data values.
*/
public static final int MAX_DATA = 15;
public static final int MAX_DATA = 65535;

// Instances of this class should be _as small as possible_ because there will
// be millions of instances of this object.
Expand Down
Binary file modified nukkit/lib/powernukkit.jar
Binary file not shown.