mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Or this?
This commit is contained in:
parent
bddf92cd9b
commit
558144696a
@ -47,8 +47,6 @@ import java.util.stream.IntStream;
|
|||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
public class BlockType implements FawePattern, Keyed {
|
public class BlockType implements FawePattern, Keyed {
|
||||||
protected static final BlockType DUMMY = new BlockType();
|
|
||||||
|
|
||||||
public static final NamespacedRegistry<BlockType> REGISTRY = new NamespacedRegistry<>("block type");
|
public static final NamespacedRegistry<BlockType> REGISTRY = new NamespacedRegistry<>("block type");
|
||||||
|
|
||||||
private final String id;
|
private final String id;
|
||||||
@ -57,12 +55,6 @@ public class BlockType implements FawePattern, Keyed {
|
|||||||
private boolean initItemType;
|
private boolean initItemType;
|
||||||
private ItemType itemType;
|
private ItemType itemType;
|
||||||
|
|
||||||
// Dummy
|
|
||||||
private BlockType() {
|
|
||||||
this.id = null;
|
|
||||||
this.settings = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected BlockType(String id, int internalId, List<BlockState> states) {
|
protected BlockType(String id, int internalId, List<BlockState> states) {
|
||||||
int i = id.indexOf("[");
|
int i = id.indexOf("[");
|
||||||
this.id = i == -1 ? id : id.substring(0, i);
|
this.id = i == -1 ? id : id.substring(0, i);
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user