Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Merge pull request #1167 from KennyTV/master
Reduce memory use for blockconnections
Dieser Commit ist enthalten in:
Commit
73f6418db3
@ -17,18 +17,23 @@ public abstract class AbstractFenceConnectionHandler extends ConnectionHandler {
|
||||
private Map<Byte, Integer> connectedBlockStates = new HashMap<>();
|
||||
private static final StairConnectionHandler STAIR_CONNECTION_HANDLER = new StairConnectionHandler();
|
||||
|
||||
public AbstractFenceConnectionHandler(String blockConnections, String key) {
|
||||
public AbstractFenceConnectionHandler(String blockConnections) {
|
||||
this.blockConnections = blockConnections;
|
||||
}
|
||||
|
||||
for (Map.Entry<String, Integer> blockState : ConnectionData.keyToId.entrySet()) {
|
||||
if (key.equals(blockState.getKey().split("\\[")[0])) {
|
||||
WrappedBlockData blockData = WrappedBlockData.fromString(blockState.getKey());
|
||||
if (blockData.hasData("waterlogged") && blockData.getValue("waterlogged").equals("true")) continue;
|
||||
blockStates.add(blockState.getValue());
|
||||
ConnectionData.connectionHandlerMap.put(blockState.getValue(), this);
|
||||
connectedBlockStates.put(getStates(blockData), blockState.getValue());
|
||||
public ConnectionData.ConnectorInitAction getInitAction(final String key) {
|
||||
final AbstractFenceConnectionHandler handler = this;
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
if (key.equals(blockData.getMinecraftKey())) {
|
||||
if (blockData.hasData("waterlogged") && blockData.getValue("waterlogged").equals("true")) return;
|
||||
blockStates.add(blockData.getSavedBlockStateId());
|
||||
ConnectionData.connectionHandlerMap.put(blockData.getSavedBlockStateId(), handler);
|
||||
connectedBlockStates.put(getStates(blockData), blockData.getSavedBlockStateId());
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
protected byte getStates(WrappedBlockData blockData) {
|
||||
|
@ -17,23 +17,27 @@ public class AbstractStempConnectionHandler extends ConnectionHandler {
|
||||
|
||||
private Map<BlockFace, Integer> stemps = new HashMap<>();
|
||||
|
||||
public AbstractStempConnectionHandler(String baseStateId, String blockId, String toKey) {
|
||||
public AbstractStempConnectionHandler(String baseStateId) {
|
||||
this.baseStateId = ConnectionData.getId(baseStateId);
|
||||
}
|
||||
|
||||
for (Map.Entry<String, Integer> entry : ConnectionData.keyToId.entrySet()) {
|
||||
String key = entry.getKey().split("\\[")[0];
|
||||
if (entry.getValue() == this.baseStateId || blockId.equals(key)) {
|
||||
if (entry.getValue() != this.baseStateId) {
|
||||
this.blockId.add(entry.getValue());
|
||||
public ConnectionData.ConnectorInitAction getInitAction(final String blockId, final String toKey) {
|
||||
final AbstractStempConnectionHandler handler = this;
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
if (blockData.getSavedBlockStateId() == baseStateId || blockId.equals(blockData.getMinecraftKey())) {
|
||||
if (blockData.getSavedBlockStateId() != baseStateId) {
|
||||
handler.blockId.add(blockData.getSavedBlockStateId());
|
||||
}
|
||||
ConnectionData.connectionHandlerMap.put(blockData.getSavedBlockStateId(), handler);
|
||||
}
|
||||
if (blockData.getMinecraftKey().equals(toKey)) {
|
||||
String facing = blockData.getValue("facing").toUpperCase();
|
||||
stemps.put(BlockFace.valueOf(facing), blockData.getSavedBlockStateId());
|
||||
}
|
||||
ConnectionData.connectionHandlerMap.put(entry.getValue(), this);
|
||||
}
|
||||
if (key.equals(toKey)) {
|
||||
WrappedBlockData data = WrappedBlockData.fromString(entry.getKey());
|
||||
String facing = data.getValue("facing").toUpperCase();
|
||||
stemps.put(BlockFace.valueOf(facing), entry.getValue());
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1,17 +1,22 @@
|
||||
package us.myles.ViaVersion.protocols.protocol1_13to1_12_2.blockconnections;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class BasicFenceConnectionHandler extends AbstractFenceConnectionHandler {
|
||||
|
||||
static void init() {
|
||||
new BasicFenceConnectionHandler("fenceConnections", "minecraft:oak_fence");
|
||||
new BasicFenceConnectionHandler("fenceConnections", "minecraft:birch_fence");
|
||||
new BasicFenceConnectionHandler("fenceConnections", "minecraft:jungle_fence");
|
||||
new BasicFenceConnectionHandler("fenceConnections", "minecraft:dark_oak_fence");
|
||||
new BasicFenceConnectionHandler("fenceConnections", "minecraft:acacia_fence");
|
||||
new BasicFenceConnectionHandler("fenceConnections", "minecraft:spruce_fence");
|
||||
static List<ConnectionData.ConnectorInitAction> init() {
|
||||
List<ConnectionData.ConnectorInitAction> actions = new ArrayList<>();
|
||||
actions.add(new BasicFenceConnectionHandler("fenceConnections").getInitAction("minecraft:oak_fence"));
|
||||
actions.add(new BasicFenceConnectionHandler("fenceConnections").getInitAction("minecraft:birch_fence"));
|
||||
actions.add(new BasicFenceConnectionHandler("fenceConnections").getInitAction("minecraft:jungle_fence"));
|
||||
actions.add(new BasicFenceConnectionHandler("fenceConnections").getInitAction("minecraft:dark_oak_fence"));
|
||||
actions.add(new BasicFenceConnectionHandler("fenceConnections").getInitAction("minecraft:acacia_fence"));
|
||||
actions.add(new BasicFenceConnectionHandler("fenceConnections").getInitAction("minecraft:spruce_fence"));
|
||||
return actions;
|
||||
}
|
||||
|
||||
public BasicFenceConnectionHandler(String blockConnections, String key) {
|
||||
super(blockConnections, key);
|
||||
public BasicFenceConnectionHandler(String blockConnections) {
|
||||
super(blockConnections);
|
||||
}
|
||||
}
|
||||
|
@ -14,18 +14,19 @@ class ChestConnectionHandler extends ConnectionHandler {
|
||||
private static Map<Byte, Integer> connectedStates = new HashMap<>();
|
||||
private static Set<Integer> trappedChests = new HashSet<>();
|
||||
|
||||
static void init() {
|
||||
ChestConnectionHandler connectionHandler = new ChestConnectionHandler();
|
||||
for (Map.Entry<String, Integer> blockState : ConnectionData.keyToId.entrySet()) {
|
||||
String key = blockState.getKey().split("\\[")[0];
|
||||
if (!key.equals("minecraft:chest") && !key.equals("minecraft:trapped_chest")) continue;
|
||||
WrappedBlockData blockData = WrappedBlockData.fromString(blockState.getKey());
|
||||
if (blockData.getValue("waterlogged").equals("true")) continue;
|
||||
chestFacings.put(blockState.getValue(), BlockFace.valueOf(blockData.getValue("facing").toUpperCase()));
|
||||
if (key.equalsIgnoreCase("minecraft:trapped_chest")) trappedChests.add(blockState.getValue());
|
||||
connectedStates.put(getStates(blockData), blockState.getValue());
|
||||
ConnectionData.connectionHandlerMap.put(blockState.getValue(), connectionHandler);
|
||||
}
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
final ChestConnectionHandler connectionHandler = new ChestConnectionHandler();
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
if (!blockData.getMinecraftKey().equals("minecraft:chest") && !blockData.getMinecraftKey().equals("minecraft:trapped_chest")) return;
|
||||
if (blockData.getValue("waterlogged").equals("true")) return;
|
||||
chestFacings.put(blockData.getSavedBlockStateId(), BlockFace.valueOf(blockData.getValue("facing").toUpperCase()));
|
||||
if (blockData.getMinecraftKey().equalsIgnoreCase("minecraft:trapped_chest")) trappedChests.add(blockData.getSavedBlockStateId());
|
||||
connectedStates.put(getStates(blockData), blockData.getSavedBlockStateId());
|
||||
ConnectionData.connectionHandlerMap.put(blockData.getSavedBlockStateId(), connectionHandler);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private static Byte getStates(WrappedBlockData blockData) {
|
||||
|
@ -4,23 +4,35 @@ import us.myles.ViaVersion.api.data.UserConnection;
|
||||
import us.myles.ViaVersion.api.minecraft.BlockFace;
|
||||
import us.myles.ViaVersion.api.minecraft.Position;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public class ChorusPlantConnectionHandler extends AbstractFenceConnectionHandler {
|
||||
private int endstone;
|
||||
|
||||
static void init() {
|
||||
new ChorusPlantConnectionHandler("minecraft:chorus_plant");
|
||||
static List<ConnectionData.ConnectorInitAction> init() {
|
||||
List<ConnectionData.ConnectorInitAction> actions = new ArrayList<>(2);
|
||||
ChorusPlantConnectionHandler handler = new ChorusPlantConnectionHandler();
|
||||
actions.add(handler.getInitAction("minecraft:chorus_plant"));
|
||||
actions.add(handler.getExtraAction());
|
||||
return actions;
|
||||
}
|
||||
|
||||
public ChorusPlantConnectionHandler(String key) {
|
||||
super(null, key);
|
||||
public ChorusPlantConnectionHandler() {
|
||||
super(null);
|
||||
endstone = ConnectionData.getId("minecraft:end_stone");
|
||||
for (Map.Entry<String, Integer> entry : ConnectionData.keyToId.entrySet()) {
|
||||
if (entry.getKey().split("\\[")[0].equals("minecraft:chorus_flower")) {
|
||||
getBlockStates().add(entry.getValue());
|
||||
}
|
||||
|
||||
public ConnectionData.ConnectorInitAction getExtraAction() {
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
if (blockData.getMinecraftKey().equals("minecraft:chorus_flower")) {
|
||||
getBlockStates().add(blockData.getSavedBlockStateId());
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -16,195 +16,204 @@ import us.myles.ViaVersion.protocols.protocol1_13to1_12_2.blockconnections.provi
|
||||
import us.myles.ViaVersion.protocols.protocol1_13to1_12_2.blockconnections.providers.PacketBlockConnectionProvider;
|
||||
import us.myles.ViaVersion.protocols.protocol1_13to1_12_2.data.MappingData;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Map;
|
||||
import java.util.*;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.Set;
|
||||
|
||||
public class ConnectionData {
|
||||
static Map<Integer, String> idToKey = new HashMap<>();
|
||||
static Map<String, Integer> keyToId = new HashMap<>();
|
||||
static Map<Integer, ConnectionHandler> connectionHandlerMap = new HashMap<>();
|
||||
static Map<Integer, BlockData> blockConnectionData = new HashMap<>();
|
||||
static Set<Integer> occludingStates = new HashSet<>();
|
||||
static Map<Integer, String> idToKey = new HashMap<>();
|
||||
static Map<String, Integer> keyToId = new HashMap<>();
|
||||
static Map<Integer, ConnectionHandler> connectionHandlerMap = new HashMap<>();
|
||||
static Map<Integer, BlockData> blockConnectionData = new HashMap<>();
|
||||
static Set<Integer> occludingStates = new HashSet<>();
|
||||
|
||||
public static void update(UserConnection user, Position position) {
|
||||
for (int x = -1; x <= 1; x++) {
|
||||
for (int z = -1; z <= 1; z++) {
|
||||
for (int y = -1; y <= 1; y++) {
|
||||
if (Math.abs(x) + Math.abs(y) + Math.abs(z) != 1) continue;
|
||||
Position pos = new Position(position.getX() + x, position.getY() + y, position.getZ() + z);
|
||||
int blockState = Via.getManager().getProviders().get(BlockConnectionProvider.class).getBlockdata(user, pos);
|
||||
if (!connects(blockState)) continue;
|
||||
int newBlockState = connect(user, pos, blockState);
|
||||
if (newBlockState == blockState) continue;
|
||||
public static void update(UserConnection user, Position position) {
|
||||
for (int x = -1; x <= 1; x++) {
|
||||
for (int z = -1; z <= 1; z++) {
|
||||
for (int y = -1; y <= 1; y++) {
|
||||
if (Math.abs(x) + Math.abs(y) + Math.abs(z) != 1) continue;
|
||||
Position pos = new Position(position.getX() + x, position.getY() + y, position.getZ() + z);
|
||||
int blockState = Via.getManager().getProviders().get(BlockConnectionProvider.class).getBlockdata(user, pos);
|
||||
if (!connects(blockState)) continue;
|
||||
int newBlockState = connect(user, pos, blockState);
|
||||
if (newBlockState == blockState) continue;
|
||||
|
||||
PacketWrapper blockUpdatePacket = new PacketWrapper(0x0B, null, user);
|
||||
blockUpdatePacket.write(Type.POSITION, pos);
|
||||
blockUpdatePacket.write(Type.VAR_INT, newBlockState);
|
||||
try {
|
||||
blockUpdatePacket.send(Protocol1_13To1_12_2.class, true, false);
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
PacketWrapper blockUpdatePacket = new PacketWrapper(0x0B, null, user);
|
||||
blockUpdatePacket.write(Type.POSITION, pos);
|
||||
blockUpdatePacket.write(Type.VAR_INT, newBlockState);
|
||||
try {
|
||||
blockUpdatePacket.send(Protocol1_13To1_12_2.class, true, false);
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static BlockConnectionProvider getProvider() {
|
||||
return Via.getManager().getProviders().get(BlockConnectionProvider.class);
|
||||
}
|
||||
public static BlockConnectionProvider getProvider() {
|
||||
return Via.getManager().getProviders().get(BlockConnectionProvider.class);
|
||||
}
|
||||
|
||||
public static void updateBlockStorage(UserConnection userConnection, Position position, int blockState) {
|
||||
if (!needStoreBlocks()) return;
|
||||
if (ConnectionData.isWelcome(blockState)) {
|
||||
ConnectionData.getProvider().storeBlock(userConnection, position, blockState);
|
||||
} else {
|
||||
ConnectionData.getProvider().removeBlock(userConnection, position);
|
||||
}
|
||||
}
|
||||
public static void updateBlockStorage(UserConnection userConnection, Position position, int blockState) {
|
||||
if (!needStoreBlocks()) return;
|
||||
if (ConnectionData.isWelcome(blockState)) {
|
||||
ConnectionData.getProvider().storeBlock(userConnection, position, blockState);
|
||||
} else {
|
||||
ConnectionData.getProvider().removeBlock(userConnection, position);
|
||||
}
|
||||
}
|
||||
|
||||
public static void clearBlockStorage(UserConnection connection) {
|
||||
if (!needStoreBlocks()) return;
|
||||
getProvider().clearStorage(connection);
|
||||
}
|
||||
public static void clearBlockStorage(UserConnection connection) {
|
||||
if (!needStoreBlocks()) return;
|
||||
getProvider().clearStorage(connection);
|
||||
}
|
||||
|
||||
public static boolean needStoreBlocks() {
|
||||
return getProvider().storesBlocks();
|
||||
}
|
||||
public static boolean needStoreBlocks() {
|
||||
return getProvider().storesBlocks();
|
||||
}
|
||||
|
||||
public static void connectBlocks(UserConnection user, Chunk chunk) {
|
||||
long xOff = chunk.getX() << 4;
|
||||
long zOff = chunk.getZ() << 4;
|
||||
public static void connectBlocks(UserConnection user, Chunk chunk) {
|
||||
long xOff = chunk.getX() << 4;
|
||||
long zOff = chunk.getZ() << 4;
|
||||
|
||||
for (int i = 0; i < chunk.getSections().length; i++) {
|
||||
ChunkSection section = chunk.getSections()[i];
|
||||
if (section == null) continue;
|
||||
for (int i = 0; i < chunk.getSections().length; i++) {
|
||||
ChunkSection section = chunk.getSections()[i];
|
||||
if (section == null) continue;
|
||||
|
||||
boolean willConnect = false;
|
||||
boolean willConnect = false;
|
||||
|
||||
for (int p = 0; p < section.getPaletteSize(); p++) {
|
||||
int id = section.getPaletteEntry(p);
|
||||
if (ConnectionData.connects(id)) {
|
||||
willConnect = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!willConnect) continue;
|
||||
for (int p = 0; p < section.getPaletteSize(); p++) {
|
||||
int id = section.getPaletteEntry(p);
|
||||
if (ConnectionData.connects(id)) {
|
||||
willConnect = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!willConnect) continue;
|
||||
|
||||
long yOff = i << 4;
|
||||
long yOff = i << 4;
|
||||
|
||||
for (int x = 0; x < 16; x++) {
|
||||
for (int y = 0; y < 16; y++) {
|
||||
for (int z = 0; z < 16; z++) {
|
||||
int block = section.getFlatBlock(x, y, z);
|
||||
for (int x = 0; x < 16; x++) {
|
||||
for (int y = 0; y < 16; y++) {
|
||||
for (int z = 0; z < 16; z++) {
|
||||
int block = section.getFlatBlock(x, y, z);
|
||||
|
||||
if (ConnectionData.connects(block)) {
|
||||
block = ConnectionData.connect(user, new Position(xOff + x, yOff + y, zOff + z), block);
|
||||
section.setFlatBlock(x, y, z, block);
|
||||
}
|
||||
if (ConnectionData.connects(block)) {
|
||||
block = ConnectionData.connect(user, new Position(xOff + x, yOff + y, zOff + z), block);
|
||||
section.setFlatBlock(x, y, z, block);
|
||||
}
|
||||
|
||||
if (x == 0) {
|
||||
update(user, new Position(xOff - 1, yOff + y, zOff + z));
|
||||
} else if (x == 15) {
|
||||
update(user, new Position(xOff + 16, yOff + y, zOff + z));
|
||||
}
|
||||
if (z == 0) {
|
||||
update(user, new Position(xOff + x, yOff + y, zOff - 1));
|
||||
} else if (z == 15) {
|
||||
update(user, new Position(xOff + x, yOff + y, zOff + 16));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (x == 0) {
|
||||
update(user, new Position(xOff - 1, yOff + y, zOff + z));
|
||||
} else if (x == 15) {
|
||||
update(user, new Position(xOff + 16, yOff + y, zOff + z));
|
||||
}
|
||||
if (z == 0) {
|
||||
update(user, new Position(xOff + x, yOff + y, zOff - 1));
|
||||
} else if (z == 15) {
|
||||
update(user, new Position(xOff + x, yOff + y, zOff + 16));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void init() {
|
||||
if (!Via.getConfig().isServersideBlockConnections()) return;
|
||||
Via.getPlatform().getLogger().info("Loading block connection mappings ...");
|
||||
JsonObject mapping1_13 = MappingData.loadData("mapping-1.13.json");
|
||||
JsonObject blocks1_13 = mapping1_13.getAsJsonObject("blocks");
|
||||
for (Entry<String, JsonElement> blockState : blocks1_13.entrySet()) {
|
||||
Integer id = Integer.parseInt(blockState.getKey());
|
||||
String key = blockState.getValue().getAsString();
|
||||
idToKey.put(id, key);
|
||||
keyToId.put(key, id);
|
||||
}
|
||||
public static void init() {
|
||||
if (!Via.getConfig().isServersideBlockConnections()) return;
|
||||
Via.getPlatform().getLogger().info("Loading block connection mappings ...");
|
||||
JsonObject mapping1_13 = MappingData.loadData("mapping-1.13.json");
|
||||
JsonObject blocks1_13 = mapping1_13.getAsJsonObject("blocks");
|
||||
for (Entry<String, JsonElement> blockState : blocks1_13.entrySet()) {
|
||||
Integer id = Integer.parseInt(blockState.getKey());
|
||||
String key = blockState.getValue().getAsString();
|
||||
idToKey.put(id, key);
|
||||
keyToId.put(key, id);
|
||||
}
|
||||
|
||||
if (!Via.getConfig().isReduceBlockStorageMemory()) {
|
||||
JsonObject mappingBlockConnections = MappingData.loadData("blockConnections.json");
|
||||
for (Entry<String, JsonElement> entry : mappingBlockConnections.entrySet()) {
|
||||
int id = keyToId.get(entry.getKey());
|
||||
BlockData blockData = new BlockData();
|
||||
for (Entry<String, JsonElement> type : entry.getValue().getAsJsonObject().entrySet()) {
|
||||
String name = type.getKey();
|
||||
JsonObject object = type.getValue().getAsJsonObject();
|
||||
Boolean[] data = new Boolean[6];
|
||||
for (BlockFace value : BlockFace.values()) {
|
||||
String face = value.toString().toLowerCase();
|
||||
if (object.has(face)) {
|
||||
data[value.ordinal()] = object.getAsJsonPrimitive(face).getAsBoolean();
|
||||
} else {
|
||||
data[value.ordinal()] = false;
|
||||
}
|
||||
}
|
||||
blockData.put(name, data);
|
||||
}
|
||||
blockConnectionData.put(id, blockData);
|
||||
}
|
||||
}
|
||||
if (!Via.getConfig().isReduceBlockStorageMemory()) {
|
||||
JsonObject mappingBlockConnections = MappingData.loadData("blockConnections.json");
|
||||
for (Entry<String, JsonElement> entry : mappingBlockConnections.entrySet()) {
|
||||
int id = keyToId.get(entry.getKey());
|
||||
BlockData blockData = new BlockData();
|
||||
for (Entry<String, JsonElement> type : entry.getValue().getAsJsonObject().entrySet()) {
|
||||
String name = type.getKey();
|
||||
JsonObject object = type.getValue().getAsJsonObject();
|
||||
Boolean[] data = new Boolean[6];
|
||||
for (BlockFace value : BlockFace.values()) {
|
||||
String face = value.toString().toLowerCase();
|
||||
if (object.has(face)) {
|
||||
data[value.ordinal()] = object.getAsJsonPrimitive(face).getAsBoolean();
|
||||
} else {
|
||||
data[value.ordinal()] = false;
|
||||
}
|
||||
}
|
||||
blockData.put(name, data);
|
||||
}
|
||||
blockConnectionData.put(id, blockData);
|
||||
}
|
||||
}
|
||||
|
||||
JsonObject blockData = MappingData.loadData("blockData.json");
|
||||
JsonArray occluding = blockData.getAsJsonArray("occluding");
|
||||
for (JsonElement jsonElement : occluding) {
|
||||
occludingStates.add(keyToId.get(jsonElement.getAsString()));
|
||||
}
|
||||
JsonObject blockData = MappingData.loadData("blockData.json");
|
||||
JsonArray occluding = blockData.getAsJsonArray("occluding");
|
||||
for (JsonElement jsonElement : occluding) {
|
||||
occludingStates.add(keyToId.get(jsonElement.getAsString()));
|
||||
}
|
||||
|
||||
PumpkinConnectionHandler.init();
|
||||
MelonConnectionHandler.init();
|
||||
BasicFenceConnectionHandler.init();
|
||||
NetherFenceConnectionHandler.init();
|
||||
WallConnectionHandler.init();
|
||||
GlassConnectionHandler.init();
|
||||
SnowyGrassConnectionHandler.init();
|
||||
ChestConnectionHandler.init();
|
||||
DoorConnectionHandler.init();
|
||||
RedstoneConnectionHandler.init();
|
||||
StairConnectionHandler.init();
|
||||
FlowerConnectionHandler.init();
|
||||
ChorusPlantConnectionHandler.init();
|
||||
TripwireConnectionHandler.init();
|
||||
List<ConnectorInitAction> initActions = new ArrayList<>();
|
||||
initActions.add(PumpkinConnectionHandler.init());
|
||||
initActions.addAll(BasicFenceConnectionHandler.init());
|
||||
initActions.add(NetherFenceConnectionHandler.init());
|
||||
initActions.addAll(WallConnectionHandler.init());
|
||||
initActions.add(MelonConnectionHandler.init());
|
||||
initActions.addAll(GlassConnectionHandler.init());
|
||||
initActions.add(ChestConnectionHandler.init());
|
||||
initActions.add(DoorConnectionHandler.init());
|
||||
initActions.add(RedstoneConnectionHandler.init());
|
||||
initActions.add(StairConnectionHandler.init());
|
||||
initActions.add(FlowerConnectionHandler.init());
|
||||
initActions.addAll(ChorusPlantConnectionHandler.init());
|
||||
initActions.add(TripwireConnectionHandler.init());
|
||||
initActions.add(SnowyGrassConnectionHandler.init());
|
||||
for (String key : keyToId.keySet()) {
|
||||
WrappedBlockData wrappedBlockData = WrappedBlockData.fromString(key);
|
||||
for (ConnectorInitAction action : initActions) {
|
||||
action.check(wrappedBlockData);
|
||||
}
|
||||
}
|
||||
|
||||
if (Via.getConfig().getBlockConnectionMethod().equalsIgnoreCase("packet")) {
|
||||
Via.getManager().getProviders().register(BlockConnectionProvider.class, new PacketBlockConnectionProvider());
|
||||
}
|
||||
}
|
||||
if (Via.getConfig().getBlockConnectionMethod().equalsIgnoreCase("packet")) {
|
||||
Via.getManager().getProviders().register(BlockConnectionProvider.class, new PacketBlockConnectionProvider());
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isWelcome(int blockState) {
|
||||
return blockConnectionData.containsKey(blockState) || connectionHandlerMap.containsKey(blockState);
|
||||
}
|
||||
public static boolean isWelcome(int blockState) {
|
||||
return blockConnectionData.containsKey(blockState) || connectionHandlerMap.containsKey(blockState);
|
||||
}
|
||||
|
||||
public static boolean connects(int blockState) {
|
||||
return connectionHandlerMap.containsKey(blockState);
|
||||
}
|
||||
public static boolean connects(int blockState) {
|
||||
return connectionHandlerMap.containsKey(blockState);
|
||||
}
|
||||
|
||||
public static int connect(UserConnection user, Position position, int blockState) {
|
||||
if (connectionHandlerMap.containsKey(blockState)) {
|
||||
ConnectionHandler handler = connectionHandlerMap.get(blockState);
|
||||
return handler.connect(user, position, blockState);
|
||||
} else {
|
||||
return blockState;
|
||||
}
|
||||
}
|
||||
public static int connect(UserConnection user, Position position, int blockState) {
|
||||
if (connectionHandlerMap.containsKey(blockState)) {
|
||||
ConnectionHandler handler = connectionHandlerMap.get(blockState);
|
||||
return handler.connect(user, position, blockState);
|
||||
} else {
|
||||
return blockState;
|
||||
}
|
||||
}
|
||||
|
||||
public static int getId(String key) {
|
||||
return keyToId.containsKey(key) ? keyToId.get(key) : -1;
|
||||
}
|
||||
public static int getId(String key) {
|
||||
return keyToId.containsKey(key) ? keyToId.get(key) : -1;
|
||||
}
|
||||
|
||||
public static String getKey(int id) {
|
||||
return idToKey.get(id);
|
||||
}
|
||||
public static String getKey(int id) {
|
||||
return idToKey.get(id);
|
||||
}
|
||||
|
||||
interface ConnectorInitAction {
|
||||
|
||||
void check(WrappedBlockData blockData);
|
||||
}
|
||||
}
|
||||
|
@ -16,8 +16,8 @@ public class DoorConnectionHandler extends ConnectionHandler {
|
||||
private static Map<Integer, DoorData> doorDataMap = new HashMap<>();
|
||||
private static Map<Short, Integer> connectedStates = new HashMap<>();
|
||||
|
||||
static void init() {
|
||||
List<String> baseDoors = new LinkedList<>();
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
final List<String> baseDoors = new LinkedList<>();
|
||||
baseDoors.add("minecraft:oak_door");
|
||||
baseDoors.add("minecraft:birch_door");
|
||||
baseDoors.add("minecraft:jungle_door");
|
||||
@ -26,30 +26,31 @@ public class DoorConnectionHandler extends ConnectionHandler {
|
||||
baseDoors.add("minecraft:spruce_door");
|
||||
baseDoors.add("minecraft:iron_door");
|
||||
|
||||
DoorConnectionHandler connectionHandler = new DoorConnectionHandler();
|
||||
for (Map.Entry<String, Integer> blockState : ConnectionData.keyToId.entrySet()) {
|
||||
String key = blockState.getKey().split("\\[")[0];
|
||||
int type = baseDoors.indexOf(key);
|
||||
if (type == -1) continue;
|
||||
final DoorConnectionHandler connectionHandler = new DoorConnectionHandler();
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
int type = baseDoors.indexOf(blockData.getMinecraftKey());
|
||||
if (type == -1) return;
|
||||
|
||||
WrappedBlockData blockData = WrappedBlockData.fromString(blockState.getKey());
|
||||
int id = blockState.getValue();
|
||||
int id = blockData.getSavedBlockStateId();
|
||||
|
||||
DoorData doorData = new DoorData(
|
||||
blockData.getValue("half").equals("lower"),
|
||||
blockData.getValue("hinge").equals("right"),
|
||||
blockData.getValue("powered").equals("true"),
|
||||
blockData.getValue("open").equals("true"),
|
||||
BlockFace.valueOf(blockData.getValue("facing").toUpperCase()),
|
||||
type
|
||||
);
|
||||
DoorData doorData = new DoorData(
|
||||
blockData.getValue("half").equals("lower"),
|
||||
blockData.getValue("hinge").equals("right"),
|
||||
blockData.getValue("powered").equals("true"),
|
||||
blockData.getValue("open").equals("true"),
|
||||
BlockFace.valueOf(blockData.getValue("facing").toUpperCase()),
|
||||
type
|
||||
);
|
||||
|
||||
doorDataMap.put(id, doorData);
|
||||
doorDataMap.put(id, doorData);
|
||||
|
||||
connectedStates.put(getStates(doorData), id);
|
||||
connectedStates.put(getStates(doorData), id);
|
||||
|
||||
ConnectionData.connectionHandlerMap.put(id, connectionHandler);
|
||||
}
|
||||
ConnectionData.connectionHandlerMap.put(id, connectionHandler);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private static short getStates(DoorData doorData) {
|
||||
|
@ -14,8 +14,8 @@ import java.util.Set;
|
||||
public class FlowerConnectionHandler extends ConnectionHandler {
|
||||
private static Map<Integer, Integer> flowers = new HashMap<>();
|
||||
|
||||
static void init() {
|
||||
Set<String> baseFlower = new HashSet<>();
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
final Set<String> baseFlower = new HashSet<>();
|
||||
baseFlower.add("minecraft:rose_bush");
|
||||
baseFlower.add("minecraft:sunflower");
|
||||
baseFlower.add("minecraft:peony");
|
||||
@ -23,17 +23,19 @@ public class FlowerConnectionHandler extends ConnectionHandler {
|
||||
baseFlower.add("minecraft:large_fern");
|
||||
baseFlower.add("minecraft:lilac");
|
||||
|
||||
FlowerConnectionHandler handler = new FlowerConnectionHandler();
|
||||
for (Map.Entry<String, Integer> blockState : ConnectionData.keyToId.entrySet()) {
|
||||
WrappedBlockData data = WrappedBlockData.fromString(blockState.getKey());
|
||||
if (baseFlower.contains(data.getMinecraftKey())) {
|
||||
ConnectionData.connectionHandlerMap.put(blockState.getValue(), handler);
|
||||
if (data.getValue("half").equals("lower")) {
|
||||
data.set("half", "upper");
|
||||
flowers.put(blockState.getValue(), data.getBlockStateId());
|
||||
final FlowerConnectionHandler handler = new FlowerConnectionHandler();
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
if (baseFlower.contains(blockData.getMinecraftKey())) {
|
||||
ConnectionData.connectionHandlerMap.put(blockData.getSavedBlockStateId(), handler);
|
||||
if (blockData.getValue("half").equals("lower")) {
|
||||
blockData.set("half", "upper");
|
||||
flowers.put(blockData.getSavedBlockStateId(), blockData.getBlockStateId());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -4,31 +4,36 @@ import us.myles.ViaVersion.api.data.UserConnection;
|
||||
import us.myles.ViaVersion.api.minecraft.Position;
|
||||
import us.myles.ViaVersion.protocols.base.ProtocolInfo;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class GlassConnectionHandler extends AbstractFenceConnectionHandler {
|
||||
|
||||
static void init() {
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:white_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:orange_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:magenta_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:light_blue_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:yellow_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:lime_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:pink_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:gray_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:light_gray_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:cyan_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:purple_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:blue_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:brown_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:green_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:red_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:black_stained_glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:glass_pane");
|
||||
new GlassConnectionHandler("paneConnections", "minecraft:iron_bars");
|
||||
static List<ConnectionData.ConnectorInitAction> init() {
|
||||
List<ConnectionData.ConnectorInitAction> actions = new ArrayList<>(18);
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:white_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:orange_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:magenta_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:light_blue_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:yellow_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:lime_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:pink_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:gray_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:light_gray_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:cyan_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:purple_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:blue_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:brown_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:green_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:red_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:black_stained_glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:glass_pane"));
|
||||
actions.add(new GlassConnectionHandler("paneConnections").getInitAction("minecraft:iron_bars"));
|
||||
return actions;
|
||||
}
|
||||
|
||||
public GlassConnectionHandler(String blockConnections, String key) {
|
||||
super(blockConnections, key);
|
||||
public GlassConnectionHandler(String blockConnections) {
|
||||
super(blockConnections);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -2,11 +2,11 @@ package us.myles.ViaVersion.protocols.protocol1_13to1_12_2.blockconnections;
|
||||
|
||||
public class MelonConnectionHandler extends AbstractStempConnectionHandler {
|
||||
|
||||
public MelonConnectionHandler(String baseStateId, String blockId, String toKey) {
|
||||
super(baseStateId, blockId, toKey);
|
||||
public MelonConnectionHandler(String baseStateId) {
|
||||
super(baseStateId);
|
||||
}
|
||||
|
||||
static void init() {
|
||||
new MelonConnectionHandler("minecraft:melon_stem[age=7]", "minecraft:melon", "minecraft:attached_melon_stem");
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
return new MelonConnectionHandler("minecraft:melon_stem[age=7]").getInitAction("minecraft:melon", "minecraft:attached_melon_stem");
|
||||
}
|
||||
}
|
||||
|
@ -2,11 +2,11 @@ package us.myles.ViaVersion.protocols.protocol1_13to1_12_2.blockconnections;
|
||||
|
||||
public class NetherFenceConnectionHandler extends AbstractFenceConnectionHandler {
|
||||
|
||||
static void init() {
|
||||
new NetherFenceConnectionHandler("netherFenceConnections", "minecraft:nether_brick_fence");
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
return new NetherFenceConnectionHandler("netherFenceConnections").getInitAction("minecraft:nether_brick_fence");
|
||||
}
|
||||
|
||||
public NetherFenceConnectionHandler(String blockConnections, String key) {
|
||||
super(blockConnections, key);
|
||||
public NetherFenceConnectionHandler(String blockConnections) {
|
||||
super(blockConnections);
|
||||
}
|
||||
}
|
||||
|
@ -2,11 +2,11 @@ package us.myles.ViaVersion.protocols.protocol1_13to1_12_2.blockconnections;
|
||||
|
||||
public class PumpkinConnectionHandler extends AbstractStempConnectionHandler {
|
||||
|
||||
static void init() {
|
||||
new PumpkinConnectionHandler("minecraft:pumpkin_stem[age=7]", "minecraft:carved_pumpkin", "minecraft:attached_pumpkin_stem");
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
return new PumpkinConnectionHandler("minecraft:pumpkin_stem[age=7]").getInitAction("minecraft:carved_pumpkin", "minecraft:attached_pumpkin_stem");
|
||||
}
|
||||
|
||||
public PumpkinConnectionHandler(String baseStateId, String blockId, String toKey) {
|
||||
super(baseStateId, blockId, toKey);
|
||||
public PumpkinConnectionHandler(String baseStateId) {
|
||||
super(baseStateId);
|
||||
}
|
||||
}
|
||||
|
@ -14,18 +14,19 @@ public class RedstoneConnectionHandler extends ConnectionHandler {
|
||||
private static Map<Short, Integer> connectedBlockStates = new HashMap<>();
|
||||
private static Map<Integer, Integer> powerMappings = new HashMap<>();
|
||||
|
||||
static void init() {
|
||||
RedstoneConnectionHandler connectionHandler = new RedstoneConnectionHandler();
|
||||
String redstoneKey = "minecraft:redstone_wire";
|
||||
for (Map.Entry<String, Integer> blockState : ConnectionData.keyToId.entrySet()) {
|
||||
String key = blockState.getKey().split("\\[")[0];
|
||||
if (!redstoneKey.equals(key)) continue;
|
||||
redstone.add(blockState.getValue());
|
||||
ConnectionData.connectionHandlerMap.put(blockState.getValue(), connectionHandler);
|
||||
WrappedBlockData blockData = WrappedBlockData.fromStateId(blockState.getValue());
|
||||
connectedBlockStates.put(getStates(blockData), blockData.getBlockStateId());
|
||||
powerMappings.put(blockData.getBlockStateId(), Integer.valueOf(blockData.getValue("power")));
|
||||
}
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
final RedstoneConnectionHandler connectionHandler = new RedstoneConnectionHandler();
|
||||
final String redstoneKey = "minecraft:redstone_wire";
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
if (!redstoneKey.equals(blockData.getMinecraftKey())) return;
|
||||
redstone.add(blockData.getSavedBlockStateId());
|
||||
ConnectionData.connectionHandlerMap.put(blockData.getSavedBlockStateId(), connectionHandler);
|
||||
connectedBlockStates.put(getStates(blockData), blockData.getSavedBlockStateId());
|
||||
powerMappings.put(blockData.getSavedBlockStateId(), Integer.valueOf(blockData.getValue("power")));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private static short getStates(WrappedBlockData data) {
|
||||
|
@ -14,27 +14,29 @@ public class SnowyGrassConnectionHandler extends ConnectionHandler {
|
||||
private static Map<Pair<Integer, Boolean>, Integer> grassBlocks = new HashMap<>();
|
||||
private static Set<Integer> snows = new HashSet<>();
|
||||
|
||||
static void init() {
|
||||
Set<String> snowyGrassBlocks = new HashSet<>();
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
final Set<String> snowyGrassBlocks = new HashSet<>();
|
||||
snowyGrassBlocks.add("minecraft:grass_block");
|
||||
snowyGrassBlocks.add("minecraft:podzol");
|
||||
snowyGrassBlocks.add("minecraft:mycelium");
|
||||
|
||||
SnowyGrassConnectionHandler handler = new SnowyGrassConnectionHandler();
|
||||
for (Map.Entry<String, Integer> blockState : ConnectionData.keyToId.entrySet()) {
|
||||
WrappedBlockData data = WrappedBlockData.fromString(blockState.getKey());
|
||||
if (snowyGrassBlocks.contains(data.getMinecraftKey())) {
|
||||
ConnectionData.connectionHandlerMap.put(blockState.getValue(), handler);
|
||||
data.set("snowy", "true");
|
||||
grassBlocks.put(new Pair<>(blockState.getValue(), true), data.getBlockStateId());
|
||||
data.set("snowy", "false");
|
||||
grassBlocks.put(new Pair<>(blockState.getValue(), false), data.getBlockStateId());
|
||||
final SnowyGrassConnectionHandler handler = new SnowyGrassConnectionHandler();
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
if (snowyGrassBlocks.contains(blockData.getMinecraftKey())) {
|
||||
ConnectionData.connectionHandlerMap.put(blockData.getSavedBlockStateId(), handler);
|
||||
blockData.set("snowy", "true");
|
||||
grassBlocks.put(new Pair<>(blockData.getSavedBlockStateId(), true), blockData.getBlockStateId());
|
||||
blockData.set("snowy", "false");
|
||||
grassBlocks.put(new Pair<>(blockData.getSavedBlockStateId(), false), blockData.getBlockStateId());
|
||||
}
|
||||
if (blockData.getMinecraftKey().equals("minecraft:snow") || blockData.getMinecraftKey().equals("minecraft:snow_block")) {
|
||||
ConnectionData.connectionHandlerMap.put(blockData.getSavedBlockStateId(), handler);
|
||||
snows.add(blockData.getSavedBlockStateId());
|
||||
}
|
||||
}
|
||||
if (data.getMinecraftKey().equals("minecraft:snow") || data.getMinecraftKey().equals("minecraft:snow_block")) {
|
||||
ConnectionData.connectionHandlerMap.put(blockState.getValue(), handler);
|
||||
snows.add(blockState.getValue());
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -16,8 +16,8 @@ public class StairConnectionHandler extends ConnectionHandler {
|
||||
private static Map<Integer, StairData> stairDataMap = new HashMap<>();
|
||||
private static Map<Short, Integer> connectedBlocks = new HashMap<>();
|
||||
|
||||
static void init() {
|
||||
List<String> baseStairs = new LinkedList<>();
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
final List<String> baseStairs = new LinkedList<>();
|
||||
baseStairs.add("minecraft:oak_stairs");
|
||||
baseStairs.add("minecraft:cobblestone_stairs");
|
||||
baseStairs.add("minecraft:brick_stairs");
|
||||
@ -36,36 +36,37 @@ public class StairConnectionHandler extends ConnectionHandler {
|
||||
baseStairs.add("minecraft:prismarine_brick_stairs");
|
||||
baseStairs.add("minecraft:dark_prismarine_stairs");
|
||||
|
||||
StairConnectionHandler connectionHandler = new StairConnectionHandler();
|
||||
for (Map.Entry<String, Integer> blockState : ConnectionData.keyToId.entrySet()) {
|
||||
String key = blockState.getKey().split("\\[")[0];
|
||||
int type = baseStairs.indexOf(key);
|
||||
if (type == -1) continue;
|
||||
final StairConnectionHandler connectionHandler = new StairConnectionHandler();
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
int type = baseStairs.indexOf(blockData.getMinecraftKey());
|
||||
if (type == -1) return;
|
||||
|
||||
WrappedBlockData blockData = WrappedBlockData.fromString(blockState.getKey());
|
||||
if (blockData.getValue("waterlogged").equals("true")) continue;
|
||||
if (blockData.getValue("waterlogged").equals("true")) return;
|
||||
|
||||
byte shape;
|
||||
switch (blockData.getValue("shape")) {
|
||||
case "straight": shape = 0; break;
|
||||
case "inner_left": shape = 1; break;
|
||||
case "inner_right": shape = 2; break;
|
||||
case "outer_left": shape = 3; break;
|
||||
case "outer_right": shape = 4; break;
|
||||
default: continue;
|
||||
byte shape;
|
||||
switch (blockData.getValue("shape")) {
|
||||
case "straight": shape = 0; break;
|
||||
case "inner_left": shape = 1; break;
|
||||
case "inner_right": shape = 2; break;
|
||||
case "outer_left": shape = 3; break;
|
||||
case "outer_right": shape = 4; break;
|
||||
default: return;
|
||||
}
|
||||
|
||||
StairData stairData = new StairData(
|
||||
blockData.getValue("half").equals("bottom"),
|
||||
shape, (byte) type,
|
||||
BlockFace.valueOf(blockData.getValue("facing").toUpperCase())
|
||||
);
|
||||
|
||||
stairDataMap.put(blockData.getSavedBlockStateId(), stairData);
|
||||
connectedBlocks.put(getStates(stairData), blockData.getSavedBlockStateId());
|
||||
|
||||
ConnectionData.connectionHandlerMap.put(blockData.getSavedBlockStateId(), connectionHandler);
|
||||
}
|
||||
|
||||
StairData stairData = new StairData(
|
||||
blockData.getValue("half").equals("bottom"),
|
||||
shape, (byte) type,
|
||||
BlockFace.valueOf(blockData.getValue("facing").toUpperCase())
|
||||
);
|
||||
|
||||
stairDataMap.put(blockState.getValue(), stairData);
|
||||
connectedBlocks.put(getStates(stairData), blockState.getValue());
|
||||
|
||||
ConnectionData.connectionHandlerMap.put(blockState.getValue(), connectionHandler);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private static short getStates(StairData stairData) {
|
||||
@ -98,15 +99,15 @@ public class StairConnectionHandler extends ConnectionHandler {
|
||||
StairData relativeStair = stairDataMap.get(getBlockData(user, position.getRelative(facing)));
|
||||
if (relativeStair != null && relativeStair.isBottom() == stair.isBottom()) {
|
||||
BlockFace facing2 = relativeStair.getFacing();
|
||||
if (facing.getAxis() != facing2.getAxis() && checkOpposite(user, stair, position, facing2.opposite())){
|
||||
if (facing.getAxis() != facing2.getAxis() && checkOpposite(user, stair, position, facing2.opposite())) {
|
||||
return facing2 == rotateAntiClockwise(facing) ? 3 : 4; // outer_left : outer_right
|
||||
}
|
||||
}
|
||||
|
||||
relativeStair = stairDataMap.get(getBlockData(user, position.getRelative(facing.opposite())));
|
||||
if(relativeStair != null && relativeStair.isBottom() == stair.isBottom()) {
|
||||
if (relativeStair != null && relativeStair.isBottom() == stair.isBottom()) {
|
||||
BlockFace facing2 = relativeStair.getFacing();
|
||||
if (facing.getAxis() != facing2.getAxis() && checkOpposite(user, stair, position, facing2)){
|
||||
if (facing.getAxis() != facing2.getAxis() && checkOpposite(user, stair, position, facing2)) {
|
||||
return facing2 == rotateAntiClockwise(facing) ? 1 : 2; // inner_left : inner_right
|
||||
}
|
||||
}
|
||||
|
@ -15,29 +15,27 @@ public class TripwireConnectionHandler extends ConnectionHandler {
|
||||
private static Map<Byte, Integer> connectedBlocks = new HashMap<>();
|
||||
private static Map<Integer, BlockFace> tripwireHooks = new HashMap<>();
|
||||
|
||||
static void init() {
|
||||
TripwireConnectionHandler connectionHandler = new TripwireConnectionHandler();
|
||||
for (Map.Entry<String, Integer> blockState : ConnectionData.keyToId.entrySet()) {
|
||||
String key = blockState.getKey().split("\\[")[0];
|
||||
static ConnectionData.ConnectorInitAction init() {
|
||||
final TripwireConnectionHandler connectionHandler = new TripwireConnectionHandler();
|
||||
return new ConnectionData.ConnectorInitAction() {
|
||||
@Override
|
||||
public void check(WrappedBlockData blockData) {
|
||||
if (blockData.getMinecraftKey().equals("minecraft:tripwire_hook")) {
|
||||
tripwireHooks.put(blockData.getSavedBlockStateId(), BlockFace.valueOf(blockData.getValue("facing").toUpperCase()));
|
||||
} else if (blockData.getMinecraftKey().equals("minecraft:tripwire")) {
|
||||
TripwireData tripwireData = new TripwireData(
|
||||
blockData.getValue("attached").equals("true"),
|
||||
blockData.getValue("disarmed").equals("true"),
|
||||
blockData.getValue("powered").equals("true")
|
||||
);
|
||||
|
||||
if (key.equals("minecraft:tripwire_hook")) {
|
||||
WrappedBlockData blockData = WrappedBlockData.fromString(blockState.getKey());
|
||||
tripwireHooks.put(blockState.getValue(), BlockFace.valueOf(blockData.getValue("facing").toUpperCase()));
|
||||
} else if (key.equals("minecraft:tripwire")) {
|
||||
WrappedBlockData blockData = WrappedBlockData.fromString(blockState.getKey());
|
||||
tripwireDataMap.put(blockData.getSavedBlockStateId(), tripwireData);
|
||||
connectedBlocks.put(getStates(blockData), blockData.getSavedBlockStateId());
|
||||
|
||||
TripwireData tripwireData = new TripwireData(
|
||||
blockData.getValue("attached").equals("true"),
|
||||
blockData.getValue("disarmed").equals("true"),
|
||||
blockData.getValue("powered").equals("true")
|
||||
);
|
||||
|
||||
tripwireDataMap.put(blockState.getValue(), tripwireData);
|
||||
connectedBlocks.put(getStates(blockData), blockState.getValue());
|
||||
|
||||
ConnectionData.connectionHandlerMap.put(blockState.getValue(), connectionHandler);
|
||||
ConnectionData.connectionHandlerMap.put(blockData.getSavedBlockStateId(), connectionHandler);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
private static byte getStates(WrappedBlockData blockData) {
|
||||
|
@ -4,18 +4,23 @@ import us.myles.ViaVersion.api.data.UserConnection;
|
||||
import us.myles.ViaVersion.api.minecraft.BlockFace;
|
||||
import us.myles.ViaVersion.api.minecraft.Position;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class WallConnectionHandler extends AbstractFenceConnectionHandler {
|
||||
private static final BlockFace[] BLOCK_FACES = {BlockFace.EAST, BlockFace.NORTH, BlockFace.SOUTH, BlockFace.WEST};
|
||||
private static final int[] OPPOSITES = {3, 2, 1, 0};
|
||||
|
||||
static void init() {
|
||||
new WallConnectionHandler("cobbleWallConnections", "minecraft:cobblestone_wall");
|
||||
new WallConnectionHandler("cobbleWallConnections", "minecraft:mossy_cobblestone_wall");
|
||||
static List<ConnectionData.ConnectorInitAction> init() {
|
||||
List<ConnectionData.ConnectorInitAction> actions = new ArrayList<>(2);
|
||||
actions.add(new WallConnectionHandler("cobbleWallConnections").getInitAction("minecraft:cobblestone_wall"));
|
||||
actions.add(new WallConnectionHandler("cobbleWallConnections").getInitAction("minecraft:mossy_cobblestone_wall"));
|
||||
return actions;
|
||||
}
|
||||
|
||||
|
||||
public WallConnectionHandler(String blockConnections, String key) {
|
||||
super(blockConnections, key);
|
||||
public WallConnectionHandler(String blockConnections) {
|
||||
super(blockConnections);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -9,12 +9,14 @@ import java.util.Map.Entry;
|
||||
public class WrappedBlockData {
|
||||
@Getter
|
||||
private String minecraftKey;
|
||||
@Getter
|
||||
private int savedBlockStateId;
|
||||
private LinkedHashMap<String, String> blockData = new LinkedHashMap<>();
|
||||
|
||||
public static WrappedBlockData fromString(String s) {
|
||||
String[] array = s.split("\\[");
|
||||
String key = array[0];
|
||||
WrappedBlockData wrappedBlockdata = new WrappedBlockData(key);
|
||||
WrappedBlockData wrappedBlockdata = new WrappedBlockData(key, ConnectionData.getId(s));
|
||||
if (array.length > 1) {
|
||||
String blockData = array[1];
|
||||
blockData = blockData.replace("]", "");
|
||||
@ -36,8 +38,9 @@ public class WrappedBlockData {
|
||||
return fromString("minecraft:air");
|
||||
}
|
||||
|
||||
private WrappedBlockData(String key) {
|
||||
minecraftKey = key;
|
||||
private WrappedBlockData(String minecraftKey, int savedBlockStateId) {
|
||||
this.minecraftKey = minecraftKey;
|
||||
this.savedBlockStateId = savedBlockStateId;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
Datei-Diff unterdrückt, da er zu groß ist
Diff laden
@ -7,11 +7,9 @@
|
||||
"minecraft:polished_diorite",
|
||||
"minecraft:andesite",
|
||||
"minecraft:polished_andesite",
|
||||
"minecraft:grass_block[snowy=true]",
|
||||
"minecraft:grass_block[snowy=false]",
|
||||
"minecraft:dirt",
|
||||
"minecraft:coarse_dirt",
|
||||
"minecraft:podzol[snowy=true]",
|
||||
"minecraft:podzol[snowy=false]",
|
||||
"minecraft:cobblestone",
|
||||
"minecraft:oak_planks",
|
||||
@ -45,60 +43,12 @@
|
||||
"minecraft:dark_oak_log[axis=x]",
|
||||
"minecraft:dark_oak_log[axis=y]",
|
||||
"minecraft:dark_oak_log[axis=z]",
|
||||
"minecraft:stripped_spruce_log[axis=x]",
|
||||
"minecraft:stripped_spruce_log[axis=y]",
|
||||
"minecraft:stripped_spruce_log[axis=z]",
|
||||
"minecraft:stripped_birch_log[axis=x]",
|
||||
"minecraft:stripped_birch_log[axis=y]",
|
||||
"minecraft:stripped_birch_log[axis=z]",
|
||||
"minecraft:stripped_jungle_log[axis=x]",
|
||||
"minecraft:stripped_jungle_log[axis=y]",
|
||||
"minecraft:stripped_jungle_log[axis=z]",
|
||||
"minecraft:stripped_acacia_log[axis=x]",
|
||||
"minecraft:stripped_acacia_log[axis=y]",
|
||||
"minecraft:stripped_acacia_log[axis=z]",
|
||||
"minecraft:stripped_dark_oak_log[axis=x]",
|
||||
"minecraft:stripped_dark_oak_log[axis=y]",
|
||||
"minecraft:stripped_dark_oak_log[axis=z]",
|
||||
"minecraft:stripped_oak_log[axis=x]",
|
||||
"minecraft:stripped_oak_log[axis=y]",
|
||||
"minecraft:stripped_oak_log[axis=z]",
|
||||
"minecraft:oak_wood[axis=x]",
|
||||
"minecraft:oak_wood[axis=y]",
|
||||
"minecraft:oak_wood[axis=z]",
|
||||
"minecraft:spruce_wood[axis=x]",
|
||||
"minecraft:spruce_wood[axis=y]",
|
||||
"minecraft:spruce_wood[axis=z]",
|
||||
"minecraft:birch_wood[axis=x]",
|
||||
"minecraft:birch_wood[axis=y]",
|
||||
"minecraft:birch_wood[axis=z]",
|
||||
"minecraft:jungle_wood[axis=x]",
|
||||
"minecraft:jungle_wood[axis=y]",
|
||||
"minecraft:jungle_wood[axis=z]",
|
||||
"minecraft:acacia_wood[axis=x]",
|
||||
"minecraft:acacia_wood[axis=y]",
|
||||
"minecraft:acacia_wood[axis=z]",
|
||||
"minecraft:dark_oak_wood[axis=x]",
|
||||
"minecraft:dark_oak_wood[axis=y]",
|
||||
"minecraft:dark_oak_wood[axis=z]",
|
||||
"minecraft:stripped_oak_wood[axis=x]",
|
||||
"minecraft:stripped_oak_wood[axis=y]",
|
||||
"minecraft:stripped_oak_wood[axis=z]",
|
||||
"minecraft:stripped_spruce_wood[axis=x]",
|
||||
"minecraft:stripped_spruce_wood[axis=y]",
|
||||
"minecraft:stripped_spruce_wood[axis=z]",
|
||||
"minecraft:stripped_birch_wood[axis=x]",
|
||||
"minecraft:stripped_birch_wood[axis=y]",
|
||||
"minecraft:stripped_birch_wood[axis=z]",
|
||||
"minecraft:stripped_jungle_wood[axis=x]",
|
||||
"minecraft:stripped_jungle_wood[axis=y]",
|
||||
"minecraft:stripped_jungle_wood[axis=z]",
|
||||
"minecraft:stripped_acacia_wood[axis=x]",
|
||||
"minecraft:stripped_acacia_wood[axis=y]",
|
||||
"minecraft:stripped_acacia_wood[axis=z]",
|
||||
"minecraft:stripped_dark_oak_wood[axis=x]",
|
||||
"minecraft:stripped_dark_oak_wood[axis=y]",
|
||||
"minecraft:stripped_dark_oak_wood[axis=z]",
|
||||
"minecraft:sponge",
|
||||
"minecraft:wet_sponge",
|
||||
"minecraft:lapis_ore",
|
||||
@ -118,506 +68,7 @@
|
||||
"minecraft:sandstone",
|
||||
"minecraft:chiseled_sandstone",
|
||||
"minecraft:cut_sandstone",
|
||||
"minecraft:note_block[instrument=harp,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=harp,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=harp,note=24,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=basedrum,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=basedrum,note=24,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=snare,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=snare,note=24,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=hat,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=hat,note=24,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=bass,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=bass,note=24,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=flute,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=flute,note=24,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=bell,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=bell,note=24,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=guitar,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=guitar,note=24,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=chime,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=chime,note=24,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=0,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=0,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=1,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=1,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=2,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=2,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=3,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=3,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=4,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=4,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=5,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=5,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=6,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=6,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=7,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=7,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=8,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=8,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=9,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=9,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=10,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=10,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=11,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=11,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=12,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=12,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=13,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=13,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=14,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=14,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=15,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=15,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=16,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=16,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=17,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=17,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=18,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=18,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=19,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=19,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=20,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=20,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=21,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=21,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=22,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=22,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=23,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=23,powered=false]",
|
||||
"minecraft:note_block[instrument=xylophone,note=24,powered=true]",
|
||||
"minecraft:note_block[instrument=xylophone,note=24,powered=false]",
|
||||
"minecraft:white_wool",
|
||||
"minecraft:orange_wool",
|
||||
"minecraft:magenta_wool",
|
||||
@ -658,7 +109,6 @@
|
||||
"minecraft:clay",
|
||||
"minecraft:jukebox[has_record=true]",
|
||||
"minecraft:jukebox[has_record=false]",
|
||||
"minecraft:pumpkin",
|
||||
"minecraft:netherrack",
|
||||
"minecraft:soul_sand",
|
||||
"minecraft:carved_pumpkin[facing=north]",
|
||||
@ -680,199 +130,30 @@
|
||||
"minecraft:cracked_stone_bricks",
|
||||
"minecraft:chiseled_stone_bricks",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=true,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=true,east=false,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=true,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:brown_mushroom_block[down=false,east=false,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=true,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=true,east=false,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=true,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:red_mushroom_block[down=false,east=false,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=true,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=true,east=false,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=true,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=true,south=true,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=true,south=true,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=true,south=true,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=true,south=true,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=true,south=false,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=true,south=false,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=true,south=false,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=true,south=false,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=false,south=true,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=false,south=true,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=false,south=true,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=false,south=true,up=false,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=false,south=false,up=true,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=false,south=false,up=true,west=false]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=false,south=false,up=false,west=true]",
|
||||
"minecraft:mushroom_stem[down=false,east=false,north=false,south=false,up=false,west=false]",
|
||||
"minecraft:melon",
|
||||
"minecraft:mycelium[snowy=true]",
|
||||
"minecraft:mycelium[snowy=false]",
|
||||
"minecraft:nether_bricks",
|
||||
"minecraft:end_stone",
|
||||
@ -931,12 +212,6 @@
|
||||
"minecraft:prismarine",
|
||||
"minecraft:prismarine_bricks",
|
||||
"minecraft:dark_prismarine",
|
||||
"minecraft:prismarine_slab[type=double,waterlogged=true]",
|
||||
"minecraft:prismarine_slab[type=double,waterlogged=false]",
|
||||
"minecraft:prismarine_brick_slab[type=double,waterlogged=true]",
|
||||
"minecraft:prismarine_brick_slab[type=double,waterlogged=false]",
|
||||
"minecraft:dark_prismarine_slab[type=double,waterlogged=true]",
|
||||
"minecraft:dark_prismarine_slab[type=double,waterlogged=false]",
|
||||
"minecraft:hay_block[axis=x]",
|
||||
"minecraft:hay_block[axis=y]",
|
||||
"minecraft:hay_block[axis=z]",
|
||||
@ -946,37 +221,21 @@
|
||||
"minecraft:red_sandstone",
|
||||
"minecraft:chiseled_red_sandstone",
|
||||
"minecraft:cut_red_sandstone",
|
||||
"minecraft:oak_slab[type=double,waterlogged=true]",
|
||||
"minecraft:oak_slab[type=double,waterlogged=false]",
|
||||
"minecraft:spruce_slab[type=double,waterlogged=true]",
|
||||
"minecraft:spruce_slab[type=double,waterlogged=false]",
|
||||
"minecraft:birch_slab[type=double,waterlogged=true]",
|
||||
"minecraft:birch_slab[type=double,waterlogged=false]",
|
||||
"minecraft:jungle_slab[type=double,waterlogged=true]",
|
||||
"minecraft:jungle_slab[type=double,waterlogged=false]",
|
||||
"minecraft:acacia_slab[type=double,waterlogged=true]",
|
||||
"minecraft:acacia_slab[type=double,waterlogged=false]",
|
||||
"minecraft:dark_oak_slab[type=double,waterlogged=true]",
|
||||
"minecraft:dark_oak_slab[type=double,waterlogged=false]",
|
||||
"minecraft:stone_slab[type=double,waterlogged=true]",
|
||||
"minecraft:stone_slab[type=double,waterlogged=false]",
|
||||
"minecraft:sandstone_slab[type=double,waterlogged=true]",
|
||||
"minecraft:sandstone_slab[type=double,waterlogged=false]",
|
||||
"minecraft:petrified_oak_slab[type=double,waterlogged=true]",
|
||||
"minecraft:petrified_oak_slab[type=double,waterlogged=false]",
|
||||
"minecraft:cobblestone_slab[type=double,waterlogged=true]",
|
||||
"minecraft:cobblestone_slab[type=double,waterlogged=false]",
|
||||
"minecraft:brick_slab[type=double,waterlogged=true]",
|
||||
"minecraft:brick_slab[type=double,waterlogged=false]",
|
||||
"minecraft:stone_brick_slab[type=double,waterlogged=true]",
|
||||
"minecraft:stone_brick_slab[type=double,waterlogged=false]",
|
||||
"minecraft:nether_brick_slab[type=double,waterlogged=true]",
|
||||
"minecraft:nether_brick_slab[type=double,waterlogged=false]",
|
||||
"minecraft:quartz_slab[type=double,waterlogged=true]",
|
||||
"minecraft:quartz_slab[type=double,waterlogged=false]",
|
||||
"minecraft:red_sandstone_slab[type=double,waterlogged=true]",
|
||||
"minecraft:red_sandstone_slab[type=double,waterlogged=false]",
|
||||
"minecraft:purpur_slab[type=double,waterlogged=true]",
|
||||
"minecraft:purpur_slab[type=double,waterlogged=false]",
|
||||
"minecraft:smooth_stone",
|
||||
"minecraft:smooth_sandstone",
|
||||
@ -1113,18 +372,6 @@
|
||||
"minecraft:green_concrete_powder",
|
||||
"minecraft:red_concrete_powder",
|
||||
"minecraft:black_concrete_powder",
|
||||
"minecraft:dried_kelp_block",
|
||||
"minecraft:dead_tube_coral_block",
|
||||
"minecraft:dead_brain_coral_block",
|
||||
"minecraft:dead_bubble_coral_block",
|
||||
"minecraft:dead_fire_coral_block",
|
||||
"minecraft:dead_horn_coral_block",
|
||||
"minecraft:tube_coral_block",
|
||||
"minecraft:brain_coral_block",
|
||||
"minecraft:bubble_coral_block",
|
||||
"minecraft:fire_coral_block",
|
||||
"minecraft:horn_coral_block",
|
||||
"minecraft:blue_ice",
|
||||
"minecraft:structure_block[mode=save]",
|
||||
"minecraft:structure_block[mode=load]",
|
||||
"minecraft:structure_block[mode=corner]",
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren