forked from upstream/ViaBackwards
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc4c929108 | ||
|
|
0fe3d9410e | ||
|
|
cc9bf7284a | ||
|
|
383281cb9f | ||
|
|
d18825e700 | ||
|
|
2427690b78 | ||
|
|
a4261d6d9e | ||
|
|
091a63e45d | ||
|
|
9a9c6c4644 | ||
|
|
808b1fd2f0 | ||
|
|
9d3ee288df | ||
|
|
100901029e | ||
|
|
5bf8b59e91 | ||
|
|
c554027108 | ||
|
|
4d295fbe2c | ||
|
|
40047330b4 | ||
|
|
98304168b8 | ||
|
|
3695df1e44 | ||
|
|
958f265e18 | ||
|
|
394c944c50 | ||
|
|
d559c7cff1 | ||
|
|
3d4f4438a8 | ||
|
|
2972fb8422 | ||
|
|
817593ee43 | ||
|
|
044980c1a8 | ||
|
|
245bd53850 | ||
|
|
b632e4772f | ||
|
|
b336b8a1fc | ||
|
|
304b21425c | ||
|
|
bb17bb3bfd | ||
|
|
941bb91be8 | ||
|
|
fb334c6c14 | ||
|
|
90460ee99f | ||
|
|
81a737886a | ||
|
|
356158a9d4 | ||
|
|
32bd9378e1 | ||
|
|
317af16975 | ||
|
|
3826be4f5f | ||
|
|
282afe94cc | ||
|
|
9d86b31cb7 | ||
|
|
80041606a7 | ||
|
|
41e4172136 | ||
|
|
a856658399 | ||
|
|
7173bbbbce | ||
|
|
54507c6175 | ||
|
|
4dd7d384c8 | ||
|
|
fc751aedf3 | ||
|
|
a1da3dc11c | ||
|
|
87c37b08e8 | ||
|
|
187b79f4e1 | ||
|
|
b84cda54c3 | ||
|
|
f474067eb2 | ||
|
|
6a700d228d | ||
|
|
f08223d1e9 | ||
|
|
a5e3a6b563 |
No files matched your search
@@ -1,5 +1,6 @@
|
||||
name: Feature Request
|
||||
description: Suggest a feature to be added
|
||||
labels: [Feature Request]
|
||||
|
||||
body:
|
||||
- type: textarea
|
||||
@@ -34,4 +35,4 @@ body:
|
||||
description: |
|
||||
Does the feature apply to any specific version or environment?
|
||||
validations:
|
||||
required: false
|
||||
required: false
|
||||
@@ -8,18 +8,18 @@ on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'adopt'
|
||||
distribution: 'temurin'
|
||||
java-version: 11
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
- uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: artifact
|
||||
path: build/libs
|
||||
@@ -11,7 +11,7 @@ Supported Versions
|
||||
**Green** = ViaVersion\
|
||||
**Purple** = ViaBackwards addition
|
||||
|
||||

|
||||

|
||||
|
||||
Releases / Dev Builds
|
||||
-
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ plugins {
|
||||
|
||||
allprojects {
|
||||
group = "com.viaversion"
|
||||
version = "4.3.0"
|
||||
version = "4.5.0"
|
||||
description = "Allow older clients to join newer server versions."
|
||||
}
|
||||
|
||||
|
||||
@@ -50,6 +50,11 @@ public class BukkitPlugin extends JavaPlugin implements ViaBackwardsPlatform {
|
||||
}
|
||||
|
||||
private void onServerLoaded() {
|
||||
if (isOutdatedPostLoad()) {
|
||||
disable();
|
||||
return;
|
||||
}
|
||||
|
||||
BukkitViaLoader loader = (BukkitViaLoader) Via.getManager().getLoader();
|
||||
int protocolVersion = Via.getAPI().getServerVersion().highestSupportedVersion();
|
||||
if (protocolVersion >= ProtocolVersion.v1_16.getVersion()) {
|
||||
|
||||
@@ -54,7 +54,7 @@ public class ViaBackwardsConfig extends Config implements com.viaversion.viaback
|
||||
fix1_13FormattedInventoryTitles = getBoolean("fix-formatted-inventory-titles", true);
|
||||
alwaysShowOriginalMobName = getBoolean("always-show-original-mob-name", true);
|
||||
handlePingsAsInvAcknowledgements = getBoolean("handle-pings-as-inv-acknowledgements", false);
|
||||
chatTypeFormats = get("chat-types", Map.class, new HashMap<String, String>());
|
||||
chatTypeFormats = get("chat-types-1_19_1", Map.class, new HashMap<String, String>());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -47,6 +47,8 @@ import com.viaversion.viabackwards.protocol.protocol1_17_1to1_18.Protocol1_17_1T
|
||||
import com.viaversion.viabackwards.protocol.protocol1_17to1_17_1.Protocol1_17To1_17_1;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_18_2to1_19.Protocol1_18_2To1_19;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_18to1_18_2.Protocol1_18To1_18_2;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.Protocol1_19_1To1_19_3;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.Protocol1_19To1_19_1;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_9_4to1_10.Protocol1_9_4To1_10;
|
||||
import com.viaversion.viaversion.api.Via;
|
||||
import com.viaversion.viaversion.api.protocol.ProtocolManager;
|
||||
@@ -58,7 +60,7 @@ import java.util.logging.Logger;
|
||||
|
||||
public interface ViaBackwardsPlatform {
|
||||
|
||||
String MINIMUM_VV_VERSION = "4.3.0";
|
||||
String MINIMUM_VV_VERSION = "4.5.0";
|
||||
String IMPL_VERSION = "$IMPL_VERSION";
|
||||
|
||||
/**
|
||||
@@ -70,14 +72,17 @@ public interface ViaBackwardsPlatform {
|
||||
|
||||
ViaBackwards.init(this, config);
|
||||
|
||||
if (isOutdated()) return;
|
||||
if (isOutdated()) {
|
||||
disable();
|
||||
return;
|
||||
}
|
||||
|
||||
Via.getManager().getSubPlatforms().add(IMPL_VERSION);
|
||||
|
||||
getLogger().info("Loading translations...");
|
||||
TranslatableRewriter.loadTranslatables();
|
||||
|
||||
ProtocolManager protocolManager = Via.getManager().getProtocolManager();
|
||||
final ProtocolManager protocolManager = Via.getManager().getProtocolManager();
|
||||
protocolManager.registerProtocol(new Protocol1_9_4To1_10(), ProtocolVersion.v1_9_3, ProtocolVersion.v1_10);
|
||||
|
||||
protocolManager.registerProtocol(new Protocol1_10To1_11(), ProtocolVersion.v1_10, ProtocolVersion.v1_11);
|
||||
@@ -114,6 +119,9 @@ public interface ViaBackwardsPlatform {
|
||||
protocolManager.registerProtocol(new Protocol1_18To1_18_2(), ProtocolVersion.v1_18, ProtocolVersion.v1_18_2);
|
||||
|
||||
protocolManager.registerProtocol(new Protocol1_18_2To1_19(), ProtocolVersion.v1_18_2, ProtocolVersion.v1_19);
|
||||
protocolManager.registerProtocol(new Protocol1_19To1_19_1(), ProtocolVersion.v1_19, ProtocolVersion.v1_19_1);
|
||||
|
||||
protocolManager.registerProtocol(new Protocol1_19_1To1_19_3(), ProtocolVersion.v1_19_1, ProtocolVersion.v1_19_3);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -132,11 +140,12 @@ public interface ViaBackwardsPlatform {
|
||||
getLogger().severe("LINK: https://ci.viaversion.com/");
|
||||
getLogger().severe("VIABACKWARDS WILL NOW DISABLE");
|
||||
getLogger().severe("================================");
|
||||
|
||||
disable();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
default boolean isOutdatedPostLoad() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ public class BackwardsMappings extends MappingDataBase {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void loadExtras(JsonObject oldMappings, JsonObject newMappings, @Nullable JsonObject diffMappings) {
|
||||
protected final void loadExtras(JsonObject oldMappings, JsonObject newMappings, @Nullable JsonObject diffMappings) {
|
||||
if (diffMappings != null) {
|
||||
JsonObject diffItems = diffMappings.getAsJsonObject("items");
|
||||
if (diffItems != null) {
|
||||
@@ -104,7 +104,7 @@ public class BackwardsMappings extends MappingDataBase {
|
||||
/**
|
||||
* To be overridden.
|
||||
*/
|
||||
protected void loadVBExtras(JsonObject oldMappings, JsonObject newMappings) {
|
||||
protected void loadVBExtras(JsonObject unmapped, JsonObject mapped) {
|
||||
}
|
||||
|
||||
protected boolean shouldWarnOnMissing(String key) {
|
||||
|
||||
@@ -29,6 +29,7 @@ import com.viaversion.viaversion.libs.gson.JsonObject;
|
||||
import com.viaversion.viaversion.libs.gson.JsonPrimitive;
|
||||
import com.viaversion.viaversion.libs.gson.JsonSyntaxException;
|
||||
import com.viaversion.viaversion.util.GsonUtil;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileReader;
|
||||
@@ -58,10 +59,14 @@ public final class VBMappingDataLoader {
|
||||
return null;
|
||||
}
|
||||
|
||||
public static @Nullable InputStream getResource(String name) {
|
||||
return VBMappingDataLoader.class.getClassLoader().getResourceAsStream("assets/viabackwards/data/" + name);
|
||||
}
|
||||
|
||||
public static JsonObject loadData(String name) {
|
||||
InputStream stream = VBMappingDataLoader.class.getClassLoader().getResourceAsStream("assets/viabackwards/data/" + name);
|
||||
try (InputStreamReader reader = new InputStreamReader(stream)) {
|
||||
return GsonUtil.getGson().fromJson(reader, JsonObject.class);
|
||||
try (InputStream stream = getResource(name)) {
|
||||
if (stream == null) return null;
|
||||
return GsonUtil.getGson().fromJson(new InputStreamReader(stream), JsonObject.class);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
return null;
|
||||
@@ -135,12 +140,12 @@ public final class VBMappingDataLoader {
|
||||
|
||||
public static Int2ObjectMap<MappedItem> loadItemMappings(JsonObject oldMapping, JsonObject newMapping, JsonObject diffMapping, boolean warnOnMissing) {
|
||||
Int2ObjectMap<MappedItem> itemMapping = new Int2ObjectOpenHashMap<>(diffMapping.size(), 0.99F);
|
||||
Object2IntMap<String> newIdenfierMap = MappingDataLoader.indexedObjectToMap(newMapping);
|
||||
Object2IntMap<String> oldIdenfierMap = MappingDataLoader.indexedObjectToMap(oldMapping);
|
||||
Object2IntMap<String> newIdentifierMap = MappingDataLoader.indexedObjectToMap(newMapping);
|
||||
Object2IntMap<String> oldIdentifierMap = MappingDataLoader.indexedObjectToMap(oldMapping);
|
||||
for (Map.Entry<String, JsonElement> entry : diffMapping.entrySet()) {
|
||||
JsonObject object = entry.getValue().getAsJsonObject();
|
||||
String mappedIdName = object.getAsJsonPrimitive("id").getAsString();
|
||||
int mappedId = newIdenfierMap.getInt(mappedIdName);
|
||||
int mappedId = newIdentifierMap.getInt(mappedIdName);
|
||||
if (mappedId == -1) {
|
||||
if (!Via.getConfig().isSuppressConversionWarnings() || Via.getManager().isDebug()) {
|
||||
ViaBackwards.getPlatform().getLogger().warning("No key for " + mappedIdName + " :( ");
|
||||
@@ -148,7 +153,7 @@ public final class VBMappingDataLoader {
|
||||
continue;
|
||||
}
|
||||
|
||||
int oldId = oldIdenfierMap.getInt(entry.getKey());
|
||||
int oldId = oldIdentifierMap.getInt(entry.getKey());
|
||||
if (oldId == -1) {
|
||||
if (!Via.getConfig().isSuppressConversionWarnings() || Via.getManager().isDebug()) {
|
||||
ViaBackwards.getPlatform().getLogger().warning("No old entry for " + mappedIdName + " :( ");
|
||||
@@ -162,8 +167,8 @@ public final class VBMappingDataLoader {
|
||||
|
||||
// Look for missing keys
|
||||
if (warnOnMissing && !Via.getConfig().isSuppressConversionWarnings()) {
|
||||
for (Object2IntMap.Entry<String> entry : oldIdenfierMap.object2IntEntrySet()) {
|
||||
if (!newIdenfierMap.containsKey(entry.getKey()) && !itemMapping.containsKey(entry.getIntValue())) {
|
||||
for (Object2IntMap.Entry<String> entry : oldIdentifierMap.object2IntEntrySet()) {
|
||||
if (!newIdentifierMap.containsKey(entry.getKey()) && !itemMapping.containsKey(entry.getIntValue())) {
|
||||
ViaBackwards.getPlatform().getLogger().warning("No item mapping for " + entry.getKey() + " :( ");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
package com.viaversion.viabackwards.api.rewriters;
|
||||
|
||||
import com.viaversion.viabackwards.api.BackwardsProtocol;
|
||||
import com.viaversion.viaversion.api.data.entity.EntityTracker;
|
||||
import com.viaversion.viaversion.api.minecraft.entities.EntityType;
|
||||
import com.viaversion.viaversion.api.minecraft.metadata.MetaType;
|
||||
import com.viaversion.viaversion.api.protocol.packet.ClientboundPacketType;
|
||||
@@ -90,6 +91,23 @@ public abstract class EntityRewriter<T extends BackwardsProtocol> extends Entity
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a handler to track the current world and uncache entity data on world changes.
|
||||
*
|
||||
* @return handler to track the current world
|
||||
*/
|
||||
public PacketHandler worldTrackerHandlerByKey() {
|
||||
return wrapper -> {
|
||||
EntityTracker tracker = tracker(wrapper.user());
|
||||
String world = wrapper.get(Type.STRING, 1);
|
||||
if (tracker.currentWorld() != null && !tracker.currentWorld().equals(world)) {
|
||||
tracker.clearEntities();
|
||||
tracker.trackClientEntity();
|
||||
}
|
||||
tracker.setCurrentWorld(world);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the mapped entity id and returns the unmapped entity type.
|
||||
*
|
||||
|
||||
@@ -55,7 +55,10 @@ public class SoundRewriter extends com.viaversion.viaversion.rewriter.SoundRewri
|
||||
return wrapper -> {
|
||||
String soundId = wrapper.get(Type.STRING, 0);
|
||||
String mappedId = protocol.getMappingData().getMappedNamedSound(soundId);
|
||||
if (mappedId == null) return;
|
||||
if (mappedId == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mappedId.isEmpty()) {
|
||||
wrapper.set(Type.STRING, 0, mappedId);
|
||||
} else {
|
||||
@@ -89,4 +92,34 @@ public class SoundRewriter extends com.viaversion.viaversion.rewriter.SoundRewri
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public PacketHandler get1_19_3SoundHandler() {
|
||||
return wrapper -> {
|
||||
final int soundId = wrapper.read(Type.VAR_INT);
|
||||
if (soundId != 0) {
|
||||
final int mappedId = idRewriter.rewrite(soundId - 1); // Normalize the id
|
||||
if (mappedId == -1) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
wrapper.write(Type.VAR_INT, mappedId + 1);
|
||||
}
|
||||
|
||||
// Is followed by the resource loation
|
||||
wrapper.write(Type.VAR_INT, 0);
|
||||
|
||||
String soundIdentifier = wrapper.read(Type.STRING);
|
||||
final String mappedIdentifier = protocol.getMappingData().getMappedNamedSound(soundIdentifier);
|
||||
if (mappedIdentifier != null) {
|
||||
if (mappedIdentifier.isEmpty()) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
soundIdentifier = mappedIdentifier;
|
||||
}
|
||||
wrapper.write(Type.STRING, soundIdentifier);
|
||||
};
|
||||
}
|
||||
}
|
||||
+1
-10
@@ -37,7 +37,7 @@ public class TranslatableRewriter extends ComponentRewriter {
|
||||
protected final Map<String, String> newTranslatables;
|
||||
|
||||
public static void loadTranslatables() {
|
||||
JsonObject jsonObject = VBMappingDataLoader.loadData("translation-mappings.json");
|
||||
JsonObject jsonObject = VBMappingDataLoader.loadFromDataDir("translation-mappings.json");
|
||||
for (Map.Entry<String, JsonElement> entry : jsonObject.entrySet()) {
|
||||
Map<String, String> versionMappings = new HashMap<>();
|
||||
TRANSLATABLES.put(entry.getKey(), versionMappings);
|
||||
@@ -80,15 +80,6 @@ public class TranslatableRewriter extends ComponentRewriter {
|
||||
});
|
||||
}
|
||||
|
||||
public void registerChatMessage(ClientboundPacketType packetType) {
|
||||
protocol.registerClientbound(packetType, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> processText(wrapper.passthrough(Type.COMPONENT)));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void registerLegacyOpenWindow(ClientboundPacketType packetType) {
|
||||
protocol.registerClientbound(packetType, new PacketRemapper() {
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ public class PlayerPackets1_11 {
|
||||
private static final ValueTransformer<Short, Float> TO_NEW_FLOAT = new ValueTransformer<Short, Float>(Type.FLOAT) {
|
||||
@Override
|
||||
public Float transform(PacketWrapper wrapper, Short inputValue) throws Exception {
|
||||
return inputValue / 15f;
|
||||
return inputValue / 16f;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -73,7 +73,7 @@ public class Protocol1_12_2To1_13 extends BackwardsProtocol<ClientboundPackets1_
|
||||
};
|
||||
translatableRewriter.registerPing();
|
||||
translatableRewriter.registerBossBar(ClientboundPackets1_13.BOSSBAR);
|
||||
translatableRewriter.registerChatMessage(ClientboundPackets1_13.CHAT_MESSAGE);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_13.CHAT_MESSAGE);
|
||||
translatableRewriter.registerLegacyOpenWindow(ClientboundPackets1_13.OPEN_WINDOW);
|
||||
translatableRewriter.registerDisconnect(ClientboundPackets1_13.DISCONNECT);
|
||||
translatableRewriter.registerCombatEvent(ClientboundPackets1_13.COMBAT_EVENT);
|
||||
|
||||
+2
-2
@@ -47,9 +47,9 @@ public class BackwardsMappings extends com.viaversion.viabackwards.api.data.Back
|
||||
}
|
||||
|
||||
@Override
|
||||
public void loadVBExtras(JsonObject oldMappings, JsonObject newMappings) {
|
||||
public void loadVBExtras(JsonObject unmapped, JsonObject mapped) {
|
||||
enchantmentMappings = VBMappings.vbBuilder().warnOnMissing(false)
|
||||
.unmapped(oldMappings.getAsJsonArray("enchantments")).mapped(newMappings.getAsJsonObject("legacy_enchantments")).build();
|
||||
.unmapped(unmapped.getAsJsonArray("enchantments")).mapped(mapped.getAsJsonObject("legacy_enchantments")).build();
|
||||
for (Map.Entry<String, Integer> entry : StatisticMappings.CUSTOM_STATS.entrySet()) {
|
||||
statisticMappings.put(entry.getValue().intValue(), entry.getKey());
|
||||
}
|
||||
|
||||
+3
-9
@@ -192,23 +192,17 @@ public class PlayerPacket1_13 extends RewriterBase<Protocol1_12_2To1_13> {
|
||||
for (int j = 0; j < nProperties; j++) {
|
||||
packetWrapper.passthrough(Type.STRING);
|
||||
packetWrapper.passthrough(Type.STRING);
|
||||
if (packetWrapper.passthrough(Type.BOOLEAN)) {
|
||||
packetWrapper.passthrough(Type.STRING);
|
||||
}
|
||||
packetWrapper.passthrough(Type.OPTIONAL_STRING);
|
||||
}
|
||||
packetWrapper.passthrough(Type.VAR_INT);
|
||||
packetWrapper.passthrough(Type.VAR_INT);
|
||||
if (packetWrapper.passthrough(Type.BOOLEAN)) {
|
||||
packetWrapper.passthrough(Type.COMPONENT);
|
||||
}
|
||||
packetWrapper.passthrough(Type.OPTIONAL_COMPONENT);
|
||||
} else if (action == 1) { // Update Game Mode
|
||||
packetWrapper.passthrough(Type.VAR_INT);
|
||||
} else if (action == 2) { // Update Ping
|
||||
packetWrapper.passthrough(Type.VAR_INT);
|
||||
} else if (action == 3) { // Update Display Name
|
||||
if (packetWrapper.passthrough(Type.BOOLEAN)) {
|
||||
packetWrapper.passthrough(Type.COMPONENT);
|
||||
}
|
||||
packetWrapper.passthrough(Type.OPTIONAL_COMPONENT);
|
||||
} else if (action == 4) { // Remove Player
|
||||
storage.usernames().remove(uuid);
|
||||
}
|
||||
|
||||
+1
-1
@@ -59,7 +59,7 @@ public class Protocol1_13_2To1_14 extends BackwardsProtocol<ClientboundPackets1_
|
||||
executeAsyncAfterLoaded(Protocol1_14To1_13_2.class, MAPPINGS::load);
|
||||
|
||||
translatableRewriter.registerBossBar(ClientboundPackets1_14.BOSSBAR);
|
||||
translatableRewriter.registerChatMessage(ClientboundPackets1_14.CHAT_MESSAGE);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_14.CHAT_MESSAGE);
|
||||
translatableRewriter.registerCombatEvent(ClientboundPackets1_14.COMBAT_EVENT);
|
||||
translatableRewriter.registerDisconnect(ClientboundPackets1_14.DISCONNECT);
|
||||
translatableRewriter.registerTabList(ClientboundPackets1_14.TAB_LIST);
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ public class Protocol1_13To1_13_1 extends BackwardsProtocol<ClientboundPackets1_
|
||||
WorldPackets1_13_1.register(this);
|
||||
|
||||
TranslatableRewriter translatableRewriter = new TranslatableRewriter(this);
|
||||
translatableRewriter.registerChatMessage(ClientboundPackets1_13.CHAT_MESSAGE);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_13.CHAT_MESSAGE);
|
||||
translatableRewriter.registerCombatEvent(ClientboundPackets1_13.COMBAT_EVENT);
|
||||
translatableRewriter.registerDisconnect(ClientboundPackets1_13.DISCONNECT);
|
||||
translatableRewriter.registerTabList(ClientboundPackets1_13.TAB_LIST);
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ public class Protocol1_14_4To1_15 extends BackwardsProtocol<ClientboundPackets1_
|
||||
executeAsyncAfterLoaded(Protocol1_15To1_14_4.class, MAPPINGS::load);
|
||||
|
||||
translatableRewriter.registerBossBar(ClientboundPackets1_15.BOSSBAR);
|
||||
translatableRewriter.registerChatMessage(ClientboundPackets1_15.CHAT_MESSAGE);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_15.CHAT_MESSAGE);
|
||||
translatableRewriter.registerCombatEvent(ClientboundPackets1_15.COMBAT_EVENT);
|
||||
translatableRewriter.registerDisconnect(ClientboundPackets1_15.DISCONNECT);
|
||||
translatableRewriter.registerOpenWindow(ClientboundPackets1_15.OPEN_WINDOW);
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ public class BlockItemPackets1_15 extends com.viaversion.viabackwards.api.rewrit
|
||||
registerSetCooldown(ClientboundPackets1_15.COOLDOWN);
|
||||
registerWindowItems(ClientboundPackets1_15.WINDOW_ITEMS, Type.FLAT_VAR_INT_ITEM_ARRAY);
|
||||
registerSetSlot(ClientboundPackets1_15.SET_SLOT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerTradeList(ClientboundPackets1_15.TRADE_LIST, Type.FLAT_VAR_INT_ITEM);
|
||||
registerTradeList(ClientboundPackets1_15.TRADE_LIST);
|
||||
registerEntityEquipment(ClientboundPackets1_15.ENTITY_EQUIPMENT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerAdvancements(ClientboundPackets1_15.ADVANCEMENTS, Type.FLAT_VAR_INT_ITEM);
|
||||
registerClickWindow(ServerboundPackets1_14.CLICK_WINDOW, Type.FLAT_VAR_INT_ITEM);
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ public class BackwardsMappings extends com.viaversion.viabackwards.api.data.Back
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void loadVBExtras(JsonObject oldMappings, JsonObject newMappings) {
|
||||
protected void loadVBExtras(JsonObject unmapped, JsonObject mapped) {
|
||||
for (Map.Entry<String, String> entry : Protocol1_16To1_15_2.MAPPINGS.getAttributeMappings().entrySet()) {
|
||||
attributeMappings.put(entry.getValue(), entry.getKey());
|
||||
}
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ public class BlockItemPackets1_16 extends com.viaversion.viabackwards.api.rewrit
|
||||
registerSetCooldown(ClientboundPackets1_16.COOLDOWN);
|
||||
registerWindowItems(ClientboundPackets1_16.WINDOW_ITEMS, Type.FLAT_VAR_INT_ITEM_ARRAY);
|
||||
registerSetSlot(ClientboundPackets1_16.SET_SLOT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerTradeList(ClientboundPackets1_16.TRADE_LIST, Type.FLAT_VAR_INT_ITEM);
|
||||
registerTradeList(ClientboundPackets1_16.TRADE_LIST);
|
||||
registerAdvancements(ClientboundPackets1_16.ADVANCEMENTS, Type.FLAT_VAR_INT_ITEM);
|
||||
|
||||
blockRewriter.registerAcknowledgePlayerDigging(ClientboundPackets1_16.ACKNOWLEDGE_PLAYER_DIGGING);
|
||||
|
||||
+5
-11
@@ -221,25 +221,19 @@ public class EntityPackets1_16 extends EntityRewriter<Protocol1_15_2To1_16> {
|
||||
for (int j = 0; j < properties; j++) {
|
||||
packetWrapper.passthrough(Type.STRING);
|
||||
packetWrapper.passthrough(Type.STRING);
|
||||
if (packetWrapper.passthrough(Type.BOOLEAN)) {
|
||||
packetWrapper.passthrough(Type.STRING);
|
||||
}
|
||||
packetWrapper.passthrough(Type.OPTIONAL_STRING);
|
||||
}
|
||||
packetWrapper.passthrough(Type.VAR_INT);
|
||||
packetWrapper.passthrough(Type.VAR_INT);
|
||||
if (packetWrapper.passthrough(Type.BOOLEAN)) {
|
||||
// Display Name
|
||||
protocol.getTranslatableRewriter().processText(packetWrapper.passthrough(Type.COMPONENT));
|
||||
}
|
||||
// Display Name
|
||||
protocol.getTranslatableRewriter().processText(packetWrapper.passthrough(Type.OPTIONAL_COMPONENT));
|
||||
} else if (action == 1) { // Update Game Mode
|
||||
packetWrapper.passthrough(Type.VAR_INT);
|
||||
} else if (action == 2) { // Update Ping
|
||||
packetWrapper.passthrough(Type.VAR_INT);
|
||||
} else if (action == 3) { // Update Display Name
|
||||
if (packetWrapper.passthrough(Type.BOOLEAN)) {
|
||||
// Display name
|
||||
protocol.getTranslatableRewriter().processText(packetWrapper.passthrough(Type.COMPONENT));
|
||||
}
|
||||
// Display name
|
||||
protocol.getTranslatableRewriter().processText(packetWrapper.passthrough(Type.OPTIONAL_COMPONENT));
|
||||
} // 4 = Remove Player
|
||||
}
|
||||
});
|
||||
|
||||
+2
-2
@@ -51,8 +51,8 @@ public class BlockItemPackets1_16_2 extends com.viaversion.viabackwards.api.rewr
|
||||
registerSetCooldown(ClientboundPackets1_16_2.COOLDOWN);
|
||||
registerWindowItems(ClientboundPackets1_16_2.WINDOW_ITEMS, Type.FLAT_VAR_INT_ITEM_ARRAY);
|
||||
registerSetSlot(ClientboundPackets1_16_2.SET_SLOT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerEntityEquipmentArray(ClientboundPackets1_16_2.ENTITY_EQUIPMENT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerTradeList(ClientboundPackets1_16_2.TRADE_LIST, Type.FLAT_VAR_INT_ITEM);
|
||||
registerEntityEquipmentArray(ClientboundPackets1_16_2.ENTITY_EQUIPMENT);
|
||||
registerTradeList(ClientboundPackets1_16_2.TRADE_LIST);
|
||||
registerAdvancements(ClientboundPackets1_16_2.ADVANCEMENTS, Type.FLAT_VAR_INT_ITEM);
|
||||
|
||||
protocol.registerClientbound(ClientboundPackets1_16_2.UNLOCK_RECIPES, new PacketRemapper() {
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ public final class Protocol1_16_4To1_17 extends BackwardsProtocol<ClientboundPac
|
||||
protected void registerPackets() {
|
||||
executeAsyncAfterLoaded(Protocol1_17To1_16_4.class, MAPPINGS::load);
|
||||
|
||||
translatableRewriter.registerChatMessage(ClientboundPackets1_17.CHAT_MESSAGE);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_17.CHAT_MESSAGE);
|
||||
translatableRewriter.registerBossBar(ClientboundPackets1_17.BOSSBAR);
|
||||
translatableRewriter.registerDisconnect(ClientboundPackets1_17.DISCONNECT);
|
||||
translatableRewriter.registerTabList(ClientboundPackets1_17.TAB_LIST);
|
||||
|
||||
+2
-2
@@ -66,8 +66,8 @@ public final class BlockItemPackets1_17 extends ItemRewriter<Protocol1_16_4To1_1
|
||||
|
||||
registerSetCooldown(ClientboundPackets1_17.COOLDOWN);
|
||||
registerWindowItems(ClientboundPackets1_17.WINDOW_ITEMS, Type.FLAT_VAR_INT_ITEM_ARRAY);
|
||||
registerEntityEquipmentArray(ClientboundPackets1_17.ENTITY_EQUIPMENT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerTradeList(ClientboundPackets1_17.TRADE_LIST, Type.FLAT_VAR_INT_ITEM);
|
||||
registerEntityEquipmentArray(ClientboundPackets1_17.ENTITY_EQUIPMENT);
|
||||
registerTradeList(ClientboundPackets1_17.TRADE_LIST);
|
||||
registerAdvancements(ClientboundPackets1_17.ADVANCEMENTS, Type.FLAT_VAR_INT_ITEM);
|
||||
|
||||
blockRewriter.registerAcknowledgePlayerDigging(ClientboundPackets1_17.ACKNOWLEDGE_PLAYER_DIGGING);
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ public final class BackwardsMappings extends com.viaversion.viabackwards.api.dat
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void loadVBExtras(final JsonObject oldMappings, final JsonObject newMappings) {
|
||||
protected void loadVBExtras(final JsonObject unmapped, final JsonObject mapped) {
|
||||
for (final Object2IntMap.Entry<String> entry : Protocol1_18To1_17_1.MAPPINGS.blockEntityIds().object2IntEntrySet()) {
|
||||
blockEntities.put(entry.getIntValue(), entry.getKey());
|
||||
}
|
||||
|
||||
+5
-5
@@ -58,12 +58,12 @@ public final class BlockItemPackets1_18 extends ItemRewriter<Protocol1_17_1To1_1
|
||||
new RecipeRewriter1_16(protocol).registerDefaultHandler(ClientboundPackets1_18.DECLARE_RECIPES);
|
||||
|
||||
registerSetCooldown(ClientboundPackets1_18.COOLDOWN);
|
||||
registerWindowItems1_17_1(ClientboundPackets1_18.WINDOW_ITEMS, Type.FLAT_VAR_INT_ITEM_ARRAY_VAR_INT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerSetSlot1_17_1(ClientboundPackets1_18.SET_SLOT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerEntityEquipmentArray(ClientboundPackets1_18.ENTITY_EQUIPMENT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerTradeList(ClientboundPackets1_18.TRADE_LIST, Type.FLAT_VAR_INT_ITEM);
|
||||
registerWindowItems1_17_1(ClientboundPackets1_18.WINDOW_ITEMS);
|
||||
registerSetSlot1_17_1(ClientboundPackets1_18.SET_SLOT);
|
||||
registerEntityEquipmentArray(ClientboundPackets1_18.ENTITY_EQUIPMENT);
|
||||
registerTradeList(ClientboundPackets1_18.TRADE_LIST);
|
||||
registerAdvancements(ClientboundPackets1_18.ADVANCEMENTS, Type.FLAT_VAR_INT_ITEM);
|
||||
registerClickWindow1_17_1(ServerboundPackets1_17.CLICK_WINDOW, Type.FLAT_VAR_INT_ITEM);
|
||||
registerClickWindow1_17_1(ServerboundPackets1_17.CLICK_WINDOW);
|
||||
|
||||
protocol.registerClientbound(ClientboundPackets1_18.EFFECT, new PacketRemapper() {
|
||||
@Override
|
||||
|
||||
+33
-51
@@ -17,7 +17,6 @@
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_18_2to1_19;
|
||||
|
||||
import com.google.common.base.Preconditions;
|
||||
import com.viaversion.viabackwards.ViaBackwards;
|
||||
import com.viaversion.viabackwards.api.BackwardsProtocol;
|
||||
import com.viaversion.viabackwards.api.rewriters.SoundRewriter;
|
||||
@@ -27,10 +26,10 @@ import com.viaversion.viabackwards.protocol.protocol1_18_2to1_19.data.CommandRew
|
||||
import com.viaversion.viabackwards.protocol.protocol1_18_2to1_19.packets.BlockItemPackets1_19;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_18_2to1_19.packets.EntityPackets1_19;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_18_2to1_19.storage.DimensionRegistryStorage;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.Protocol1_19To1_19_1;
|
||||
import com.viaversion.viaversion.api.connection.UserConnection;
|
||||
import com.viaversion.viaversion.api.minecraft.RegistryType;
|
||||
import com.viaversion.viaversion.api.minecraft.entities.Entity1_19Types;
|
||||
import com.viaversion.viaversion.api.protocol.packet.PacketWrapper;
|
||||
import com.viaversion.viaversion.api.protocol.packet.State;
|
||||
import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper;
|
||||
import com.viaversion.viaversion.api.rewriter.EntityRewriter;
|
||||
@@ -38,13 +37,13 @@ import com.viaversion.viaversion.api.rewriter.ItemRewriter;
|
||||
import com.viaversion.viaversion.api.type.Type;
|
||||
import com.viaversion.viaversion.data.entity.EntityTrackerBase;
|
||||
import com.viaversion.viaversion.libs.gson.JsonElement;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.Component;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.TextReplacementConfig;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.CompoundTag;
|
||||
import com.viaversion.viaversion.protocols.base.ClientboundLoginPackets;
|
||||
import com.viaversion.viaversion.protocols.base.ServerboundLoginPackets;
|
||||
import com.viaversion.viaversion.protocols.protocol1_17to1_16_4.ServerboundPackets1_17;
|
||||
import com.viaversion.viaversion.protocols.protocol1_18to1_17_1.ClientboundPackets1_18;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_1to1_19.ChatDecorationResult;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_1to1_19.Protocol1_19_1To1_19;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19to1_18_2.ClientboundPackets1_19;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19to1_18_2.Protocol1_19To1_18_2;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19to1_18_2.ServerboundPackets1_19;
|
||||
@@ -58,7 +57,6 @@ import java.util.UUID;
|
||||
public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPackets1_19, ClientboundPackets1_18, ServerboundPackets1_19, ServerboundPackets1_17> {
|
||||
|
||||
public static final BackwardsMappings MAPPINGS = new BackwardsMappings();
|
||||
private static final String[] CHAT_KEYS = {"chat.type.text", null, null, "chat.type.announcement", "commands.message.display.incoming", "chat.type.team.text", "chat.type.emote", null};
|
||||
private static final UUID ZERO_UUID = new UUID(0, 0);
|
||||
private static final byte[] EMPTY_BYTES = new byte[0];
|
||||
private final EntityPackets1_19 entityRewriter = new EntityPackets1_19(this);
|
||||
@@ -76,7 +74,6 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
|
||||
entityRewriter.onMappingDataLoaded();
|
||||
});
|
||||
|
||||
//TODO update translation mappings on release
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19.ACTIONBAR);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19.TITLE_TEXT);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19.TITLE_SUBTITLE);
|
||||
@@ -138,6 +135,7 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
|
||||
tagRewriter.removeTags("minecraft:instrument");
|
||||
tagRewriter.removeTags("minecraft:cat_variant");
|
||||
tagRewriter.removeTags("minecraft:painting_variant");
|
||||
tagRewriter.addEmptyTag(RegistryType.BLOCK, "minecraft:polar_bears_spawnable_on_in_frozen_ocean");
|
||||
tagRewriter.renameTag(RegistryType.BLOCK, "minecraft:wool_carpets", "minecraft:carpets");
|
||||
tagRewriter.renameTag(RegistryType.ITEM, "minecraft:wool_carpets", "minecraft:carpets");
|
||||
tagRewriter.addEmptyTag(RegistryType.ITEM, "minecraft:occludes_vibration_signals");
|
||||
@@ -192,18 +190,24 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
// Send the unsigned message if present, otherwise the signed message
|
||||
final JsonElement message = wrapper.read(Type.COMPONENT);
|
||||
final JsonElement unsignedMessage = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
wrapper.write(Type.COMPONENT, unsignedMessage != null ? unsignedMessage : message);
|
||||
});
|
||||
map(Type.VAR_INT, Type.BYTE); // Chat type
|
||||
map(Type.UUID); // Sender
|
||||
handler(wrapper -> {
|
||||
final JsonElement signedContent = wrapper.read(Type.COMPONENT);
|
||||
final JsonElement unsignedContent = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
final int chatTypeId = wrapper.read(Type.VAR_INT);
|
||||
final UUID sender = wrapper.read(Type.UUID);
|
||||
final JsonElement senderName = wrapper.read(Type.COMPONENT);
|
||||
final JsonElement teamName = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
final JsonElement element = wrapper.get(Type.COMPONENT, 0);
|
||||
handleChatType(wrapper, senderName, teamName, element);
|
||||
|
||||
final CompoundTag chatType = wrapper.user().get(DimensionRegistryStorage.class).chatType(chatTypeId);
|
||||
final ChatDecorationResult decorationResult = Protocol1_19_1To1_19.decorateChatMessage(chatType, chatTypeId, senderName, teamName, unsignedContent != null ? unsignedContent : signedContent);
|
||||
if (decorationResult == null) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
translatableRewriter.processText(decorationResult.content());
|
||||
wrapper.write(Type.COMPONENT, decorationResult.content());
|
||||
wrapper.write(Type.BYTE, decorationResult.overlay() ? (byte) 2 : 1);
|
||||
wrapper.write(Type.UUID, sender);
|
||||
});
|
||||
read(Type.LONG); // Timestamp
|
||||
read(Type.LONG); // Salt
|
||||
@@ -214,10 +218,15 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
|
||||
registerClientbound(ClientboundPackets1_19.SYSTEM_CHAT, ClientboundPackets1_18.CHAT_MESSAGE, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.COMPONENT); // Message
|
||||
map(Type.VAR_INT, Type.BYTE); // Chat type
|
||||
handler(wrapper -> {
|
||||
final JsonElement content = wrapper.passthrough(Type.COMPONENT);
|
||||
translatableRewriter.processText(content);
|
||||
|
||||
// Screw everything that isn't a system or game info type (which would only happen on funny 1.19.0 servers)
|
||||
final int typeId = wrapper.read(Type.VAR_INT);
|
||||
wrapper.write(Type.BYTE, typeId == Protocol1_19To1_19_1.GAME_INFO_ID ? (byte) 2 : (byte) 0);
|
||||
});
|
||||
create(Type.UUID, ZERO_UUID); // Sender
|
||||
handler(wrapper -> handleChatType(wrapper, null, null, wrapper.get(Type.COMPONENT, 0)));
|
||||
}
|
||||
});
|
||||
|
||||
@@ -225,7 +234,7 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Message
|
||||
create(Type.LONG, Instant.now().toEpochMilli()); // Timestamp
|
||||
handler(wrapper -> wrapper.write(Type.LONG, Instant.now().toEpochMilli())); // Timestamp
|
||||
create(Type.LONG, 0L); // Salt
|
||||
handler(wrapper -> {
|
||||
final String message = wrapper.get(Type.STRING, 0);
|
||||
@@ -233,11 +242,10 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
|
||||
wrapper.setPacketType(ServerboundPackets1_19.CHAT_COMMAND);
|
||||
wrapper.set(Type.STRING, 0, message.substring(1));
|
||||
wrapper.write(Type.VAR_INT, 0); // No signatures
|
||||
wrapper.write(Type.BOOLEAN, false); // No signed preview
|
||||
} else {
|
||||
wrapper.write(Type.BYTE_ARRAY_PRIMITIVE, EMPTY_BYTES); // Signature
|
||||
wrapper.write(Type.BOOLEAN, false); // No signed preview
|
||||
}
|
||||
wrapper.write(Type.BOOLEAN, false); // No signed preview
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -265,7 +273,8 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Name
|
||||
create(Type.BOOLEAN, false); // No public key - requiring this has to be disabled on the server
|
||||
// Write empty profile key - requires the enforce-secure-profiles option to be disabled on the server
|
||||
create(Type.OPTIONAL_PROFILE_KEY, null);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -303,31 +312,4 @@ public final class Protocol1_18_2To1_19 extends BackwardsProtocol<ClientboundPac
|
||||
public ItemRewriter getItemRewriter() {
|
||||
return blockItemPackets;
|
||||
}
|
||||
|
||||
private TextReplacementConfig replace(final JsonElement replacement) {
|
||||
return TextReplacementConfig.builder().matchLiteral("%s").replacement(GsonComponentSerializer.gson().deserializeFromTree(replacement)).once().build();
|
||||
}
|
||||
|
||||
private void handleChatType(final PacketWrapper wrapper, final JsonElement senderName, final JsonElement teamName, final JsonElement text) throws Exception {
|
||||
translatableRewriter.processText(text);
|
||||
|
||||
final byte type = wrapper.get(Type.BYTE, 0);
|
||||
if (type > 2) {
|
||||
wrapper.set(Type.BYTE, 0, (byte) 0); // Chat type
|
||||
}
|
||||
|
||||
final String key = CHAT_KEYS[type];
|
||||
if (key != null) {
|
||||
Component component = Component.text(ViaBackwards.getConfig().chatTypeFormat(key));
|
||||
if (key.equals("chat.type.team.text")) {
|
||||
Preconditions.checkNotNull(teamName, "Team name is null");
|
||||
component = component.replaceText(replace(teamName));
|
||||
}
|
||||
if (senderName != null) {
|
||||
component = component.replaceText(replace(senderName));
|
||||
}
|
||||
component = component.replaceText(replace(text));
|
||||
wrapper.set(Type.COMPONENT, 0, GsonComponentSerializer.gson().serializeToTree(component));
|
||||
}
|
||||
}
|
||||
}
|
||||
+28
-3
@@ -17,33 +17,58 @@
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_18_2to1_19.data;
|
||||
|
||||
import com.viaversion.viabackwards.api.data.VBMappingDataLoader;
|
||||
import com.viaversion.viaversion.api.minecraft.nbt.BinaryTagIO;
|
||||
import com.viaversion.viaversion.libs.fastutil.ints.Int2ObjectMap;
|
||||
import com.viaversion.viaversion.libs.fastutil.ints.Int2ObjectOpenHashMap;
|
||||
import com.viaversion.viaversion.libs.gson.JsonArray;
|
||||
import com.viaversion.viaversion.libs.gson.JsonElement;
|
||||
import com.viaversion.viaversion.libs.gson.JsonObject;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.CompoundTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.ListTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.NumberTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.Tag;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19to1_18_2.Protocol1_19To1_18_2;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public final class BackwardsMappings extends com.viaversion.viabackwards.api.data.BackwardsMappings {
|
||||
|
||||
private String[] argumentTypes;
|
||||
private final Int2ObjectMap<CompoundTag> defaultChatTypes = new Int2ObjectOpenHashMap<>();
|
||||
|
||||
public BackwardsMappings() {
|
||||
super("1.19", "1.18", Protocol1_19To1_18_2.class, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void loadExtras(final JsonObject oldMappings, final JsonObject newMappings, @Nullable final JsonObject diffMappings) {
|
||||
super.loadExtras(oldMappings, newMappings, diffMappings);
|
||||
protected void loadVBExtras(final JsonObject unmapped, final JsonObject mapped) {
|
||||
int i = 0;
|
||||
final JsonArray types = oldMappings.getAsJsonArray("argumenttypes");
|
||||
final JsonArray types = unmapped.getAsJsonArray("argumenttypes");
|
||||
this.argumentTypes = new String[types.size()];
|
||||
for (final JsonElement element : types) {
|
||||
final String id = element.getAsString();
|
||||
this.argumentTypes[i++] = id;
|
||||
}
|
||||
|
||||
try {
|
||||
final ListTag chatTypes = BinaryTagIO.readCompressedInputStream(VBMappingDataLoader.getResource("chat-types-1.19.1.nbt")).get("values");
|
||||
for (final Tag chatType : chatTypes) {
|
||||
final CompoundTag chatTypeCompound = (CompoundTag) chatType;
|
||||
final NumberTag idTag = chatTypeCompound.get("id");
|
||||
defaultChatTypes.put(idTag.asInt(), chatTypeCompound);
|
||||
}
|
||||
} catch (final IOException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public @Nullable String argumentType(final int argumentTypeId) {
|
||||
return argumentTypeId >= 0 && argumentTypeId < argumentTypes.length ? argumentTypes[argumentTypeId] : null;
|
||||
}
|
||||
|
||||
public @Nullable CompoundTag chatType(final int id) {
|
||||
return defaultChatTypes.get(id);
|
||||
}
|
||||
}
|
||||
+33
-7
@@ -25,6 +25,7 @@ import com.viaversion.viaversion.api.minecraft.chunks.Chunk;
|
||||
import com.viaversion.viaversion.api.minecraft.chunks.ChunkSection;
|
||||
import com.viaversion.viaversion.api.minecraft.chunks.DataPalette;
|
||||
import com.viaversion.viaversion.api.minecraft.chunks.PaletteType;
|
||||
import com.viaversion.viaversion.api.minecraft.item.Item;
|
||||
import com.viaversion.viaversion.api.protocol.packet.PacketWrapper;
|
||||
import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper;
|
||||
import com.viaversion.viaversion.api.type.Type;
|
||||
@@ -48,12 +49,11 @@ public final class BlockItemPackets1_19 extends ItemRewriter<Protocol1_18_2To1_1
|
||||
new RecipeRewriter1_16(protocol).registerDefaultHandler(ClientboundPackets1_19.DECLARE_RECIPES);
|
||||
|
||||
registerSetCooldown(ClientboundPackets1_19.COOLDOWN);
|
||||
registerWindowItems1_17_1(ClientboundPackets1_19.WINDOW_ITEMS, Type.FLAT_VAR_INT_ITEM_ARRAY_VAR_INT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerSetSlot1_17_1(ClientboundPackets1_19.SET_SLOT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerEntityEquipmentArray(ClientboundPackets1_19.ENTITY_EQUIPMENT, Type.FLAT_VAR_INT_ITEM);
|
||||
registerTradeList(ClientboundPackets1_19.TRADE_LIST, Type.FLAT_VAR_INT_ITEM);
|
||||
registerWindowItems1_17_1(ClientboundPackets1_19.WINDOW_ITEMS);
|
||||
registerSetSlot1_17_1(ClientboundPackets1_19.SET_SLOT);
|
||||
registerEntityEquipmentArray(ClientboundPackets1_19.ENTITY_EQUIPMENT);
|
||||
registerAdvancements(ClientboundPackets1_19.ADVANCEMENTS, Type.FLAT_VAR_INT_ITEM);
|
||||
registerClickWindow1_17_1(ServerboundPackets1_17.CLICK_WINDOW, Type.FLAT_VAR_INT_ITEM);
|
||||
registerClickWindow1_17_1(ServerboundPackets1_17.CLICK_WINDOW);
|
||||
|
||||
blockRewriter.registerBlockAction(ClientboundPackets1_19.BLOCK_ACTION);
|
||||
blockRewriter.registerBlockChange(ClientboundPackets1_19.BLOCK_CHANGE);
|
||||
@@ -61,10 +61,36 @@ public final class BlockItemPackets1_19 extends ItemRewriter<Protocol1_18_2To1_1
|
||||
blockRewriter.registerEffect(ClientboundPackets1_19.EFFECT, 1010, 2001);
|
||||
|
||||
registerCreativeInvAction(ServerboundPackets1_17.CREATIVE_INVENTORY_ACTION, Type.FLAT_VAR_INT_ITEM);
|
||||
protocol.registerServerbound(ServerboundPackets1_17.EDIT_BOOK, new PacketRemapper() {
|
||||
|
||||
protocol.registerClientbound(ClientboundPackets1_19.TRADE_LIST, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> handleItemToServer(wrapper.passthrough(Type.FLAT_VAR_INT_ITEM)));
|
||||
map(Type.VAR_INT); // Container id
|
||||
handler(wrapper -> {
|
||||
final int size = wrapper.read(Type.VAR_INT);
|
||||
wrapper.write(Type.UNSIGNED_BYTE, (short) size);
|
||||
for (int i = 0; i < size; i++) {
|
||||
handleItemToClient(wrapper.passthrough(Type.FLAT_VAR_INT_ITEM)); // First item
|
||||
handleItemToClient(wrapper.passthrough(Type.FLAT_VAR_INT_ITEM)); // Result
|
||||
|
||||
final Item secondItem = wrapper.read(Type.FLAT_VAR_INT_ITEM);
|
||||
if (secondItem != null) {
|
||||
handleItemToClient(secondItem);
|
||||
wrapper.write(Type.BOOLEAN, true);
|
||||
wrapper.write(Type.FLAT_VAR_INT_ITEM, secondItem);
|
||||
} else {
|
||||
wrapper.write(Type.BOOLEAN, false);
|
||||
}
|
||||
|
||||
wrapper.passthrough(Type.BOOLEAN); // Out of stock
|
||||
wrapper.passthrough(Type.INT); // Uses
|
||||
wrapper.passthrough(Type.INT); // Max uses
|
||||
wrapper.passthrough(Type.INT); // Xp
|
||||
wrapper.passthrough(Type.INT); // Special price diff
|
||||
wrapper.passthrough(Type.FLOAT); // Price multiplier
|
||||
wrapper.passthrough(Type.INT); //Demand
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
+39
-46
@@ -35,14 +35,12 @@ import com.viaversion.viaversion.api.type.types.version.Types1_18;
|
||||
import com.viaversion.viaversion.api.type.types.version.Types1_19;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.CompoundTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.ListTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.NumberTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.StringTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.Tag;
|
||||
import com.viaversion.viaversion.protocols.protocol1_18to1_17_1.ClientboundPackets1_18;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19to1_18_2.ClientboundPackets1_19;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public final class EntityPackets1_19 extends EntityRewriter<Protocol1_18_2To1_19> {
|
||||
|
||||
public EntityPackets1_19(final Protocol1_18_2To1_19 protocol) {
|
||||
@@ -127,27 +125,45 @@ public final class EntityPackets1_19 extends EntityRewriter<Protocol1_18_2To1_19
|
||||
map(Type.STRING_ARRAY); // Worlds
|
||||
map(Type.NBT); // Dimension registry
|
||||
handler(wrapper -> {
|
||||
final DimensionRegistryStorage dimensionRegistryStorage = wrapper.user().get(DimensionRegistryStorage.class);
|
||||
dimensionRegistryStorage.clear();
|
||||
|
||||
// Cache dimensions and find current dimension
|
||||
final String dimensionKey = wrapper.read(Type.STRING);
|
||||
final ListTag dimensions = ((CompoundTag) wrapper.get(Type.NBT, 0).get("minecraft:dimension_type")).get("value");
|
||||
final Map<String, CompoundTag> dimensionsMap = new HashMap<>(dimensions.size());
|
||||
final CompoundTag registry = wrapper.get(Type.NBT, 0);
|
||||
final ListTag dimensions = ((CompoundTag) registry.get("minecraft:dimension_type")).get("value");
|
||||
boolean found = false;
|
||||
for (final Tag dimension : dimensions) {
|
||||
final CompoundTag dimensionCompound = (CompoundTag) dimension;
|
||||
final StringTag nameTag = dimensionCompound.get("name");
|
||||
final CompoundTag dimensionData = dimensionCompound.get("element");
|
||||
dimensionsMap.put(nameTag.getValue(), dimensionData.clone());
|
||||
dimensionRegistryStorage.addDimension(nameTag.getValue(), dimensionData.clone());
|
||||
|
||||
if (!found && nameTag.getValue().equals(dimensionKey)) {
|
||||
wrapper.write(Type.NBT, dimensionData);
|
||||
found = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!found) {
|
||||
throw new IllegalStateException("Could not find dimension " + dimensionKey + " in dimension registry");
|
||||
}
|
||||
|
||||
wrapper.user().get(DimensionRegistryStorage.class).setDimensions(dimensionsMap);
|
||||
// Add biome category and track biomes
|
||||
final CompoundTag biomeRegistry = registry.get("minecraft:worldgen/biome");
|
||||
final ListTag biomes = biomeRegistry.get("value");
|
||||
for (final Tag biome : biomes.getValue()) {
|
||||
final CompoundTag biomeCompound = ((CompoundTag) biome).get("element");
|
||||
biomeCompound.put("category", new StringTag("none"));
|
||||
}
|
||||
tracker(wrapper.user()).setBiomesSent(biomes.size());
|
||||
|
||||
// Cache and remove chat types
|
||||
final ListTag chatTypes = ((CompoundTag) registry.remove("minecraft:chat_type")).get("value");
|
||||
for (final Tag chatType : chatTypes) {
|
||||
final CompoundTag chatTypeCompound = (CompoundTag) chatType;
|
||||
final NumberTag idTag = chatTypeCompound.get("id");
|
||||
dimensionRegistryStorage.addChatType(idTag.asInt(), chatTypeCompound);
|
||||
}
|
||||
});
|
||||
map(Type.STRING); // World
|
||||
map(Type.LONG); // Seed
|
||||
@@ -161,20 +177,6 @@ public final class EntityPackets1_19 extends EntityRewriter<Protocol1_18_2To1_19
|
||||
read(Type.OPTIONAL_GLOBAL_POSITION); // Read last death location
|
||||
handler(worldDataTrackerHandler(1));
|
||||
handler(playerTrackerHandler());
|
||||
handler(wrapper -> {
|
||||
final CompoundTag registry = wrapper.get(Type.NBT, 0);
|
||||
final CompoundTag biomeRegistry = registry.get("minecraft:worldgen/biome");
|
||||
final ListTag biomes = biomeRegistry.get("value");
|
||||
for (final Tag biome : biomes.getValue()) {
|
||||
final CompoundTag biomeCompound = ((CompoundTag) biome).get("element");
|
||||
biomeCompound.put("category", new StringTag("none"));
|
||||
}
|
||||
|
||||
registry.remove("minecraft:chat_type");
|
||||
|
||||
// Track amount of biomes sent
|
||||
tracker(wrapper.user()).setBiomesSent(biomes.size());
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -217,29 +219,19 @@ public final class EntityPackets1_19 extends EntityRewriter<Protocol1_18_2To1_19
|
||||
for (int j = 0; j < properties; j++) {
|
||||
wrapper.passthrough(Type.STRING); // Name
|
||||
wrapper.passthrough(Type.STRING); // Value
|
||||
if (wrapper.passthrough(Type.BOOLEAN)) {
|
||||
wrapper.passthrough(Type.STRING); // Signature
|
||||
}
|
||||
wrapper.passthrough(Type.OPTIONAL_STRING); // Signature
|
||||
}
|
||||
|
||||
wrapper.passthrough(Type.VAR_INT); // Gamemode
|
||||
wrapper.passthrough(Type.VAR_INT); // Ping
|
||||
if (wrapper.passthrough(Type.BOOLEAN)) {
|
||||
wrapper.passthrough(Type.COMPONENT); // Display name
|
||||
}
|
||||
wrapper.passthrough(Type.OPTIONAL_COMPONENT); // Display name
|
||||
|
||||
// Remove public profile signature
|
||||
if (wrapper.read(Type.BOOLEAN)) {
|
||||
wrapper.read(Type.LONG); // Timestamp
|
||||
wrapper.read(Type.BYTE_ARRAY_PRIMITIVE); // Key
|
||||
wrapper.read(Type.BYTE_ARRAY_PRIMITIVE); // Signature
|
||||
}
|
||||
wrapper.read(Type.OPTIONAL_PROFILE_KEY);
|
||||
} else if (action == 1 || action == 2) { // Update gamemode/update latency
|
||||
wrapper.passthrough(Type.VAR_INT);
|
||||
} else if (action == 3) { // Update display name
|
||||
if (wrapper.passthrough(Type.BOOLEAN)) {
|
||||
wrapper.passthrough(Type.COMPONENT);
|
||||
}
|
||||
wrapper.passthrough(Type.OPTIONAL_COMPONENT);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -248,7 +240,7 @@ public final class EntityPackets1_19 extends EntityRewriter<Protocol1_18_2To1_19
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onMappingDataLoaded() {
|
||||
protected void registerRewrites() {
|
||||
filter().handler((event, meta) -> {
|
||||
if (meta.metaType().typeId() <= Types1_18.META_TYPES.poseType.typeId()) {
|
||||
meta.setMetaType(Types1_18.META_TYPES.byId(meta.metaType().typeId()));
|
||||
@@ -284,8 +276,6 @@ public final class EntityPackets1_19 extends EntityRewriter<Protocol1_18_2To1_19
|
||||
|
||||
registerMetaTypeHandler(Types1_18.META_TYPES.itemType, Types1_18.META_TYPES.blockStateType, null, Types1_18.META_TYPES.optionalComponentType);
|
||||
|
||||
mapTypes();
|
||||
|
||||
filter().filterFamily(Entity1_19Types.MINECART_ABSTRACT).index(11).handler((event, meta) -> {
|
||||
final int data = (int) meta.getValue();
|
||||
meta.setValue(protocol.getMappingData().getNewBlockStateId(data));
|
||||
@@ -317,20 +307,23 @@ public final class EntityPackets1_19 extends EntityRewriter<Protocol1_18_2To1_19
|
||||
filter().type(Entity1_19Types.FROG).cancel(16); // Age
|
||||
filter().type(Entity1_19Types.FROG).cancel(17); // Variant
|
||||
filter().type(Entity1_19Types.FROG).cancel(18); // Tongue target
|
||||
mapEntityTypeWithData(Entity1_19Types.FROG, Entity1_19Types.RABBIT).jsonName();
|
||||
|
||||
mapEntityTypeWithData(Entity1_19Types.TADPOLE, Entity1_19Types.PUFFERFISH).jsonName();
|
||||
mapEntityTypeWithData(Entity1_19Types.CHEST_BOAT, Entity1_19Types.BOAT);
|
||||
|
||||
filter().type(Entity1_19Types.WARDEN).cancel(16); // Anger
|
||||
mapEntityTypeWithData(Entity1_19Types.WARDEN, Entity1_19Types.IRON_GOLEM).jsonName();
|
||||
|
||||
mapEntityTypeWithData(Entity1_19Types.ALLAY, Entity1_19Types.VEX).jsonName();
|
||||
|
||||
filter().type(Entity1_19Types.GOAT).cancel(18);
|
||||
filter().type(Entity1_19Types.GOAT).cancel(19);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onMappingDataLoaded() {
|
||||
mapTypes();
|
||||
mapEntityTypeWithData(Entity1_19Types.FROG, Entity1_19Types.RABBIT).jsonName();
|
||||
mapEntityTypeWithData(Entity1_19Types.TADPOLE, Entity1_19Types.PUFFERFISH).jsonName();
|
||||
mapEntityTypeWithData(Entity1_19Types.CHEST_BOAT, Entity1_19Types.BOAT);
|
||||
mapEntityTypeWithData(Entity1_19Types.WARDEN, Entity1_19Types.IRON_GOLEM).jsonName();
|
||||
mapEntityTypeWithData(Entity1_19Types.ALLAY, Entity1_19Types.VEX).jsonName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityType typeFromId(final int typeId) {
|
||||
return Entity1_19Types.getTypeFromId(typeId);
|
||||
|
||||
+20
-3
@@ -17,7 +17,10 @@
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_18_2to1_19.storage;
|
||||
|
||||
import com.viaversion.viabackwards.protocol.protocol1_18_2to1_19.Protocol1_18_2To1_19;
|
||||
import com.viaversion.viaversion.api.connection.StorableObject;
|
||||
import com.viaversion.viaversion.libs.fastutil.ints.Int2ObjectMap;
|
||||
import com.viaversion.viaversion.libs.fastutil.ints.Int2ObjectOpenHashMap;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.CompoundTag;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
@@ -26,15 +29,29 @@ import java.util.Map;
|
||||
|
||||
public final class DimensionRegistryStorage implements StorableObject {
|
||||
|
||||
private Map<String, CompoundTag> dimensions = new HashMap<>();
|
||||
private final Map<String, CompoundTag> dimensions = new HashMap<>();
|
||||
private final Int2ObjectMap<CompoundTag> chatTypes = new Int2ObjectOpenHashMap<>();
|
||||
|
||||
public @Nullable CompoundTag dimension(final String dimensionKey) {
|
||||
final CompoundTag compoundTag = dimensions.get(dimensionKey);
|
||||
return compoundTag != null ? compoundTag.clone() : null;
|
||||
}
|
||||
|
||||
public void setDimensions(final Map<String, CompoundTag> dimensions) {
|
||||
this.dimensions = dimensions;
|
||||
public void addDimension(final String dimensionKey, final CompoundTag dimension) {
|
||||
dimensions.put(dimensionKey, dimension);
|
||||
}
|
||||
|
||||
public @Nullable CompoundTag chatType(final int id) {
|
||||
return chatTypes.isEmpty() ? Protocol1_18_2To1_19.MAPPINGS.chatType(id) : chatTypes.get(id);
|
||||
}
|
||||
|
||||
public void addChatType(final int id, final CompoundTag chatType) {
|
||||
chatTypes.put(id, chatType);
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
dimensions.clear();
|
||||
chatTypes.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+404
@@ -0,0 +1,404 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3;
|
||||
|
||||
import com.google.common.base.Preconditions;
|
||||
import com.viaversion.viabackwards.api.BackwardsProtocol;
|
||||
import com.viaversion.viabackwards.api.rewriters.SoundRewriter;
|
||||
import com.viaversion.viabackwards.api.rewriters.TranslatableRewriter;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.data.BackwardsMappings;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.packets.BlockItemPackets1_19_3;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.packets.EntityPackets1_19_3;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.storage.ChatSessionStorage;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.storage.ChatTypeStorage1_19_3;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.storage.NonceStorage;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.Protocol1_19To1_19_1;
|
||||
import com.viaversion.viaversion.api.connection.UserConnection;
|
||||
import com.viaversion.viaversion.api.minecraft.ProfileKey;
|
||||
import com.viaversion.viaversion.api.minecraft.RegistryType;
|
||||
import com.viaversion.viaversion.api.minecraft.entities.Entity1_19_3Types;
|
||||
import com.viaversion.viaversion.api.protocol.packet.State;
|
||||
import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper;
|
||||
import com.viaversion.viaversion.api.rewriter.EntityRewriter;
|
||||
import com.viaversion.viaversion.api.rewriter.ItemRewriter;
|
||||
import com.viaversion.viaversion.api.type.Type;
|
||||
import com.viaversion.viaversion.api.type.types.BitSetType;
|
||||
import com.viaversion.viaversion.api.type.types.ByteArrayType;
|
||||
import com.viaversion.viaversion.data.entity.EntityTrackerBase;
|
||||
import com.viaversion.viaversion.libs.gson.JsonElement;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.Component;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
|
||||
import com.viaversion.viaversion.protocols.base.ClientboundLoginPackets;
|
||||
import com.viaversion.viaversion.protocols.base.ServerboundLoginPackets;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_1to1_19.ClientboundPackets1_19_1;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_1to1_19.ServerboundPackets1_19_1;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_3to1_19_1.ClientboundPackets1_19_3;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_3to1_19_1.Protocol1_19_3To1_19_1;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_3to1_19_1.ServerboundPackets1_19_3;
|
||||
import com.viaversion.viaversion.rewriter.CommandRewriter;
|
||||
import com.viaversion.viaversion.rewriter.StatisticsRewriter;
|
||||
import com.viaversion.viaversion.rewriter.TagRewriter;
|
||||
import com.viaversion.viaversion.util.CipherUtil;
|
||||
|
||||
import java.util.BitSet;
|
||||
|
||||
public final class Protocol1_19_1To1_19_3 extends BackwardsProtocol<ClientboundPackets1_19_3, ClientboundPackets1_19_1, ServerboundPackets1_19_3, ServerboundPackets1_19_1> {
|
||||
|
||||
public static final BackwardsMappings MAPPINGS = new BackwardsMappings();
|
||||
private static final ByteArrayType.OptionalByteArrayType OPTIONAL_SIGNATURE_BYTES_TYPE = new ByteArrayType.OptionalByteArrayType(256);
|
||||
private static final ByteArrayType SIGNATURE_BYTES_TYPE = new ByteArrayType(256);
|
||||
private final EntityPackets1_19_3 entityRewriter = new EntityPackets1_19_3(this);
|
||||
private final BlockItemPackets1_19_3 itemRewriter = new BlockItemPackets1_19_3(this);
|
||||
private final TranslatableRewriter translatableRewriter = new TranslatableRewriter(this);
|
||||
|
||||
public Protocol1_19_1To1_19_3() {
|
||||
super(ClientboundPackets1_19_3.class, ClientboundPackets1_19_1.class, ServerboundPackets1_19_3.class, ServerboundPackets1_19_1.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void registerPackets() {
|
||||
executeAsyncAfterLoaded(Protocol1_19_3To1_19_1.class, () -> {
|
||||
MAPPINGS.load();
|
||||
entityRewriter.onMappingDataLoaded();
|
||||
});
|
||||
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19_3.SYSTEM_CHAT);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19_3.ACTIONBAR);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19_3.TITLE_TEXT);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19_3.TITLE_SUBTITLE);
|
||||
translatableRewriter.registerBossBar(ClientboundPackets1_19_3.BOSSBAR);
|
||||
translatableRewriter.registerDisconnect(ClientboundPackets1_19_3.DISCONNECT);
|
||||
translatableRewriter.registerTabList(ClientboundPackets1_19_3.TAB_LIST);
|
||||
translatableRewriter.registerOpenWindow(ClientboundPackets1_19_3.OPEN_WINDOW);
|
||||
translatableRewriter.registerCombatKill(ClientboundPackets1_19_3.COMBAT_KILL);
|
||||
translatableRewriter.registerPing();
|
||||
|
||||
itemRewriter.register();
|
||||
entityRewriter.register();
|
||||
|
||||
final SoundRewriter soundRewriter = new SoundRewriter(this);
|
||||
soundRewriter.registerStopSound(ClientboundPackets1_19_3.STOP_SOUND);
|
||||
registerClientbound(ClientboundPackets1_19_3.SOUND, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
final int soundId = wrapper.read(Type.VAR_INT) - 1; // Normalize the id
|
||||
if (soundId != -1) {
|
||||
final int mappedId = MAPPINGS.getSoundMappings().getNewId(soundId);
|
||||
if (mappedId == -1) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
wrapper.write(Type.VAR_INT, mappedId + 1);
|
||||
return;
|
||||
}
|
||||
|
||||
String soundIdentifier = wrapper.read(Type.STRING);
|
||||
wrapper.read(Type.OPTIONAL_FLOAT); // Fixed range
|
||||
final String mappedIdentifier = MAPPINGS.getMappedNamedSound(soundIdentifier);
|
||||
if (mappedIdentifier != null) {
|
||||
if (mappedIdentifier.isEmpty()) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
soundIdentifier = mappedIdentifier;
|
||||
}
|
||||
|
||||
wrapper.write(Type.STRING, soundIdentifier);
|
||||
wrapper.setPacketType(ClientboundPackets1_19_1.NAMED_SOUND);
|
||||
});
|
||||
}
|
||||
});
|
||||
registerClientbound(ClientboundPackets1_19_3.ENTITY_SOUND, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
final int soundId = wrapper.read(Type.VAR_INT) - 1; // Normalize the id
|
||||
if (soundId != -1) {
|
||||
final int mappedId = MAPPINGS.getSoundMappings().getNewId(soundId);
|
||||
if (mappedId == -1) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
wrapper.write(Type.VAR_INT, mappedId + 1);
|
||||
}
|
||||
|
||||
// Convert the resource location to the corresponding integer id
|
||||
String soundIdentifier = wrapper.read(Type.STRING);
|
||||
wrapper.read(Type.OPTIONAL_FLOAT); // Fixed range
|
||||
final String mappedIdentifier = MAPPINGS.getMappedNamedSound(soundIdentifier);
|
||||
if (mappedIdentifier != null) {
|
||||
if (mappedIdentifier.isEmpty()) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
soundIdentifier = mappedIdentifier;
|
||||
}
|
||||
|
||||
final int mappedId = MAPPINGS.mappedSound(soundIdentifier);
|
||||
if (mappedId == -1) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
wrapper.write(Type.VAR_INT, mappedId);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
final TagRewriter tagRewriter = new TagRewriter(this);
|
||||
tagRewriter.addEmptyTag(RegistryType.BLOCK, "minecraft:non_flammable_wood");
|
||||
tagRewriter.addEmptyTag(RegistryType.ITEM, "minecraft:overworld_natural_logs");
|
||||
tagRewriter.registerGeneric(ClientboundPackets1_19_3.TAGS);
|
||||
|
||||
new StatisticsRewriter(this).register(ClientboundPackets1_19_3.STATISTICS);
|
||||
|
||||
final CommandRewriter commandRewriter = new CommandRewriter(this);
|
||||
registerClientbound(ClientboundPackets1_19_3.DECLARE_COMMANDS, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
final int size = wrapper.passthrough(Type.VAR_INT);
|
||||
for (int i = 0; i < size; i++) {
|
||||
final byte flags = wrapper.passthrough(Type.BYTE);
|
||||
wrapper.passthrough(Type.VAR_INT_ARRAY_PRIMITIVE); // Children indices
|
||||
if ((flags & 0x08) != 0) {
|
||||
wrapper.passthrough(Type.VAR_INT); // Redirect node index
|
||||
}
|
||||
|
||||
final int nodeType = flags & 0x03;
|
||||
if (nodeType == 1 || nodeType == 2) { // Literal/argument node
|
||||
wrapper.passthrough(Type.STRING); // Name
|
||||
}
|
||||
|
||||
if (nodeType == 2) { // Argument node
|
||||
final int argumentTypeId = wrapper.read(Type.VAR_INT);
|
||||
final int mappedArgumentTypeId = MAPPINGS.getArgumentTypeMappings().mappings().getNewId(argumentTypeId);
|
||||
Preconditions.checkArgument(mappedArgumentTypeId != -1, "Unknown command argument type id: " + argumentTypeId);
|
||||
wrapper.write(Type.VAR_INT, mappedArgumentTypeId);
|
||||
|
||||
final String identifier = MAPPINGS.getArgumentTypeMappings().identifier(argumentTypeId);
|
||||
commandRewriter.handleArgument(wrapper, identifier);
|
||||
if (identifier.equals("minecraft:gamemode")) {
|
||||
wrapper.write(Type.VAR_INT, 0); // Word
|
||||
}
|
||||
|
||||
if ((flags & 0x10) != 0) {
|
||||
wrapper.passthrough(Type.STRING); // Suggestion type
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
wrapper.passthrough(Type.VAR_INT); // Root node index
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
registerClientbound(ClientboundPackets1_19_3.SERVER_DATA, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.OPTIONAL_COMPONENT); // Motd
|
||||
map(Type.OPTIONAL_STRING); // Encoded icon
|
||||
create(Type.BOOLEAN, false); // Previews chat
|
||||
}
|
||||
});
|
||||
|
||||
// Remove the key once again
|
||||
registerServerbound(State.LOGIN, ServerboundLoginPackets.HELLO.getId(), ServerboundLoginPackets.HELLO.getId(), new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Name
|
||||
handler(wrapper -> {
|
||||
final ProfileKey profileKey = wrapper.read(Type.OPTIONAL_PROFILE_KEY);
|
||||
if (profileKey == null) {
|
||||
wrapper.user().put(new NonceStorage(null));
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
registerClientbound(State.LOGIN, ClientboundLoginPackets.HELLO.getId(), ClientboundLoginPackets.HELLO.getId(), new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Server id
|
||||
handler(wrapper -> {
|
||||
if (wrapper.user().has(NonceStorage.class)) {
|
||||
return;
|
||||
}
|
||||
final byte[] publicKey = wrapper.passthrough(Type.BYTE_ARRAY_PRIMITIVE);
|
||||
final byte[] nonce = wrapper.passthrough(Type.BYTE_ARRAY_PRIMITIVE);
|
||||
wrapper.user().put(new NonceStorage(CipherUtil.encryptNonce(publicKey, nonce)));
|
||||
});
|
||||
}
|
||||
});
|
||||
registerServerbound(State.LOGIN, ServerboundLoginPackets.ENCRYPTION_KEY.getId(), ServerboundLoginPackets.ENCRYPTION_KEY.getId(), new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.BYTE_ARRAY_PRIMITIVE); // Keys
|
||||
handler(wrapper -> {
|
||||
final NonceStorage nonceStorage = wrapper.user().remove(NonceStorage.class);
|
||||
final boolean isNonce = wrapper.read(Type.BOOLEAN);
|
||||
if (!isNonce) {
|
||||
wrapper.read(Type.LONG); // Salt
|
||||
wrapper.read(Type.BYTE_ARRAY_PRIMITIVE); // Signature
|
||||
wrapper.write(Type.BYTE_ARRAY_PRIMITIVE, nonceStorage.nonce() != null ? nonceStorage.nonce() : new byte[0]);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
registerServerbound(ServerboundPackets1_19_1.CHAT_MESSAGE, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Message
|
||||
map(Type.LONG); // Timestamp
|
||||
map(Type.LONG); // Salt
|
||||
read(Type.BYTE_ARRAY_PRIMITIVE); // Signature
|
||||
create(OPTIONAL_SIGNATURE_BYTES_TYPE, null); // No signature
|
||||
read(Type.BOOLEAN); // Signed preview
|
||||
read(Type.PLAYER_MESSAGE_SIGNATURE_ARRAY); // Last seen messages
|
||||
read(Type.OPTIONAL_PLAYER_MESSAGE_SIGNATURE); // Last received message
|
||||
handler(wrapper -> {
|
||||
//TODO is this fine (probably not)? same for chat_command
|
||||
final int offset = 0;
|
||||
final BitSet acknowledged = new BitSet(20);
|
||||
wrapper.write(Type.VAR_INT, offset);
|
||||
wrapper.write(new BitSetType(20), acknowledged);
|
||||
});
|
||||
}
|
||||
});
|
||||
registerServerbound(ServerboundPackets1_19_1.CHAT_COMMAND, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Command
|
||||
map(Type.LONG); // Timestamp
|
||||
map(Type.LONG); // Salt
|
||||
handler(wrapper -> {
|
||||
final int signatures = wrapper.read(Type.VAR_INT);
|
||||
wrapper.write(Type.VAR_INT, 0);
|
||||
for (int i = 0; i < signatures; i++) {
|
||||
wrapper.read(Type.STRING); // Name
|
||||
wrapper.read(Type.BYTE_ARRAY_PRIMITIVE); // Signature
|
||||
}
|
||||
wrapper.read(Type.BOOLEAN); // Signed preview
|
||||
|
||||
final int offset = 0;
|
||||
final BitSet acknowledged = new BitSet(20);
|
||||
wrapper.write(Type.VAR_INT, offset);
|
||||
wrapper.write(new BitSetType(20), acknowledged);
|
||||
});
|
||||
read(Type.PLAYER_MESSAGE_SIGNATURE_ARRAY); // Last seen messages
|
||||
read(Type.OPTIONAL_PLAYER_MESSAGE_SIGNATURE); // Last received message
|
||||
}
|
||||
});
|
||||
registerClientbound(ClientboundPackets1_19_3.PLAYER_CHAT, ClientboundPackets1_19_1.SYSTEM_CHAT, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
read(Type.UUID); // Sender
|
||||
read(Type.VAR_INT); // Index
|
||||
read(OPTIONAL_SIGNATURE_BYTES_TYPE); // Signature
|
||||
handler(wrapper -> {
|
||||
final String plainContent = wrapper.read(Type.STRING);
|
||||
wrapper.read(Type.LONG); // Timestamp
|
||||
wrapper.read(Type.LONG); // Salt
|
||||
final int lastSeen = wrapper.read(Type.VAR_INT);
|
||||
for (int i = 0; i < lastSeen; i++) {
|
||||
final int index = wrapper.read(Type.VAR_INT);
|
||||
if (index == 0) {
|
||||
wrapper.read(SIGNATURE_BYTES_TYPE);
|
||||
}
|
||||
}
|
||||
|
||||
final JsonElement unsignedContent = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
final JsonElement content = unsignedContent != null ? unsignedContent : GsonComponentSerializer.gson().serializeToTree(Component.text(plainContent));
|
||||
translatableRewriter.processText(content);
|
||||
final int filterMaskType = wrapper.read(Type.VAR_INT);
|
||||
if (filterMaskType == 2) {
|
||||
wrapper.read(Type.LONG_ARRAY_PRIMITIVE); // Mask
|
||||
}
|
||||
|
||||
final int chatTypeId = wrapper.read(Type.VAR_INT);
|
||||
final JsonElement senderName = wrapper.read(Type.COMPONENT);
|
||||
final JsonElement targetName = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
final JsonElement result = Protocol1_19To1_19_1.decorateChatMessage(wrapper.user().get(ChatTypeStorage1_19_3.class), chatTypeId, senderName, targetName, content);
|
||||
if (result == null) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
wrapper.write(Type.COMPONENT, result);
|
||||
wrapper.write(Type.BOOLEAN, false);
|
||||
});
|
||||
}
|
||||
});
|
||||
registerClientbound(ClientboundPackets1_19_3.DISGUISED_CHAT, ClientboundPackets1_19_1.SYSTEM_CHAT, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
final JsonElement content = wrapper.read(Type.COMPONENT);
|
||||
translatableRewriter.processText(content);
|
||||
final int chatTypeId = wrapper.read(Type.VAR_INT);
|
||||
final JsonElement senderName = wrapper.read(Type.COMPONENT);
|
||||
final JsonElement targetName = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
final JsonElement result = Protocol1_19To1_19_1.decorateChatMessage(wrapper.user().get(ChatTypeStorage1_19_3.class), chatTypeId, senderName, targetName, content);
|
||||
if (result == null) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
wrapper.write(Type.COMPONENT, result);
|
||||
wrapper.write(Type.BOOLEAN, false);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
cancelClientbound(ClientboundPackets1_19_3.UPDATE_ENABLED_FEATURES);
|
||||
cancelServerbound(ServerboundPackets1_19_1.CHAT_PREVIEW);
|
||||
cancelServerbound(ServerboundPackets1_19_1.CHAT_ACK);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(final UserConnection user) {
|
||||
user.put(new ChatSessionStorage());
|
||||
user.put(new ChatTypeStorage1_19_3());
|
||||
addEntityTracker(user, new EntityTrackerBase(user, Entity1_19_3Types.PLAYER, true));
|
||||
}
|
||||
|
||||
@Override
|
||||
public BackwardsMappings getMappingData() {
|
||||
return MAPPINGS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public TranslatableRewriter getTranslatableRewriter() {
|
||||
return translatableRewriter;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemRewriter getItemRewriter() {
|
||||
return itemRewriter;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityRewriter getEntityRewriter() {
|
||||
return entityRewriter;
|
||||
}
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.data;
|
||||
|
||||
import com.viaversion.viaversion.libs.fastutil.objects.Object2IntMap;
|
||||
import com.viaversion.viaversion.libs.fastutil.objects.Object2IntOpenHashMap;
|
||||
import com.viaversion.viaversion.libs.gson.JsonElement;
|
||||
import com.viaversion.viaversion.libs.gson.JsonObject;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_3to1_19_1.Protocol1_19_3To1_19_1;
|
||||
|
||||
public final class BackwardsMappings extends com.viaversion.viabackwards.api.data.BackwardsMappings {
|
||||
|
||||
private final Object2IntMap<String> mappedSounds = new Object2IntOpenHashMap<>();
|
||||
|
||||
public BackwardsMappings() {
|
||||
super("1.19.3", "1.19", Protocol1_19_3To1_19_1.class, true);
|
||||
mappedSounds.defaultReturnValue(-1);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void loadVBExtras(final JsonObject unmapped, final JsonObject mapped) {
|
||||
int i = 0;
|
||||
for (final JsonElement sound : mapped.getAsJsonArray("sounds")) {
|
||||
mappedSounds.put(sound.getAsString(), i++);
|
||||
}
|
||||
}
|
||||
|
||||
public int mappedSound(final String sound) {
|
||||
return mappedSounds.getInt(sound.replace("minecraft:", ""));
|
||||
}
|
||||
}
|
||||
+141
@@ -0,0 +1,141 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.packets;
|
||||
|
||||
import com.viaversion.viabackwards.api.rewriters.ItemRewriter;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.Protocol1_19_1To1_19_3;
|
||||
import com.viaversion.viaversion.api.minecraft.item.Item;
|
||||
import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper;
|
||||
import com.viaversion.viaversion.api.type.Type;
|
||||
import com.viaversion.viaversion.protocols.protocol1_16to1_15_2.data.RecipeRewriter1_16;
|
||||
import com.viaversion.viaversion.protocols.protocol1_18to1_17_1.types.Chunk1_18Type;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_1to1_19.ServerboundPackets1_19_1;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_3to1_19_1.ClientboundPackets1_19_3;
|
||||
import com.viaversion.viaversion.rewriter.BlockRewriter;
|
||||
|
||||
public final class BlockItemPackets1_19_3 extends ItemRewriter<Protocol1_19_1To1_19_3> {
|
||||
|
||||
public BlockItemPackets1_19_3(final Protocol1_19_1To1_19_3 protocol) {
|
||||
super(protocol);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void registerPackets() {
|
||||
final BlockRewriter blockRewriter = new BlockRewriter(protocol, Type.POSITION1_14);
|
||||
blockRewriter.registerBlockAction(ClientboundPackets1_19_3.BLOCK_ACTION);
|
||||
blockRewriter.registerBlockChange(ClientboundPackets1_19_3.BLOCK_CHANGE);
|
||||
blockRewriter.registerVarLongMultiBlockChange(ClientboundPackets1_19_3.MULTI_BLOCK_CHANGE);
|
||||
blockRewriter.registerEffect(ClientboundPackets1_19_3.EFFECT, 1010, 2001);
|
||||
blockRewriter.registerChunkData1_19(ClientboundPackets1_19_3.CHUNK_DATA, Chunk1_18Type::new);
|
||||
blockRewriter.registerBlockEntityData(ClientboundPackets1_19_3.BLOCK_ENTITY_DATA);
|
||||
|
||||
registerSetCooldown(ClientboundPackets1_19_3.COOLDOWN);
|
||||
registerWindowItems1_17_1(ClientboundPackets1_19_3.WINDOW_ITEMS);
|
||||
registerSetSlot1_17_1(ClientboundPackets1_19_3.SET_SLOT);
|
||||
registerEntityEquipmentArray(ClientboundPackets1_19_3.ENTITY_EQUIPMENT);
|
||||
registerAdvancements(ClientboundPackets1_19_3.ADVANCEMENTS, Type.FLAT_VAR_INT_ITEM);
|
||||
registerClickWindow1_17_1(ServerboundPackets1_19_1.CLICK_WINDOW);
|
||||
registerTradeList1_19(ClientboundPackets1_19_3.TRADE_LIST);
|
||||
registerCreativeInvAction(ServerboundPackets1_19_1.CREATIVE_INVENTORY_ACTION, Type.FLAT_VAR_INT_ITEM);
|
||||
registerWindowPropertyEnchantmentHandler(ClientboundPackets1_19_3.WINDOW_PROPERTY);
|
||||
registerSpawnParticle1_19(ClientboundPackets1_19_3.SPAWN_PARTICLE);
|
||||
|
||||
protocol.registerClientbound(ClientboundPackets1_19_3.EXPLOSION, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.DOUBLE, Type.FLOAT); // X
|
||||
map(Type.DOUBLE, Type.FLOAT); // Y
|
||||
map(Type.DOUBLE, Type.FLOAT); // Z
|
||||
}
|
||||
});
|
||||
|
||||
final RecipeRewriter1_16 recipeRewriter = new RecipeRewriter1_16(protocol);
|
||||
protocol.registerClientbound(ClientboundPackets1_19_3.DECLARE_RECIPES, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
final int size = wrapper.passthrough(Type.VAR_INT);
|
||||
for (int i = 0; i < size; i++) {
|
||||
final String type = wrapper.passthrough(Type.STRING).replace("minecraft:", "");
|
||||
wrapper.passthrough(Type.STRING); // Recipe Identifier
|
||||
switch (type) {
|
||||
case "crafting_shapeless": {
|
||||
wrapper.passthrough(Type.STRING); // Group
|
||||
wrapper.read(Type.VAR_INT); // Crafting book category
|
||||
final int ingredients = wrapper.passthrough(Type.VAR_INT);
|
||||
for (int j = 0; j < ingredients; j++) {
|
||||
final Item[] items = wrapper.passthrough(Type.FLAT_VAR_INT_ITEM_ARRAY_VAR_INT); // Ingredients
|
||||
for (final Item item : items) {
|
||||
handleItemToClient(item);
|
||||
}
|
||||
}
|
||||
handleItemToClient(wrapper.passthrough(Type.FLAT_VAR_INT_ITEM)); // Result
|
||||
break;
|
||||
}
|
||||
case "crafting_shaped": {
|
||||
final int ingredients = wrapper.passthrough(Type.VAR_INT) * wrapper.passthrough(Type.VAR_INT);
|
||||
wrapper.passthrough(Type.STRING); // Group
|
||||
wrapper.read(Type.VAR_INT); // Crafting book category
|
||||
for (int j = 0; j < ingredients; j++) {
|
||||
final Item[] items = wrapper.passthrough(Type.FLAT_VAR_INT_ITEM_ARRAY_VAR_INT); // Ingredients
|
||||
for (final Item item : items) {
|
||||
handleItemToClient(item);
|
||||
}
|
||||
}
|
||||
handleItemToClient(wrapper.passthrough(Type.FLAT_VAR_INT_ITEM)); // Result
|
||||
break;
|
||||
}
|
||||
case "smelting":
|
||||
case "campfire_cooking":
|
||||
case "blasting":
|
||||
case "smoking":
|
||||
wrapper.passthrough(Type.STRING); // Group
|
||||
wrapper.read(Type.VAR_INT); // Crafting book category
|
||||
final Item[] items = wrapper.passthrough(Type.FLAT_VAR_INT_ITEM_ARRAY_VAR_INT); // Ingredients
|
||||
for (final Item item : items) {
|
||||
handleItemToClient(item);
|
||||
}
|
||||
handleItemToClient(wrapper.passthrough(Type.FLAT_VAR_INT_ITEM)); // Result
|
||||
wrapper.passthrough(Type.FLOAT); // EXP
|
||||
wrapper.passthrough(Type.VAR_INT); // Cooking time
|
||||
break;
|
||||
case "crafting_special_armordye":
|
||||
case "crafting_special_bookcloning":
|
||||
case "crafting_special_mapcloning":
|
||||
case "crafting_special_mapextending":
|
||||
case "crafting_special_firework_rocket":
|
||||
case "crafting_special_firework_star":
|
||||
case "crafting_special_firework_star_fade":
|
||||
case "crafting_special_tippedarrow":
|
||||
case "crafting_special_bannerduplicate":
|
||||
case "crafting_special_shielddecoration":
|
||||
case "crafting_special_shulkerboxcoloring":
|
||||
case "crafting_special_suspiciousstew":
|
||||
case "crafting_special_repairitem":
|
||||
wrapper.read(Type.VAR_INT); // Crafting book category
|
||||
break;
|
||||
default:
|
||||
recipeRewriter.handle(wrapper, type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
+293
@@ -0,0 +1,293 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.packets;
|
||||
|
||||
import com.viaversion.viabackwards.api.rewriters.EntityRewriter;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.Protocol1_19_1To1_19_3;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.storage.ChatTypeStorage1_19_3;
|
||||
import com.viaversion.viaversion.api.connection.UserConnection;
|
||||
import com.viaversion.viaversion.api.minecraft.ProfileKey;
|
||||
import com.viaversion.viaversion.api.minecraft.entities.Entity1_19_3Types;
|
||||
import com.viaversion.viaversion.api.minecraft.entities.EntityType;
|
||||
import com.viaversion.viaversion.api.protocol.packet.PacketWrapper;
|
||||
import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper;
|
||||
import com.viaversion.viaversion.api.type.Type;
|
||||
import com.viaversion.viaversion.api.type.types.BitSetType;
|
||||
import com.viaversion.viaversion.api.type.types.version.Types1_19;
|
||||
import com.viaversion.viaversion.api.type.types.version.Types1_19_3;
|
||||
import com.viaversion.viaversion.libs.gson.JsonElement;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.CompoundTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.ListTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.NumberTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.Tag;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_1to1_19.ClientboundPackets1_19_1;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_3to1_19_1.ClientboundPackets1_19_3;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
import java.util.BitSet;
|
||||
import java.util.UUID;
|
||||
|
||||
public final class EntityPackets1_19_3 extends EntityRewriter<Protocol1_19_1To1_19_3> {
|
||||
|
||||
private static final BitSetType PROFILE_ACTIONS_ENUM_TYPE = new BitSetType(6);
|
||||
private static final int[] PROFILE_ACTIONS = {2, 4, 5}; // Ignore initialize chat and listed status; add player already handled before
|
||||
private static final int ADD_PLAYER = 0;
|
||||
private static final int INITIALIZE_CHAT = 1;
|
||||
private static final int UPDATE_GAMEMODE = 2;
|
||||
private static final int UPDATE_LISTED = 3;
|
||||
private static final int UPDATE_LATENCY = 4;
|
||||
private static final int UPDATE_DISPLAYNAME = 5;
|
||||
|
||||
public EntityPackets1_19_3(final Protocol1_19_1To1_19_3 protocol) {
|
||||
super(protocol);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void registerPackets() {
|
||||
registerMetadataRewriter(ClientboundPackets1_19_3.ENTITY_METADATA, Types1_19_3.METADATA_LIST, Types1_19.METADATA_LIST);
|
||||
registerRemoveEntities(ClientboundPackets1_19_3.REMOVE_ENTITIES);
|
||||
registerTrackerWithData1_19(ClientboundPackets1_19_3.SPAWN_ENTITY, Entity1_19_3Types.FALLING_BLOCK);
|
||||
|
||||
protocol.registerClientbound(ClientboundPackets1_19_3.JOIN_GAME, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.INT); // Entity id
|
||||
map(Type.BOOLEAN); // Hardcore
|
||||
map(Type.UNSIGNED_BYTE); // Gamemode
|
||||
map(Type.BYTE); // Previous Gamemode
|
||||
map(Type.STRING_ARRAY); // World List
|
||||
map(Type.NBT); // Dimension registry
|
||||
map(Type.STRING); // Dimension key
|
||||
map(Type.STRING); // World
|
||||
handler(dimensionDataHandler());
|
||||
handler(biomeSizeTracker());
|
||||
handler(worldDataTrackerHandlerByKey());
|
||||
handler(wrapper -> {
|
||||
final ChatTypeStorage1_19_3 chatTypeStorage = wrapper.user().get(ChatTypeStorage1_19_3.class);
|
||||
chatTypeStorage.clear();
|
||||
final CompoundTag registry = wrapper.get(Type.NBT, 0);
|
||||
final ListTag chatTypes = ((CompoundTag) registry.get("minecraft:chat_type")).get("value");
|
||||
for (final Tag chatType : chatTypes) {
|
||||
final CompoundTag chatTypeCompound = (CompoundTag) chatType;
|
||||
final NumberTag idTag = chatTypeCompound.get("id");
|
||||
chatTypeStorage.addChatType(idTag.asInt(), chatTypeCompound);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
protocol.registerClientbound(ClientboundPackets1_19_3.RESPAWN, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Dimension
|
||||
map(Type.STRING); // World
|
||||
map(Type.LONG); // Seed
|
||||
map(Type.UNSIGNED_BYTE); // Gamemode
|
||||
map(Type.BYTE); // Previous gamemode
|
||||
map(Type.BOOLEAN); // Debug
|
||||
map(Type.BOOLEAN); // Flat
|
||||
handler(worldDataTrackerHandlerByKey());
|
||||
handler(wrapper -> {
|
||||
// Old clients will always keep entity data (packed here as 0x02), nothing we can do there
|
||||
final byte keepDataMask = wrapper.read(Type.BYTE);
|
||||
wrapper.write(Type.BOOLEAN, (keepDataMask & 1) != 0); // Keep attributes
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
protocol.registerClientbound(ClientboundPackets1_19_3.PLAYER_INFO_UPDATE, ClientboundPackets1_19_1.PLAYER_INFO, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
wrapper.cancel();
|
||||
final BitSet actions = wrapper.read(PROFILE_ACTIONS_ENUM_TYPE);
|
||||
final int entries = wrapper.read(Type.VAR_INT);
|
||||
if (actions.get(ADD_PLAYER)) {
|
||||
// Special case, as we need to write everything into one action
|
||||
final PacketWrapper playerInfoPacket = wrapper.create(ClientboundPackets1_19_1.PLAYER_INFO);
|
||||
playerInfoPacket.write(Type.VAR_INT, 0);
|
||||
playerInfoPacket.write(Type.VAR_INT, entries);
|
||||
for (int i = 0; i < entries; i++) {
|
||||
playerInfoPacket.write(Type.UUID, wrapper.read(Type.UUID));
|
||||
playerInfoPacket.write(Type.STRING, wrapper.read(Type.STRING)); // Player Name
|
||||
|
||||
final int properties = wrapper.read(Type.VAR_INT);
|
||||
playerInfoPacket.write(Type.VAR_INT, properties);
|
||||
for (int j = 0; j < properties; j++) {
|
||||
playerInfoPacket.write(Type.STRING, wrapper.read(Type.STRING)); // Name
|
||||
playerInfoPacket.write(Type.STRING, wrapper.read(Type.STRING)); // Value
|
||||
playerInfoPacket.write(Type.OPTIONAL_STRING, wrapper.read(Type.OPTIONAL_STRING)); // Signature
|
||||
}
|
||||
|
||||
// Now check for the other parts individually and add dummy values if not present
|
||||
final ProfileKey profileKey;
|
||||
if (actions.get(INITIALIZE_CHAT) && wrapper.read(Type.BOOLEAN)) {
|
||||
wrapper.read(Type.UUID); // Session UUID
|
||||
profileKey = wrapper.read(Type.PROFILE_KEY);
|
||||
} else {
|
||||
profileKey = null;
|
||||
}
|
||||
|
||||
final int gamemode = actions.get(UPDATE_GAMEMODE) ? wrapper.read(Type.VAR_INT) : 0;
|
||||
if (actions.get(UPDATE_LISTED)) {
|
||||
wrapper.read(Type.BOOLEAN); // Listed - throw away
|
||||
}
|
||||
|
||||
final int latency = actions.get(UPDATE_LATENCY) ? wrapper.read(Type.VAR_INT) : 0;
|
||||
final JsonElement displayName = actions.get(UPDATE_DISPLAYNAME) ? wrapper.read(Type.OPTIONAL_COMPONENT) : null;
|
||||
playerInfoPacket.write(Type.VAR_INT, gamemode);
|
||||
playerInfoPacket.write(Type.VAR_INT, latency);
|
||||
playerInfoPacket.write(Type.OPTIONAL_COMPONENT, displayName);
|
||||
playerInfoPacket.write(Type.OPTIONAL_PROFILE_KEY, profileKey);
|
||||
playerInfoPacket.send(Protocol1_19_1To1_19_3.class);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
final PlayerProfileUpdate[] updates = new PlayerProfileUpdate[entries];
|
||||
for (int i = 0; i < entries; i++) {
|
||||
final UUID uuid = wrapper.read(Type.UUID);
|
||||
int gamemode = 0;
|
||||
int latency = 0;
|
||||
JsonElement displayName = null;
|
||||
for (final int action : PROFILE_ACTIONS) {
|
||||
if (!actions.get(action)) {
|
||||
continue;
|
||||
}
|
||||
switch (action) {
|
||||
case UPDATE_GAMEMODE:
|
||||
gamemode = wrapper.read(Type.VAR_INT);
|
||||
break;
|
||||
case UPDATE_LATENCY:
|
||||
latency = wrapper.read(Type.VAR_INT);
|
||||
break;
|
||||
case UPDATE_DISPLAYNAME:
|
||||
displayName = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
updates[i] = new PlayerProfileUpdate(uuid, gamemode, latency, displayName);
|
||||
}
|
||||
|
||||
if (actions.get(UPDATE_GAMEMODE)) {
|
||||
sendPlayerProfileUpdate(wrapper.user(), 1, updates);
|
||||
} else if (actions.get(UPDATE_LATENCY)) {
|
||||
sendPlayerProfileUpdate(wrapper.user(), 2, updates);
|
||||
} else if (actions.get(UPDATE_DISPLAYNAME)) {
|
||||
sendPlayerProfileUpdate(wrapper.user(), 3, updates);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
protocol.registerClientbound(ClientboundPackets1_19_3.PLAYER_INFO_REMOVE, ClientboundPackets1_19_1.PLAYER_INFO, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
final UUID[] uuids = wrapper.read(Type.UUID_ARRAY);
|
||||
wrapper.write(Type.VAR_INT, 4); // Remove player
|
||||
wrapper.write(Type.VAR_INT, uuids.length);
|
||||
for (final UUID uuid : uuids) {
|
||||
wrapper.write(Type.UUID, uuid);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private void sendPlayerProfileUpdate(final UserConnection connection, final int action, final PlayerProfileUpdate[] updates) throws Exception {
|
||||
final PacketWrapper playerInfoPacket = PacketWrapper.create(ClientboundPackets1_19_1.PLAYER_INFO, connection);
|
||||
playerInfoPacket.write(Type.VAR_INT, action);
|
||||
playerInfoPacket.write(Type.VAR_INT, updates.length);
|
||||
for (final PlayerProfileUpdate update : updates) {
|
||||
playerInfoPacket.write(Type.UUID, update.uuid());
|
||||
if (action == 1) {
|
||||
playerInfoPacket.write(Type.VAR_INT, update.gamemode());
|
||||
} else if (action == 2) {
|
||||
playerInfoPacket.write(Type.VAR_INT, update.latency());
|
||||
} else if (action == 3) {
|
||||
playerInfoPacket.write(Type.OPTIONAL_COMPONENT, update.displayName());
|
||||
} else {
|
||||
throw new IllegalArgumentException("Invalid action: " + action);
|
||||
}
|
||||
}
|
||||
playerInfoPacket.send(Protocol1_19_1To1_19_3.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerRewrites() {
|
||||
filter().handler((event, meta) -> {
|
||||
final int id = meta.metaType().typeId();
|
||||
if (id > 2) {
|
||||
meta.setMetaType(Types1_19.META_TYPES.byId(id - 1)); // long added
|
||||
} else if (id != 2) {
|
||||
meta.setMetaType(Types1_19.META_TYPES.byId(id));
|
||||
}
|
||||
});
|
||||
registerMetaTypeHandler(Types1_19.META_TYPES.itemType, Types1_19.META_TYPES.blockStateType, Types1_19.META_TYPES.particleType, Types1_19.META_TYPES.optionalComponentType);
|
||||
|
||||
filter().filterFamily(Entity1_19_3Types.MINECART_ABSTRACT).index(11).handler((event, meta) -> {
|
||||
final int data = (int) meta.getValue();
|
||||
meta.setValue(protocol.getMappingData().getNewBlockStateId(data));
|
||||
});
|
||||
|
||||
filter().type(Entity1_19_3Types.CAMEL).cancel(19); // Dashing
|
||||
filter().type(Entity1_19_3Types.CAMEL).cancel(20); // Last pose change time
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onMappingDataLoaded() {
|
||||
mapTypes();
|
||||
mapEntityTypeWithData(Entity1_19_3Types.CAMEL, Entity1_19_3Types.DONKEY).jsonName();
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityType typeFromId(final int typeId) {
|
||||
return Entity1_19_3Types.getTypeFromId(typeId);
|
||||
}
|
||||
|
||||
private static final class PlayerProfileUpdate {
|
||||
private final UUID uuid;
|
||||
private final int gamemode;
|
||||
private final int latency;
|
||||
private final JsonElement displayName;
|
||||
|
||||
private PlayerProfileUpdate(final UUID uuid, final int gamemode, final int latency, @Nullable final JsonElement displayName) {
|
||||
this.uuid = uuid;
|
||||
this.gamemode = gamemode;
|
||||
this.latency = latency;
|
||||
this.displayName = displayName;
|
||||
}
|
||||
|
||||
public UUID uuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
public int gamemode() {
|
||||
return gamemode;
|
||||
}
|
||||
|
||||
public int latency() {
|
||||
return latency;
|
||||
}
|
||||
|
||||
public @Nullable JsonElement displayName() {
|
||||
return displayName;
|
||||
}
|
||||
}
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.storage;
|
||||
|
||||
import com.viaversion.viaversion.api.connection.StorableObject;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
public final class ChatSessionStorage implements StorableObject {
|
||||
|
||||
private final UUID uuid = UUID.randomUUID();
|
||||
|
||||
public UUID uuid() {
|
||||
return uuid;
|
||||
}
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* This file is part of ViaVersion - https://github.com/ViaVersion/ViaVersion
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.storage;
|
||||
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.storage.ChatRegistryStorage;
|
||||
|
||||
public final class ChatTypeStorage1_19_3 extends ChatRegistryStorage {
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* This file is part of ViaVersion - https://github.com/ViaVersion/ViaVersion
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19_1to1_19_3.storage;
|
||||
|
||||
import com.viaversion.viaversion.api.connection.StorableObject;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
public final class NonceStorage implements StorableObject {
|
||||
|
||||
private final byte[] nonce;
|
||||
|
||||
public NonceStorage(final byte @Nullable[] nonce) {
|
||||
this.nonce = nonce;
|
||||
}
|
||||
|
||||
public byte @Nullable [] nonce() {
|
||||
return nonce;
|
||||
}
|
||||
}
|
||||
+431
@@ -0,0 +1,431 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19to1_19_1;
|
||||
|
||||
import com.google.common.base.Preconditions;
|
||||
import com.viaversion.viabackwards.ViaBackwards;
|
||||
import com.viaversion.viabackwards.api.BackwardsProtocol;
|
||||
import com.viaversion.viabackwards.api.rewriters.TranslatableRewriter;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.packets.EntityPackets1_19_1;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.storage.ChatRegistryStorage;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.storage.ChatRegistryStorage1_19_1;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.storage.NonceStorage;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.storage.ReceivedMessagesStorage;
|
||||
import com.viaversion.viaversion.api.connection.UserConnection;
|
||||
import com.viaversion.viaversion.api.minecraft.PlayerMessageSignature;
|
||||
import com.viaversion.viaversion.api.minecraft.ProfileKey;
|
||||
import com.viaversion.viaversion.api.minecraft.entities.Entity1_19Types;
|
||||
import com.viaversion.viaversion.api.protocol.packet.PacketWrapper;
|
||||
import com.viaversion.viaversion.api.protocol.packet.State;
|
||||
import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper;
|
||||
import com.viaversion.viaversion.api.rewriter.EntityRewriter;
|
||||
import com.viaversion.viaversion.api.type.Type;
|
||||
import com.viaversion.viaversion.data.entity.EntityTrackerBase;
|
||||
import com.viaversion.viaversion.libs.gson.JsonElement;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.Component;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.TranslatableComponent;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.format.NamedTextColor;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.format.Style;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.format.TextDecoration;
|
||||
import com.viaversion.viaversion.libs.kyori.adventure.text.serializer.gson.GsonComponentSerializer;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.ByteTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.CompoundTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.ListTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.NumberTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.StringTag;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.Tag;
|
||||
import com.viaversion.viaversion.protocols.base.ClientboundLoginPackets;
|
||||
import com.viaversion.viaversion.protocols.base.ServerboundLoginPackets;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_1to1_19.ClientboundPackets1_19_1;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_1to1_19.ServerboundPackets1_19_1;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19to1_18_2.ClientboundPackets1_19;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19to1_18_2.ServerboundPackets1_19;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19to1_18_2.packets.EntityPackets;
|
||||
import com.viaversion.viaversion.util.CipherUtil;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
|
||||
public final class Protocol1_19To1_19_1 extends BackwardsProtocol<ClientboundPackets1_19_1, ClientboundPackets1_19, ServerboundPackets1_19_1, ServerboundPackets1_19> {
|
||||
|
||||
public static final int SYSTEM_CHAT_ID = 1;
|
||||
public static final int GAME_INFO_ID = 2;
|
||||
private static final UUID ZERO_UUID = new UUID(0, 0);
|
||||
private static final byte[] EMPTY_BYTES = new byte[0];
|
||||
private final EntityPackets1_19_1 entityRewriter = new EntityPackets1_19_1(this);
|
||||
private final TranslatableRewriter translatableRewriter = new TranslatableRewriter(this);
|
||||
|
||||
public Protocol1_19To1_19_1() {
|
||||
super(ClientboundPackets1_19_1.class, ClientboundPackets1_19.class, ServerboundPackets1_19_1.class, ServerboundPackets1_19.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void registerPackets() {
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19_1.ACTIONBAR);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19_1.TITLE_TEXT);
|
||||
translatableRewriter.registerComponentPacket(ClientboundPackets1_19_1.TITLE_SUBTITLE);
|
||||
translatableRewriter.registerBossBar(ClientboundPackets1_19_1.BOSSBAR);
|
||||
translatableRewriter.registerDisconnect(ClientboundPackets1_19_1.DISCONNECT);
|
||||
translatableRewriter.registerTabList(ClientboundPackets1_19_1.TAB_LIST);
|
||||
translatableRewriter.registerOpenWindow(ClientboundPackets1_19_1.OPEN_WINDOW);
|
||||
translatableRewriter.registerCombatKill(ClientboundPackets1_19_1.COMBAT_KILL);
|
||||
translatableRewriter.registerPing();
|
||||
|
||||
entityRewriter.register();
|
||||
|
||||
registerClientbound(ClientboundPackets1_19_1.JOIN_GAME, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.INT); // Entity ID
|
||||
map(Type.BOOLEAN); // Hardcore
|
||||
map(Type.UNSIGNED_BYTE); // Gamemode
|
||||
map(Type.BYTE); // Previous Gamemode
|
||||
map(Type.STRING_ARRAY); // World List
|
||||
map(Type.NBT); // Dimension registry
|
||||
map(Type.STRING); // Dimension key
|
||||
map(Type.STRING); // World
|
||||
handler(wrapper -> {
|
||||
final ChatRegistryStorage chatTypeStorage = wrapper.user().get(ChatRegistryStorage1_19_1.class);
|
||||
chatTypeStorage.clear();
|
||||
|
||||
final CompoundTag registry = wrapper.get(Type.NBT, 0);
|
||||
final ListTag chatTypes = ((CompoundTag) registry.get("minecraft:chat_type")).get("value");
|
||||
for (final Tag chatType : chatTypes) {
|
||||
final CompoundTag chatTypeCompound = (CompoundTag) chatType;
|
||||
final NumberTag idTag = chatTypeCompound.get("id");
|
||||
chatTypeStorage.addChatType(idTag.asInt(), chatTypeCompound);
|
||||
}
|
||||
|
||||
// Replace with 1.19 chat types
|
||||
// Ensures that the client has a chat type for system message, with and without overlay
|
||||
registry.put("minecraft:chat_type", EntityPackets.CHAT_REGISTRY.clone());
|
||||
});
|
||||
handler(entityRewriter.worldTrackerHandlerByKey());
|
||||
}
|
||||
});
|
||||
|
||||
registerClientbound(ClientboundPackets1_19_1.PLAYER_CHAT, ClientboundPackets1_19.SYSTEM_CHAT, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
wrapper.read(Type.OPTIONAL_BYTE_ARRAY_PRIMITIVE); // Previous signature
|
||||
|
||||
final PlayerMessageSignature signature = wrapper.read(Type.PLAYER_MESSAGE_SIGNATURE);
|
||||
|
||||
// Store message signature for last seen
|
||||
if (!signature.uuid().equals(ZERO_UUID) && signature.signatureBytes().length != 0) {
|
||||
final ReceivedMessagesStorage messagesStorage = wrapper.user().get(ReceivedMessagesStorage.class);
|
||||
messagesStorage.add(signature);
|
||||
if (messagesStorage.tickUnacknowledged() > 64) {
|
||||
messagesStorage.resetUnacknowledgedCount();
|
||||
|
||||
// Send chat acknowledgement
|
||||
final PacketWrapper chatAckPacket = wrapper.create(ServerboundPackets1_19_1.CHAT_ACK);
|
||||
chatAckPacket.write(Type.PLAYER_MESSAGE_SIGNATURE_ARRAY, messagesStorage.lastSignatures());
|
||||
chatAckPacket.write(Type.OPTIONAL_PLAYER_MESSAGE_SIGNATURE, null);
|
||||
chatAckPacket.sendToServer(Protocol1_19To1_19_1.class);
|
||||
}
|
||||
}
|
||||
|
||||
// Send the unsigned message if present, otherwise the signed message
|
||||
final String plainMessage = wrapper.read(Type.STRING); // Plain message
|
||||
JsonElement message = null;
|
||||
JsonElement decoratedMessage = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
if (decoratedMessage != null) {
|
||||
message = decoratedMessage;
|
||||
}
|
||||
|
||||
wrapper.read(Type.LONG); // Timestamp
|
||||
wrapper.read(Type.LONG); // Salt
|
||||
wrapper.read(Type.PLAYER_MESSAGE_SIGNATURE_ARRAY); // Last seen
|
||||
|
||||
final JsonElement unsignedMessage = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
if (unsignedMessage != null) {
|
||||
message = unsignedMessage;
|
||||
}
|
||||
if (message == null) {
|
||||
// If no decorated or unsigned message is given, use the plain one
|
||||
message = GsonComponentSerializer.gson().serializeToTree(Component.text(plainMessage));
|
||||
}
|
||||
|
||||
final int filterMaskType = wrapper.read(Type.VAR_INT);
|
||||
if (filterMaskType == 2) { // Partially filtered
|
||||
wrapper.read(Type.LONG_ARRAY_PRIMITIVE); // Mask
|
||||
}
|
||||
|
||||
final int chatTypeId = wrapper.read(Type.VAR_INT);
|
||||
final JsonElement senderName = wrapper.read(Type.COMPONENT);
|
||||
final JsonElement targetName = wrapper.read(Type.OPTIONAL_COMPONENT);
|
||||
decoratedMessage = decorateChatMessage(wrapper.user().get(ChatRegistryStorage1_19_1.class), chatTypeId, senderName, targetName, message);
|
||||
if (decoratedMessage == null) {
|
||||
wrapper.cancel();
|
||||
return;
|
||||
}
|
||||
|
||||
translatableRewriter.processText(decoratedMessage);
|
||||
wrapper.write(Type.COMPONENT, decoratedMessage);
|
||||
wrapper.write(Type.VAR_INT, SYSTEM_CHAT_ID);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
registerClientbound(ClientboundPackets1_19_1.SYSTEM_CHAT, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
handler(wrapper -> {
|
||||
final JsonElement content = wrapper.passthrough(Type.COMPONENT);
|
||||
translatableRewriter.processText(content);
|
||||
|
||||
final boolean overlay = wrapper.read(Type.BOOLEAN);
|
||||
wrapper.write(Type.VAR_INT, overlay ? GAME_INFO_ID : SYSTEM_CHAT_ID);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
registerServerbound(ServerboundPackets1_19.CHAT_MESSAGE, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Message
|
||||
map(Type.LONG); // Timestamp
|
||||
map(Type.LONG); // Salt
|
||||
// Set empty signature
|
||||
read(Type.BYTE_ARRAY_PRIMITIVE);
|
||||
create(Type.BYTE_ARRAY_PRIMITIVE, EMPTY_BYTES);
|
||||
map(Type.BOOLEAN); // Signed preview
|
||||
handler(wrapper -> {
|
||||
final ReceivedMessagesStorage messagesStorage = wrapper.user().get(ReceivedMessagesStorage.class);
|
||||
messagesStorage.resetUnacknowledgedCount();
|
||||
wrapper.write(Type.PLAYER_MESSAGE_SIGNATURE_ARRAY, messagesStorage.lastSignatures());
|
||||
wrapper.write(Type.OPTIONAL_PLAYER_MESSAGE_SIGNATURE, null); // No last unacknowledged
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
registerServerbound(ServerboundPackets1_19.CHAT_COMMAND, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Command
|
||||
map(Type.LONG); // Timestamp
|
||||
map(Type.LONG); // Salt
|
||||
handler(wrapper -> {
|
||||
final int signatures = wrapper.passthrough(Type.VAR_INT);
|
||||
for (int i = 0; i < signatures; i++) {
|
||||
wrapper.passthrough(Type.STRING); // Argument name
|
||||
|
||||
// Set empty signature
|
||||
wrapper.read(Type.BYTE_ARRAY_PRIMITIVE);
|
||||
wrapper.write(Type.BYTE_ARRAY_PRIMITIVE, EMPTY_BYTES);
|
||||
}
|
||||
|
||||
wrapper.passthrough(Type.BOOLEAN); // Signed preview
|
||||
|
||||
final ReceivedMessagesStorage messagesStorage = wrapper.user().get(ReceivedMessagesStorage.class);
|
||||
messagesStorage.resetUnacknowledgedCount();
|
||||
wrapper.write(Type.PLAYER_MESSAGE_SIGNATURE_ARRAY, messagesStorage.lastSignatures());
|
||||
wrapper.write(Type.OPTIONAL_PLAYER_MESSAGE_SIGNATURE, null); // No last unacknowledged
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
registerClientbound(ClientboundPackets1_19_1.SERVER_DATA, new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.OPTIONAL_COMPONENT); // Motd
|
||||
map(Type.OPTIONAL_STRING); // Encoded icon
|
||||
map(Type.BOOLEAN); // Previews chat
|
||||
read(Type.BOOLEAN); // Enforces secure chat
|
||||
}
|
||||
});
|
||||
|
||||
registerServerbound(State.LOGIN, ServerboundLoginPackets.HELLO.getId(), ServerboundLoginPackets.HELLO.getId(), new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Name
|
||||
handler(wrapper -> {
|
||||
final ProfileKey profileKey = wrapper.read(Type.OPTIONAL_PROFILE_KEY);
|
||||
if (profileKey == null) {
|
||||
wrapper.user().put(new NonceStorage(null));
|
||||
}
|
||||
});
|
||||
// Write empty profile key and uuid (since keys are not compatible) - requires the enforce-secure-profiles option to be disabled on the server
|
||||
create(Type.OPTIONAL_PROFILE_KEY, null);
|
||||
create(Type.OPTIONAL_UUID, null);
|
||||
}
|
||||
});
|
||||
|
||||
registerClientbound(State.LOGIN, ClientboundLoginPackets.HELLO.getId(), ClientboundLoginPackets.HELLO.getId(), new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.STRING); // Server id
|
||||
handler(wrapper -> {
|
||||
if (wrapper.user().get(NonceStorage.class) != null) {
|
||||
// Is already using the encrypted nonce
|
||||
return;
|
||||
}
|
||||
|
||||
final byte[] publicKey = wrapper.passthrough(Type.BYTE_ARRAY_PRIMITIVE);
|
||||
final byte[] nonce = wrapper.passthrough(Type.BYTE_ARRAY_PRIMITIVE);
|
||||
wrapper.user().put(new NonceStorage(CipherUtil.encryptNonce(publicKey, nonce)));
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
registerServerbound(State.LOGIN, ServerboundLoginPackets.ENCRYPTION_KEY.getId(), ServerboundLoginPackets.ENCRYPTION_KEY.getId(), new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.BYTE_ARRAY_PRIMITIVE); // Key
|
||||
handler(wrapper -> {
|
||||
final NonceStorage nonceStorage = wrapper.user().remove(NonceStorage.class);
|
||||
final boolean isNonce = wrapper.read(Type.BOOLEAN);
|
||||
wrapper.write(Type.BOOLEAN, true);
|
||||
if (isNonce) {
|
||||
// Nonce, just pass it through
|
||||
wrapper.passthrough(Type.BYTE_ARRAY_PRIMITIVE);
|
||||
return;
|
||||
}
|
||||
|
||||
if (nonceStorage == null || nonceStorage.nonce() == null) {
|
||||
throw new IllegalArgumentException("Server sent nonce is missing");
|
||||
}
|
||||
|
||||
wrapper.read(Type.LONG); // Salt
|
||||
wrapper.read(Type.BYTE_ARRAY_PRIMITIVE); // Signature
|
||||
wrapper.write(Type.BYTE_ARRAY_PRIMITIVE, nonceStorage.nonce());
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
registerClientbound(State.LOGIN, ClientboundLoginPackets.CUSTOM_QUERY.getId(), ClientboundLoginPackets.CUSTOM_QUERY.getId(), new PacketRemapper() {
|
||||
@Override
|
||||
public void registerMap() {
|
||||
map(Type.VAR_INT);
|
||||
map(Type.STRING);
|
||||
handler(wrapper -> {
|
||||
final String identifier = wrapper.get(Type.STRING, 0);
|
||||
if (identifier.equals("velocity:player_info")) {
|
||||
byte[] data = wrapper.passthrough(Type.REMAINING_BYTES);
|
||||
// Velocity modern forwarding version above 1 includes the players public key.
|
||||
// This is an issue because the player does not have a public key.
|
||||
// Velocity itself does adjust the version accordingly: https://github.com/PaperMC/Velocity/blob/1a3fba4250553702d9dcd05731d04347bfc24c9f/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/LoginSessionHandler.java#L176-L197
|
||||
// However this becomes an issue when an 1.19.0 client tries to join a 1.19.1 server.
|
||||
// (The protocol translation will go 1.19.1 -> 1.18.2 -> 1.19.0)
|
||||
// The player does have a public key, but an outdated one.
|
||||
// Velocity modern forwarding versions: https://github.com/PaperMC/Velocity/blob/1a3fba4250553702d9dcd05731d04347bfc24c9f/proxy/src/main/java/com/velocitypowered/proxy/connection/VelocityConstants.java#L27-L29
|
||||
// And the version can be specified with a single byte: https://github.com/PaperMC/Velocity/blob/1a3fba4250553702d9dcd05731d04347bfc24c9f/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/LoginSessionHandler.java#L88
|
||||
if (data.length == 1 && data[0] > 1) {
|
||||
data[0] = 1;
|
||||
} else if (data.length == 0) { // Or the version is omitted (default version would be used)
|
||||
data = new byte[]{1};
|
||||
wrapper.set(Type.REMAINING_BYTES, 0, data);
|
||||
} else {
|
||||
ViaBackwards.getPlatform().getLogger().warning("Received unexpected data in velocity:player_info (length=" + data.length + ")");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
cancelClientbound(ClientboundPackets1_19_1.CUSTOM_CHAT_COMPLETIONS); // Can't do anything with them unless we add clutter clients with fake player profiles
|
||||
cancelClientbound(ClientboundPackets1_19_1.DELETE_CHAT_MESSAGE); // Can't do without the old "send 50 empty lines and then resend previous messages" trick
|
||||
cancelClientbound(ClientboundPackets1_19_1.PLAYER_CHAT_HEADER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(final UserConnection user) {
|
||||
user.put(new ChatRegistryStorage1_19_1());
|
||||
user.put(new ReceivedMessagesStorage());
|
||||
addEntityTracker(user, new EntityTrackerBase(user, Entity1_19Types.PLAYER, true));
|
||||
}
|
||||
|
||||
@Override
|
||||
public TranslatableRewriter getTranslatableRewriter() {
|
||||
return translatableRewriter;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityRewriter getEntityRewriter() {
|
||||
return entityRewriter;
|
||||
}
|
||||
|
||||
public static @Nullable JsonElement decorateChatMessage(final ChatRegistryStorage chatRegistryStorage, final int chatTypeId, final JsonElement senderName, @Nullable final JsonElement targetName, final JsonElement message) {
|
||||
CompoundTag chatType = chatRegistryStorage.chatType(chatTypeId);
|
||||
if (chatType == null) {
|
||||
ViaBackwards.getPlatform().getLogger().warning("Chat message has unknown chat type id " + chatTypeId + ". Message: " + message);
|
||||
return null;
|
||||
}
|
||||
|
||||
chatType = chatType.<CompoundTag>get("element").get("chat");
|
||||
if (chatType == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
final String translationKey = (String) chatType.get("translation_key").getValue();
|
||||
final TranslatableComponent.Builder componentBuilder = Component.translatable().key(translationKey);
|
||||
|
||||
// Add the style
|
||||
final CompoundTag style = chatType.get("style");
|
||||
if (style != null) {
|
||||
final Style.Builder styleBuilder = Style.style();
|
||||
final StringTag color = style.get("color");
|
||||
if (color != null) {
|
||||
final NamedTextColor textColor = NamedTextColor.NAMES.value(color.getValue());
|
||||
if (textColor != null) {
|
||||
styleBuilder.color(NamedTextColor.NAMES.value(color.getValue()));
|
||||
}
|
||||
}
|
||||
|
||||
for (final String key : TextDecoration.NAMES.keys()) {
|
||||
if (style.contains(key)) {
|
||||
styleBuilder.decoration(TextDecoration.NAMES.value(key), style.<ByteTag>get(key).asByte() == 1);
|
||||
}
|
||||
}
|
||||
componentBuilder.style(styleBuilder.build());
|
||||
}
|
||||
|
||||
// Add the replacements
|
||||
final ListTag parameters = chatType.get("parameters");
|
||||
if (parameters != null) {
|
||||
final List<Component> arguments = new ArrayList<>();
|
||||
for (final Tag element : parameters) {
|
||||
JsonElement argument = null;
|
||||
switch ((String) element.getValue()) {
|
||||
case "sender":
|
||||
argument = senderName;
|
||||
break;
|
||||
case "content":
|
||||
argument = message;
|
||||
break;
|
||||
case "target":
|
||||
Preconditions.checkNotNull(targetName, "Target name is null");
|
||||
argument = targetName;
|
||||
break;
|
||||
default:
|
||||
ViaBackwards.getPlatform().getLogger().warning("Unknown parameter for chat decoration: " + element.getValue());
|
||||
}
|
||||
if (argument != null) {
|
||||
arguments.add(GsonComponentSerializer.gson().deserializeFromTree(argument));
|
||||
}
|
||||
}
|
||||
componentBuilder.args(arguments);
|
||||
}
|
||||
|
||||
return GsonComponentSerializer.gson().serializeToTree(componentBuilder.build());
|
||||
}
|
||||
}
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.packets;
|
||||
|
||||
import com.viaversion.viabackwards.api.rewriters.EntityRewriter;
|
||||
import com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.Protocol1_19To1_19_1;
|
||||
import com.viaversion.viaversion.api.minecraft.entities.Entity1_19Types;
|
||||
import com.viaversion.viaversion.api.minecraft.entities.EntityType;
|
||||
import com.viaversion.viaversion.api.type.types.version.Types1_19;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19_1to1_19.ClientboundPackets1_19_1;
|
||||
|
||||
public final class EntityPackets1_19_1 extends EntityRewriter<Protocol1_19To1_19_1> {
|
||||
|
||||
public EntityPackets1_19_1(final Protocol1_19To1_19_1 protocol) {
|
||||
super(protocol);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void registerPackets() {
|
||||
registerMetadataRewriter(ClientboundPackets1_19_1.ENTITY_METADATA, Types1_19.METADATA_LIST);
|
||||
registerRemoveEntities(ClientboundPackets1_19_1.REMOVE_ENTITIES);
|
||||
registerSpawnTracker(ClientboundPackets1_19_1.SPAWN_ENTITY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void registerRewrites() {
|
||||
filter().type(Entity1_19Types.ALLAY).cancel(16); // Dancing
|
||||
filter().type(Entity1_19Types.ALLAY).cancel(17); // Can duplicate
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityType typeFromId(final int typeId) {
|
||||
return Entity1_19Types.getTypeFromId(typeId);
|
||||
}
|
||||
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.storage;
|
||||
|
||||
import com.viaversion.viaversion.api.connection.StorableObject;
|
||||
import com.viaversion.viaversion.libs.fastutil.ints.Int2ObjectMap;
|
||||
import com.viaversion.viaversion.libs.fastutil.ints.Int2ObjectOpenHashMap;
|
||||
import com.viaversion.viaversion.libs.opennbt.tag.builtin.CompoundTag;
|
||||
import com.viaversion.viaversion.protocols.protocol1_19to1_18_2.Protocol1_19To1_18_2;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
public abstract class ChatRegistryStorage implements StorableObject {
|
||||
|
||||
private final Int2ObjectMap<CompoundTag> chatTypes = new Int2ObjectOpenHashMap<>();
|
||||
|
||||
public @Nullable CompoundTag chatType(final int id) {
|
||||
return chatTypes.isEmpty() ? Protocol1_19To1_18_2.MAPPINGS.chatType(id) : chatTypes.get(id);
|
||||
}
|
||||
|
||||
public void addChatType(final int id, final CompoundTag chatType) {
|
||||
chatTypes.put(id, chatType);
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
chatTypes.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean clearOnServerSwitch() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.storage;
|
||||
|
||||
public final class ChatRegistryStorage1_19_1 extends ChatRegistryStorage {
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.storage;
|
||||
|
||||
import com.viaversion.viaversion.api.connection.StorableObject;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
public final class NonceStorage implements StorableObject {
|
||||
|
||||
private final byte[] nonce;
|
||||
|
||||
public NonceStorage(final byte @Nullable[] nonce) {
|
||||
this.nonce = nonce;
|
||||
}
|
||||
|
||||
public byte @Nullable [] nonce() {
|
||||
return nonce;
|
||||
}
|
||||
}
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* This file is part of ViaBackwards - https://github.com/ViaVersion/ViaBackwards
|
||||
* Copyright (C) 2016-2022 ViaVersion and contributors
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package com.viaversion.viabackwards.protocol.protocol1_19to1_19_1.storage;
|
||||
|
||||
import com.viaversion.viaversion.api.connection.StorableObject;
|
||||
import com.viaversion.viaversion.api.minecraft.PlayerMessageSignature;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
public final class ReceivedMessagesStorage implements StorableObject {
|
||||
private final PlayerMessageSignature[] signatures = new PlayerMessageSignature[5];
|
||||
private int size;
|
||||
private int unacknowledged;
|
||||
|
||||
public void add(final PlayerMessageSignature signature) {
|
||||
PlayerMessageSignature toPush = signature;
|
||||
for (int i = 0; i < this.size; ++i) {
|
||||
final PlayerMessageSignature entry = this.signatures[i];
|
||||
this.signatures[i] = toPush;
|
||||
toPush = entry;
|
||||
if (entry.uuid().equals(signature.uuid())) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.size < this.signatures.length) {
|
||||
this.signatures[this.size++] = toPush;
|
||||
}
|
||||
}
|
||||
|
||||
public PlayerMessageSignature[] lastSignatures() {
|
||||
return Arrays.copyOf(this.signatures, size);
|
||||
}
|
||||
|
||||
public int tickUnacknowledged() {
|
||||
return unacknowledged++;
|
||||
}
|
||||
|
||||
public void resetUnacknowledgedCount() {
|
||||
unacknowledged = 0;
|
||||
}
|
||||
}
|
||||
@@ -21,10 +21,12 @@ fix-formatted-inventory-titles: true
|
||||
# This only takes effect for ids in the short range. Useful for anticheat compatibility.
|
||||
handle-pings-as-inv-acknowledgements: false
|
||||
#
|
||||
# Chat type formats used for sub 1.19 clients.
|
||||
chat-types:
|
||||
# 1.19.1 chat type formats.
|
||||
chat-types-1_19_1:
|
||||
"chat.type.text": "<%s> %s"
|
||||
"chat.type.announcement": "[%s] %s"
|
||||
"commands.message.display.incoming": "%s whispers to you: %s"
|
||||
"commands.message.display.outgoing": "You whisper to %s: %s"
|
||||
"chat.type.team.text": "%s <%s> %s"
|
||||
"chat.type.team.sent": "-> %s <%s> %s"
|
||||
"chat.type.emote": "* %s %s"
|
||||
@@ -17,10 +17,12 @@
|
||||
"minecraft:sparse_jungle": "jungle_edge",
|
||||
"minecraft:stony_shore": "stone_shore",
|
||||
"minecraft:old_growth_pine_taiga": "giant_spruce_taiga",
|
||||
"minecraft:windswept_forest": "forest",
|
||||
"minecraft:windswept_forest": "wooded_mountains",
|
||||
"minecraft:wooded_badlands": "wooded_badlands_plateau",
|
||||
"minecraft:windswept_gravelly_hills": "gravelly_mountains",
|
||||
"minecraft:old_growth_birch_forest": "tall_birch_forest",
|
||||
"minecraft:old_growth_spruce_taiga": "giant_spruce_taiga",
|
||||
"minecraft:windswept_savanna": "shattered_savanna"
|
||||
"minecraft:windswept_savanna": "shattered_savanna",
|
||||
"minecraft:mangrove_swamp": "swamp",
|
||||
"minecraft:deep_dark": "mountains"
|
||||
}
|
||||
Binary file not shown.
@@ -379,127 +379,127 @@
|
||||
"minecraft:piston_head[type=sticky,facing=down,short=false]": "minecraft:piston_head[facing=down,short=false,type=sticky]"
|
||||
},
|
||||
"sounds": {
|
||||
"music.overworld.deep_dark": "",
|
||||
"block.sculk_vein.break": "",
|
||||
"block.sculk_vein.fall": "",
|
||||
"block.sculk_vein.hit": "",
|
||||
"block.sculk_vein.place": "",
|
||||
"block.sculk_vein.step": "",
|
||||
"block.sculk_catalyst.bloom": "",
|
||||
"block.sculk_catalyst.break": "",
|
||||
"block.sculk_catalyst.fall": "",
|
||||
"block.sculk_catalyst.hit": "",
|
||||
"block.sculk_catalyst.place": "",
|
||||
"block.sculk_catalyst.step": "",
|
||||
"block.sculk.spread": "",
|
||||
"block.sculk.charge": "",
|
||||
"block.sculk.break": "",
|
||||
"block.sculk.fall": "",
|
||||
"block.sculk.hit": "",
|
||||
"block.sculk.place": "",
|
||||
"block.sculk.step": "",
|
||||
"block.sculk_shrieker.break": "",
|
||||
"block.sculk_shrieker.fall": "",
|
||||
"block.sculk_shrieker.hit": "",
|
||||
"block.sculk_shrieker.place": "",
|
||||
"block.sculk_shrieker.step": "",
|
||||
"block.sculk_shrieker.shriek": "",
|
||||
"entity.warden.ambient": "",
|
||||
"entity.warden.listening": "",
|
||||
"entity.warden.listening_angry": "",
|
||||
"entity.warden.angry": "",
|
||||
"entity.warden.hurt": "",
|
||||
"entity.warden.death": "",
|
||||
"entity.warden.step": "",
|
||||
"entity.warden.tendril_clicks": "",
|
||||
"entity.warden.heartbeat": "",
|
||||
"entity.warden.agitated": "",
|
||||
"entity.warden.attack_impact": "",
|
||||
"entity.warden.roar": "",
|
||||
"entity.warden.sniff": "",
|
||||
"entity.warden.emerge": "",
|
||||
"entity.warden.dig": "",
|
||||
"entity.warden.nearby_closest": "",
|
||||
"entity.warden.nearby_closer": "",
|
||||
"entity.warden.nearby_close": "",
|
||||
"item.bucket.empty_tadpole": "",
|
||||
"item.bucket.fill_tadpole": "",
|
||||
"block.froglight.break": "",
|
||||
"block.froglight.fall": "",
|
||||
"block.froglight.hit": "",
|
||||
"block.froglight.place": "",
|
||||
"block.froglight.step": "",
|
||||
"block.frogspawn.step": "",
|
||||
"block.frogspawn.break": "",
|
||||
"block.frogspawn.fall": "",
|
||||
"block.frogspawn.hatch": "",
|
||||
"block.frogspawn.hit": "",
|
||||
"block.frogspawn.place": "",
|
||||
"entity.frog.ambient": "",
|
||||
"entity.frog.death": "",
|
||||
"entity.frog.eat": "",
|
||||
"entity.frog.hurt": "",
|
||||
"entity.frog.lay_spawn": "",
|
||||
"entity.frog.long_jump": "",
|
||||
"entity.frog.step": "",
|
||||
"entity.frog.tounge": "",
|
||||
"block.mangrove_roots.break": "",
|
||||
"block.mangrove_roots.fall": "",
|
||||
"block.mangrove_roots.hit": "",
|
||||
"block.mangrove_roots.place": "",
|
||||
"block.mangrove_roots.step": "",
|
||||
"block.mud.break": "",
|
||||
"block.mud.fall": "",
|
||||
"block.mud.hit": "",
|
||||
"block.mud.place": "",
|
||||
"block.mud.step": "",
|
||||
"block.mud_bricks.break": "",
|
||||
"block.mud_bricks.fall": "",
|
||||
"block.mud_bricks.hit": "",
|
||||
"block.mud_bricks.place": "",
|
||||
"block.mud_bricks.step": "",
|
||||
"block.muddy_mangrove_roots.break": "",
|
||||
"block.muddy_mangrove_roots.fall": "",
|
||||
"block.muddy_mangrove_roots.hit": "",
|
||||
"block.muddy_mangrove_roots.place": "",
|
||||
"block.muddy_mangrove_roots.step": "",
|
||||
"block.packed_mud.break": "",
|
||||
"block.packed_mud.fall": "",
|
||||
"block.packed_mud.hit": "",
|
||||
"block.packed_mud.place": "",
|
||||
"block.packed_mud.step": "",
|
||||
"entity.tadpole.death": "",
|
||||
"entity.tadpole.eat": "",
|
||||
"entity.tadpole.flop": "",
|
||||
"entity.tadpole.grow_up": "",
|
||||
"entity.tadpole.hurt": "",
|
||||
"entity.tadpole.step": "",
|
||||
"entity.allay.ambient_with_item": "",
|
||||
"entity.allay.ambient_without_item": "",
|
||||
"entity.allay.death": "",
|
||||
"entity.allay.flap": "",
|
||||
"entity.allay.hurt": "",
|
||||
"entity.allay.item_given": "",
|
||||
"entity.allay.item_taken": "",
|
||||
"entity.parrot.imitate.warden": "",
|
||||
"entity.warden.sonic_boom": "",
|
||||
"entity.warden.sonic_charge": "",
|
||||
"entity.allay.item_thrown": "",
|
||||
"music_disc.5": "",
|
||||
"music.overworld.swamp": "",
|
||||
"music.overworld.jungle_and_forest": "",
|
||||
"music.overworld.old_growth_taiga": "",
|
||||
"entity.goat.horn_break": "",
|
||||
"item.goat_horn.play": "",
|
||||
"entity.goat.screaming.horn_break": "",
|
||||
"item.goat_horn.sound.0": "",
|
||||
"item.goat_horn.sound.1": "",
|
||||
"item.goat_horn.sound.2": "",
|
||||
"item.goat_horn.sound.3": "",
|
||||
"item.goat_horn.sound.4": "",
|
||||
"item.goat_horn.sound.5": "",
|
||||
"item.goat_horn.sound.6": "",
|
||||
"item.goat_horn.sound.7": ""
|
||||
"music.overworld.deep_dark": "music.end",
|
||||
"block.sculk_vein.break": "block.sculk_sensor.break",
|
||||
"block.sculk_vein.fall": "block.sculk_sensor.fall",
|
||||
"block.sculk_vein.hit": "block.sculk_sensor.hit",
|
||||
"block.sculk_vein.place": "block.sculk_sensor.place",
|
||||
"block.sculk_vein.step": "block.sculk_sensor.step",
|
||||
"block.sculk_catalyst.bloom": "particle.soul_escape",
|
||||
"block.sculk_catalyst.break": "block.sculk_sensor.break",
|
||||
"block.sculk_catalyst.fall": "block.sculk_sensor.fall",
|
||||
"block.sculk_catalyst.hit": "block.sculk_sensor.hit",
|
||||
"block.sculk_catalyst.place": "block.sculk_sensor.place",
|
||||
"block.sculk_catalyst.step": "block.sculk_sensor.step",
|
||||
"block.sculk.spread": "item.ink_sac.use",
|
||||
"block.sculk.charge": "block.bubble_column.bubble_pop",
|
||||
"block.sculk.break": "block.sculk_sensor.break",
|
||||
"block.sculk.fall": "block.sculk_sensor.fall",
|
||||
"block.sculk.hit": "block.sculk_sensor.hit",
|
||||
"block.sculk.place": "block.sculk_sensor.place",
|
||||
"block.sculk.step": "block.sculk_sensor.step",
|
||||
"block.sculk_shrieker.break": "block.sculk_sensor.break",
|
||||
"block.sculk_shrieker.fall": "block.sculk_sensor.fall",
|
||||
"block.sculk_shrieker.hit": "block.sculk_sensor.hit",
|
||||
"block.sculk_shrieker.place": "block.sculk_sensor.place",
|
||||
"block.sculk_shrieker.step": "block.sculk_sensor.step",
|
||||
"block.sculk_shrieker.shriek": "entity.player.breath",
|
||||
"entity.warden.ambient": "entity.ravager.ambient",
|
||||
"entity.warden.listening": "entity.ravager.stunned",
|
||||
"entity.warden.listening_angry": "entity.ravager.celebrate",
|
||||
"entity.warden.angry": "entity.ravager.ambient",
|
||||
"entity.warden.hurt": "entity.ravager.hurt",
|
||||
"entity.warden.death": "entity.ravager.death",
|
||||
"entity.warden.step": "entity.ravager.step",
|
||||
"entity.warden.tendril_clicks": "block.sculk_sensor.clicking",
|
||||
"entity.warden.heartbeat": "block.note_block.basedrum",
|
||||
"entity.warden.agitated": "entity.ravager.roar",
|
||||
"entity.warden.attack_impact": "entity.ravager.attack",
|
||||
"entity.warden.roar": "entity.ravager.roar",
|
||||
"entity.warden.sniff": "entity.piglin.admiring_item",
|
||||
"entity.warden.emerge": "item.trident.thunder",
|
||||
"entity.warden.dig": "block.beacon.deactivate",
|
||||
"entity.warden.nearby_closest": "block.sculk_sensor.clicking",
|
||||
"entity.warden.nearby_closer": "block.sculk_sensor.clicking",
|
||||
"entity.warden.nearby_close": "block.sculk_sensor.clicking",
|
||||
"item.bucket.empty_tadpole": "item.bucket.empty_fish",
|
||||
"item.bucket.fill_tadpole": "item.bucket.fill_fish",
|
||||
"block.froglight.break": "block.slime_block.break",
|
||||
"block.froglight.fall": "block.slime_block.fall",
|
||||
"block.froglight.hit": "block.slime_block.hit",
|
||||
"block.froglight.place": "block.slime_block.place",
|
||||
"block.froglight.step": "block.slime_block.step",
|
||||
"block.frogspawn.step": "block.slime_block.step",
|
||||
"block.frogspawn.break": "block.slime_block.break",
|
||||
"block.frogspawn.fall": "block.slime_block.fall",
|
||||
"block.frogspawn.hatch": "entity.turtle.egg_hatch",
|
||||
"block.frogspawn.hit": "block.slime_block.hit",
|
||||
"block.frogspawn.place": "block.slime_block.place",
|
||||
"entity.frog.ambient": "entity.villager.ambient",
|
||||
"entity.frog.death": "entity.villager.death",
|
||||
"entity.frog.eat": "entity.player.burp",
|
||||
"entity.frog.hurt": "entity.villager.hurt",
|
||||
"entity.frog.lay_spawn": "entity.turtle.lay_egg",
|
||||
"entity.frog.long_jump": "entity.salmon.flop",
|
||||
"entity.frog.step": "entity.salmon.flop",
|
||||
"entity.frog.tongue": "entity.salmon.flop",
|
||||
"block.mangrove_roots.break": "block.vine.break",
|
||||
"block.mangrove_roots.fall": "block.vine.fall",
|
||||
"block.mangrove_roots.hit": "block.vine.hit",
|
||||
"block.mangrove_roots.place": "block.vine.place",
|
||||
"block.mangrove_roots.step": "block.vine.step",
|
||||
"block.mud.break": "block.wet_grass.break",
|
||||
"block.mud.fall": "block.wet_grass.fall",
|
||||
"block.mud.hit": "block.wet_grass.hit",
|
||||
"block.mud.place": "block.wet_grass.place",
|
||||
"block.mud.step": "block.wet_grass.step",
|
||||
"block.mud_bricks.break": "block.stone.break",
|
||||
"block.mud_bricks.fall": "block.stone.fall",
|
||||
"block.mud_bricks.hit": "block.stone.hit",
|
||||
"block.mud_bricks.place": "block.stone.place",
|
||||
"block.mud_bricks.step": "block.stone.step",
|
||||
"block.muddy_mangrove_roots.break": "block.wet_grass.break",
|
||||
"block.muddy_mangrove_roots.fall": "block.wet_grass.fall",
|
||||
"block.muddy_mangrove_roots.hit": "block.wet_grass.hit",
|
||||
"block.muddy_mangrove_roots.place": "block.wet_grass.place",
|
||||
"block.muddy_mangrove_roots.step": "block.wet_grass.step",
|
||||
"block.packed_mud.break": "block.stone.break",
|
||||
"block.packed_mud.fall": "block.stone.fall",
|
||||
"block.packed_mud.hit": "block.stone.hit",
|
||||
"block.packed_mud.place": "block.stone.place",
|
||||
"block.packed_mud.step": "block.stone.step",
|
||||
"entity.tadpole.death": "entity.salmon.death",
|
||||
"entity.tadpole.eat": "entity.salmon.flop",
|
||||
"entity.tadpole.flop": "entity.salmon.flop",
|
||||
"entity.tadpole.grow_up": "entity.villager.ambient",
|
||||
"entity.tadpole.hurt": "entity.salmon.hurt",
|
||||
"entity.tadpole.step": "entity.salmon.flop",
|
||||
"entity.allay.ambient_with_item": "block.amethyst_block.chime",
|
||||
"entity.allay.ambient_without_item": "block.amethyst_block.chime",
|
||||
"entity.allay.death": "entity.vex.death",
|
||||
"entity.allay.flap": "block.amethyst_block.chime",
|
||||
"entity.allay.hurt": "entity.vex.hurt",
|
||||
"entity.allay.item_given": "entity.item.pickup",
|
||||
"entity.allay.item_taken": "entity.item.pickup",
|
||||
"entity.parrot.imitate.warden": "entity.parrot.imitate.ravager",
|
||||
"entity.warden.sonic_boom": "entity.generic.explode",
|
||||
"entity.warden.sonic_charge": "entity.tnt.primed",
|
||||
"entity.allay.item_thrown": "entity.item.pickup",
|
||||
"music_disc.5": "music_disc.11",
|
||||
"music.overworld.swamp": "music.game",
|
||||
"music.overworld.jungle_and_forest": "music.game",
|
||||
"music.overworld.old_growth_taiga": "music.game",
|
||||
"entity.goat.horn_break": "entity.zombie.break_wooden_door",
|
||||
"item.goat_horn.play": "block.note_block.banjo",
|
||||
"entity.goat.screaming.horn_break": "entity.zombie.break_wooden_door",
|
||||
"item.goat_horn.sound.0": "block.note_block.bass",
|
||||
"item.goat_horn.sound.1": "block.note_block.snare",
|
||||
"item.goat_horn.sound.2": "block.note_block.xylophone",
|
||||
"item.goat_horn.sound.3": "block.note_block.bit",
|
||||
"item.goat_horn.sound.4": "block.note_block.harp",
|
||||
"item.goat_horn.sound.5": "block.note_block.pling",
|
||||
"item.goat_horn.sound.6": "block.note_block.didgeridoo",
|
||||
"item.goat_horn.sound.7": "block.note_block.guitar"
|
||||
},
|
||||
"items": {
|
||||
"minecraft:warden_spawn_egg": {
|
||||
@@ -738,4 +738,4 @@
|
||||
"tadpole": "Tadpole",
|
||||
"allay": "Allay"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,897 @@
|
||||
{
|
||||
"blockstates": {
|
||||
"minecraft:note_block": "minecraft:note_block[instrument=harp,note=0,powered=false]",
|
||||
"minecraft:piglin_head": "minecraft:zombie_head[",
|
||||
"minecraft:piglin_wall_head": "minecraft:zombie_wall_head[",
|
||||
"minecraft:bamboo_planks": "minecraft:birch_planks",
|
||||
"minecraft:bamboo_mosaic": "minecraft:birch_planks",
|
||||
"minecraft:chiseled_bookshelf": "minecraft:bookshelf",
|
||||
"minecraft:bamboo_sign": "minecraft:birch_sign[",
|
||||
"minecraft:bamboo_wall_sign": "minecraft:birch_wall_sign[",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:oak_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:oak_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:oak_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:oak_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:oak_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:oak_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:oak_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:oak_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:oak_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:oak_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:oak_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:oak_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:oak_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:oak_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:oak_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:oak_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:oak_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:oak_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:oak_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:oak_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:oak_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:oak_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:oak_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:oak_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:oak_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:oak_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:oak_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:oak_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:oak_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:oak_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:oak_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:oak_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:oak_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:oak_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:oak_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:oak_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:oak_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:oak_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:oak_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:oak_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:oak_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:oak_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:oak_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:oak_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:oak_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:oak_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:oak_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:oak_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:oak_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:oak_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:oak_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:oak_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:oak_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:oak_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:oak_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:oak_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:oak_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:oak_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:oak_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:oak_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:oak_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:oak_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:oak_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:oak_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:oak_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:spruce_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:spruce_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:spruce_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:spruce_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:spruce_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:spruce_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:spruce_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:spruce_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:spruce_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:spruce_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:spruce_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:spruce_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:spruce_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:spruce_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:spruce_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:spruce_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:spruce_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:spruce_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:spruce_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:spruce_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:spruce_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:spruce_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:spruce_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:spruce_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:spruce_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:spruce_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:spruce_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:spruce_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:spruce_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:spruce_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:spruce_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:spruce_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:spruce_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:spruce_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:spruce_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:spruce_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:spruce_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:spruce_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:spruce_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:spruce_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:spruce_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:spruce_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:spruce_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:spruce_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:spruce_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:spruce_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:spruce_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:spruce_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:spruce_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:spruce_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:spruce_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:spruce_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:spruce_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:spruce_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:spruce_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:spruce_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:spruce_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:spruce_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:spruce_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:spruce_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:spruce_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:spruce_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:spruce_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:spruce_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:spruce_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:birch_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:birch_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:birch_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:birch_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:birch_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:birch_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:birch_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:birch_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:birch_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:birch_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:birch_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:birch_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:birch_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:birch_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:birch_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:birch_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:birch_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:birch_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:birch_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:birch_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:birch_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:birch_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:birch_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:birch_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:birch_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:birch_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:birch_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:birch_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:birch_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:birch_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:birch_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:birch_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:birch_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:birch_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:birch_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:birch_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:birch_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:birch_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:birch_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:birch_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:birch_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:birch_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:birch_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:birch_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:birch_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:birch_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:birch_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:birch_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:birch_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:birch_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:birch_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:birch_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:birch_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:birch_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:birch_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:birch_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:birch_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:birch_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:birch_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:birch_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:birch_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:birch_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:birch_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:birch_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:birch_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:acacia_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:acacia_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:acacia_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:acacia_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:acacia_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:acacia_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:acacia_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:acacia_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:acacia_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:acacia_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:acacia_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:acacia_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:acacia_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:acacia_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:acacia_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:acacia_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:acacia_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:acacia_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:acacia_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:acacia_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:acacia_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:acacia_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:acacia_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:acacia_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:acacia_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:acacia_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:acacia_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:acacia_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:acacia_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:acacia_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:acacia_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:acacia_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:acacia_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:acacia_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:acacia_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:acacia_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:acacia_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:acacia_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:acacia_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:acacia_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:acacia_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:acacia_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:acacia_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:acacia_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:acacia_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:acacia_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:acacia_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:acacia_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:acacia_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:acacia_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:acacia_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:acacia_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:acacia_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:acacia_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:acacia_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:acacia_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:acacia_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:acacia_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:acacia_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:acacia_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:acacia_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:acacia_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:acacia_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:acacia_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:acacia_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:jungle_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:jungle_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:jungle_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:jungle_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:jungle_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:jungle_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:jungle_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:jungle_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:jungle_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:jungle_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:jungle_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:jungle_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:jungle_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:jungle_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:jungle_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:jungle_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:jungle_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:jungle_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:jungle_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:jungle_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:jungle_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:jungle_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:jungle_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:jungle_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:jungle_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:jungle_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:jungle_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:jungle_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:jungle_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:jungle_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:jungle_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:jungle_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:jungle_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:jungle_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:jungle_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:jungle_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:jungle_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:jungle_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:jungle_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:jungle_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:jungle_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:jungle_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:jungle_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:jungle_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:jungle_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:jungle_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:jungle_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:jungle_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:jungle_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:jungle_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:jungle_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:jungle_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:jungle_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:jungle_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:jungle_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:jungle_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:jungle_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:jungle_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:jungle_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:jungle_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:jungle_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:jungle_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:jungle_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:jungle_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:jungle_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:dark_oak_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:dark_oak_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:dark_oak_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:dark_oak_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:dark_oak_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:dark_oak_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:dark_oak_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:dark_oak_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:dark_oak_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:dark_oak_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:dark_oak_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:dark_oak_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:dark_oak_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:dark_oak_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:dark_oak_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:dark_oak_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:dark_oak_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:dark_oak_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:dark_oak_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:dark_oak_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:dark_oak_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:dark_oak_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:dark_oak_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:dark_oak_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:dark_oak_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:dark_oak_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:dark_oak_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:dark_oak_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:dark_oak_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:dark_oak_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:dark_oak_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:dark_oak_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:dark_oak_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:dark_oak_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:dark_oak_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:dark_oak_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:dark_oak_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:dark_oak_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:dark_oak_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:dark_oak_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:dark_oak_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:dark_oak_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:dark_oak_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:dark_oak_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:dark_oak_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:dark_oak_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:dark_oak_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:dark_oak_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:dark_oak_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:dark_oak_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:dark_oak_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:dark_oak_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:dark_oak_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:dark_oak_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:dark_oak_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:dark_oak_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:dark_oak_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:dark_oak_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:dark_oak_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:dark_oak_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:dark_oak_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:dark_oak_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:dark_oak_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:dark_oak_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:dark_oak_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:crimson_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:crimson_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:crimson_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:crimson_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:crimson_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:crimson_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:crimson_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:crimson_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:crimson_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:crimson_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:crimson_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:crimson_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:crimson_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:crimson_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:crimson_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:crimson_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:crimson_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:crimson_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:crimson_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:crimson_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:crimson_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:crimson_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:crimson_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:crimson_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:crimson_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:crimson_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:crimson_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:crimson_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:crimson_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:crimson_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:crimson_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:crimson_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:crimson_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:crimson_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:crimson_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:crimson_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:crimson_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:crimson_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:crimson_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:crimson_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:crimson_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:crimson_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:crimson_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:crimson_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:crimson_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:crimson_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:crimson_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:crimson_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:crimson_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:crimson_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:crimson_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:crimson_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:crimson_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:crimson_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:crimson_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:crimson_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:crimson_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:crimson_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:crimson_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:crimson_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:crimson_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:crimson_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:crimson_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:crimson_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:crimson_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:warped_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:warped_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:warped_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:warped_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:warped_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:warped_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:warped_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:warped_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:warped_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:warped_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:warped_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:warped_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:warped_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:warped_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:warped_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:warped_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:warped_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:warped_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:warped_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:warped_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:warped_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:warped_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:warped_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:warped_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:warped_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:warped_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:warped_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:warped_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:warped_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:warped_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:warped_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:warped_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:warped_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:warped_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:warped_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:warped_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:warped_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:warped_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:warped_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:warped_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:warped_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:warped_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:warped_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:warped_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:warped_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:warped_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:warped_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:warped_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:warped_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:warped_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:warped_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:warped_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:warped_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:warped_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:warped_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:warped_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:warped_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:warped_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:warped_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:warped_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:warped_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:warped_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:warped_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:warped_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:warped_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:mangrove_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:mangrove_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:mangrove_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:mangrove_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:mangrove_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:mangrove_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:mangrove_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:mangrove_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:mangrove_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:mangrove_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:mangrove_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:mangrove_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:mangrove_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:mangrove_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:mangrove_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:mangrove_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:mangrove_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:mangrove_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:mangrove_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:mangrove_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:mangrove_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:mangrove_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:mangrove_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:mangrove_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:mangrove_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:mangrove_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:mangrove_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:mangrove_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:mangrove_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:mangrove_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:mangrove_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:mangrove_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:mangrove_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:mangrove_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:mangrove_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:mangrove_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:mangrove_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:mangrove_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:mangrove_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:mangrove_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:mangrove_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:mangrove_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:mangrove_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:mangrove_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:mangrove_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:mangrove_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:mangrove_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:mangrove_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:mangrove_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:mangrove_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:mangrove_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:mangrove_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:mangrove_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:mangrove_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:mangrove_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:mangrove_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:mangrove_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:mangrove_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:mangrove_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:mangrove_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:mangrove_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:mangrove_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:mangrove_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:mangrove_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:mangrove_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=0,waterlogged=true]": "minecraft:birch_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=0,waterlogged=false]": "minecraft:birch_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=1,waterlogged=true]": "minecraft:birch_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=1,waterlogged=false]": "minecraft:birch_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=2,waterlogged=true]": "minecraft:birch_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=2,waterlogged=false]": "minecraft:birch_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=3,waterlogged=true]": "minecraft:birch_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=3,waterlogged=false]": "minecraft:birch_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=4,waterlogged=true]": "minecraft:birch_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=4,waterlogged=false]": "minecraft:birch_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=5,waterlogged=true]": "minecraft:birch_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=5,waterlogged=false]": "minecraft:birch_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=6,waterlogged=true]": "minecraft:birch_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=6,waterlogged=false]": "minecraft:birch_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=7,waterlogged=true]": "minecraft:birch_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=7,waterlogged=false]": "minecraft:birch_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=8,waterlogged=true]": "minecraft:birch_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=8,waterlogged=false]": "minecraft:birch_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=9,waterlogged=true]": "minecraft:birch_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=9,waterlogged=false]": "minecraft:birch_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=10,waterlogged=true]": "minecraft:birch_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=10,waterlogged=false]": "minecraft:birch_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=11,waterlogged=true]": "minecraft:birch_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=11,waterlogged=false]": "minecraft:birch_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=12,waterlogged=true]": "minecraft:birch_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=12,waterlogged=false]": "minecraft:birch_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=13,waterlogged=true]": "minecraft:birch_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=13,waterlogged=false]": "minecraft:birch_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=14,waterlogged=true]": "minecraft:birch_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=14,waterlogged=false]": "minecraft:birch_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=15,waterlogged=true]": "minecraft:birch_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=true,rotation=15,waterlogged=false]": "minecraft:birch_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=0,waterlogged=true]": "minecraft:birch_sign[rotation=0,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=0,waterlogged=false]": "minecraft:birch_sign[rotation=0,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=1,waterlogged=true]": "minecraft:birch_sign[rotation=1,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=1,waterlogged=false]": "minecraft:birch_sign[rotation=1,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=2,waterlogged=true]": "minecraft:birch_sign[rotation=2,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=2,waterlogged=false]": "minecraft:birch_sign[rotation=2,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=3,waterlogged=true]": "minecraft:birch_sign[rotation=3,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=3,waterlogged=false]": "minecraft:birch_sign[rotation=3,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=4,waterlogged=true]": "minecraft:birch_sign[rotation=4,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=4,waterlogged=false]": "minecraft:birch_sign[rotation=4,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=5,waterlogged=true]": "minecraft:birch_sign[rotation=5,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=5,waterlogged=false]": "minecraft:birch_sign[rotation=5,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=6,waterlogged=true]": "minecraft:birch_sign[rotation=6,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=6,waterlogged=false]": "minecraft:birch_sign[rotation=6,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=7,waterlogged=true]": "minecraft:birch_sign[rotation=7,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=7,waterlogged=false]": "minecraft:birch_sign[rotation=7,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=8,waterlogged=true]": "minecraft:birch_sign[rotation=8,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=8,waterlogged=false]": "minecraft:birch_sign[rotation=8,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=9,waterlogged=true]": "minecraft:birch_sign[rotation=9,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=9,waterlogged=false]": "minecraft:birch_sign[rotation=9,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=10,waterlogged=true]": "minecraft:birch_sign[rotation=10,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=10,waterlogged=false]": "minecraft:birch_sign[rotation=10,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=11,waterlogged=true]": "minecraft:birch_sign[rotation=11,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=11,waterlogged=false]": "minecraft:birch_sign[rotation=11,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=12,waterlogged=true]": "minecraft:birch_sign[rotation=12,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=12,waterlogged=false]": "minecraft:birch_sign[rotation=12,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=13,waterlogged=true]": "minecraft:birch_sign[rotation=13,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=13,waterlogged=false]": "minecraft:birch_sign[rotation=13,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=14,waterlogged=true]": "minecraft:birch_sign[rotation=14,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=14,waterlogged=false]": "minecraft:birch_sign[rotation=14,waterlogged=false]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=15,waterlogged=true]": "minecraft:birch_sign[rotation=15,waterlogged=true]",
|
||||
"minecraft:bamboo_hanging_sign[attached=false,rotation=15,waterlogged=false]": "minecraft:birch_sign[rotation=15,waterlogged=false]",
|
||||
"minecraft:oak_wall_hanging_sign": "minecraft:oak_wall_sign[",
|
||||
"minecraft:spruce_wall_hanging_sign": "minecraft:spruce_wall_sign[",
|
||||
"minecraft:birch_wall_hanging_sign": "minecraft:birch_wall_sign[",
|
||||
"minecraft:acacia_wall_hanging_sign": "minecraft:acacia_wall_sign[",
|
||||
"minecraft:jungle_wall_hanging_sign": "minecraft:jungle_wall_sign[",
|
||||
"minecraft:dark_oak_wall_hanging_sign": "minecraft:dark_oak_wall_sign[",
|
||||
"minecraft:mangrove_wall_hanging_sign": "minecraft:mangrove_wall_sign[",
|
||||
"minecraft:crimson_wall_hanging_sign": "minecraft:crimson_wall_sign[",
|
||||
"minecraft:warped_wall_hanging_sign": "minecraft:warped_wall_sign[",
|
||||
"minecraft:bamboo_wall_hanging_sign": "minecraft:birch_wall_sign[",
|
||||
"minecraft:bamboo_pressure_plate": "minecraft:birch_pressure_plate[",
|
||||
"minecraft:bamboo_trapdoor": "minecraft:birch_trapdoor[",
|
||||
"minecraft:bamboo_button": "minecraft:birch_button[",
|
||||
"minecraft:bamboo_stairs": "minecraft:birch_stairs[",
|
||||
"minecraft:bamboo_mosaic_stairs": "minecraft:birch_stairs[",
|
||||
"minecraft:bamboo_slab": "minecraft:birch_slab[",
|
||||
"minecraft:bamboo_mosaic_slab": "minecraft:birch_slab[",
|
||||
"minecraft:bamboo_fence": "minecraft:birch_fence[",
|
||||
"minecraft:bamboo_fence_gate": "minecraft:birch_fence_gate[",
|
||||
"minecraft:bamboo_door": "minecraft:birch_door[",
|
||||
"minecraft:bamboo_block": "minecraft:birch_wood[",
|
||||
"minecraft:stripped_bamboo_block": "minecraft:stripped_birch_wood["
|
||||
},
|
||||
"argumenttypes": {
|
||||
"minecraft:resource_key": "minecraft:resource_or_tag",
|
||||
"minecraft:resource_or_tag_key": "minecraft:resource_or_tag",
|
||||
"minecraft:gamemode": "brigadier:string"
|
||||
},
|
||||
"blockentities": {
|
||||
"hanging_sign": "sign",
|
||||
"chiseled_bookshelf": ""
|
||||
},
|
||||
"items": {
|
||||
"minecraft:bamboo_planks": {
|
||||
"id": "minecraft:birch_planks",
|
||||
"name": "1.19.3 Bamboo Planks"
|
||||
},
|
||||
"minecraft:bamboo_mosaic": {
|
||||
"id": "minecraft:birch_planks",
|
||||
"name": "1.19.3 Bamboo Mosaic"
|
||||
},
|
||||
"minecraft:bamboo_slab": {
|
||||
"id": "minecraft:birch_slab",
|
||||
"name": "1.19.3 Bamboo Slab"
|
||||
},
|
||||
"minecraft:bamboo_mosaic_slab": {
|
||||
"id": "minecraft:birch_slab",
|
||||
"name": "1.19.3 Bamboo Mosaic Slab"
|
||||
},
|
||||
"minecraft:chiseled_bookshelf": {
|
||||
"id": "minecraft:bookshelf",
|
||||
"name": "1.19.3 Chiseled Bookshelf"
|
||||
},
|
||||
"minecraft:bamboo_fence": {
|
||||
"id": "minecraft:birch_fence",
|
||||
"name": "1.19.3 Bamboo Fence"
|
||||
},
|
||||
"minecraft:bamboo_stairs": {
|
||||
"id": "minecraft:birch_stairs",
|
||||
"name": "1.19.3 Bamboo Stairs"
|
||||
},
|
||||
"minecraft:bamboo_mosaic_stairs": {
|
||||
"id": "minecraft:birch_stairs",
|
||||
"name": "1.19.3 Bamboo Mosaic Stairs"
|
||||
},
|
||||
"minecraft:bamboo_button": {
|
||||
"id": "minecraft:birch_button",
|
||||
"name": "1.19.3 Bamboo Button"
|
||||
},
|
||||
"minecraft:bamboo_pressure_plate": {
|
||||
"id": "minecraft:birch_pressure_plate",
|
||||
"name": "1.19.3 Bamboo Pressure Plate"
|
||||
},
|
||||
"minecraft:bamboo_door": {
|
||||
"id": "minecraft:birch_door",
|
||||
"name": "1.19.3 Bamboo Door"
|
||||
},
|
||||
"minecraft:bamboo_trapdoor": {
|
||||
"id": "minecraft:birch_trapdoor",
|
||||
"name": "1.19.3 Bamboo Trapdoor"
|
||||
},
|
||||
"minecraft:bamboo_fence_gate": {
|
||||
"id": "minecraft:birch_fence_gate",
|
||||
"name": "1.19.3 Bamboo Fence Gate"
|
||||
},
|
||||
"minecraft:bamboo_raft": {
|
||||
"id": "minecraft:birch_boat",
|
||||
"name": "1.19.3 Bamboo Raft"
|
||||
},
|
||||
"minecraft:bamboo_chest_raft": {
|
||||
"id": "minecraft:birch_chest_boat",
|
||||
"name": "1.19.3 Bamboo Chest Raft"
|
||||
},
|
||||
"minecraft:bamboo_sign": {
|
||||
"id": "minecraft:birch_sign",
|
||||
"name": "1.19.3 Bamboo Sign"
|
||||
},
|
||||
"minecraft:oak_hanging_sign": {
|
||||
"id": "minecraft:birch_sign",
|
||||
"name": "1.19.3 Oak Hanging Sign"
|
||||
},
|
||||
"minecraft:spruce_hanging_sign": {
|
||||
"id": "minecraft:spruce_sign",
|
||||
"name": "1.19.3 Spruce Hanging Sign"
|
||||
},
|
||||
"minecraft:birch_hanging_sign": {
|
||||
"id": "minecraft:birch_sign",
|
||||
"name": "1.19.3 Birch Hanging Sign"
|
||||
},
|
||||
"minecraft:jungle_hanging_sign": {
|
||||
"id": "minecraft:jungle_sign",
|
||||
"name": "1.19.3 Jungle Hanging Sign"
|
||||
},
|
||||
"minecraft:acacia_hanging_sign": {
|
||||
"id": "minecraft:acacia_sign",
|
||||
"name": "1.19.3 Acacia Hanging Sign"
|
||||
},
|
||||
"minecraft:dark_oak_hanging_sign": {
|
||||
"id": "minecraft:dark_oak_sign",
|
||||
"name": "1.19.3 Dark Oak Hanging Sign"
|
||||
},
|
||||
"minecraft:mangrove_hanging_sign": {
|
||||
"id": "minecraft:mangrove_sign",
|
||||
"name": "1.19.3 Mangrove Hanging Sign"
|
||||
},
|
||||
"minecraft:bamboo_hanging_sign": {
|
||||
"id": "minecraft:birch_sign",
|
||||
"name": "1.19.3 Bamboo Hanging Sign"
|
||||
},
|
||||
"minecraft:crimson_hanging_sign": {
|
||||
"id": "minecraft:crimson_sign",
|
||||
"name": "1.19.3 Crimson Hanging Sign"
|
||||
},
|
||||
"minecraft:warped_hanging_sign": {
|
||||
"id": "minecraft:warped_sign",
|
||||
"name": "1.19.3 Warped Hanging Sign"
|
||||
},
|
||||
"minecraft:camel_spawn_egg": {
|
||||
"id": "minecraft:donkey_spawn_egg",
|
||||
"name": "1.19.3 Camel Spawn Egg"
|
||||
},
|
||||
"minecraft:ender_dragon_spawn_egg": {
|
||||
"id": "minecraft:enderman_spawn_egg",
|
||||
"name": "1.19.3 Ender Dragon Spawn Egg"
|
||||
},
|
||||
"minecraft:iron_golem_spawn_egg": {
|
||||
"id": "minecraft:polar_bear_spawn_egg",
|
||||
"name": "1.19.3 Iron Golem Spawn Egg"
|
||||
},
|
||||
"minecraft:snow_golem_spawn_egg": {
|
||||
"id": "minecraft:polar_bear_spawn_egg",
|
||||
"name": "1.19.3 Snow Golem Spawn Egg"
|
||||
},
|
||||
"minecraft:wither_spawn_egg": {
|
||||
"id": "minecraft:squid_spawn_egg",
|
||||
"name": "1.19.3 Wither Spawn Egg"
|
||||
},
|
||||
"minecraft:bamboo_block": {
|
||||
"id": "minecraft:birch_wood",
|
||||
"name": "1.19.3 Bamboo Block"
|
||||
},
|
||||
"minecraft:stripped_bamboo_block": {
|
||||
"id": "minecraft:stripped_birch_wood",
|
||||
"name": "1.19.3 Stripped Bamboo Block"
|
||||
},
|
||||
"minecraft:piglin_head": {
|
||||
"id": "minecraft:zombie_head",
|
||||
"name": "1.19.3 Piglin Head"
|
||||
}
|
||||
},
|
||||
"sounds": {
|
||||
"block.bamboo_wood.break": "",
|
||||
"block.bamboo_wood.fall": "",
|
||||
"block.bamboo_wood.hit": "",
|
||||
"block.bamboo_wood.place": "",
|
||||
"block.bamboo_wood.step": "",
|
||||
"block.bamboo_wood_door.close": "",
|
||||
"block.bamboo_wood_door.open": "",
|
||||
"block.bamboo_wood_trapdoor.close": "",
|
||||
"block.bamboo_wood_trapdoor.open": "",
|
||||
"block.bamboo_wood_button.click_off": "",
|
||||
"block.bamboo_wood_button.click_on": "",
|
||||
"block.bamboo_wood_pressure_plate.click_off": "",
|
||||
"block.bamboo_wood_pressure_plate.click_on": "",
|
||||
"block.bamboo_wood_fence_gate.close": "",
|
||||
"block.bamboo_wood_fence_gate.open": "",
|
||||
"entity.camel.ambient": "",
|
||||
"entity.camel.dash": "",
|
||||
"entity.camel.dash_ready": "",
|
||||
"entity.camel.death": "",
|
||||
"entity.camel.eat": "",
|
||||
"entity.camel.hurt": "",
|
||||
"entity.camel.saddle": "",
|
||||
"entity.camel.sit": "",
|
||||
"entity.camel.stand": "",
|
||||
"entity.camel.step": "",
|
||||
"entity.camel.step_sand": "",
|
||||
"block.hanging_sign.step": "",
|
||||
"block.hanging_sign.break": "",
|
||||
"block.hanging_sign.fall": "",
|
||||
"block.hanging_sign.hit": "",
|
||||
"block.hanging_sign.place": "",
|
||||
"block.nether_wood.break": "",
|
||||
"block.nether_wood.fall": "",
|
||||
"block.nether_wood.hit": "",
|
||||
"block.nether_wood.place": "",
|
||||
"block.nether_wood.step": "",
|
||||
"block.nether_wood_door.close": "",
|
||||
"block.nether_wood_door.open": "",
|
||||
"block.nether_wood_trapdoor.close": "",
|
||||
"block.nether_wood_trapdoor.open": "",
|
||||
"block.nether_wood_button.click_off": "",
|
||||
"block.nether_wood_button.click_on": "",
|
||||
"block.nether_wood_pressure_plate.click_off": "",
|
||||
"block.nether_wood_pressure_plate.click_on": "",
|
||||
"block.nether_wood_fence_gate.close": "",
|
||||
"block.nether_wood_fence_gate.open": "",
|
||||
"block.chiseled_bookshelf.break": "",
|
||||
"block.chiseled_bookshelf.fall": "",
|
||||
"block.chiseled_bookshelf.hit": "",
|
||||
"block.chiseled_bookshelf.insert": "",
|
||||
"block.chiseled_bookshelf.insert.enchanted": "",
|
||||
"block.chiseled_bookshelf.step": "",
|
||||
"block.chiseled_bookshelf.pickup": "",
|
||||
"block.chiseled_bookshelf.pickup.enchanted": "",
|
||||
"block.chiseled_bookshelf.place": "",
|
||||
"block.nether_wood_hanging_sign.step": "",
|
||||
"block.nether_wood_hanging_sign.break": "",
|
||||
"block.nether_wood_hanging_sign.fall": "",
|
||||
"block.nether_wood_hanging_sign.hit": "",
|
||||
"block.nether_wood_hanging_sign.place": "",
|
||||
"block.bamboo_wood_hanging_sign.step": "",
|
||||
"block.bamboo_wood_hanging_sign.break": "",
|
||||
"block.bamboo_wood_hanging_sign.fall": "",
|
||||
"block.bamboo_wood_hanging_sign.hit": "",
|
||||
"block.bamboo_wood_hanging_sign.place": "",
|
||||
"block.note_block.imitate.zombie": "",
|
||||
"block.note_block.imitate.skeleton": "",
|
||||
"block.note_block.imitate.creeper": "",
|
||||
"block.note_block.imitate.ender_dragon": "",
|
||||
"block.note_block.imitate.wither_skeleton": "",
|
||||
"block.note_block.imitate.piglin": ""
|
||||
},
|
||||
"entitynames": {
|
||||
"camel": "Camel"
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,526 @@
|
||||
{
|
||||
"1.19.3": {
|
||||
"gui.chatReport.discard.draft": "Save as Draft",
|
||||
"gui.chatReport.draft.title": "Edit draft chat report?",
|
||||
"gui.chatReport.draft.content": "Would you like to continue editing the existing report or discard it and create a new one?",
|
||||
"gui.chatReport.draft.quittotitle.title": "You have a draft chat report that will be lost if you quit",
|
||||
"gui.chatReport.draft.quittotitle.content": "Would you like to continue editing it or discard it?",
|
||||
"gui.chatReport.draft.discard": "Discard",
|
||||
"gui.chatReport.draft.edit": "Continue Editing",
|
||||
"gui.chatSelection.join": "%s joined the chat",
|
||||
"selectWorld.experimental": "Experimental",
|
||||
"selectWorld.warning.experimental.title": "Warning! These settings are using experimental features",
|
||||
"selectWorld.warning.experimental.question": "These settings are experimental and could one day stop working. Do you wish to proceed?",
|
||||
"selectWorld.warning.deprecated.title": "Warning! These settings are using deprecated features",
|
||||
"selectWorld.warning.deprecated.question": "Some features used are deprecated and will stop working in the future. Do you wish to proceed?",
|
||||
"selectWorld.experimental.title": "Experimental Features Warning",
|
||||
"selectWorld.experimental.message": "Be careful!\nSome of the selected packs require features that are still under development. Your world might crash, break or not work with future updates.",
|
||||
"selectWorld.experimental.details": "Details",
|
||||
"selectWorld.experimental.details.title": "Experimental feature requirements",
|
||||
"selectWorld.experimental.details.entry": "Required experimental features: %s",
|
||||
"lanServer.port": "Port Number",
|
||||
"lanServer.port.unavailable": "Port not available.\nLeave the edit box empty or enter a different number between 1024 and 65535.",
|
||||
"lanServer.port.unavailable.new": "Port not available.\nLeave the edit box empty or enter a different number between %s and %s.",
|
||||
"lanServer.port.invalid": "Not a valid port.\nLeave the edit box empty or enter a number between 1024 and 65535.",
|
||||
"lanServer.port.invalid.new": "Not a valid port.\nLeave the edit box empty or enter a number between %s and %s.",
|
||||
"multiplayer.disconnect.expired_public_key": "Expired profile public key. Check that your system time is synchronized, and try restarting your game.",
|
||||
"chat.disabled.expiredProfileKey": "Chat disabled due to expired profile public key. Please try reconnecting.",
|
||||
"chat.disabled.chain_broken": "Chat disabled due to broken chain. Please try reconnecting.",
|
||||
"chat.disabled.missingProfileKey": "Chat disabled due to missing profile public key. Please try reconnecting.",
|
||||
"chat.tag.system": "Server message. Cannot be reported.",
|
||||
"chat.tag.system_single_player": "Server message.",
|
||||
"chat.filtered": "Filtered by the server.",
|
||||
"chat.deleted_marker": "This chat message has been deleted by the server.",
|
||||
"options.accessibility.panorama_speed": "Panorama Scroll Speed",
|
||||
"options.telemetry": "Telemetry Data",
|
||||
"options.telemetry.button": "Data Collection",
|
||||
"options.telemetry.state.none": "None",
|
||||
"options.telemetry.state.minimal": "Minimal",
|
||||
"options.telemetry.state.all": "All",
|
||||
"options.telemetry.button.tooltip": "\"%s\" includes only the required data.\n\"%s\" includes optional, as well as the required data.",
|
||||
"options.operatorItemsTab": "Operator Items Tab",
|
||||
"resourcePack.programmer_art.name": "Programmer Art",
|
||||
"resourcePack.vanilla.name": "Default",
|
||||
"dataPack.vanilla.name": "Default",
|
||||
"dataPack.bundle.description": "Enables experimental Bundle item",
|
||||
"dataPack.update_1_20.description": "New features and content for Minecraft 1.20",
|
||||
"hanging_sign.edit": "Edit Hanging Sign Message",
|
||||
"block.minecraft.bamboo_planks": "Bamboo Planks",
|
||||
"block.minecraft.bamboo_mosaic": "Bamboo Mosaic",
|
||||
"block.minecraft.bamboo_door": "Bamboo Door",
|
||||
"block.minecraft.bamboo_block": "Block of Bamboo",
|
||||
"block.minecraft.stripped_bamboo_block": "Block of Stripped Bamboo",
|
||||
"block.minecraft.bamboo_slab": "Bamboo Slab",
|
||||
"block.minecraft.bamboo_mosaic_slab": "Bamboo Mosaic Slab",
|
||||
"block.minecraft.chiseled_bookshelf": "Chiseled Bookshelf",
|
||||
"block.minecraft.spawner.desc1": "Interact with Spawn Egg:",
|
||||
"block.minecraft.spawner.desc2": "Sets Mob Type",
|
||||
"block.minecraft.bamboo_stairs": "Bamboo Stairs",
|
||||
"block.minecraft.bamboo_mosaic_stairs": "Bamboo Mosaic Stairs",
|
||||
"block.minecraft.bamboo_sign": "Bamboo Sign",
|
||||
"block.minecraft.bamboo_wall_sign": "Bamboo Wall Sign",
|
||||
"block.minecraft.oak_hanging_sign": "Oak Hanging Sign",
|
||||
"block.minecraft.spruce_hanging_sign": "Spruce Hanging Sign",
|
||||
"block.minecraft.birch_hanging_sign": "Birch Hanging Sign",
|
||||
"block.minecraft.acacia_hanging_sign": "Acacia Hanging Sign",
|
||||
"block.minecraft.jungle_hanging_sign": "Jungle Hanging Sign",
|
||||
"block.minecraft.crimson_hanging_sign": "Crimson Hanging Sign",
|
||||
"block.minecraft.warped_hanging_sign": "Warped Hanging Sign",
|
||||
"block.minecraft.dark_oak_hanging_sign": "Dark Oak Hanging Sign",
|
||||
"block.minecraft.mangrove_hanging_sign": "Mangrove Hanging Sign",
|
||||
"block.minecraft.bamboo_hanging_sign": "Bamboo Hanging Sign",
|
||||
"block.minecraft.oak_wall_hanging_sign": "Oak Wall Hanging Sign",
|
||||
"block.minecraft.spruce_wall_hanging_sign": "Spruce Wall Hanging Sign",
|
||||
"block.minecraft.birch_wall_hanging_sign": "Birch Wall Hanging Sign",
|
||||
"block.minecraft.acacia_wall_hanging_sign": "Acacia Wall Hanging Sign",
|
||||
"block.minecraft.jungle_wall_hanging_sign": "Jungle Wall Hanging Sign",
|
||||
"block.minecraft.dark_oak_wall_hanging_sign": "Dark Oak Wall Hanging Sign",
|
||||
"block.minecraft.mangrove_wall_hanging_sign": "Mangrove Wall Hanging Sign",
|
||||
"block.minecraft.crimson_wall_hanging_sign": "Crimson Wall Hanging Sign",
|
||||
"block.minecraft.warped_wall_hanging_sign": "Warped Wall Hanging Sign",
|
||||
"block.minecraft.bamboo_wall_hanging_sign": "Bamboo Wall Hanging Sign",
|
||||
"block.minecraft.bamboo_pressure_plate": "Bamboo Pressure Plate",
|
||||
"block.minecraft.bamboo_button": "Bamboo Button",
|
||||
"block.minecraft.bamboo_fence": "Bamboo Fence",
|
||||
"block.minecraft.bamboo_fence_gate": "Bamboo Fence Gate",
|
||||
"block.minecraft.bamboo_trapdoor": "Bamboo Trapdoor",
|
||||
"block.minecraft.piglin_wall_head": "Piglin Wall Head",
|
||||
"block.minecraft.piglin_head": "Piglin Head",
|
||||
"item.minecraft.bamboo_raft": "Bamboo Raft",
|
||||
"item.minecraft.bamboo_chest_raft": "Bamboo Raft with Chest",
|
||||
"item.minecraft.camel_spawn_egg": "Camel Spawn Egg",
|
||||
"item.minecraft.ender_dragon_spawn_egg": "Ender Dragon Spawn Egg",
|
||||
"item.minecraft.iron_golem_spawn_egg": "Iron Golem Spawn Egg",
|
||||
"item.minecraft.snow_golem_spawn_egg": "Snow Golem Spawn Egg",
|
||||
"item.minecraft.wither_spawn_egg": "Wither Spawn Egg",
|
||||
"item.disabled": "Disabled item",
|
||||
"entity.minecraft.camel": "Camel",
|
||||
"itemGroup.coloredBlocks": "Colored Blocks",
|
||||
"itemGroup.natural": "Natural Blocks",
|
||||
"itemGroup.functional": "Functional Blocks",
|
||||
"itemGroup.op": "Operator Utilities",
|
||||
"itemGroup.spawnEggs": "Spawn Eggs",
|
||||
"itemGroup.consumables": "Consumables",
|
||||
"itemGroup.foodAndDrink": "Food & Drinks",
|
||||
"itemGroup.crafting": "Crafting",
|
||||
"itemGroup.ingredients": "Ingredients",
|
||||
"subtitles.chiseled_bookshelf.insert": "Book placed",
|
||||
"subtitles.chiseled_bookshelf.insert_enchanted": "Enchanted book placed",
|
||||
"subtitles.chiseled_bookshelf.take": "Book taken",
|
||||
"subtitles.chiseled_bookshelf.take_enchanted": "Enchanted book taken",
|
||||
"subtitles.entity.camel.ambient": "Camel grunts",
|
||||
"subtitles.entity.camel.dash": "Camel yeets",
|
||||
"subtitles.entity.camel.dash_ready": "Camel recovers",
|
||||
"subtitles.entity.camel.death": "Camel dies",
|
||||
"subtitles.entity.camel.eat": "Camel eats",
|
||||
"subtitles.entity.camel.hurt": "Camel hurts",
|
||||
"subtitles.entity.camel.saddle": "Saddle equips",
|
||||
"subtitles.entity.camel.sit": "Camel sits down",
|
||||
"subtitles.entity.camel.stand": "Camel stands up",
|
||||
"subtitles.entity.camel.step": "Camel steps",
|
||||
"subtitles.entity.camel.step_sand": "Camel sands",
|
||||
"subtitles.entity.enderman.scream": "Enderman screams",
|
||||
"subtitles.entity.tadpole.grow_up": "Tadpole grows up",
|
||||
"telemetry_info.screen.title": "Telemetry Data Collection",
|
||||
"telemetry_info.screen.description": "Collecting this data helps us improve Minecraft by guiding us in directions that are relevant to our players.\nYou can also send in additional feedback to help us keep improving Minecraft.",
|
||||
"telemetry_info.button.show_data": "Open My Data",
|
||||
"telemetry_info.button.give_feedback": "Give Feedback",
|
||||
"telemetry_info.property_title": "Included Data",
|
||||
"telemetry.property.user_id.title": "User ID",
|
||||
"telemetry.property.client_id.title": "Client ID",
|
||||
"telemetry.property.minecraft_session_id.title": "Minecraft Session ID",
|
||||
"telemetry.property.game_version.title": "Game Version",
|
||||
"telemetry.property.operating_system.title": "Operating System",
|
||||
"telemetry.property.platform.title": "Platform",
|
||||
"telemetry.property.client_modded.title": "Client Modded",
|
||||
"telemetry.property.event_timestamp_utc.title": "Event Timestamp (UTC)",
|
||||
"telemetry.property.opt_in.title": "Opt-In",
|
||||
"telemetry.property.world_session_id.title": "World Session ID",
|
||||
"telemetry.property.server_modded.title": "Server Modded",
|
||||
"telemetry.property.server_type.title": "Server Type",
|
||||
"telemetry.property.frame_rate_samples.title": "Frame Rate Samples (FPS)",
|
||||
"telemetry.property.render_time_samples.title": "Render Time Samples",
|
||||
"telemetry.property.used_memory_samples.title": "Used Random Access Memory",
|
||||
"telemetry.property.number_of_samples.title": "Sample Count",
|
||||
"telemetry.property.render_distance.title": "Render Distance",
|
||||
"telemetry.property.dedicated_memory_kb.title": "Dedicated Memory (kB)",
|
||||
"telemetry.property.game_mode.title": "Game Mode",
|
||||
"telemetry.property.seconds_since_load.title": "Time Since Load (Seconds)",
|
||||
"telemetry.property.ticks_since_load.title": "Time Since Load (Ticks)",
|
||||
"telemetry.property.world_load_time_ms.title": "World Load Time (Milliseconds)",
|
||||
"telemetry.property.new_world.title": "New World",
|
||||
"telemetry.event.required": "%s (Required)",
|
||||
"telemetry.event.optional": "%s (Optional)",
|
||||
"telemetry.event.world_loaded.title": "World Loaded",
|
||||
"telemetry.event.world_loaded.description": "Knowing how players play Minecraft (such as Game Mode, client or server modded, and game version) allows us to focus game updates to improve the areas that players care about most.\nThe World Loaded event is paired with the World Unloaded event to calculate how long the play session has lasted.",
|
||||
"telemetry.event.world_unloaded.title": "World Unloaded",
|
||||
"telemetry.event.world_unloaded.description": "This event is paired with the World Loaded event to calculate how long the world session has lasted.\nThe duration (in seconds and ticks) is measured when a world session has ended (quitting to title, disconnecting from a server).",
|
||||
"telemetry.event.performance_metrics.title": "Performance Metrics",
|
||||
"telemetry.event.performance_metrics.description": "Knowing the overall performance profile of Minecraft helps us tune and optimize the game for a wide range of machine specifications and operating systems. \nGame version is included to help us compare the performance profile for new versions of Minecraft.",
|
||||
"telemetry.event.world_load_times.title": "World Load Times",
|
||||
"telemetry.event.world_load_times.description": "It�s important for us to understand how long it takes to join a world, and how that changes over time. For example, when we add new features or do larger technical changes, we need to see what impact that had on load times.",
|
||||
"argument.resource.not_found": "Can't find element '%s' of type '%s'",
|
||||
"argument.resource.invalid_type": "Element '%s' has wrong type '%s' (expected '%s')",
|
||||
"argument.resource_tag.not_found": "Can't find tag '%s' of type '%s'",
|
||||
"argument.resource_tag.invalid_type": "Tag '%s' has wrong type '%s' (expected '%s')",
|
||||
"arguments.nbtpath.too_deep": "Resulting NBT too deeply nested",
|
||||
"arguments.nbtpath.too_large": "Resulting NBT too large",
|
||||
"argument.gamemode.invalid": "Unknown gamemode: %s",
|
||||
"entity.not_summonable": "Can't summon entity of type %s",
|
||||
"commands.datapack.enable.failed.no_flags": "Pack '%s' cannot be enabled, since required flags are not enabled in this world: %s!",
|
||||
"commands.fillbiome.toobig": "Too many blocks in the specified volume (maximum %s, specified %s)",
|
||||
"commands.fillbiome.success": "Biomes set between %s, %s, %s and %s, %s, %s",
|
||||
"commands.fillbiome.success.count": "%s biome entries set between %s, %s, %s and %s, %s, %s",
|
||||
"gamerule.blockExplosionDropDecay": "In block interaction explosions, some blocks won't drop their loot",
|
||||
"gamerule.blockExplosionDropDecay.description": "Some of the drops from blocks destroyed by explosions caused by block interactions are lost in the explosion.",
|
||||
"gamerule.mobExplosionDropDecay": "In mob explosions, some blocks won't drop their loot",
|
||||
"gamerule.mobExplosionDropDecay.description": "Some of the drops from blocks destroyed by explosions caused by mobs are lost in the explosion.",
|
||||
"gamerule.tntExplosionDropDecay": "In TNT explosions, some blocks won't drop their loot",
|
||||
"gamerule.tntExplosionDropDecay.description": "Some of the drops from blocks destroyed by explosions caused by TNT are lost in the explosion.",
|
||||
"gamerule.snowAccumulationHeight": "Snow accumulation height",
|
||||
"gamerule.snowAccumulationHeight.description": "When it snows, layers of snow form on the ground up to at most this number of layers.",
|
||||
"gamerule.waterSourceConversion": "Water converts to source",
|
||||
"gamerule.waterSourceConversion.description": "When flowing water is surrounded on two sides by water sources it converts into a source.",
|
||||
"gamerule.lavaSourceConversion": "Lava converts to source",
|
||||
"gamerule.lavaSourceConversion.description": "When flowing lava is surrounded on two sides by lava sources it converts into a source.",
|
||||
"gamerule.globalSoundEvents": "Global sound events",
|
||||
"gamerule.globalSoundEvents.description": "When certain game events happen, like a boss spawning, the sound is heard everywhere.",
|
||||
"pack.source.feature": "feature",
|
||||
"mco.gui.ok": "Ok",
|
||||
"mco.gui.button": "Button",
|
||||
"mco.terms.buttons.agree": "Agree",
|
||||
"mco.terms.buttons.disagree": "Don't agree",
|
||||
"mco.terms.title": "Realms Terms of Service",
|
||||
"mco.terms.sentence.1": "I agree to the Minecraft Realms",
|
||||
"mco.terms.sentence.2": "Terms of Service",
|
||||
"mco.selectServer.play": "Play",
|
||||
"mco.selectServer.configure": "Configure",
|
||||
"mco.selectServer.configureRealm": "Configure realm",
|
||||
"mco.selectServer.leave": "Leave realm",
|
||||
"mco.selectServer.create": "Create realm",
|
||||
"mco.selectServer.purchase": "Add Realm",
|
||||
"mco.selectServer.buy": "Buy a realm!",
|
||||
"mco.selectServer.trial": "Get a trial!",
|
||||
"mco.selectServer.close": "Close",
|
||||
"mco.selectServer.expiredTrial": "Your trial has ended",
|
||||
"mco.selectServer.expiredList": "Your subscription has expired",
|
||||
"mco.selectServer.expiredSubscribe": "Subscribe",
|
||||
"mco.selectServer.expiredRenew": "Renew",
|
||||
"mco.selectServer.expired": "Expired realm",
|
||||
"mco.selectServer.open": "Open realm",
|
||||
"mco.selectServer.closed": "Closed realm",
|
||||
"mco.selectServer.openserver": "Open realm",
|
||||
"mco.selectServer.closeserver": "Close realm",
|
||||
"mco.selectServer.minigame": "Minigame:",
|
||||
"mco.selectServer.uninitialized": "Click to start your new realm!",
|
||||
"mco.selectServer.expires.days": "Expires in %s days",
|
||||
"mco.selectServer.expires.day": "Expires in a day",
|
||||
"mco.selectServer.expires.soon": "Expires soon",
|
||||
"mco.selectServer.note": "Note:",
|
||||
"mco.selectServer.mapOnlySupportedForVersion": "This map is unsupported in %s",
|
||||
"mco.selectServer.minigameNotSupportedInVersion": "Can't play this minigame in %s",
|
||||
"mco.selectServer.popup": "Realms is a safe, simple way to enjoy an online Minecraft world with up to ten friends at a time. It supports loads of minigames and plenty of custom worlds! Only the owner of the realm needs to pay.",
|
||||
"mco.configure.world.settings.title": "Settings",
|
||||
"mco.configure.world.title": "Configure realm:",
|
||||
"mco.configure.worlds.title": "Worlds",
|
||||
"mco.configure.world.name": "Realm name",
|
||||
"mco.configure.world.description": "Realm description",
|
||||
"mco.configure.world.location": "Location",
|
||||
"mco.configure.world.invited": "Invited",
|
||||
"mco.configure.world.invite.narration": "You have %s new invites",
|
||||
"mco.configure.world.buttons.edit": "Settings",
|
||||
"mco.configure.world.buttons.done": "Done",
|
||||
"mco.configure.world.buttons.delete": "Delete",
|
||||
"mco.configure.world.buttons.open": "Open realm",
|
||||
"mco.configure.world.buttons.close": "Close realm",
|
||||
"mco.configure.world.buttons.invite": "Invite player",
|
||||
"mco.configure.world.buttons.activity": "Player activity",
|
||||
"mco.configure.world.activityfeed.disabled": "Player feed temporarily disabled",
|
||||
"mco.configure.world.buttons.moreoptions": "More options",
|
||||
"mco.configure.world.invite.profile.name": "Name",
|
||||
"mco.configure.world.uninvite.question": "Are you sure that you want to uninvite",
|
||||
"mco.configure.world.status": "Status",
|
||||
"mco.configure.world.invites.ops.tooltip": "Operator",
|
||||
"mco.configure.world.invites.normal.tooltip": "Normal user",
|
||||
"mco.configure.world.invites.remove.tooltip": "Remove",
|
||||
"mco.configure.world.closing": "Closing the realm...",
|
||||
"mco.configure.world.opening": "Opening the realm...",
|
||||
"mco.configure.world.buttons.players": "Players",
|
||||
"mco.configure.world.buttons.settings": "Settings",
|
||||
"mco.configure.world.buttons.subscription": "Subscription",
|
||||
"mco.configure.world.buttons.options": "World options",
|
||||
"mco.configure.world.backup": "World backups",
|
||||
"mco.configure.world.buttons.resetworld": "Reset world",
|
||||
"mco.configure.world.buttons.switchminigame": "Switch minigame",
|
||||
"mco.configure.current.minigame": "Current",
|
||||
"mco.configure.world.subscription.title": "Your subscription",
|
||||
"mco.configure.world.subscription.timeleft": "Time left",
|
||||
"mco.configure.world.subscription.unknown": "Unknown",
|
||||
"mco.configure.world.subscription.recurring.daysleft": "Renewed automatically in",
|
||||
"mco.configure.world.subscription.less_than_a_day": "Less than a day",
|
||||
"mco.configure.world.subscription.expired": "Expired",
|
||||
"mco.configure.world.subscription.start": "Start date",
|
||||
"mco.configure.world.subscription.extend": "Extend subscription",
|
||||
"mco.configure.world.subscription.day": "day",
|
||||
"mco.configure.world.subscription.month": "month",
|
||||
"mco.configure.world.subscription.days": "days",
|
||||
"mco.configure.world.subscription.months": "months",
|
||||
"mco.configure.world.pvp": "PVP",
|
||||
"mco.configure.world.spawn_toggle.title": "Warning!",
|
||||
"mco.configure.world.spawn_toggle.message": "Turning this option off will REMOVE ALL existing entities of that type",
|
||||
"mco.configure.world.spawn_toggle.message.npc": "Turning this option off will REMOVE ALL existing entities of that type, like Villagers",
|
||||
"mco.configure.world.spawnAnimals": "Spawn animals",
|
||||
"mco.configure.world.spawnNPCs": "Spawn NPCs",
|
||||
"mco.configure.world.spawnMonsters": "Spawn monsters",
|
||||
"mco.configure.world.spawnProtection": "Spawn protection",
|
||||
"mco.configure.world.commandBlocks": "Command blocks",
|
||||
"mco.configure.world.forceGameMode": "Force game mode",
|
||||
"mco.configure.world.slot": "World %s",
|
||||
"mco.configure.world.slot.empty": "Empty",
|
||||
"mco.create.world.wait": "Creating the realm...",
|
||||
"mco.create.world.error": "You must enter a name!",
|
||||
"mco.create.world.subtitle": "Optionally, select what world to put on your new realm",
|
||||
"mco.create.world.skip": "Skip",
|
||||
"mco.reset.world.title": "Reset world",
|
||||
"mco.reset.world.warning": "This will replace the current world of your realm",
|
||||
"mco.reset.world.seed": "Seed (Optional)",
|
||||
"mco.reset.world.resetting.screen.title": "Resetting world...",
|
||||
"mco.reset.world.generate": "New world",
|
||||
"mco.reset.world.upload": "Upload world",
|
||||
"mco.reset.world.adventure": "Adventures",
|
||||
"mco.reset.world.template": "World templates",
|
||||
"mco.reset.world.experience": "Experiences",
|
||||
"mco.reset.world.inspiration": "Inspiration",
|
||||
"mco.minigame.world.title": "Switch realm to minigame",
|
||||
"mco.minigame.world.info.line1": "This will temporarily replace your world with a minigame!",
|
||||
"mco.minigame.world.info.line2": "You can later return to your original world without losing anything.",
|
||||
"mco.minigame.world.selected": "Selected minigame:",
|
||||
"mco.minigame.world.noSelection": "Please make a selection",
|
||||
"mco.minigame.world.startButton": "Switch",
|
||||
"mco.minigame.world.starting.screen.title": "Starting minigame...",
|
||||
"mco.minigame.world.changeButton": "Select another minigame",
|
||||
"mco.minigame.world.stopButton": "End minigame",
|
||||
"mco.minigame.world.switch.title": "Switch minigame",
|
||||
"mco.minigame.world.switch.new": "Select another minigame?",
|
||||
"mco.minigame.world.restore.question.line1": "The minigame will end and your realm will be restored.",
|
||||
"mco.minigame.world.restore.question.line2": "Are you sure you want to continue?",
|
||||
"mco.minigame.world.restore": "Ending minigame...",
|
||||
"mco.configure.world.slot.tooltip": "Switch to world",
|
||||
"mco.configure.world.slot.tooltip.minigame": "Switch to minigame",
|
||||
"mco.configure.world.slot.tooltip.active": "Join",
|
||||
"mco.configure.world.close.question.line1": "Your realm will become unavailable.",
|
||||
"mco.configure.world.close.question.line2": "Are you sure you want to continue?",
|
||||
"mco.configure.world.leave.question.line1": "If you leave this realm you won't see it unless you are invited again",
|
||||
"mco.configure.world.leave.question.line2": "Are you sure you want to continue?",
|
||||
"mco.configure.world.resourcepack.question.line1": "You need a custom resource pack to play on this realm",
|
||||
"mco.configure.world.resourcepack.question.line2": "Do you want to download it and play?",
|
||||
"mco.configure.world.reset.question.line1": "Your world will be regenerated and your current world will be lost",
|
||||
"mco.configure.world.reset.question.line2": "Are you sure you want to continue?",
|
||||
"mco.configure.world.restore.question.line1": "Your world will be restored to date '%s' (%s)",
|
||||
"mco.configure.world.restore.question.line2": "Are you sure you want to continue?",
|
||||
"mco.configure.world.restore.download.question.line1": "The world will be downloaded and added to your single player worlds.",
|
||||
"mco.configure.world.restore.download.question.line2": "Do you want to continue?",
|
||||
"mco.configure.world.slot.switch.question.line1": "Your realm will be switched to another world",
|
||||
"mco.configure.world.slot.switch.question.line2": "Are you sure you want to continue?",
|
||||
"mco.configure.world.switch.slot": "Create world",
|
||||
"mco.configure.world.switch.slot.subtitle": "This world is empty, choose how to create your world",
|
||||
"mco.minigame.world.slot.screen.title": "Switching world...",
|
||||
"mco.configure.world.edit.subscreen.adventuremap": "Some settings are disabled since your current world is an adventure",
|
||||
"mco.configure.world.edit.subscreen.experience": "Some settings are disabled since your current world is an experience",
|
||||
"mco.configure.world.edit.subscreen.inspiration": "Some settings are disabled since your current world is an inspiration",
|
||||
"mco.configure.world.edit.slot.name": "World name",
|
||||
"mco.configure.world.players.title": "Players",
|
||||
"mco.configure.world.players.error": "A player with the provided name does not exist",
|
||||
"mco.configure.world.delete.button": "Delete realm",
|
||||
"mco.configure.world.delete.question.line1": "Your realm will be permanently deleted",
|
||||
"mco.configure.world.delete.question.line2": "Are you sure you want to continue?",
|
||||
"mco.connect.connecting": "Connecting to the realm...",
|
||||
"mco.connect.authorizing": "Logging in...",
|
||||
"mco.connect.failed": "Failed to connect to the realm",
|
||||
"mco.connect.success": "Done",
|
||||
"mco.create.world": "Create",
|
||||
"mco.create.world.reset.title": "Creating world...",
|
||||
"mco.client.incompatible.title": "Client incompatible!",
|
||||
"mco.client.incompatible.msg.line1": "Your client is not compatible with Realms.",
|
||||
"mco.client.incompatible.msg.line2": "Please use the most recent version of Minecraft.",
|
||||
"mco.client.incompatible.msg.line3": "Realms is not compatible with snapshot versions.",
|
||||
"mco.backup.button.restore": "Restore",
|
||||
"mco.backup.generate.world": "Generate world",
|
||||
"mco.backup.restoring": "Restoring your realm",
|
||||
"mco.backup.button.download": "Download latest",
|
||||
"mco.backup.changes.tooltip": "Changes",
|
||||
"mco.backup.nobackups": "This realm doesn't have any backups currently.",
|
||||
"mco.backup.button.upload": "Upload world",
|
||||
"mco.backup.button.reset": "Reset world",
|
||||
"mco.download.title": "Downloading latest world",
|
||||
"mco.download.cancelled": "Download cancelled",
|
||||
"mco.download.failed": "Download failed",
|
||||
"mco.download.done": "Download done",
|
||||
"mco.download.downloading": "Downloading",
|
||||
"mco.download.extracting": "Extracting",
|
||||
"mco.download.preparing": "Preparing download",
|
||||
"mco.download.confirmation.line1": "The world you are going to download is larger than %s",
|
||||
"mco.download.confirmation.line2": "You won't be able to upload this world to your realm again",
|
||||
"mco.template.title": "World templates",
|
||||
"mco.template.title.minigame": "Minigames",
|
||||
"mco.template.button.select": "Select",
|
||||
"mco.template.button.trailer": "Trailer",
|
||||
"mco.template.button.publisher": "Publisher",
|
||||
"mco.template.default.name": "World template",
|
||||
"mco.template.name": "Template",
|
||||
"mco.template.info.tooltip": "Publisher website",
|
||||
"mco.template.trailer.tooltip": "Map trailer",
|
||||
"mco.template.select.none": "Oops, it looks like this content category is currently empty.\nPlease check back later for new content, or if you're a creator,\n%s.",
|
||||
"mco.template.select.none.linkTitle": "consider submitting something yourself",
|
||||
"mco.template.select.failure": "We couldn't retrieve the list of content for this category.\nPlease check your internet connection, or try again later.",
|
||||
"mco.template.select.narrate.authors": "Authors: %s",
|
||||
"mco.template.select.narrate.version": "version %s",
|
||||
"mco.invites.button.accept": "Accept",
|
||||
"mco.invites.button.reject": "Reject",
|
||||
"mco.invites.title": "Pending Invites",
|
||||
"mco.invites.pending": "New invites!",
|
||||
"mco.invites.nopending": "No pending invites!",
|
||||
"mco.upload.select.world.title": "Upload world",
|
||||
"mco.upload.select.world.subtitle": "Please select a singleplayer world to upload",
|
||||
"mco.upload.select.world.none": "No singleplayer worlds found!",
|
||||
"mco.upload.button.name": "Upload",
|
||||
"mco.upload.verifying": "Verifying your world",
|
||||
"mco.upload.preparing": "Preparing your world",
|
||||
"mco.upload.close.failure": "Could not close your realm, please try again later",
|
||||
"mco.upload.size.failure.line1": "'%s' is too big!",
|
||||
"mco.upload.size.failure.line2": "It is %s. The maximum allowed size is %s.",
|
||||
"mco.upload.uploading": "Uploading '%s'",
|
||||
"mco.upload.done": "Upload done",
|
||||
"mco.upload.failed": "Upload failed! (%s)",
|
||||
"mco.upload.cancelled": "Upload cancelled",
|
||||
"mco.upload.hardcore": "Hardcore worlds can't be uploaded!",
|
||||
"mco.activity.title": "Player activity",
|
||||
"mco.activity.noactivity": "No activity for the past %s days",
|
||||
"mco.errorMessage.6001": "Client outdated",
|
||||
"mco.errorMessage.6002": "Terms of service not accepted",
|
||||
"mco.errorMessage.6003": "Download limit reached",
|
||||
"mco.errorMessage.6004": "Upload limit reached",
|
||||
"mco.errorMessage.connectionFailure": "An error occurred, please try again later.",
|
||||
"mco.errorMessage.serviceBusy": "Realms is busy at the moment.\nPlease try connecting to your Realm again in a couple of minutes.",
|
||||
"mco.trial.message.line1": "Want to get your own realm?",
|
||||
"mco.trial.message.line2": "Click here for more info!",
|
||||
"mco.brokenworld.play": "Play",
|
||||
"mco.brokenworld.download": "Download",
|
||||
"mco.brokenworld.downloaded": "Downloaded",
|
||||
"mco.brokenworld.reset": "Reset",
|
||||
"mco.brokenworld.title": "Your current world is no longer supported",
|
||||
"mco.brokenworld.message.line1": "Please reset or select another world.",
|
||||
"mco.brokenworld.message.line2": "You can also choose to download the world to singleplayer.",
|
||||
"mco.brokenworld.minigame.title": "This minigame is no longer supported",
|
||||
"mco.brokenworld.nonowner.title": "World is out of date",
|
||||
"mco.brokenworld.nonowner.error": "Please wait for the realm owner to reset the world",
|
||||
"mco.error.invalid.session.title": "Invalid session",
|
||||
"mco.error.invalid.session.message": "Please try restarting Minecraft",
|
||||
"mco.news": "Realms news",
|
||||
"mco.account.privacyinfo": "Mojang implements certain procedures to help protect children and their privacy including complying with the Children�s Online Privacy Protection Act (COPPA) and General Data Protection Regulation (GDPR).\n\nYou may need to obtain parental consent before accessing your Realms account.\n\nIf you have an older Minecraft account (you log in with your username), you need to migrate the account to a Mojang account in order to access Realms.",
|
||||
"mco.account.update": "Update account",
|
||||
"mco.account.privacy.info": "Read more about Mojang and privacy laws"
|
||||
},
|
||||
"1.19.1": {
|
||||
"gui.acknowledge": "Acknowledge",
|
||||
"gui.socialInteractions.report": "Report",
|
||||
"gui.socialInteractions.tooltip.report": "Report player",
|
||||
"gui.socialInteractions.tooltip.report.disabled": "The reporting service is unavailable",
|
||||
"gui.socialInteractions.tooltip.report.no_messages": "No reportable messages from player %s",
|
||||
"gui.socialInteractions.tooltip.report.not_reportable": "This player can't be reported, because their chat messages can't be verified on this server",
|
||||
"gui.socialInteractions.narration.hide": "Hide messages from %s",
|
||||
"gui.socialInteractions.narration.show": "Show messages from %s",
|
||||
"gui.socialInteractions.narration.report": "Report player %s",
|
||||
"gui.chatReport.title": "Report Player",
|
||||
"gui.chatReport.send": "Send Report",
|
||||
"gui.chatReport.send.comments_too_long": "Please shorten the comment",
|
||||
"gui.chatReport.send.no_reason": "Please select a report category",
|
||||
"gui.chatReport.send.no_reported_messages": "Please select at least one chat message to report",
|
||||
"gui.chatReport.send.too_many_messages": "Trying to include too many messages in the report",
|
||||
"gui.chatReport.observed_what": "Why are you reporting this?",
|
||||
"gui.chatReport.select_reason": "Select Report Category",
|
||||
"gui.chatReport.more_comments": "Please describe what happened:",
|
||||
"gui.chatReport.describe": "Sharing details will help us make a well-informed decision.",
|
||||
"gui.chatReport.comments": "Comments edit box",
|
||||
"gui.chatReport.read_info": "Learn About Reporting",
|
||||
"gui.chatReport.select_chat": "Select Chat Messages to Report",
|
||||
"gui.chatReport.selected_chat": "%s Chat Message(s) Selected to Report",
|
||||
"gui.chatReport.report_sent_msg": "We�ve successfully received your report. Thank you!\n\nOur team will review it as soon as possible.",
|
||||
"gui.chatReport.discard.title": "Discard report and comments?",
|
||||
"gui.chatReport.discard.content": "If you leave, you'll lose this report and your comments.\nAre you sure you want to leave?",
|
||||
"gui.chatReport.discard.discard": "Leave and Discard Report",
|
||||
"gui.chatReport.discard.return": "Continue Editing",
|
||||
"gui.abuseReport.reason.title": "Select Report Category",
|
||||
"gui.abuseReport.reason.description": "Description:",
|
||||
"gui.abuseReport.reason.narration": "%s: %s",
|
||||
"gui.abuseReport.reason.false_reporting": "False Reporting",
|
||||
"gui.abuseReport.reason.child_sexual_exploitation_or_abuse": "Child sexual exploitation or abuse",
|
||||
"gui.abuseReport.reason.child_sexual_exploitation_or_abuse.description": "Someone is talking about or otherwise promoting indecent behavior involving children.",
|
||||
"gui.abuseReport.reason.terrorism_or_violent_extremism": "Terrorism or violent extremism",
|
||||
"gui.abuseReport.reason.terrorism_or_violent_extremism.description": "Someone is talking about, promoting, or threatening to commit acts of terrorism or violent extremism for political, religious, ideological, or other reasons.",
|
||||
"gui.abuseReport.reason.hate_speech": "Hate speech",
|
||||
"gui.abuseReport.reason.hate_speech.description": "Someone is attacking you or another player based on characteristics of their identity, like religion, race, or sexuality.",
|
||||
"gui.abuseReport.reason.harassment_or_bullying": "Harassment or bullying",
|
||||
"gui.abuseReport.reason.harassment_or_bullying.description": "Someone is shaming, attacking, or bullying you or someone else. This includes when someone is repeatedly trying to contact you or someone else without consent or posting private personal information about you or someone else without consent (\"doxing\").",
|
||||
"gui.abuseReport.reason.imminent_harm": "Imminent harm - Threat to harm others",
|
||||
"gui.abuseReport.reason.imminent_harm.description": "Someone is threatening to harm you or someone else in real life.",
|
||||
"gui.abuseReport.reason.defamation_impersonation_false_information": "Defamation, impersonation, or false information",
|
||||
"gui.abuseReport.reason.defamation_impersonation_false_information.description": "Someone is damaging someone else's reputation, pretending to be someone they're not, or sharing false information with the aim to exploit or mislead others.",
|
||||
"gui.abuseReport.reason.self_harm_or_suicide": "Imminent harm - Self-harm or suicide",
|
||||
"gui.abuseReport.reason.self_harm_or_suicide.description": "Someone is threatening to harm themselves in real life or talking about harming themselves in real life.",
|
||||
"gui.abuseReport.reason.alcohol_tobacco_drugs": "Drugs or alcohol",
|
||||
"gui.abuseReport.reason.alcohol_tobacco_drugs.description": "Someone is encouraging others to partake in illegal drug related activities or encouraging underage drinking.",
|
||||
"gui.abuseReport.reason.non_consensual_intimate_imagery": "Non-consensual intimate imagery",
|
||||
"gui.abuseReport.reason.non_consensual_intimate_imagery.description": "Someone is talking about, sharing, or otherwise promoting private and intimate images.",
|
||||
"gui.abuseReport.sending.title": "Sending your report...",
|
||||
"gui.abuseReport.sent.title": "Report sent",
|
||||
"gui.abuseReport.error.title": "Problem sending your report",
|
||||
"gui.abuseReport.send.generic_error": "Encountered an unexpected error while sending your report.",
|
||||
"gui.abuseReport.send.error_message": "An error was returned while sending your report:\n'%s'",
|
||||
"gui.abuseReport.send.service_unavailable": "Unable to reach the Abuse Reporting service. Please make sure you are connected to the internet and try again.",
|
||||
"gui.abuseReport.send.http_error": "An unexpected HTTP error occurred while sending your report.",
|
||||
"gui.abuseReport.send.json_error": "Encountered malformed payload while sending your report.",
|
||||
"gui.chatSelection.title": "Select Chat Messages to Report",
|
||||
"gui.chatSelection.context": "Messages surrounding this selection will be included to provide additional context",
|
||||
"gui.chatSelection.selected": "%s/%s message(s) selected",
|
||||
"gui.chatSelection.heading": "%s %s",
|
||||
"gui.chatSelection.message.narrate": "%s said: %s at %s",
|
||||
"gui.chatSelection.fold": "%s unrelated messages hidden",
|
||||
"gui.multiLineEditBox.character_limit": "%s/%s",
|
||||
"gui.banned.title.temporary": "Account temporarily suspended",
|
||||
"gui.banned.title.permanent": "Account permanently banned",
|
||||
"gui.banned.description": "%s\n\n%s\n\nLearn more at the following link: %s",
|
||||
"gui.banned.description.reason": "We recently received a report for bad behavior by your account. Our moderators have now reviewed your case and identified it as %s, which goes against the Minecraft Community Standards.",
|
||||
"gui.banned.description.reason_id": "Code: %s",
|
||||
"gui.banned.description.reason_id_message": "Code: %s - %s",
|
||||
"gui.banned.description.unknownreason": "We recently received a report for bad behavior by your account. Our moderators have now reviewed your case and identified that it goes against the Minecraft Community Standards.",
|
||||
"gui.banned.description.temporary.duration": "Your account is temporarily suspended and will be reactivated in %s.",
|
||||
"gui.banned.description.temporary": "%s Until then, you can�t play online or join Realms.",
|
||||
"gui.banned.description.permanent": "Your account is permanently banned, which means you can�t play online or join Realms.",
|
||||
"menu.playerReporting": "Player Reporting",
|
||||
"multiplayer.disconnect.unsigned_chat": "Received chat packet with missing or invalid signature.",
|
||||
"multiplayer.disconnect.too_many_pending_chats": "Too many unacknowledged chat messages",
|
||||
"multiplayer.disconnect.chat_validation_failed": "Chat message validation failure",
|
||||
"multiplayer.unsecureserver.toast.title": "Chat messages can't be verified",
|
||||
"multiplayer.unsecureserver.toast": "Messages sent on this server may be modified and might not reflect the original message",
|
||||
"chat.previewInput": "Press [%s] to preview",
|
||||
"chat.tag.not_secure": "This message is not secure, which means that it might have been modified by the server",
|
||||
"chat.tag.modified": "This message has been modified by the server.",
|
||||
"chat.tag.modified.original": "Original text: %s",
|
||||
"chat.tag.filtered": "This message has been filtered by the server.",
|
||||
"chat.filtered_full": "The server has hidden your message for some players.",
|
||||
"disconnect.loginFailedInfo.userBanned": "You are banned from playing online",
|
||||
"options.chatPreview.live": "While Typing",
|
||||
"options.chatPreview.confirm": "When Sending",
|
||||
"options.chatPreview.tooltip.off": "Any modifications applied to your chat messages by a server will not be previewed and will be treated as insecure.",
|
||||
"options.chatPreview.tooltip.live": "If a server uses Chat Previews: Any modifications applied to your chat messages by a server will be dynamically sent for previewing as the chat message is typed.",
|
||||
"options.chatPreview.tooltip.confirm": "If a server uses Chat Previews: A chat preview is only generated when attempting to send a message that does not have a preview or is waiting for a preview.\nSending the message requires confirmation.",
|
||||
"title.multiplayer.disabled.banned.temporary": "Your account is temporarily suspended from online play",
|
||||
"title.multiplayer.disabled.banned.permanent": "Your account is permanently suspended from online play",
|
||||
"gui.minutes": "%s minute(s)",
|
||||
"gui.hours": "%s hour(s)",
|
||||
"gui.days": "%s day(s)"
|
||||
},
|
||||
"1.19": {
|
||||
"selectWorld.loading_list": "Loading world list",
|
||||
"flat_world_preset.unknown": "???",
|
||||
@@ -21,8 +543,20 @@
|
||||
"multiplayer.disconnect.missing_public_key": "Missing profile public key.\nThis server requires secure profiles.",
|
||||
"multiplayer.disconnect.invalid_public_key_signature": "Invalid signature for profile public key.\nTry restarting your game.",
|
||||
"multiplayer.disconnect.invalid_public_key": "Unable to parse profile public key.",
|
||||
"multiplayer.disconnect.out_of_order_chat": "Out-of-order chat packet received. Did your system time change?",
|
||||
"chatPreview.warning.title": "This server uses Chat Preview",
|
||||
"chatPreview.warning.content": "Chat Preview allows the server to see your messages in real time as you type them, even before they�re sent. This is often used to preview your message with styling applied.\n\nChat Preview is on by default, but can be turned off in Chat Settings.",
|
||||
"chatPreview.warning.check": "Do not notify again for this server",
|
||||
"chatPreview.warning.toast.title": "Chat Preview is enabled",
|
||||
"chatPreview.warning.toast": "This server uses Chat Preview and can see your messages as you type them, even before they're sent. You can turn this off in Chat Settings.",
|
||||
"chat.disabled.profile.moreInfo": "Chat not allowed by account settings. Cannot send or view messages.",
|
||||
"chat.preview": "Type to preview",
|
||||
"options.darknessEffectScale": "Darkness Pulsing",
|
||||
"options.darknessEffectScale.tooltip": "Controls how much the Darkness effect pulses when a Warden or Sculk Shrieker gives it to you.",
|
||||
"options.chatPreview": "Chat Preview",
|
||||
"options.chatPreview.tooltip": "Chat Preview allows servers to see your messages as you type, which allows them to style your message. You can still chat if you turn this off.",
|
||||
"options.onlyShowSecureChat": "Only Show Secure Chat",
|
||||
"options.onlyShowSecureChat.tooltip": "Only display messages from other players that can be verified to have been sent by that player, and have not been modified.",
|
||||
"options.directionalAudio": "Directional Audio",
|
||||
"options.directionalAudio.on.tooltip": "Uses HRTF-based directional audio to improve the simulation of 3D sound. Requires HRTF compatible audio hardware, and is best experienced with headphones.",
|
||||
"options.directionalAudio.off.tooltip": "Classic Stereo sound",
|
||||
@@ -69,10 +603,10 @@
|
||||
"item.minecraft.acacia_chest_boat": "Acacia Boat with Chest",
|
||||
"item.minecraft.dark_oak_chest_boat": "Dark Oak Boat with Chest",
|
||||
"item.minecraft.mangrove_boat": "Mangrove Boat",
|
||||
"item.minecraft.mangrove_chest_boat": "Mangrove Boat with Chest",
|
||||
"item.minecraft.recovery_compass": "Recovery Compass",
|
||||
"item.minecraft.music_disc_5": "Music Disc",
|
||||
"item.minecraft.music_disc_5.desc": "Samuel Åberg - 5",
|
||||
"item.minecraft.mangrove_chest_boat": "Mangrove Boat with Chest",
|
||||
"item.minecraft.music_disc_5.desc": "Samuel �berg - 5",
|
||||
"item.minecraft.disc_fragment_5": "Disc Fragment",
|
||||
"item.minecraft.disc_fragment_5.desc": "Music Disc - 5",
|
||||
"item.minecraft.allay_spawn_egg": "Allay Spawn Egg",
|
||||
@@ -94,11 +628,17 @@
|
||||
"entity.minecraft.frog": "Frog",
|
||||
"entity.minecraft.tadpole": "Tadpole",
|
||||
"entity.minecraft.warden": "Warden",
|
||||
"death.attack.onFire.item": "%1$s was burnt to a crisp whilst fighting %2$s wielding %3$s",
|
||||
"death.attack.witherSkull.item": "%1$s was shot by a skull from %2$s using %3$s",
|
||||
"death.attack.sonic_boom": "%1$s was obliterated by a sonically-charged shriek",
|
||||
"death.attack.sonic_boom.item": "%1$s was obliterated by a sonically-charged shriek whilst trying to escape %2$s wielding %3$s",
|
||||
"death.attack.sonic_boom.player": "%1$s was obliterated by a sonically-charged shriek whilst trying to escape %2$s",
|
||||
"death.attack.sting.item": "%1$s was stung to death by %2$s using %3$s",
|
||||
"effect.minecraft.darkness": "Darkness",
|
||||
"enchantment.minecraft.swift_sneak": "Swift Sneak",
|
||||
"subtitles.block.frogspawn.hatch": "Tadpole hatches",
|
||||
"subtitles.block.sculk.charge": "Sculk bubbles",
|
||||
"subtitles.block.sculk.spread": "Sculk spreads",
|
||||
"subtitles.block.sculk_catalyst.bloom": "Sculk Catalyst blooms",
|
||||
"subtitles.block.sculk_shrieker.shriek": "Sculk Shrieker shrieks",
|
||||
"subtitles.entity.allay.death": "Allay dies",
|
||||
@@ -114,7 +654,7 @@
|
||||
"subtitles.entity.frog.hurt": "Frog hurts",
|
||||
"subtitles.entity.frog.lay_spawn": "Frog lays spawn",
|
||||
"subtitles.entity.frog.long_jump": "Frog jumps",
|
||||
"subtitles.entity.goat.horn_break": "Goat horn breaks off",
|
||||
"subtitles.entity.goat.horn_break": "Goat Horn breaks off",
|
||||
"subtitles.entity.parrot.imitate.warden": "Parrot whines",
|
||||
"subtitles.entity.tadpole.death": "Tadpole dies",
|
||||
"subtitles.entity.tadpole.flop": "Tadpole flops",
|
||||
@@ -139,7 +679,8 @@
|
||||
"subtitles.entity.warden.nearby_closest": "Warden draws close",
|
||||
"subtitles.entity.warden.sonic_charge": "Warden charges",
|
||||
"subtitles.entity.warden.sonic_boom": "Warden booms",
|
||||
"subtitles.item.goat_horn.play": "Goat horn plays",
|
||||
"subtitles.item.bucket.fill_tadpole": "Tadpole captured",
|
||||
"subtitles.item.goat_horn.play": "Goat Horn plays",
|
||||
"advancements.adventure.avoid_vibration.title": "Sneak 100",
|
||||
"advancements.adventure.avoid_vibration.description": "Sneak near a Sculk Sensor or Warden to prevent it from detecting you",
|
||||
"advancements.adventure.kill_mob_near_sculk_catalyst.title": "It Spreads",
|
||||
@@ -153,7 +694,17 @@
|
||||
"advancements.husbandry.allay_deliver_item_to_player.title": "You've Got a Friend in Me",
|
||||
"advancements.husbandry.allay_deliver_item_to_player.description": "Have an Allay deliver items to you",
|
||||
"advancements.husbandry.allay_deliver_cake_to_note_block.title": "Birthday Song",
|
||||
"advancements.husbandry.allay_deliver_cake_to_note_block.description": "Have an Allay drop a cake at a Note Block",
|
||||
"advancements.husbandry.allay_deliver_cake_to_note_block.description": "Have an Allay drop a Cake at a Note Block",
|
||||
"argument.enum.invalid": "Invalid value \"%s\"",
|
||||
"commands.locate.structure.success": "The nearest %s is at %s (%s blocks away)",
|
||||
"commands.locate.structure.not_found": "Could not find a structure of type \"%s\" nearby",
|
||||
"commands.locate.structure.invalid": "There is no structure with type \"%s\"",
|
||||
"commands.locate.biome.success": "The nearest %s is at %s (%s blocks away)",
|
||||
"commands.locate.biome.not_found": "Could not find a biome of type \"%s\" within reasonable distance",
|
||||
"commands.locate.biome.invalid": "There is no biome with type \"%s\"",
|
||||
"commands.locate.poi.success": "The nearest %s is at %s (%s blocks away)",
|
||||
"commands.locate.poi.not_found": "Could not find a point of interest of type \"%s\" within reasonable distance",
|
||||
"commands.locate.poi.invalid": "There is no point of interest with type \"%s\"",
|
||||
"commands.place.feature.failed": "Failed to place feature",
|
||||
"commands.place.feature.invalid": "There is no feature with type \"%s\"",
|
||||
"commands.place.feature.success": "Placed \"%s\" at %s, %s, %s",
|
||||
@@ -163,6 +714,9 @@
|
||||
"commands.place.structure.failed": "Failed to place structure",
|
||||
"commands.place.structure.invalid": "There is no structure with type \"%s\"",
|
||||
"commands.place.structure.success": "Generated structure \"%s\" at %s, %s, %s",
|
||||
"commands.place.template.failed": "Failed to place template",
|
||||
"commands.place.template.invalid": "There is no template with id \"%s\"",
|
||||
"commands.place.template.success": "Loaded template \"%s\" at %s, %s, %s",
|
||||
"biome.minecraft.deep_dark": "Deep Dark",
|
||||
"biome.minecraft.mangrove_swamp": "Mangrove Swamp",
|
||||
"gamerule.doWardenSpawning": "Spawn Wardens",
|
||||
|
||||
@@ -3,7 +3,7 @@ metadata.format.version = "1.1"
|
||||
[versions]
|
||||
|
||||
# ViaVersion
|
||||
viaver = "4.3.0-1.19-rc2-SNAPSHOT"
|
||||
viaver = "4.5.0"
|
||||
|
||||
# Common provided
|
||||
netty = "4.0.20.Final"
|
||||
|
||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
@@ -205,6 +205,12 @@ set -- \
|
||||
org.gradle.wrapper.GradleWrapperMain \
|
||||
"$@"
|
||||
|
||||
# Stop when "xargs" is not available.
|
||||
if ! command -v xargs >/dev/null 2>&1
|
||||
then
|
||||
die "xargs is not available"
|
||||
fi
|
||||
|
||||
# Use "xargs" to parse quoted args.
|
||||
#
|
||||
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
|
||||
|
||||
Vendored
+8
-6
@@ -14,7 +14,7 @@
|
||||
@rem limitations under the License.
|
||||
@rem
|
||||
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@if "%DEBUG%"=="" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@@ -25,7 +25,7 @@
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
if "%DIRNAME%"=="" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto execute
|
||||
if %ERRORLEVEL% equ 0 goto execute
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
@@ -75,13 +75,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
if %ERRORLEVEL% equ 0 goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
set EXIT_CODE=%ERRORLEVEL%
|
||||
if %EXIT_CODE% equ 0 set EXIT_CODE=1
|
||||
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
|
||||
exit /b %EXIT_CODE%
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
Reference in new issue
Block a user