Class BlockTags
java.lang.Object
com.github.retrooper.packetevents.protocol.world.states.defaulttags.BlockTags
This class allows you to use block tags on outdated versions.
If you are on a version that sends tags to the player, you are suggested to listen to
WrapperPlayServerTags
Might as well just fucking shade the entire vanilla jar if we are going to copy SO MANY HUNDREDS OF LINES
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockTagsstatic final BlockTagsAdded with 1.21.2static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsAdded with 1.20.5static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsAdded with 1.20.5static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsAdded with 1.21.2static final BlockTagsstatic final BlockTagsstatic final BlockTagsAdded with 1.21.4static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsAdded with 1.20.5static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsAdded with 1.20.5static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsDeprecated.static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsUnofficial tag for all glass blocksstatic final BlockTagsUnofficial tag for all glass panesstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsAdded with 1.20.5static final BlockTagsAdded with 1.20.5static final BlockTagsAdded with 1.20.5static final BlockTagsAdded with 1.20.5static final BlockTagsAdded with 1.20.5static final BlockTagsAdded with 1.20.5static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsDeprecated.static final BlockTagsDeprecated.static final BlockTagsDeprecated.static final BlockTagsDeprecated.static final BlockTagsAdded with 1.21.2static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsAdded with 1.21.2static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsDeprecated.static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsRemoved with 1.21.4static final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTagsstatic final BlockTags -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WOOL
-
PLANKS
-
STONE_BRICKS
-
WOODEN_BUTTONS
-
STONE_BUTTONS
-
BUTTONS
-
WOOL_CARPETS
-
WOODEN_DOORS
-
WOODEN_STAIRS
-
WOODEN_SLABS
-
WOODEN_FENCES
-
PRESSURE_PLATES
-
WOODEN_PRESSURE_PLATES
-
STONE_PRESSURE_PLATES
-
WOODEN_TRAPDOORS
-
DOORS
-
SAPLINGS
-
LOGS_THAT_BURN
-
OVERWORLD_NATURAL_LOGS
-
LOGS
-
DARK_OAK_LOGS
-
OAK_LOGS
-
BIRCH_LOGS
-
ACACIA_LOGS
-
CHERRY_LOGS
-
JUNGLE_LOGS
-
SPRUCE_LOGS
-
MANGROVE_LOGS
-
CRIMSON_STEMS
-
WARPED_STEMS
-
BAMBOO_BLOCKS
-
WART_BLOCKS
-
BANNERS
-
SAND
-
SMELTS_TO_GLASS
-
STAIRS
-
SLABS
-
WALLS
-
ANVIL
-
RAILS
-
LEAVES
-
TRAPDOORS
-
SMALL_FLOWERS
-
BEDS
-
FENCES
-
TALL_FLOWERS
Removed with 1.21.4 -
FLOWERS
-
PIGLIN_REPELLENTS
-
GOLD_ORES
-
IRON_ORES
-
DIAMOND_ORES
-
REDSTONE_ORES
-
LAPIS_ORES
-
COAL_ORES
-
EMERALD_ORES
-
COPPER_ORES
-
CANDLES
-
DIRT
-
TERRACOTTA
-
CONCRETE_POWDER
-
COMPLETES_FIND_TREE_TUTORIAL
-
FLOWER_POTS
-
ENDERMAN_HOLDABLE
-
ICE
-
VALID_SPAWN
-
IMPERMEABLE
-
UNDERWATER_BONEMEALS
-
CORAL_BLOCKS
-
WALL_CORALS
-
CORAL_PLANTS
-
CORALS
-
BAMBOO_PLANTABLE_ON
-
STANDING_SIGNS
-
WALL_SIGNS
-
SIGNS
-
CEILING_HANGING_SIGNS
-
WALL_HANGING_SIGNS
-
ALL_HANGING_SIGNS
-
ALL_SIGNS
-
DRAGON_IMMUNE
-
DRAGON_TRANSPARENT
-
WITHER_IMMUNE
-
WITHER_SUMMON_BASE_BLOCKS
-
BEEHIVES
-
CROPS
-
BEE_GROWABLES
-
PORTALS
-
FIRE
-
NYLIUM
-
BEACON_BASE_BLOCKS
-
SOUL_SPEED_BLOCKS
-
WALL_POST_OVERRIDE
-
CLIMBABLE
-
FALL_DAMAGE_RESETTING
-
SHULKER_BOXES
-
HOGLIN_REPELLENTS
-
SOUL_FIRE_BASE_BLOCKS
-
STRIDER_WARM_BLOCKS
-
CAMPFIRES
-
GUARDED_BY_PIGLINS
-
PREVENT_MOB_SPAWNING_INSIDE
-
FENCE_GATES
-
UNSTABLE_BOTTOM_CENTER
-
MUSHROOM_GROW_BLOCK
-
INFINIBURN_OVERWORLD
-
INFINIBURN_NETHER
-
INFINIBURN_END
-
BASE_STONE_OVERWORLD
-
STONE_ORE_REPLACEABLES
-
DEEPSLATE_ORE_REPLACEABLES
-
BASE_STONE_NETHER
-
OVERWORLD_CARVER_REPLACEABLES
-
NETHER_CARVER_REPLACEABLES
-
CANDLE_CAKES
-
CAULDRONS
-
CRYSTAL_SOUND_BLOCKS
-
INSIDE_STEP_SOUND_BLOCKS
-
COMBINATION_STEP_SOUND_BLOCKS
-
CAMEL_SAND_STEP_SOUND_BLOCKS
-
OCCLUDES_VIBRATION_SIGNALS
-
DAMPENS_VIBRATIONS
-
DRIPSTONE_REPLACEABLE_BLOCKS
-
DRIPSTONE_REPLACEABLE
Deprecated. -
CAVE_VINES
-
MOSS_REPLACEABLE
-
LUSH_GROUND_REPLACEABLE
-
AZALEA_ROOT_REPLACEABLE
-
SMALL_DRIPLEAF_PLACEABLE
-
BIG_DRIPLEAF_PLACEABLE
-
SNOW
-
MINEABLE_AXE
-
MINEABLE_HOE
-
MINEABLE_PICKAXE
-
MINEABLE_SHOVEL
-
MINEABLE_WITH_AXE
Deprecated. -
MINEABLE_WITH_HOE
Deprecated. -
MINEABLE_WITH_PICKAXE
Deprecated. -
MINEABLE_WITH_SHOVEL
Deprecated. -
SWORD_EFFICIENT
-
NEEDS_DIAMOND_TOOL
-
NEEDS_IRON_TOOL
-
NEEDS_STONE_TOOL
-
FEATURES_CANNOT_REPLACE
-
LAVA_POOL_STONE_CANNOT_REPLACE
-
GEODE_INVALID_BLOCKS
-
FROG_PREFER_JUMP_TO
-
SCULK_REPLACEABLE
-
SCULK_REPLACEABLE_WORLD_GEN
-
ANCIENT_CITY_REPLACEABLE
-
VIBRATION_RESONATORS
-
ANIMALS_SPAWNABLE_ON
-
AXOLOTLS_SPAWNABLE_ON
-
GOATS_SPAWNABLE_ON
-
MOOSHROOMS_SPAWNABLE_ON
-
PARROTS_SPAWNABLE_ON
-
POLAR_BEARS_SPAWNABLE_ON_ALTERNATE
-
RABBITS_SPAWNABLE_ON
-
FOXES_SPAWNABLE_ON
-
WOLVES_SPAWNABLE_ON
-
FROGS_SPAWNABLE_ON
-
AZALEA_GROWS_ON
-
REPLACEABLE_PLANTS
Deprecated. -
CONVERTABLE_TO_MUD
-
MANGROVE_LOGS_CAN_GROW_THROUGH
-
MANGROVE_ROOTS_CAN_GROW_THROUGH
-
DEAD_BUSH_MAY_PLACE_ON
-
SNAPS_GOAT_HORN
-
REPLACEABLE_BY_TREES
-
SNOW_LAYER_CANNOT_SURVIVE_ON
-
SNOW_LAYER_CAN_SURVIVE_ON
-
INVALID_SPAWN_INSIDE
-
SNIFFER_DIGGABLE_BLOCK
-
SNIFFER_EGG_HATCH_BOOST
-
TRAIL_RUINS_REPLACEABLE
-
REPLACEABLE
-
ENCHANTMENT_POWER_PROVIDER
-
ENCHANTMENT_POWER_TRANSMITTER
-
MAINTAINS_FARMLAND
-
ARMADILLO_SPAWNABLE_ON
Added with 1.20.5 -
BADLANDS_TERRACOTTA
Added with 1.20.5 -
BLOCKS_WIND_CHARGE_EXPLOSIONS
Added with 1.20.5 -
DOES_NOT_BLOCK_HOPPERS
Added with 1.20.5 -
INCORRECT_FOR_DIAMOND_TOOL
Added with 1.20.5 -
INCORRECT_FOR_GOLD_TOOL
Added with 1.20.5 -
INCORRECT_FOR_IRON_TOOL
Added with 1.20.5 -
INCORRECT_FOR_NETHERITE_TOOL
Added with 1.20.5 -
INCORRECT_FOR_STONE_TOOL
Added with 1.20.5 -
INCORRECT_FOR_WOODEN_TOOL
Added with 1.20.5 -
PALE_OAK_LOGS
Added with 1.21.2 -
AIR
Added with 1.21.2 -
MOB_INTERACTABLE_DOORS
Added with 1.21.2 -
BATS_SPAWNABLE_ON
Added with 1.21.2 -
BEE_ATTRACTIVE
Added with 1.21.4 -
GLASS_BLOCKS
Unofficial tag for all glass blocks -
GLASS_PANES
Unofficial tag for all glass panes
-
-
Constructor Details
-
BlockTags
-
-
Method Details
-
contains
-
getName
-
getByName
-
getStates
-
isReallyEmpty
@VisibleForTesting public boolean isReallyEmpty()
-