Add 1.14 blocks, items, entities, and tags. (#490)

Should remain backwards compatible with 1.13. Removed blocks/items will
be forwarded to the "replacement" block/item. (e.g. BlockTypes.SIGN will
find OAK_SIGN on 1.14.)
This commit is contained in:
wizjany
2019-06-24 23:15:07 -04:00
committed by GitHub
parent 2347fdff62
commit 79910c57d7
12 changed files with 23295 additions and 16 deletions

View File

@ -26,17 +26,24 @@ public final class BlockCategories {
public static final BlockCategory ACACIA_LOGS = get("minecraft:acacia_logs");
public static final BlockCategory ANVIL = get("minecraft:anvil");
public static final BlockCategory BAMBOO_PLANTABLE_ON = get("minecraft:bamboo_plantable_on");
public static final BlockCategory BANNERS = get("minecraft:banners");
public static final BlockCategory BEDS = get("minecraft:beds");
public static final BlockCategory BIRCH_LOGS = get("minecraft:birch_logs");
public static final BlockCategory BUTTONS = get("minecraft:buttons");
public static final BlockCategory CARPETS = get("minecraft:carpets");
public static final BlockCategory CORALS = get("minecraft:corals");
public static final BlockCategory CORAL_BLOCKS = get("minecraft:coral_blocks");
public static final BlockCategory CORAL_PLANTS = get("minecraft:coral_plants");
public static final BlockCategory CORALS = get("minecraft:corals");
public static final BlockCategory DARK_OAK_LOGS = get("minecraft:dark_oak_logs");
public static final BlockCategory DIRT_LIKE = get("minecraft:dirt_like");
public static final BlockCategory DOORS = get("minecraft:doors");
public static final BlockCategory DRAGON_IMMUNE = get("minecraft:dragon_immune");
public static final BlockCategory ENDERMAN_HOLDABLE = get("minecraft:enderman_holdable");
public static final BlockCategory FENCES = get("minecraft:fences");
public static final BlockCategory FLOWER_POTS = get("minecraft:flower_pots");
public static final BlockCategory ICE = get("minecraft:ice");
public static final BlockCategory IMPERMEABLE = get("minecraft:impermeable");
public static final BlockCategory JUNGLE_LOGS = get("minecraft:jungle_logs");
public static final BlockCategory LEAVES = get("minecraft:leaves");
public static final BlockCategory LOGS = get("minecraft:logs");
@ -45,16 +52,27 @@ public final class BlockCategories {
public static final BlockCategory RAILS = get("minecraft:rails");
public static final BlockCategory SAND = get("minecraft:sand");
public static final BlockCategory SAPLINGS = get("minecraft:saplings");
public static final BlockCategory SIGNS = get("minecraft:signs");
public static final BlockCategory SLABS = get("minecraft:slabs");
public static final BlockCategory SMALL_FLOWERS = get("minecraft:small_flowers");
public static final BlockCategory SPRUCE_LOGS = get("minecraft:spruce_logs");
public static final BlockCategory STAIRS = get("minecraft:stairs");
public static final BlockCategory STANDING_SIGNS = get("minecraft:standing_signs");
public static final BlockCategory STONE_BRICKS = get("minecraft:stone_bricks");
public static final BlockCategory TRAPDOORS = get("minecraft:trapdoors");
public static final BlockCategory UNDERWATER_BONEMEALS = get("minecraft:underwater_bonemeals");
public static final BlockCategory VALID_SPAWN = get("minecraft:valid_spawn");
public static final BlockCategory WALL_CORALS = get("minecraft:wall_corals");
public static final BlockCategory WALL_SIGNS = get("minecraft:wall_signs");
public static final BlockCategory WALLS = get("minecraft:walls");
public static final BlockCategory WITHER_IMMUNE = get("minecraft:wither_immune");
public static final BlockCategory WOODEN_BUTTONS = get("minecraft:wooden_buttons");
public static final BlockCategory WOODEN_DOORS = get("minecraft:wooden_doors");
public static final BlockCategory WOODEN_FENCES = get("minecraft:wooden_fences");
public static final BlockCategory WOODEN_PRESSURE_PLATES = get("minecraft:wooden_pressure_plates");
public static final BlockCategory WOODEN_SLABS = get("minecraft:wooden_slabs");
public static final BlockCategory WOODEN_STAIRS = get("minecraft:wooden_stairs");
public static final BlockCategory WOODEN_TRAPDOORS = get("minecraft:wooden_trapdoors");
public static final BlockCategory WOOL = get("minecraft:wool");
private BlockCategories() {

View File

@ -20,6 +20,7 @@
package com.sk89q.worldedit.world.block;
import javax.annotation.Nullable;
import java.util.Optional;
/**
* Stores a list of common Block String IDs.
@ -35,22 +36,31 @@ public final class BlockTypes {
@Nullable public static final BlockType ACACIA_PLANKS = get("minecraft:acacia_planks");
@Nullable public static final BlockType ACACIA_PRESSURE_PLATE = get("minecraft:acacia_pressure_plate");
@Nullable public static final BlockType ACACIA_SAPLING = get("minecraft:acacia_sapling");
@Nullable public static final BlockType ACACIA_SIGN = get("minecraft:acacia_sign");
@Nullable public static final BlockType ACACIA_SLAB = get("minecraft:acacia_slab");
@Nullable public static final BlockType ACACIA_STAIRS = get("minecraft:acacia_stairs");
@Nullable public static final BlockType ACACIA_TRAPDOOR = get("minecraft:acacia_trapdoor");
@Nullable public static final BlockType ACACIA_WALL_SIGN = get("minecraft:acacia_wall_sign");
@Nullable public static final BlockType ACACIA_WOOD = get("minecraft:acacia_wood");
@Nullable public static final BlockType ACTIVATOR_RAIL = get("minecraft:activator_rail");
@Nullable public static final BlockType AIR = get("minecraft:air");
@Nullable public static final BlockType ALLIUM = get("minecraft:allium");
@Nullable public static final BlockType ANDESITE = get("minecraft:andesite");
@Nullable public static final BlockType ANDESITE_SLAB = get("minecraft:andesite_slab");
@Nullable public static final BlockType ANDESITE_STAIRS = get("minecraft:andesite_stairs");
@Nullable public static final BlockType ANDESITE_WALL = get("minecraft:andesite_wall");
@Nullable public static final BlockType ANVIL = get("minecraft:anvil");
@Nullable public static final BlockType ATTACHED_MELON_STEM = get("minecraft:attached_melon_stem");
@Nullable public static final BlockType ATTACHED_PUMPKIN_STEM = get("minecraft:attached_pumpkin_stem");
@Nullable public static final BlockType AZURE_BLUET = get("minecraft:azure_bluet");
@Nullable public static final BlockType BAMBOO = get("minecraft:bamboo");
@Nullable public static final BlockType BAMBOO_SAPLING = get("minecraft:bamboo_sapling");
@Nullable public static final BlockType BARREL = get("minecraft:barrel");
@Nullable public static final BlockType BARRIER = get("minecraft:barrier");
@Nullable public static final BlockType BEACON = get("minecraft:beacon");
@Nullable public static final BlockType BEDROCK = get("minecraft:bedrock");
@Nullable public static final BlockType BEETROOTS = get("minecraft:beetroots");
@Nullable public static final BlockType BELL = get("minecraft:bell");
@Nullable public static final BlockType BIRCH_BUTTON = get("minecraft:birch_button");
@Nullable public static final BlockType BIRCH_DOOR = get("minecraft:birch_door");
@Nullable public static final BlockType BIRCH_FENCE = get("minecraft:birch_fence");
@ -60,9 +70,11 @@ public final class BlockTypes {
@Nullable public static final BlockType BIRCH_PLANKS = get("minecraft:birch_planks");
@Nullable public static final BlockType BIRCH_PRESSURE_PLATE = get("minecraft:birch_pressure_plate");
@Nullable public static final BlockType BIRCH_SAPLING = get("minecraft:birch_sapling");
@Nullable public static final BlockType BIRCH_SIGN = get("minecraft:birch_sign");
@Nullable public static final BlockType BIRCH_SLAB = get("minecraft:birch_slab");
@Nullable public static final BlockType BIRCH_STAIRS = get("minecraft:birch_stairs");
@Nullable public static final BlockType BIRCH_TRAPDOOR = get("minecraft:birch_trapdoor");
@Nullable public static final BlockType BIRCH_WALL_SIGN = get("minecraft:birch_wall_sign");
@Nullable public static final BlockType BIRCH_WOOD = get("minecraft:birch_wood");
@Nullable public static final BlockType BLACK_BANNER = get("minecraft:black_banner");
@Nullable public static final BlockType BLACK_BED = get("minecraft:black_bed");
@ -76,6 +88,7 @@ public final class BlockTypes {
@Nullable public static final BlockType BLACK_TERRACOTTA = get("minecraft:black_terracotta");
@Nullable public static final BlockType BLACK_WALL_BANNER = get("minecraft:black_wall_banner");
@Nullable public static final BlockType BLACK_WOOL = get("minecraft:black_wool");
@Nullable public static final BlockType BLAST_FURNACE = get("minecraft:blast_furnace");
@Nullable public static final BlockType BLUE_BANNER = get("minecraft:blue_banner");
@Nullable public static final BlockType BLUE_BED = get("minecraft:blue_bed");
@Nullable public static final BlockType BLUE_CARPET = get("minecraft:blue_carpet");
@ -99,6 +112,7 @@ public final class BlockTypes {
@Nullable public static final BlockType BREWING_STAND = get("minecraft:brewing_stand");
@Nullable public static final BlockType BRICK_SLAB = get("minecraft:brick_slab");
@Nullable public static final BlockType BRICK_STAIRS = get("minecraft:brick_stairs");
@Nullable public static final BlockType BRICK_WALL = get("minecraft:brick_wall");
@Nullable public static final BlockType BRICKS = get("minecraft:bricks");
@Nullable public static final BlockType BROWN_BANNER = get("minecraft:brown_banner");
@Nullable public static final BlockType BROWN_BED = get("minecraft:brown_bed");
@ -121,7 +135,9 @@ public final class BlockTypes {
@Nullable public static final BlockType BUBBLE_CORAL_WALL_FAN = get("minecraft:bubble_coral_wall_fan");
@Nullable public static final BlockType CACTUS = get("minecraft:cactus");
@Nullable public static final BlockType CAKE = get("minecraft:cake");
@Nullable public static final BlockType CAMPFIRE = get("minecraft:campfire");
@Nullable public static final BlockType CARROTS = get("minecraft:carrots");
@Nullable public static final BlockType CARTOGRAPHY_TABLE = get("minecraft:cartography_table");
@Nullable public static final BlockType CARVED_PUMPKIN = get("minecraft:carved_pumpkin");
@Nullable public static final BlockType CAULDRON = get("minecraft:cauldron");
@Nullable public static final BlockType CAVE_AIR = get("minecraft:cave_air");
@ -146,13 +162,17 @@ public final class BlockTypes {
@Nullable public static final BlockType COCOA = get("minecraft:cocoa");
@Nullable public static final BlockType COMMAND_BLOCK = get("minecraft:command_block");
@Nullable public static final BlockType COMPARATOR = get("minecraft:comparator");
@Nullable public static final BlockType COMPOSTER = get("minecraft:composter");
@Nullable public static final BlockType CONDUIT = get("minecraft:conduit");
@Nullable public static final BlockType CORNFLOWER = get("minecraft:cornflower");
@Nullable public static final BlockType CRACKED_STONE_BRICKS = get("minecraft:cracked_stone_bricks");
@Nullable public static final BlockType CRAFTING_TABLE = get("minecraft:crafting_table");
@Nullable public static final BlockType CREEPER_HEAD = get("minecraft:creeper_head");
@Nullable public static final BlockType CREEPER_WALL_HEAD = get("minecraft:creeper_wall_head");
@Nullable public static final BlockType CUT_RED_SANDSTONE = get("minecraft:cut_red_sandstone");
@Nullable public static final BlockType CUT_RED_SANDSTONE_SLAB = get("minecraft:cut_red_sandstone_slab");
@Nullable public static final BlockType CUT_SANDSTONE = get("minecraft:cut_sandstone");
@Nullable public static final BlockType CUT_SANDSTONE_SLAB = get("minecraft:cut_sandstone_slab");
@Nullable public static final BlockType CYAN_BANNER = get("minecraft:cyan_banner");
@Nullable public static final BlockType CYAN_BED = get("minecraft:cyan_bed");
@Nullable public static final BlockType CYAN_CARPET = get("minecraft:cyan_carpet");
@ -176,9 +196,11 @@ public final class BlockTypes {
@Nullable public static final BlockType DARK_OAK_PLANKS = get("minecraft:dark_oak_planks");
@Nullable public static final BlockType DARK_OAK_PRESSURE_PLATE = get("minecraft:dark_oak_pressure_plate");
@Nullable public static final BlockType DARK_OAK_SAPLING = get("minecraft:dark_oak_sapling");
@Nullable public static final BlockType DARK_OAK_SIGN = get("minecraft:dark_oak_sign");
@Nullable public static final BlockType DARK_OAK_SLAB = get("minecraft:dark_oak_slab");
@Nullable public static final BlockType DARK_OAK_STAIRS = get("minecraft:dark_oak_stairs");
@Nullable public static final BlockType DARK_OAK_TRAPDOOR = get("minecraft:dark_oak_trapdoor");
@Nullable public static final BlockType DARK_OAK_WALL_SIGN = get("minecraft:dark_oak_wall_sign");
@Nullable public static final BlockType DARK_OAK_WOOD = get("minecraft:dark_oak_wood");
@Nullable public static final BlockType DARK_PRISMARINE = get("minecraft:dark_prismarine");
@Nullable public static final BlockType DARK_PRISMARINE_SLAB = get("minecraft:dark_prismarine_slab");
@ -209,6 +231,9 @@ public final class BlockTypes {
@Nullable public static final BlockType DIAMOND_BLOCK = get("minecraft:diamond_block");
@Nullable public static final BlockType DIAMOND_ORE = get("minecraft:diamond_ore");
@Nullable public static final BlockType DIORITE = get("minecraft:diorite");
@Nullable public static final BlockType DIORITE_SLAB = get("minecraft:diorite_slab");
@Nullable public static final BlockType DIORITE_STAIRS = get("minecraft:diorite_stairs");
@Nullable public static final BlockType DIORITE_WALL = get("minecraft:diorite_wall");
@Nullable public static final BlockType DIRT = get("minecraft:dirt");
@Nullable public static final BlockType DISPENSER = get("minecraft:dispenser");
@Nullable public static final BlockType DRAGON_EGG = get("minecraft:dragon_egg");
@ -224,6 +249,9 @@ public final class BlockTypes {
@Nullable public static final BlockType END_PORTAL_FRAME = get("minecraft:end_portal_frame");
@Nullable public static final BlockType END_ROD = get("minecraft:end_rod");
@Nullable public static final BlockType END_STONE = get("minecraft:end_stone");
@Nullable public static final BlockType END_STONE_BRICK_SLAB = get("minecraft:end_stone_brick_slab");
@Nullable public static final BlockType END_STONE_BRICK_STAIRS = get("minecraft:end_stone_brick_stairs");
@Nullable public static final BlockType END_STONE_BRICK_WALL = get("minecraft:end_stone_brick_wall");
@Nullable public static final BlockType END_STONE_BRICKS = get("minecraft:end_stone_bricks");
@Nullable public static final BlockType ENDER_CHEST = get("minecraft:ender_chest");
@Nullable public static final BlockType FARMLAND = get("minecraft:farmland");
@ -233,6 +261,7 @@ public final class BlockTypes {
@Nullable public static final BlockType FIRE_CORAL_BLOCK = get("minecraft:fire_coral_block");
@Nullable public static final BlockType FIRE_CORAL_FAN = get("minecraft:fire_coral_fan");
@Nullable public static final BlockType FIRE_CORAL_WALL_FAN = get("minecraft:fire_coral_wall_fan");
@Nullable public static final BlockType FLETCHING_TABLE = get("minecraft:fletching_table");
@Nullable public static final BlockType FLOWER_POT = get("minecraft:flower_pot");
@Nullable public static final BlockType FROSTED_ICE = get("minecraft:frosted_ice");
@Nullable public static final BlockType FURNACE = get("minecraft:furnace");
@ -242,6 +271,9 @@ public final class BlockTypes {
@Nullable public static final BlockType GOLD_BLOCK = get("minecraft:gold_block");
@Nullable public static final BlockType GOLD_ORE = get("minecraft:gold_ore");
@Nullable public static final BlockType GRANITE = get("minecraft:granite");
@Nullable public static final BlockType GRANITE_SLAB = get("minecraft:granite_slab");
@Nullable public static final BlockType GRANITE_STAIRS = get("minecraft:granite_stairs");
@Nullable public static final BlockType GRANITE_WALL = get("minecraft:granite_wall");
@Nullable public static final BlockType GRASS = get("minecraft:grass");
@Nullable public static final BlockType GRASS_BLOCK = get("minecraft:grass_block");
@Nullable public static final BlockType GRASS_PATH = get("minecraft:grass_path");
@ -270,6 +302,7 @@ public final class BlockTypes {
@Nullable public static final BlockType GREEN_TERRACOTTA = get("minecraft:green_terracotta");
@Nullable public static final BlockType GREEN_WALL_BANNER = get("minecraft:green_wall_banner");
@Nullable public static final BlockType GREEN_WOOL = get("minecraft:green_wool");
@Nullable public static final BlockType GRINDSTONE = get("minecraft:grindstone");
@Nullable public static final BlockType HAY_BLOCK = get("minecraft:hay_block");
@Nullable public static final BlockType HEAVY_WEIGHTED_PRESSURE_PLATE = get("minecraft:heavy_weighted_pressure_plate");
@Nullable public static final BlockType HOPPER = get("minecraft:hopper");
@ -290,6 +323,7 @@ public final class BlockTypes {
@Nullable public static final BlockType IRON_ORE = get("minecraft:iron_ore");
@Nullable public static final BlockType IRON_TRAPDOOR = get("minecraft:iron_trapdoor");
@Nullable public static final BlockType JACK_O_LANTERN = get("minecraft:jack_o_lantern");
@Nullable public static final BlockType JIGSAW = get("minecraft:jigsaw");
@Nullable public static final BlockType JUKEBOX = get("minecraft:jukebox");
@Nullable public static final BlockType JUNGLE_BUTTON = get("minecraft:jungle_button");
@Nullable public static final BlockType JUNGLE_DOOR = get("minecraft:jungle_door");
@ -300,17 +334,21 @@ public final class BlockTypes {
@Nullable public static final BlockType JUNGLE_PLANKS = get("minecraft:jungle_planks");
@Nullable public static final BlockType JUNGLE_PRESSURE_PLATE = get("minecraft:jungle_pressure_plate");
@Nullable public static final BlockType JUNGLE_SAPLING = get("minecraft:jungle_sapling");
@Nullable public static final BlockType JUNGLE_SIGN = get("minecraft:jungle_sign");
@Nullable public static final BlockType JUNGLE_SLAB = get("minecraft:jungle_slab");
@Nullable public static final BlockType JUNGLE_STAIRS = get("minecraft:jungle_stairs");
@Nullable public static final BlockType JUNGLE_TRAPDOOR = get("minecraft:jungle_trapdoor");
@Nullable public static final BlockType JUNGLE_WALL_SIGN = get("minecraft:jungle_wall_sign");
@Nullable public static final BlockType JUNGLE_WOOD = get("minecraft:jungle_wood");
@Nullable public static final BlockType KELP = get("minecraft:kelp");
@Nullable public static final BlockType KELP_PLANT = get("minecraft:kelp_plant");
@Nullable public static final BlockType LADDER = get("minecraft:ladder");
@Nullable public static final BlockType LANTERN = get("minecraft:lantern");
@Nullable public static final BlockType LAPIS_BLOCK = get("minecraft:lapis_block");
@Nullable public static final BlockType LAPIS_ORE = get("minecraft:lapis_ore");
@Nullable public static final BlockType LARGE_FERN = get("minecraft:large_fern");
@Nullable public static final BlockType LAVA = get("minecraft:lava");
@Nullable public static final BlockType LECTERN = get("minecraft:lectern");
@Nullable public static final BlockType LEVER = get("minecraft:lever");
@Nullable public static final BlockType LIGHT_BLUE_BANNER = get("minecraft:light_blue_banner");
@Nullable public static final BlockType LIGHT_BLUE_BED = get("minecraft:light_blue_bed");
@ -338,6 +376,7 @@ public final class BlockTypes {
@Nullable public static final BlockType LIGHT_GRAY_WOOL = get("minecraft:light_gray_wool");
@Nullable public static final BlockType LIGHT_WEIGHTED_PRESSURE_PLATE = get("minecraft:light_weighted_pressure_plate");
@Nullable public static final BlockType LILAC = get("minecraft:lilac");
@Nullable public static final BlockType LILY_OF_THE_VALLEY = get("minecraft:lily_of_the_valley");
@Nullable public static final BlockType LILY_PAD = get("minecraft:lily_pad");
@Nullable public static final BlockType LIME_BANNER = get("minecraft:lime_banner");
@Nullable public static final BlockType LIME_BED = get("minecraft:lime_bed");
@ -351,6 +390,7 @@ public final class BlockTypes {
@Nullable public static final BlockType LIME_TERRACOTTA = get("minecraft:lime_terracotta");
@Nullable public static final BlockType LIME_WALL_BANNER = get("minecraft:lime_wall_banner");
@Nullable public static final BlockType LIME_WOOL = get("minecraft:lime_wool");
@Nullable public static final BlockType LOOM = get("minecraft:loom");
@Nullable public static final BlockType MAGENTA_BANNER = get("minecraft:magenta_banner");
@Nullable public static final BlockType MAGENTA_BED = get("minecraft:magenta_bed");
@Nullable public static final BlockType MAGENTA_CARPET = get("minecraft:magenta_carpet");
@ -367,7 +407,12 @@ public final class BlockTypes {
@Nullable public static final BlockType MELON = get("minecraft:melon");
@Nullable public static final BlockType MELON_STEM = get("minecraft:melon_stem");
@Nullable public static final BlockType MOSSY_COBBLESTONE = get("minecraft:mossy_cobblestone");
@Nullable public static final BlockType MOSSY_COBBLESTONE_SLAB = get("minecraft:mossy_cobblestone_slab");
@Nullable public static final BlockType MOSSY_COBBLESTONE_STAIRS = get("minecraft:mossy_cobblestone_stairs");
@Nullable public static final BlockType MOSSY_COBBLESTONE_WALL = get("minecraft:mossy_cobblestone_wall");
@Nullable public static final BlockType MOSSY_STONE_BRICK_SLAB = get("minecraft:mossy_stone_brick_slab");
@Nullable public static final BlockType MOSSY_STONE_BRICK_STAIRS = get("minecraft:mossy_stone_brick_stairs");
@Nullable public static final BlockType MOSSY_STONE_BRICK_WALL = get("minecraft:mossy_stone_brick_wall");
@Nullable public static final BlockType MOSSY_STONE_BRICKS = get("minecraft:mossy_stone_bricks");
@Nullable public static final BlockType MOVING_PISTON = get("minecraft:moving_piston");
@Nullable public static final BlockType MUSHROOM_STEM = get("minecraft:mushroom_stem");
@ -375,6 +420,7 @@ public final class BlockTypes {
@Nullable public static final BlockType NETHER_BRICK_FENCE = get("minecraft:nether_brick_fence");
@Nullable public static final BlockType NETHER_BRICK_SLAB = get("minecraft:nether_brick_slab");
@Nullable public static final BlockType NETHER_BRICK_STAIRS = get("minecraft:nether_brick_stairs");
@Nullable public static final BlockType NETHER_BRICK_WALL = get("minecraft:nether_brick_wall");
@Nullable public static final BlockType NETHER_BRICKS = get("minecraft:nether_bricks");
@Nullable public static final BlockType NETHER_PORTAL = get("minecraft:nether_portal");
@Nullable public static final BlockType NETHER_QUARTZ_ORE = get("minecraft:nether_quartz_ore");
@ -391,9 +437,11 @@ public final class BlockTypes {
@Nullable public static final BlockType OAK_PLANKS = get("minecraft:oak_planks");
@Nullable public static final BlockType OAK_PRESSURE_PLATE = get("minecraft:oak_pressure_plate");
@Nullable public static final BlockType OAK_SAPLING = get("minecraft:oak_sapling");
@Nullable public static final BlockType OAK_SIGN = get("minecraft:oak_sign");
@Nullable public static final BlockType OAK_SLAB = get("minecraft:oak_slab");
@Nullable public static final BlockType OAK_STAIRS = get("minecraft:oak_stairs");
@Nullable public static final BlockType OAK_TRAPDOOR = get("minecraft:oak_trapdoor");
@Nullable public static final BlockType OAK_WALL_SIGN = get("minecraft:oak_wall_sign");
@Nullable public static final BlockType OAK_WOOD = get("minecraft:oak_wood");
@Nullable public static final BlockType OBSERVER = get("minecraft:observer");
@Nullable public static final BlockType OBSIDIAN = get("minecraft:obsidian");
@ -433,22 +481,31 @@ public final class BlockTypes {
@Nullable public static final BlockType PLAYER_WALL_HEAD = get("minecraft:player_wall_head");
@Nullable public static final BlockType PODZOL = get("minecraft:podzol");
@Nullable public static final BlockType POLISHED_ANDESITE = get("minecraft:polished_andesite");
@Nullable public static final BlockType POLISHED_ANDESITE_SLAB = get("minecraft:polished_andesite_slab");
@Nullable public static final BlockType POLISHED_ANDESITE_STAIRS = get("minecraft:polished_andesite_stairs");
@Nullable public static final BlockType POLISHED_DIORITE = get("minecraft:polished_diorite");
@Nullable public static final BlockType POLISHED_DIORITE_SLAB = get("minecraft:polished_diorite_slab");
@Nullable public static final BlockType POLISHED_DIORITE_STAIRS = get("minecraft:polished_diorite_stairs");
@Nullable public static final BlockType POLISHED_GRANITE = get("minecraft:polished_granite");
@Nullable public static final BlockType POLISHED_GRANITE_SLAB = get("minecraft:polished_granite_slab");
@Nullable public static final BlockType POLISHED_GRANITE_STAIRS = get("minecraft:polished_granite_stairs");
@Nullable public static final BlockType POPPY = get("minecraft:poppy");
@Nullable public static final BlockType POTATOES = get("minecraft:potatoes");
@Nullable public static final BlockType POTTED_ACACIA_SAPLING = get("minecraft:potted_acacia_sapling");
@Nullable public static final BlockType POTTED_ALLIUM = get("minecraft:potted_allium");
@Nullable public static final BlockType POTTED_AZURE_BLUET = get("minecraft:potted_azure_bluet");
@Nullable public static final BlockType POTTED_BAMBOO = get("minecraft:potted_bamboo");
@Nullable public static final BlockType POTTED_BIRCH_SAPLING = get("minecraft:potted_birch_sapling");
@Nullable public static final BlockType POTTED_BLUE_ORCHID = get("minecraft:potted_blue_orchid");
@Nullable public static final BlockType POTTED_BROWN_MUSHROOM = get("minecraft:potted_brown_mushroom");
@Nullable public static final BlockType POTTED_CACTUS = get("minecraft:potted_cactus");
@Nullable public static final BlockType POTTED_CORNFLOWER = get("minecraft:potted_cornflower");
@Nullable public static final BlockType POTTED_DANDELION = get("minecraft:potted_dandelion");
@Nullable public static final BlockType POTTED_DARK_OAK_SAPLING = get("minecraft:potted_dark_oak_sapling");
@Nullable public static final BlockType POTTED_DEAD_BUSH = get("minecraft:potted_dead_bush");
@Nullable public static final BlockType POTTED_FERN = get("minecraft:potted_fern");
@Nullable public static final BlockType POTTED_JUNGLE_SAPLING = get("minecraft:potted_jungle_sapling");
@Nullable public static final BlockType POTTED_LILY_OF_THE_VALLEY = get("minecraft:potted_lily_of_the_valley");
@Nullable public static final BlockType POTTED_OAK_SAPLING = get("minecraft:potted_oak_sapling");
@Nullable public static final BlockType POTTED_ORANGE_TULIP = get("minecraft:potted_orange_tulip");
@Nullable public static final BlockType POTTED_OXEYE_DAISY = get("minecraft:potted_oxeye_daisy");
@ -458,6 +515,7 @@ public final class BlockTypes {
@Nullable public static final BlockType POTTED_RED_TULIP = get("minecraft:potted_red_tulip");
@Nullable public static final BlockType POTTED_SPRUCE_SAPLING = get("minecraft:potted_spruce_sapling");
@Nullable public static final BlockType POTTED_WHITE_TULIP = get("minecraft:potted_white_tulip");
@Nullable public static final BlockType POTTED_WITHER_ROSE = get("minecraft:potted_wither_rose");
@Nullable public static final BlockType POWERED_RAIL = get("minecraft:powered_rail");
@Nullable public static final BlockType PRISMARINE = get("minecraft:prismarine");
@Nullable public static final BlockType PRISMARINE_BRICK_SLAB = get("minecraft:prismarine_brick_slab");
@ -465,6 +523,7 @@ public final class BlockTypes {
@Nullable public static final BlockType PRISMARINE_BRICKS = get("minecraft:prismarine_bricks");
@Nullable public static final BlockType PRISMARINE_SLAB = get("minecraft:prismarine_slab");
@Nullable public static final BlockType PRISMARINE_STAIRS = get("minecraft:prismarine_stairs");
@Nullable public static final BlockType PRISMARINE_WALL = get("minecraft:prismarine_wall");
@Nullable public static final BlockType PUMPKIN = get("minecraft:pumpkin");
@Nullable public static final BlockType PUMPKIN_STEM = get("minecraft:pumpkin_stem");
@Nullable public static final BlockType PURPLE_BANNER = get("minecraft:purple_banner");
@ -496,11 +555,15 @@ public final class BlockTypes {
@Nullable public static final BlockType RED_GLAZED_TERRACOTTA = get("minecraft:red_glazed_terracotta");
@Nullable public static final BlockType RED_MUSHROOM = get("minecraft:red_mushroom");
@Nullable public static final BlockType RED_MUSHROOM_BLOCK = get("minecraft:red_mushroom_block");
@Nullable public static final BlockType RED_NETHER_BRICK_SLAB = get("minecraft:red_nether_brick_slab");
@Nullable public static final BlockType RED_NETHER_BRICK_STAIRS = get("minecraft:red_nether_brick_stairs");
@Nullable public static final BlockType RED_NETHER_BRICK_WALL = get("minecraft:red_nether_brick_wall");
@Nullable public static final BlockType RED_NETHER_BRICKS = get("minecraft:red_nether_bricks");
@Nullable public static final BlockType RED_SAND = get("minecraft:red_sand");
@Nullable public static final BlockType RED_SANDSTONE = get("minecraft:red_sandstone");
@Nullable public static final BlockType RED_SANDSTONE_SLAB = get("minecraft:red_sandstone_slab");
@Nullable public static final BlockType RED_SANDSTONE_STAIRS = get("minecraft:red_sandstone_stairs");
@Nullable public static final BlockType RED_SANDSTONE_WALL = get("minecraft:red_sandstone_wall");
@Nullable public static final BlockType RED_SHULKER_BOX = get("minecraft:red_shulker_box");
@Nullable public static final BlockType RED_STAINED_GLASS = get("minecraft:red_stained_glass");
@Nullable public static final BlockType RED_STAINED_GLASS_PANE = get("minecraft:red_stained_glass_pane");
@ -521,18 +584,29 @@ public final class BlockTypes {
@Nullable public static final BlockType SANDSTONE = get("minecraft:sandstone");
@Nullable public static final BlockType SANDSTONE_SLAB = get("minecraft:sandstone_slab");
@Nullable public static final BlockType SANDSTONE_STAIRS = get("minecraft:sandstone_stairs");
@Nullable public static final BlockType SANDSTONE_WALL = get("minecraft:sandstone_wall");
@Nullable public static final BlockType SCAFFOLDING = get("minecraft:scaffolding");
@Nullable public static final BlockType SEA_LANTERN = get("minecraft:sea_lantern");
@Nullable public static final BlockType SEA_PICKLE = get("minecraft:sea_pickle");
@Nullable public static final BlockType SEAGRASS = get("minecraft:seagrass");
@Nullable public static final BlockType SHULKER_BOX = get("minecraft:shulker_box");
@Nullable public static final BlockType SIGN = get("minecraft:sign");
@Deprecated @Nullable public static final BlockType SIGN = Optional.ofNullable(get("minecraft:sign")).orElse(get("minecraft:oak_sign"));
@Nullable public static final BlockType SKELETON_SKULL = get("minecraft:skeleton_skull");
@Nullable public static final BlockType SKELETON_WALL_SKULL = get("minecraft:skeleton_wall_skull");
@Nullable public static final BlockType SLIME_BLOCK = get("minecraft:slime_block");
@Nullable public static final BlockType SMITHING_TABLE = get("minecraft:smithing_table");
@Nullable public static final BlockType SMOKER = get("minecraft:smoker");
@Nullable public static final BlockType SMOOTH_QUARTZ = get("minecraft:smooth_quartz");
@Nullable public static final BlockType SMOOTH_QUARTZ_SLAB = get("minecraft:smooth_quartz_slab");
@Nullable public static final BlockType SMOOTH_QUARTZ_STAIRS = get("minecraft:smooth_quartz_stairs");
@Nullable public static final BlockType SMOOTH_RED_SANDSTONE = get("minecraft:smooth_red_sandstone");
@Nullable public static final BlockType SMOOTH_RED_SANDSTONE_SLAB = get("minecraft:smooth_red_sandstone_slab");
@Nullable public static final BlockType SMOOTH_RED_SANDSTONE_STAIRS = get("minecraft:smooth_red_sandstone_stairs");
@Nullable public static final BlockType SMOOTH_SANDSTONE = get("minecraft:smooth_sandstone");
@Nullable public static final BlockType SMOOTH_SANDSTONE_SLAB = get("minecraft:smooth_sandstone_slab");
@Nullable public static final BlockType SMOOTH_SANDSTONE_STAIRS = get("minecraft:smooth_sandstone_stairs");
@Nullable public static final BlockType SMOOTH_STONE = get("minecraft:smooth_stone");
@Nullable public static final BlockType SMOOTH_STONE_SLAB = get("minecraft:smooth_stone_slab");
@Nullable public static final BlockType SNOW = get("minecraft:snow");
@Nullable public static final BlockType SNOW_BLOCK = get("minecraft:snow_block");
@Nullable public static final BlockType SOUL_SAND = get("minecraft:soul_sand");
@ -547,18 +621,23 @@ public final class BlockTypes {
@Nullable public static final BlockType SPRUCE_PLANKS = get("minecraft:spruce_planks");
@Nullable public static final BlockType SPRUCE_PRESSURE_PLATE = get("minecraft:spruce_pressure_plate");
@Nullable public static final BlockType SPRUCE_SAPLING = get("minecraft:spruce_sapling");
@Nullable public static final BlockType SPRUCE_SIGN = get("minecraft:spruce_sign");
@Nullable public static final BlockType SPRUCE_SLAB = get("minecraft:spruce_slab");
@Nullable public static final BlockType SPRUCE_STAIRS = get("minecraft:spruce_stairs");
@Nullable public static final BlockType SPRUCE_TRAPDOOR = get("minecraft:spruce_trapdoor");
@Nullable public static final BlockType SPRUCE_WALL_SIGN = get("minecraft:spruce_wall_sign");
@Nullable public static final BlockType SPRUCE_WOOD = get("minecraft:spruce_wood");
@Nullable public static final BlockType STICKY_PISTON = get("minecraft:sticky_piston");
@Nullable public static final BlockType STONE = get("minecraft:stone");
@Nullable public static final BlockType STONE_BRICK_SLAB = get("minecraft:stone_brick_slab");
@Nullable public static final BlockType STONE_BRICK_STAIRS = get("minecraft:stone_brick_stairs");
@Nullable public static final BlockType STONE_BRICK_WALL = get("minecraft:stone_brick_wall");
@Nullable public static final BlockType STONE_BRICKS = get("minecraft:stone_bricks");
@Nullable public static final BlockType STONE_BUTTON = get("minecraft:stone_button");
@Nullable public static final BlockType STONE_PRESSURE_PLATE = get("minecraft:stone_pressure_plate");
@Nullable public static final BlockType STONE_SLAB = get("minecraft:stone_slab");
@Nullable public static final BlockType STONE_STAIRS = get("minecraft:stone_stairs");
@Nullable public static final BlockType STONECUTTER = get("minecraft:stonecutter");
@Nullable public static final BlockType STRIPPED_ACACIA_LOG = get("minecraft:stripped_acacia_log");
@Nullable public static final BlockType STRIPPED_ACACIA_WOOD = get("minecraft:stripped_acacia_wood");
@Nullable public static final BlockType STRIPPED_BIRCH_LOG = get("minecraft:stripped_birch_log");
@ -575,6 +654,7 @@ public final class BlockTypes {
@Nullable public static final BlockType STRUCTURE_VOID = get("minecraft:structure_void");
@Nullable public static final BlockType SUGAR_CANE = get("minecraft:sugar_cane");
@Nullable public static final BlockType SUNFLOWER = get("minecraft:sunflower");
@Nullable public static final BlockType SWEET_BERRY_BUSH = get("minecraft:sweet_berry_bush");
@Nullable public static final BlockType TALL_GRASS = get("minecraft:tall_grass");
@Nullable public static final BlockType TALL_SEAGRASS = get("minecraft:tall_seagrass");
@Nullable public static final BlockType TERRACOTTA = get("minecraft:terracotta");
@ -590,7 +670,7 @@ public final class BlockTypes {
@Nullable public static final BlockType TURTLE_EGG = get("minecraft:turtle_egg");
@Nullable public static final BlockType VINE = get("minecraft:vine");
@Nullable public static final BlockType VOID_AIR = get("minecraft:void_air");
@Nullable public static final BlockType WALL_SIGN = get("minecraft:wall_sign");
@Deprecated @Nullable public static final BlockType WALL_SIGN = Optional.ofNullable(get("minecraft:wall_sign")).orElse(get("minecraft:oak_wall_sign"));
@Nullable public static final BlockType WALL_TORCH = get("minecraft:wall_torch");
@Nullable public static final BlockType WATER = get("minecraft:water");
@Nullable public static final BlockType WET_SPONGE = get("minecraft:wet_sponge");
@ -608,6 +688,7 @@ public final class BlockTypes {
@Nullable public static final BlockType WHITE_TULIP = get("minecraft:white_tulip");
@Nullable public static final BlockType WHITE_WALL_BANNER = get("minecraft:white_wall_banner");
@Nullable public static final BlockType WHITE_WOOL = get("minecraft:white_wool");
@Nullable public static final BlockType WITHER_ROSE = get("minecraft:wither_rose");
@Nullable public static final BlockType WITHER_SKELETON_SKULL = get("minecraft:wither_skeleton_skull");
@Nullable public static final BlockType WITHER_SKELETON_WALL_SKULL = get("minecraft:wither_skeleton_wall_skull");
@Nullable public static final BlockType YELLOW_BANNER = get("minecraft:yellow_banner");