From cf93a0453a0333289be04c9eb17e887dc98b52b9 Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:48:11 +0100 Subject: [PATCH] Fixed random crashes and load ViaVersion async --- .../viafabricplus/ViaFabricPlus.java | 10 +- .../fixes/diff/ItemRegistryDiff.java | 1 - .../fixes/diff/ItemRegistryDiffPre1_20_2.java | 1378 ----------------- .../protocolhack/ProtocolHack.java | 30 +- .../translator/ItemTranslator.java | 2 +- 5 files changed, 25 insertions(+), 1396 deletions(-) delete mode 100644 src/main/java/de/florianmichael/viafabricplus/fixes/diff/ItemRegistryDiffPre1_20_2.java diff --git a/src/main/java/de/florianmichael/viafabricplus/ViaFabricPlus.java b/src/main/java/de/florianmichael/viafabricplus/ViaFabricPlus.java index 0c6af147..7200fccc 100644 --- a/src/main/java/de/florianmichael/viafabricplus/ViaFabricPlus.java +++ b/src/main/java/de/florianmichael/viafabricplus/ViaFabricPlus.java @@ -30,6 +30,7 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.io.File; +import java.util.concurrent.CompletableFuture; /* * TODO | General @@ -66,17 +67,22 @@ public class ViaFabricPlus { private SettingsManager settingsManager; private SaveManager saveManager; + private CompletableFuture loadingFuture; + @SuppressWarnings("ResultOfMethodCallIgnored") public void bootstrap() { directory.mkdir(); ClassLoaderPriorityUtil.loadOverridingJars(directory); // Load overriding jars first so other code can access the new classes ClientsideFixes.init(); // Init clientside related fixes - ProtocolHack.init(directory); // Init ViaVersion protocol translator platform + loadingFuture = ProtocolHack.init(directory); // Init ViaVersion protocol translator platform settingsManager = new SettingsManager(); saveManager = new SaveManager(settingsManager); - PostGameLoadCallback.EVENT.register(saveManager::init); // Has to wait for Minecraft because of the translation system usages + PostGameLoadCallback.EVENT.register(() -> { + saveManager.init(); + loadingFuture.join(); + }); // Has to wait for Minecraft because of the translation system usages } public static ViaFabricPlus global() { diff --git a/src/main/java/de/florianmichael/viafabricplus/fixes/diff/ItemRegistryDiff.java b/src/main/java/de/florianmichael/viafabricplus/fixes/diff/ItemRegistryDiff.java index 45e8bff9..63ea905c 100644 --- a/src/main/java/de/florianmichael/viafabricplus/fixes/diff/ItemRegistryDiff.java +++ b/src/main/java/de/florianmichael/viafabricplus/fixes/diff/ItemRegistryDiff.java @@ -1369,5 +1369,4 @@ public class ItemRegistryDiff { return !ITEM_DIFF.containsKey(item) || ITEM_DIFF.get(item).contains(ProtocolHack.getTargetVersion() /*ProtocolHack.getTargetVersion().isNewerThanOrEqualTo(ITEM_DIFF.get(item)*/); } - } diff --git a/src/main/java/de/florianmichael/viafabricplus/fixes/diff/ItemRegistryDiffPre1_20_2.java b/src/main/java/de/florianmichael/viafabricplus/fixes/diff/ItemRegistryDiffPre1_20_2.java deleted file mode 100644 index ae560a2b..00000000 --- a/src/main/java/de/florianmichael/viafabricplus/fixes/diff/ItemRegistryDiffPre1_20_2.java +++ /dev/null @@ -1,1378 +0,0 @@ -/* - * This file is part of ViaFabricPlus - https://github.com/FlorianMichael/ViaFabricPlus - * Copyright (C) 2021-2023 FlorianMichael/EnZaXD - * Copyright (C) 2023 RK_01/RaphiMC 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 . - */ - -package de.florianmichael.viafabricplus.fixes.diff; - -import net.raphimc.vialoader.util.VersionEnum; -import net.minecraft.item.Item; -import net.minecraft.item.Items; -import net.raphimc.vialoader.util.VersionRange; - -import java.util.*; - -public class ItemRegistryDiffPre1_20_2 { - public final static Map ITEM_REGISTRY_DIFF = new HashMap<>(); - - static { - ITEM_REGISTRY_DIFF.put(Items.CALIBRATED_SCULK_SENSOR, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.PITCHER_PLANT, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.SNIFFER_EGG, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.SUSPICIOUS_GRAVEL, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.PITCHER_POD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.WAYFINDER_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.SHAPER_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.SILENCE_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.RAISER_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.HOST_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.ANGLER_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BLADE_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BREWER_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BURN_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.DANGER_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.EXPLORER_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.FRIEND_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.HEART_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.HEARTBREAK_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.HOWL_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.MINER_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.MOURNER_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.PLENTY_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.SHEAF_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.SHELTER_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.SNORT_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_RELIC, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_BLOCK, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_BAMBOO_BLOCK, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_PLANKS, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_MOSAIC, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_STAIRS, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_MOSAIC_STAIRS, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_SLAB, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_MOSAIC_SLAB, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_FENCE, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_DOOR, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_BUTTON, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_CHEST_RAFT, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_RAFT, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.CHISELED_BOOKSHELF, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.CAMEL_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.PIGLIN_HEAD, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.OAK_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_HANGING_SIGN, VersionRange.andNewer(VersionEnum.r1_20tor1_20_1)); - - ITEM_REGISTRY_DIFF.put(Items.BRUSH, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_BOAT, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_BUTTON, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_CHEST_BOAT, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_DOOR, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_FENCE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_LEAVES, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_LOG, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_PLANKS, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_SAPLING, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_SIGN, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_SLAB, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_STAIRS, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.CHERRY_WOOD, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.COAST_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.DECORATED_POT, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.DUNE_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.EYE_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_UPGRADE_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.PINK_PETALS, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.ARCHER_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.ARMS_UP_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.PRIZE_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.SKULL_POTTERY_SHERD, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.RIB_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.SENTRY_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.SNIFFER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_CHERRY_LOG, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_CHERRY_WOOD, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.SUSPICIOUS_SAND, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.TIDE_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.TORCHFLOWER, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.TORCHFLOWER_SEEDS, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.VEX_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.WARD_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - ITEM_REGISTRY_DIFF.put(Items.WILD_ARMOR_TRIM_SMITHING_TEMPLATE, VersionRange.andNewer(VersionEnum.r1_19_4)); - - ITEM_REGISTRY_DIFF.put(Items.IRON_GOLEM_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_19_3)); - ITEM_REGISTRY_DIFF.put(Items.SNOW_GOLEM_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_19_3)); - - ITEM_REGISTRY_DIFF.put(Items.ACACIA_CHEST_BOAT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.ALLAY_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_CHEST_BOAT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_CHEST_BOAT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.DISC_FRAGMENT_5, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.ECHO_SHARD, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.FROG_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.FROGSPAWN, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.GOAT_HORN, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_CHEST_BOAT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_BOAT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_BUTTON, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_CHEST_BOAT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_DOOR, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_FENCE, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_LEAVES, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_LOG, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_PLANKS, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_PROPAGULE, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_ROOTS, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_SIGN, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_SLAB, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_STAIRS, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MANGROVE_WOOD, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MUD, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MUD_BRICK_SLAB, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MUD_BRICK_STAIRS, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MUD_BRICK_WALL, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MUD_BRICKS, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MUDDY_MANGROVE_ROOTS, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_5, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.OAK_CHEST_BOAT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.OCHRE_FROGLIGHT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.PACKED_MUD, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.PEARLESCENT_FROGLIGHT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.RECOVERY_COMPASS, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.REINFORCED_DEEPSLATE, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.SCULK, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.SCULK_CATALYST, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.SCULK_SHRIEKER, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.SCULK_VEIN, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_CHEST_BOAT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_MANGROVE_LOG, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_MANGROVE_WOOD, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.TADPOLE_BUCKET, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.TADPOLE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.VERDANT_FROGLIGHT, VersionRange.andNewer(VersionEnum.r1_19)); - ITEM_REGISTRY_DIFF.put(Items.WARDEN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_19)); - - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_OTHERSIDE, VersionRange.andNewer(VersionEnum.r1_18tor1_18_1)); - - ITEM_REGISTRY_DIFF.put(Items.AMETHYST_BLOCK, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.AMETHYST_CLUSTER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.AMETHYST_SHARD, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.AXOLOTL_BUCKET, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.AXOLOTL_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.AZALEA, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.AZALEA_LEAVES, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.BIG_DRIPLEAF, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.BLACK_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.BUDDING_AMETHYST, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.BUNDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.CALCITE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.CHISELED_DEEPSLATE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.COBBLED_DEEPSLATE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.COBBLED_DEEPSLATE_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.COBBLED_DEEPSLATE_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.COBBLED_DEEPSLATE_WALL, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.COPPER_BLOCK, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.COPPER_INGOT, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.COPPER_ORE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.CRACKED_DEEPSLATE_BRICKS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.CRACKED_DEEPSLATE_TILES, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.CUT_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.CUT_COPPER_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.CUT_COPPER_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_BRICK_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_BRICK_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_BRICK_WALL, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_BRICKS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_COAL_ORE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_COPPER_ORE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_DIAMOND_ORE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_EMERALD_ORE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_GOLD_ORE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_IRON_ORE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_LAPIS_ORE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_REDSTONE_ORE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_TILE_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_TILE_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_TILE_WALL, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DEEPSLATE_TILES, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.DRIPSTONE_BLOCK, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.EXPOSED_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.EXPOSED_CUT_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.EXPOSED_CUT_COPPER_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.EXPOSED_CUT_COPPER_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.FLOWERING_AZALEA, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.FLOWERING_AZALEA_LEAVES, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.GLOW_BERRIES, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.GLOW_INK_SAC, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.GLOW_ITEM_FRAME, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.GLOW_LICHEN, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.GLOW_SQUID_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.GOAT_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.HANGING_ROOTS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.INFESTED_DEEPSLATE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.LARGE_AMETHYST_BUD, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.LIGHTNING_ROD, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.LIME_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.MEDIUM_AMETHYST_BUD, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.MOSS_BLOCK, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.MOSS_CARPET, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.OXIDIZED_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.OXIDIZED_CUT_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.OXIDIZED_CUT_COPPER_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.OXIDIZED_CUT_COPPER_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.PINK_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.POINTED_DRIPSTONE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_DEEPSLATE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_DEEPSLATE_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_DEEPSLATE_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_DEEPSLATE_WALL, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.POWDER_SNOW_BUCKET, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.RAW_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.RAW_COPPER_BLOCK, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.RAW_GOLD, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.RAW_GOLD_BLOCK, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.RAW_IRON, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.RAW_IRON_BLOCK, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.RED_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.ROOTED_DIRT, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.SCULK_SENSOR, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.SMALL_AMETHYST_BUD, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.SMALL_DRIPLEAF, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_BASALT, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.SPORE_BLOSSOM, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.SPYGLASS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.TINTED_GLASS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.TUFF, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_COPPER_BLOCK, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_CUT_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_CUT_COPPER_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_CUT_COPPER_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_EXPOSED_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_EXPOSED_CUT_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_EXPOSED_CUT_COPPER_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_EXPOSED_CUT_COPPER_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_OXIDIZED_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_OXIDIZED_CUT_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_OXIDIZED_CUT_COPPER_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_OXIDIZED_CUT_COPPER_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_WEATHERED_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_WEATHERED_CUT_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_WEATHERED_CUT_COPPER_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WAXED_WEATHERED_CUT_COPPER_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WEATHERED_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WEATHERED_CUT_COPPER, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WEATHERED_CUT_COPPER_SLAB, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WEATHERED_CUT_COPPER_STAIRS, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_CANDLE, VersionRange.andNewer(VersionEnum.r1_17)); - - ITEM_REGISTRY_DIFF.put(Items.ANCIENT_DEBRIS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.BASALT, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.BLACKSTONE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.BLACKSTONE_SLAB, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.BLACKSTONE_STAIRS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.BLACKSTONE_WALL, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CHAIN, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CHISELED_NETHER_BRICKS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CHISELED_POLISHED_BLACKSTONE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRACKED_NETHER_BRICKS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRACKED_POLISHED_BLACKSTONE_BRICKS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_BUTTON, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_DOOR, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_FENCE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_FUNGUS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_HYPHAE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_NYLIUM, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_PLANKS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_ROOTS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_SIGN, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_SLAB, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_STAIRS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_STEM, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRIMSON_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.CRYING_OBSIDIAN, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.GILDED_BLACKSTONE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.HOGLIN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.LODESTONE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_PIGSTEP, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_GOLD_ORE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_SPROUTS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_AXE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_BLOCK, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_BOOTS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_CHESTPLATE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_HELMET, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_HOE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_INGOT, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_LEGGINGS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_PICKAXE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_SCRAP, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_SHOVEL, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.NETHERITE_SWORD, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.PIGLIN_BANNER_PATTERN, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.PIGLIN_BRUTE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.PIGLIN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BASALT, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE_BRICK_SLAB, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE_BRICK_STAIRS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE_BRICK_WALL, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE_BRICKS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE_BUTTON, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE_SLAB, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE_STAIRS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_BLACKSTONE_WALL, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.QUARTZ_BRICKS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.RESPAWN_ANCHOR, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.SHROOMLIGHT, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.SOUL_CAMPFIRE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.SOUL_LANTERN, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.SOUL_SOIL, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.SOUL_TORCH, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.STRIDER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_CRIMSON_HYPHAE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_CRIMSON_STEM, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_WARPED_HYPHAE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_WARPED_STEM, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.TARGET, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.TWISTING_VINES, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_BUTTON, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_DOOR, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_FENCE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_FUNGUS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_FUNGUS_ON_A_STICK, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_HYPHAE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_NYLIUM, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_PLANKS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_ROOTS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_SIGN, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_SLAB, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_STAIRS, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_STEM, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WARPED_WART_BLOCK, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.WEEPING_VINES, VersionRange.andNewer(VersionEnum.r1_16)); - ITEM_REGISTRY_DIFF.put(Items.ZOGLIN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_16)); - - ITEM_REGISTRY_DIFF.put(Items.BEE_NEST, VersionRange.andNewer(VersionEnum.r1_15)); - ITEM_REGISTRY_DIFF.put(Items.BEE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_15)); - ITEM_REGISTRY_DIFF.put(Items.BEEHIVE, VersionRange.andNewer(VersionEnum.r1_15)); - ITEM_REGISTRY_DIFF.put(Items.HONEY_BLOCK, VersionRange.andNewer(VersionEnum.r1_15)); - ITEM_REGISTRY_DIFF.put(Items.HONEY_BOTTLE, VersionRange.andNewer(VersionEnum.r1_15)); - ITEM_REGISTRY_DIFF.put(Items.HONEYCOMB, VersionRange.andNewer(VersionEnum.r1_15)); - ITEM_REGISTRY_DIFF.put(Items.HONEYCOMB_BLOCK, VersionRange.andNewer(VersionEnum.r1_15)); - - ITEM_REGISTRY_DIFF.put(Items.ACACIA_SIGN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.ANDESITE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.ANDESITE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.ANDESITE_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.BAMBOO, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.BARREL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.BELL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_SIGN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.BLACK_DYE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.BLAST_FURNACE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_DYE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.BRICK_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_DYE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.CAMPFIRE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.CARTOGRAPHY_TABLE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.CAT_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.COMPOSTER, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.CORNFLOWER, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.CREEPER_BANNER_PATTERN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.CROSSBOW, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.CUT_RED_SANDSTONE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.CUT_SANDSTONE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_SIGN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.DIORITE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.DIORITE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.DIORITE_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.END_STONE_BRICK_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.END_STONE_BRICK_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.END_STONE_BRICK_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.FLETCHING_TABLE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.FLOWER_BANNER_PATTERN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.FOX_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.GLOBE_BANNER_PATTERN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.GRANITE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.GRANITE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.GRANITE_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.GRINDSTONE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.JIGSAW, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_SIGN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.LANTERN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.LEATHER_HORSE_ARMOR, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.LECTERN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.LILY_OF_THE_VALLEY, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.LOOM, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.MOJANG_BANNER_PATTERN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.MOSSY_COBBLESTONE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.MOSSY_COBBLESTONE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.MOSSY_STONE_BRICK_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.MOSSY_STONE_BRICK_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.MOSSY_STONE_BRICK_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_BRICK_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.PANDA_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.PILLAGER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_ANDESITE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_ANDESITE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_DIORITE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_DIORITE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_GRANITE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_GRANITE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.PRISMARINE_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.RAVAGER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.RED_NETHER_BRICK_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.RED_NETHER_BRICK_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.RED_NETHER_BRICK_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.RED_SANDSTONE_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SANDSTONE_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SCAFFOLDING, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SKULL_BANNER_PATTERN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SMITHING_TABLE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SMOKER, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_QUARTZ_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_QUARTZ_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_RED_SANDSTONE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_RED_SANDSTONE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_SANDSTONE_SLAB, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_SANDSTONE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_SIGN, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.STONE_BRICK_WALL, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.STONE_STAIRS, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.STONECUTTER, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SUSPICIOUS_STEW, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.SWEET_BERRIES, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.TRADER_LLAMA_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.WANDERING_TRADER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_DYE, VersionRange.andNewer(VersionEnum.r1_14)); - ITEM_REGISTRY_DIFF.put(Items.WITHER_ROSE, VersionRange.andNewer(VersionEnum.r1_14)); - - ITEM_REGISTRY_DIFF.put(Items.ACACIA_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_ICE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BRAIN_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BRAIN_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BRAIN_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BUBBLE_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BUBBLE_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.BUBBLE_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.CARVED_PUMPKIN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.CHIPPED_ANVIL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.COD_BUCKET, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.COD_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.CONDUIT, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DAMAGED_ANVIL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DARK_PRISMARINE_SLAB, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DARK_PRISMARINE_STAIRS, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_BRAIN_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_BRAIN_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_BRAIN_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_BUBBLE_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_BUBBLE_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_BUBBLE_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_FIRE_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_FIRE_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_FIRE_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_HORN_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_HORN_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_HORN_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_TUBE_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_TUBE_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEAD_TUBE_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DEBUG_STICK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DOLPHIN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DRIED_KELP, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DRIED_KELP_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.DROWNED_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.FIRE_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.FIRE_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.FIRE_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.HEART_OF_THE_SEA, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.HORN_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.HORN_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.HORN_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.KELP, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.MUSHROOM_STEM, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.NAUTILUS_SHELL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.OAK_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - //ITEM_REGISTRY_DIFF.put(Items.PETRIFIED_OAK_SLAB, VersionRange.andNewer(VersionEnum.r1_13)); it's right, but the item exists in another form before, so it's actually wrong - ITEM_REGISTRY_DIFF.put(Items.PHANTOM_MEMBRANE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.PHANTOM_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.PRISMARINE_BRICK_SLAB, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.PRISMARINE_BRICK_STAIRS, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.PRISMARINE_SLAB, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.PRISMARINE_STAIRS, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.PUFFERFISH_BUCKET, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.PUFFERFISH_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SALMON_BUCKET, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SALMON_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SCUTE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SEA_PICKLE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SEAGRASS, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_QUARTZ, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_RED_SANDSTONE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_SANDSTONE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_STONE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_ACACIA_LOG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_ACACIA_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_BIRCH_LOG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_BIRCH_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_DARK_OAK_LOG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_DARK_OAK_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_JUNGLE_LOG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_JUNGLE_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_OAK_LOG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_OAK_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_SPRUCE_LOG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.STRIPPED_SPRUCE_WOOD, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.TRIDENT, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.TROPICAL_FISH_BUCKET, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.TROPICAL_FISH_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.TUBE_CORAL, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.TUBE_CORAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.TUBE_CORAL_FAN, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.TURTLE_EGG, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.TURTLE_HELMET, VersionRange.andNewer(VersionEnum.r1_13)); - ITEM_REGISTRY_DIFF.put(Items.TURTLE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_13)); - - ITEM_REGISTRY_DIFF.put(Items.BLACK_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BLACK_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BLACK_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BLACK_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.KNOWLEDGE_BOOK, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIME_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIME_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIME_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.LIME_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.PARROT_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.PINK_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.PINK_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.PINK_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.PINK_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.RED_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.RED_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.RED_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_BED, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_CONCRETE, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_CONCRETE_POWDER, VersionRange.andNewer(VersionEnum.r1_12)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_GLAZED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_12)); - - ITEM_REGISTRY_DIFF.put(Items.BLACK_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.DONKEY_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.EVOKER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.FILLED_MAP, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.HUSK_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.IRON_NUGGET, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.LIME_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.LLAMA_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.MULE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.OBSERVER, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.PINK_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.RED_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.SHULKER_SHELL, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.SKELETON_HORSE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.STRAY_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.TOTEM_OF_UNDYING, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.VEX_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.VINDICATOR_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.WITHER_SKELETON_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_SHULKER_BOX, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.ZOMBIE_HORSE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - ITEM_REGISTRY_DIFF.put(Items.ZOMBIE_VILLAGER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_11)); - - ITEM_REGISTRY_DIFF.put(Items.BONE_BLOCK, VersionRange.andNewer(VersionEnum.r1_10)); - ITEM_REGISTRY_DIFF.put(Items.MAGMA_BLOCK, VersionRange.andNewer(VersionEnum.r1_10).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.NETHER_WART_BLOCK, VersionRange.andNewer(VersionEnum.r1_10)); - ITEM_REGISTRY_DIFF.put(Items.POLAR_BEAR_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_10)); - ITEM_REGISTRY_DIFF.put(Items.RED_NETHER_BRICKS, VersionRange.andNewer(VersionEnum.r1_10)); - ITEM_REGISTRY_DIFF.put(Items.STRUCTURE_VOID, VersionRange.andNewer(VersionEnum.r1_10)); - - ITEM_REGISTRY_DIFF.put(Items.ACACIA_BOAT, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.BEETROOT, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.BEETROOT_SEEDS, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.BEETROOT_SOUP, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_BOAT, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.CHAIN_COMMAND_BLOCK, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.CHORUS_FLOWER, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.CHORUS_FRUIT, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.CHORUS_PLANT, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_BOAT, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.DIRT_PATH, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.DRAGON_BREATH, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.DRAGON_HEAD, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.ELYTRA, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.END_CRYSTAL, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.END_ROD, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.END_STONE_BRICKS, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_BOAT, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.LINGERING_POTION, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.POPPED_CHORUS_FRUIT, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.PURPUR_BLOCK, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.PURPUR_PILLAR, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.PURPUR_SLAB, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.PURPUR_STAIRS, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.REPEATING_COMMAND_BLOCK, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.SHIELD, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.SHULKER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.SPECTRAL_ARROW, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_BOAT, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.STRUCTURE_BLOCK, VersionRange.andNewer(VersionEnum.r1_9)); - ITEM_REGISTRY_DIFF.put(Items.TIPPED_ARROW, VersionRange.andNewer(VersionEnum.r1_9)); - - ITEM_REGISTRY_DIFF.put(Items.ACACIA_DOOR, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_FENCE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.ANDESITE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.ARMOR_STAND, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.BARRIER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_DOOR, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_FENCE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.BLACK_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.CHISELED_RED_SANDSTONE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.COARSE_DIRT, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.COOKED_MUTTON, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.COOKED_RABBIT, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.CREEPER_HEAD, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.CUT_RED_SANDSTONE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_DOOR, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_FENCE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.DARK_PRISMARINE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.DIORITE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.ELDER_GUARDIAN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.ENDERMITE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.GRANITE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.GUARDIAN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.IRON_TRAPDOOR, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_DOOR, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_FENCE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.LIME_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.MUTTON, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.PINK_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.PLAYER_HEAD, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_ANDESITE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_DIORITE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.POLISHED_GRANITE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.PRISMARINE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.PRISMARINE_BRICKS, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.PRISMARINE_CRYSTALS, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.PRISMARINE_SHARD, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.RABBIT, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.RABBIT_FOOT, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.RABBIT_HIDE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.RABBIT_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.RABBIT_STEW, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.RED_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.RED_SANDSTONE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.RED_SANDSTONE_SLAB, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.RED_SANDSTONE_STAIRS, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.SEA_LANTERN, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.SKELETON_SKULL, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.SLIME_BLOCK, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_DOOR, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_FENCE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_FENCE_GATE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.WET_SPONGE, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.WITHER_SKELETON_SKULL, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_BANNER, VersionRange.andNewer(VersionEnum.r1_8)); - ITEM_REGISTRY_DIFF.put(Items.ZOMBIE_HEAD, VersionRange.andNewer(VersionEnum.r1_8)); - - ITEM_REGISTRY_DIFF.put(Items.ACACIA_BUTTON, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_LEAVES, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_LOG, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_PLANKS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_SAPLING, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_SLAB, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ACACIA_STAIRS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ALLIUM, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.AZURE_BLUET, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_BUTTON, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.BLACK_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.BLACK_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_ORCHID, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.COMMAND_BLOCK_MINECART, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.COOKED_SALMON, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_BUTTON, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_LEAVES, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_LOG, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_PLANKS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_SAPLING, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_SLAB, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.DARK_OAK_STAIRS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.INFESTED_CHISELED_STONE_BRICKS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.INFESTED_CRACKED_STONE_BRICKS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.INFESTED_MOSSY_STONE_BRICKS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_BUTTON, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.LARGE_FERN, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.LILAC, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.LIME_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.LIME_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_TULIP, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.OXEYE_DAISY, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.PACKED_ICE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.PEONY, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.PINK_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.PINK_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.PINK_TULIP, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.PODZOL, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.PUFFERFISH, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.RED_SAND, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.RED_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.RED_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.RED_TULIP, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.ROSE_BUSH, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.SALMON, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_BUTTON, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.SUNFLOWER, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.TALL_GRASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.TROPICAL_FISH, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_TULIP, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_STAINED_GLASS, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_STAINED_GLASS_PANE, VersionRange.andNewer(VersionEnum.r1_7_2tor1_7_5)); - - ITEM_REGISTRY_DIFF.put(Items.BLACK_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.BLACK_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.COAL_BLOCK, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_HORSE_ARMOR, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_HORSE_ARMOR, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.HAY_BLOCK, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.HORSE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.IRON_HORSE_ARMOR, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.LEAD, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.LIME_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.LIME_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.NAME_TAG, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.PINK_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.PINK_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.RED_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.RED_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_CARPET, VersionRange.andNewer(VersionEnum.r1_6_1)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_TERRACOTTA, VersionRange.andNewer(VersionEnum.r1_6_1)); - - ITEM_REGISTRY_DIFF.put(Items.ACTIVATOR_RAIL, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.CHISELED_QUARTZ_BLOCK, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.COMPARATOR, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.DAYLIGHT_DETECTOR, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.DROPPER, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.HEAVY_WEIGHTED_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.HOPPER, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.HOPPER_MINECART, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_WEIGHTED_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_BRICK, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_QUARTZ_ORE, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.QUARTZ, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.QUARTZ_BLOCK, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.QUARTZ_PILLAR, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.QUARTZ_SLAB, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.QUARTZ_STAIRS, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.REDSTONE_BLOCK, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.TNT_MINECART, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - ITEM_REGISTRY_DIFF.put(Items.TRAPPED_CHEST, VersionRange.andNewer(VersionEnum.r1_5tor1_5_1)); - - ITEM_REGISTRY_DIFF.put(Items.ANVIL, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.BAKED_POTATO, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.BAT_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.BEACON, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.CARROT, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.CARROT_ON_A_STICK, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.COBBLESTONE_WALL, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.COMMAND_BLOCK, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.ENCHANTED_BOOK, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.FIREWORK_ROCKET, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.FIREWORK_STAR, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.FLOWER_POT, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_CARROT, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.ITEM_FRAME, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.MAP, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.MOSSY_COBBLESTONE_WALL, VersionRange.andNewer(VersionEnum.r1_4_2)); - // "[The disc was] made available in survival" Is this the release in which it was added or made available? - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_WAIT, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_BRICK_SLAB, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_STAR, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.OAK_BUTTON, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.POISONOUS_POTATO, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.POTATO, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.PUMPKIN_PIE, VersionRange.andNewer(VersionEnum.r1_4_2)); - ITEM_REGISTRY_DIFF.put(Items.WITCH_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_4_2)); - - ITEM_REGISTRY_DIFF.put(Items.BIRCH_PLANKS, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_SLAB, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_STAIRS, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.COCOA_BEANS, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.EMERALD, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.EMERALD_BLOCK, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.EMERALD_ORE, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.ENCHANTED_GOLDEN_APPLE, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.ENDER_CHEST, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_PLANKS, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_SLAB, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_STAIRS, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.SANDSTONE_STAIRS, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_PLANKS, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_SLAB, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_STAIRS, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.TRIPWIRE_HOOK, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.WRITABLE_BOOK, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - ITEM_REGISTRY_DIFF.put(Items.WRITTEN_BOOK, VersionRange.andNewer(VersionEnum.r1_3_1tor1_3_2)); - - ITEM_REGISTRY_DIFF.put(Items.CHISELED_SANDSTONE, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - ITEM_REGISTRY_DIFF.put(Items.CHISELED_STONE_BRICKS, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - ITEM_REGISTRY_DIFF.put(Items.CUT_SANDSTONE, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - ITEM_REGISTRY_DIFF.put(Items.EXPERIENCE_BOTTLE, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - ITEM_REGISTRY_DIFF.put(Items.FIRE_CHARGE, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_LEAVES, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_LOG, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - ITEM_REGISTRY_DIFF.put(Items.JUNGLE_SAPLING, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - ITEM_REGISTRY_DIFF.put(Items.OCELOT_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - ITEM_REGISTRY_DIFF.put(Items.REDSTONE_LAMP, VersionRange.andNewer(VersionEnum.r1_2_1tor1_2_3)); - - ITEM_REGISTRY_DIFF.put(Items.BLAZE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.CAVE_SPIDER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.CHICKEN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.COW_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.CREEPER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.ENDERMAN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.GHAST_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.MAGMA_CUBE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.MOOSHROOM_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.PIG_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.SHEEP_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.SILVERFISH_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.SKELETON_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.SLIME_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.SPIDER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.SQUID_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.VILLAGER_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.WOLF_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.ZOMBIE_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - ITEM_REGISTRY_DIFF.put(Items.ZOMBIFIED_PIGLIN_SPAWN_EGG, VersionRange.andNewer(VersionEnum.r1_1)); - - ITEM_REGISTRY_DIFF.put(Items.BLAZE_POWDER, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.BLAZE_ROD, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.BREWING_STAND, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.CAULDRON, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.DRAGON_EGG, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.ENCHANTING_TABLE, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.END_PORTAL_FRAME, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.END_STONE, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.ENDER_EYE, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.FERMENTED_SPIDER_EYE, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.GHAST_TEAR, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.GLASS_BOTTLE, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.GLISTERING_MELON_SLICE, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.GOLD_NUGGET, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MAGMA_CREAM, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_11, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_BLOCKS, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_CHIRP, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_FAR, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_MALL, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_MELLOHI, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_STAL, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_STRAD, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_WARD, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_BRICK_FENCE, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_BRICK_STAIRS, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_BRICKS, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.NETHER_WART, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.POTION, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.SPIDER_EYE, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.SPLASH_POTION, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - - // b1.9-pre1 - ITEM_REGISTRY_DIFF.put(Items.LILY_PAD, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - ITEM_REGISTRY_DIFF.put(Items.MYCELIUM, VersionRange.andNewer(VersionEnum.r1_0_0tor1_0_1)); - - ITEM_REGISTRY_DIFF.put(Items.BEEF, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.BRICK_SLAB, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.BRICK_STAIRS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.BROWN_MUSHROOM_BLOCK, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.CHICKEN, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.COOKED_BEEF, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.COOKED_CHICKEN, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.CRACKED_STONE_BRICKS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.ENDER_PEARL, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.GLASS_PANE, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.INFESTED_COBBLESTONE, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.INFESTED_CRACKED_STONE_BRICKS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.INFESTED_MOSSY_STONE_BRICKS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.INFESTED_STONE, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.INFESTED_STONE_BRICKS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.IRON_BARS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.MELON, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.MELON_SEEDS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.MELON_SLICE, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.MOSSY_STONE_BRICKS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.MUSHROOM_STEM, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.OAK_FENCE_GATE, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.PUMPKIN_SEEDS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.RED_MUSHROOM_BLOCK, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.ROTTEN_FLESH, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.STONE_BRICK_SLAB, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.STONE_BRICK_STAIRS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - ITEM_REGISTRY_DIFF.put(Items.STONE_BRICKS, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.VINE, VersionRange.andNewer(VersionEnum.b1_8tob1_8_1)); - - ITEM_REGISTRY_DIFF.put(Items.PISTON, VersionRange.andNewer(VersionEnum.b1_7tob1_7_3)); - ITEM_REGISTRY_DIFF.put(Items.SHEARS, VersionRange.andNewer(VersionEnum.b1_7tob1_7_3)); - ITEM_REGISTRY_DIFF.put(Items.STICKY_PISTON, VersionRange.andNewer(VersionEnum.b1_7tob1_7_3)); - - ITEM_REGISTRY_DIFF.put(Items.DEAD_BUSH, VersionRange.andNewer(VersionEnum.b1_6tob1_6_6)); - ITEM_REGISTRY_DIFF.put(Items.FERN, VersionRange.andNewer(VersionEnum.b1_6tob1_6_6)); - ITEM_REGISTRY_DIFF.put(Items.GRASS, VersionRange.andNewer(VersionEnum.b1_6tob1_6_6)); - ITEM_REGISTRY_DIFF.put(Items.MAP, VersionRange.andNewer(VersionEnum.b1_6tob1_6_6)); - ITEM_REGISTRY_DIFF.put(Items.OAK_TRAPDOOR, VersionRange.andNewer(VersionEnum.b1_6tob1_6_6)); - - ITEM_REGISTRY_DIFF.put(Items.BIRCH_SAPLING, VersionRange.andNewer(VersionEnum.b1_5tob1_5_2)); - ITEM_REGISTRY_DIFF.put(Items.COBWEB, VersionRange.andNewer(VersionEnum.b1_5tob1_5_2)); - ITEM_REGISTRY_DIFF.put(Items.DETECTOR_RAIL, VersionRange.andNewer(VersionEnum.b1_5tob1_5_2)); - ITEM_REGISTRY_DIFF.put(Items.POWERED_RAIL, VersionRange.andNewer(VersionEnum.b1_5tob1_5_2)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_SAPLING, VersionRange.andNewer(VersionEnum.b1_5tob1_5_2)); - - ITEM_REGISTRY_DIFF.put(Items.COOKIE, VersionRange.andNewer(VersionEnum.b1_4tob1_4_1)); - ITEM_REGISTRY_DIFF.put(Items.TRAPPED_CHEST, VersionRange.andNewer(VersionEnum.b1_4tob1_4_1)); - - ITEM_REGISTRY_DIFF.put(Items.COBBLESTONE_SLAB, VersionRange.andNewer(VersionEnum.b1_3tob1_3_1).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.OAK_SLAB, VersionRange.andNewer(VersionEnum.b1_3tob1_3_1)); - ITEM_REGISTRY_DIFF.put(Items.RED_BED, VersionRange.andNewer(VersionEnum.b1_3tob1_3_1)); - ITEM_REGISTRY_DIFF.put(Items.REPEATER, VersionRange.andNewer(VersionEnum.b1_3tob1_3_1)); - ITEM_REGISTRY_DIFF.put(Items.SANDSTONE_SLAB, VersionRange.andNewer(VersionEnum.b1_3tob1_3_1)); - - ITEM_REGISTRY_DIFF.put(Items.BIRCH_LEAVES, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.BIRCH_LOG, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.BONE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.BONE_MEAL, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.CAKE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.CHARCOAL, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.COCOA_BEANS, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.CYAN_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.DISPENSER, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.INK_SAC, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.LAPIS_BLOCK, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.LAPIS_LAZULI, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.LAPIS_ORE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.LIME_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.NOTE_BLOCK, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.PINK_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.RED_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.SANDSTONE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_LEAVES, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.SPRUCE_LOG, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.SUGAR, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_DYE, VersionRange.andNewer(VersionEnum.b1_2_0tob1_2_2)); - - ITEM_REGISTRY_DIFF.put(Items.CARVED_PUMPKIN, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - ITEM_REGISTRY_DIFF.put(Items.CLOCK, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - ITEM_REGISTRY_DIFF.put(Items.COD, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - ITEM_REGISTRY_DIFF.put(Items.COOKED_COD, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - ITEM_REGISTRY_DIFF.put(Items.GLOWSTONE, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - ITEM_REGISTRY_DIFF.put(Items.GLOWSTONE_DUST, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - ITEM_REGISTRY_DIFF.put(Items.JACK_O_LANTERN, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - ITEM_REGISTRY_DIFF.put(Items.NETHERRACK, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - ITEM_REGISTRY_DIFF.put(Items.PUMPKIN, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - ITEM_REGISTRY_DIFF.put(Items.SOUL_SAND, VersionRange.andNewer(VersionEnum.a1_2_0toa1_2_1_1)); - - ITEM_REGISTRY_DIFF.put(Items.COMPASS, VersionRange.andNewer(VersionEnum.a1_1_0toa1_1_2_1)); - ITEM_REGISTRY_DIFF.put(Items.FISHING_ROD, VersionRange.andNewer(VersionEnum.a1_1_0toa1_1_2_1)); - - // Indev with former 20100223 (it's not known) - ITEM_REGISTRY_DIFF.put(Items.PAINTING, VersionRange.andNewer(VersionEnum.a1_1_0toa1_1_2_1)); - - ITEM_REGISTRY_DIFF.put(Items.OAK_FENCE, VersionRange.andNewer(VersionEnum.a1_0_17toa1_0_17_4)); - - // a1.0.14 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.CHEST_MINECART, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.EGG, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.FURNACE_MINECART, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.JUKEBOX, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_13, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.MUSIC_DISC_CAT, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // a1.0.11 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.BOOK, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.BRICK, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.CLAY, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.CLAY_BALL, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.PAPER, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.SLIME_BALL, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.SUGAR_CANE, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // a1.0.8 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.LEATHER, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.MILK_BUCKET, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // a1.0.6 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.CACTUS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.OAK_BOAT, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // a1.0.5 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.SNOW_BLOCK, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.SNOWBALL, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // a1.0.4 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.ICE, VersionRange.andNewer(VersionEnum.a1_0_15).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.SNOW, VersionRange.andNewer(VersionEnum.a1_0_15).add(VersionRange.single(VersionEnum.c0_30cpe))); - - // a1.0.1 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.IRON_DOOR, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.LEVER, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.OAK_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.REDSTONE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.REDSTONE_ORE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.REDSTONE_TORCH, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.STONE_BUTTON, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.STONE_PRESSURE_PLATE, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 20100629 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.COBBLESTONE_STAIRS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.OAK_STAIRS, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 20100625-2 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.SADDLE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.SPAWNER, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 20100624 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.MINECART, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.OAK_DOOR, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.RAIL, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 20100615 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.BUCKET, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.LAVA_BUCKET, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.WATER_BUCKET, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 20100607 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.LADDER, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.OAK_SIGN, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 20100227-1 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_APPLE, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 20100219 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.COOKED_PORKCHOP, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.FLINT, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.FURNACE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.PORKCHOP, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 20100212-1 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.CHAINMAIL_BOOTS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.CHAINMAIL_CHESTPLATE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.CHAINMAIL_HELMET, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.CHAINMAIL_LEGGINGS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_BOOTS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_CHESTPLATE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_HELMET, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_LEGGINGS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_BOOTS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_CHESTPLATE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_HELMET, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_LEGGINGS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_BOOTS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_CHESTPLATE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_HELMET, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_LEGGINGS, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 20100206 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.BREAD, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_HOE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.FARMLAND, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_HOE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_HOE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.STONE_HOE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.WHEAT, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.WHEAT_SEEDS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.WOODEN_HOE, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 0.31 20100130 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.BOWL, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.CRAFTING_TABLE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.FEATHER, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_AXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_PICKAXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_SHOVEL, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLDEN_SWORD, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GUNPOWDER, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.MUSHROOM_STEW, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.STRING, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Infdev 0.31 20100129 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.STICK, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Indev 0.31 20100128 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.COAL, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_AXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_BLOCK, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_ORE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_PICKAXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_SHOVEL, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.DIAMOND_SWORD, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GOLD_INGOT, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_INGOT, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.STONE_AXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.STONE_PICKAXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.STONE_SHOVEL, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.STONE_SWORD, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.WOODEN_AXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.WOODEN_PICKAXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.WOODEN_SHOVEL, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.WOODEN_SWORD, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Indev 0.31 20091231-2 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.APPLE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_AXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_BOOTS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_CHESTPLATE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_HELMET, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_LEGGINGS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_PICKAXE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_SHOVEL, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.IRON_SWORD, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.LEATHER_BOOTS, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.LEATHER_CHESTPLATE, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.LEATHER_HELMET, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.LEATHER_LEGGINGS, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Indev 0.31 20100124-1 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.CHEST, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Indev 0.31 20100122 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.ARROW, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.BOW, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Indev 0.31 20100110 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.FLINT_AND_STEEL, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Indev 0.31 20091223-2 (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.STONE_SLAB, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.TORCH, VersionRange.andNewer(VersionEnum.a1_0_15)); - - // Cave game tech test? I literally have no idea - ITEM_REGISTRY_DIFF.put(Items.BEDROCK, VersionRange.andNewer(VersionEnum.a1_0_15)); - ITEM_REGISTRY_DIFF.put(Items.GRASS_BLOCK, VersionRange.andNewer(VersionEnum.a1_0_15)); - - ITEM_REGISTRY_DIFF.put(Items.OBSIDIAN, VersionRange.andNewer(VersionEnum.c0_28toc0_30)); - ITEM_REGISTRY_DIFF.put(Items.TNT, VersionRange.andNewer(VersionEnum.c0_28toc0_30)); - - // 0.26 SURVIVAL TEST (doesn't have multiplayer, so we assign it to the next multiplayer version) - ITEM_REGISTRY_DIFF.put(Items.BOOKSHELF, VersionRange.andNewer(VersionEnum.c0_28toc0_30)); - ITEM_REGISTRY_DIFF.put(Items.BRICKS, VersionRange.andNewer(VersionEnum.c0_28toc0_30)); - ITEM_REGISTRY_DIFF.put(Items.COAL_ORE, VersionRange.andNewer(VersionEnum.c0_28toc0_30)); - ITEM_REGISTRY_DIFF.put(Items.GOLD_ORE, VersionRange.andNewer(VersionEnum.c0_28toc0_30)); - ITEM_REGISTRY_DIFF.put(Items.IRON_ORE, VersionRange.andNewer(VersionEnum.c0_28toc0_30)); - ITEM_REGISTRY_DIFF.put(Items.MOSSY_COBBLESTONE, VersionRange.andNewer(VersionEnum.c0_28toc0_30)); - - ITEM_REGISTRY_DIFF.put(Items.BLACK_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.BLUE_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.BROWN_MUSHROOM, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.BROWN_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.CYAN_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.DANDELION, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.GRAY_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.GREEN_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_BLUE_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.LIGHT_GRAY_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.LIME_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.MAGENTA_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.ORANGE_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.PINK_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27).add(VersionRange.single(VersionEnum.c0_30cpe))); - ITEM_REGISTRY_DIFF.put(Items.POPPY, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.PURPLE_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.RED_MUSHROOM, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.RED_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.SMOOTH_STONE_SLAB, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.WHITE_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - ITEM_REGISTRY_DIFF.put(Items.YELLOW_WOOL, VersionRange.andNewer(VersionEnum.c0_0_20ac0_27)); - - ITEM_REGISTRY_DIFF.put(Items.SPONGE, VersionRange.andNewer(VersionEnum.c0_0_19a_06)); - } -} diff --git a/src/main/java/de/florianmichael/viafabricplus/protocolhack/ProtocolHack.java b/src/main/java/de/florianmichael/viafabricplus/protocolhack/ProtocolHack.java index 42b7e375..09601bc2 100644 --- a/src/main/java/de/florianmichael/viafabricplus/protocolhack/ProtocolHack.java +++ b/src/main/java/de/florianmichael/viafabricplus/protocolhack/ProtocolHack.java @@ -55,6 +55,7 @@ import org.cloudburstmc.netty.channel.raknet.config.RakChannelOption; import java.io.File; import java.util.List; +import java.util.concurrent.CompletableFuture; import java.util.concurrent.ThreadLocalRandom; /** @@ -172,19 +173,7 @@ public class ProtocolHack { throw new IllegalStateException("The player is not connected to a server"); } - public static void init(final File directory) { - // Load ViaVersion and register all platforms and their components - ViaLoader.init( - new ViaVersionPlatformImpl(directory), - new ViaFabricPlusVLLoader(), - new ViaFabricPlusVLInjector(), - new ViaFabricPlusVLCommandHandler(), - ViaBackwardsPlatformImpl::new, - ViaFabricPlusViaLegacyPlatformImpl::new, - ViaAprilFoolsPlatformImpl::new, - ViaBedrockPlatformImpl::new - ); - + public static CompletableFuture init(final File directory) { // Register command callback for /viaversion and /viafabricplus ClientCommandRegistrationCallback.EVENT.register((dispatcher, registryAccess) -> { final var commandHandler = (ViaFabricPlusVLCommandHandler) Via.getManager().getCommandHandler(); @@ -195,6 +184,19 @@ public class ProtocolHack { dispatcher.register(LiteralArgumentBuilder.literal("viafabricplus").then(executor).executes(commandHandler::execute)); }); - PostViaVersionLoadCallback.EVENT.invoker().onPostViaVersionLoad(); + return CompletableFuture.runAsync(() -> { + // Load ViaVersion and register all platforms and their components + ViaLoader.init( + new ViaVersionPlatformImpl(directory), + new ViaFabricPlusVLLoader(), + new ViaFabricPlusVLInjector(), + new ViaFabricPlusVLCommandHandler(), + ViaBackwardsPlatformImpl::new, + ViaFabricPlusViaLegacyPlatformImpl::new, + ViaAprilFoolsPlatformImpl::new, + ViaBedrockPlatformImpl::new + ); + PostViaVersionLoadCallback.EVENT.invoker().onPostViaVersionLoad(); + }); } } diff --git a/src/main/java/de/florianmichael/viafabricplus/protocolhack/translator/ItemTranslator.java b/src/main/java/de/florianmichael/viafabricplus/protocolhack/translator/ItemTranslator.java index 59937ca5..647a8e55 100644 --- a/src/main/java/de/florianmichael/viafabricplus/protocolhack/translator/ItemTranslator.java +++ b/src/main/java/de/florianmichael/viafabricplus/protocolhack/translator/ItemTranslator.java @@ -52,7 +52,7 @@ public class ItemTranslator { buf.writeShort(0); // slot buf.writeItemStack(stack); // item - final var wrapper = PacketWrapper.create(CREATIVE_INVENTORY_ACTION_ID, null, user); + final var wrapper = PacketWrapper.create(CREATIVE_INVENTORY_ACTION_ID, buf, user); user.getProtocolInfo().getPipeline().transform(Direction.SERVERBOUND, State.PLAY, wrapper); wrapper.read(Type.SHORT); // slot