Added new Extent-compatible Clipboard and BlockArrayClipboard classes.

The goal is to replace use of CuboidClipboard with these new classes.

Support for entities, //flip, //rotate, and //distr still needs to be
re-implemented.

DataException was also removed from BaseBlock because The Base(...)
classes should be "dumb" blocks without any validation.
This commit is contained in:
sk89q
2014-06-29 17:47:08 -07:00
parent eee2c5d9f4
commit 09eb36dc5e
21 changed files with 571 additions and 365 deletions

View File

@ -134,7 +134,7 @@ public class DefaultNmsBlock extends NmsBlock {
}
@Override
public void setNbtData(CompoundTag tag) throws DataException {
public void setNbtData(CompoundTag tag) {
if (tag == null) {
this.nbtData = null;
}