Skip to content

Block Pattern

platz1de edited this page May 16, 2023 · 9 revisions

Block Patterns are basic blocks, they just consist out of the name of the block or its numeric ID

Examples:
stone
4
red_wool
stone:1

The keyword "hand" represents the block you hold in your hand (or air for items/nothing) and can be used like normal blocks

To add extra data you can also specify full or partial blockstates from bedrock or java edition:
leaves[persistent_bit=false] or oak_leaves[persistence=fase] - Set dacaying leaves
sea_pickle[pickles=4] - Place 4 sea pickles per block
bamboo[age=1,leaves=large] - Place thick bamboo blocks with leaves on it

To obtain a blockstate you can use the block info stick (//blockinfo)

Block Tags

Additionally to normal blocks, tags are supported. These always represent related blocks (e.g. wool for all different wool colors).
When using block tags as a mask (e.g. //replace command), all related blocks are affected. If it is used with a setting command, a random state is selected for every block.

Block tags should always be prefixed with a # (blocks with these names take priority).

Examples:
//set #wool - set random wool blocks
//replace #ores stone - replace all types of ores

List of all supported block tags:

  • acacia_logs
  • all_signs
  • amethyst
  • ancient_city_replaceable
  • animals_spawnable_on
  • anvil
  • axolotls_spawnable_on
  • azalea_grows_on
  • azalea_root_replaceable
  • bamboo_plantable_on
  • banners
  • base_stone_nether
  • base_stone_overworld
  • beacon_base_blocks
  • beds
  • bee_growables
  • beehives
  • big_dripleaf_placeable
  • birch_logs
  • buttons
  • campfires
  • candle_cakes
  • candles
  • cauldrons
  • cave_vines
  • chests
  • climbable
  • coal_ores
  • completes_find_tree_tutorial
  • concrete
  • concrete_powder
  • containers
  • convertable_to_mud
  • copper_ores
  • coral_blocks
  • coral_plants
  • corals
  • crimson_stems
  • crops
  • crystal_sound_blocks
  • dampens_vibrations
  • dark_oak_logs
  • dead_bush_may_place_on
  • deepslate_ore_replaceables
  • diamond_ores
  • dirt
  • doors
  • dragon_immune
  • dragon_transparent
  • dripstone_replaceable_blocks
  • emerald_ores
  • enderman_holdable
  • fall_damage_resetting
  • features_cannot_replace
  • fence_gates
  • fences
  • fire
  • flower_pots
  • flowers
  • foxes_spawnable_on
  • frog_prefer_jump_to
  • froglight
  • frogs_spawnable_on
  • furnaces
  • geode_invalid_blocks
  • glass
  • glass_blocks
  • glass_panes
  • glazed_terracotta
  • goats_spawnable_on
  • gold_ores
  • guarded_by_piglins
  • hoglin_repellents
  • ice
  • impermeable
  • infested
  • infiniburn_end
  • infiniburn_nether
  • infiniburn_overworld
  • inside_step_sound_blocks
  • invalid_spawn_inside
  • iron_ores
  • jungle_logs
  • lanterns
  • lapis_ores
  • lava
  • lava_pool_stone_cannot_replace
  • leaves
  • light_source
  • logs
  • logs_that_burn
  • lush_ground_replaceable
  • mangrove_logs
  • mangrove_logs_can_grow_through
  • mangrove_roots_can_grow_through
  • mineable/axe
  • mineable/hoe
  • mineable/pickaxe
  • mineable/shovel
  • mooshrooms_spawnable_on
  • moss_replaceable
  • mushroom_grow_block
  • needs_diamond_tool
  • needs_iron_tool
  • needs_stone_tool
  • nether_carver_replaceables
  • nether_ores
  • nylium
  • oak_logs
  • occludes_vibration_signals
  • ores
  • overworld_carver_replaceables
  • overworld_natural_logs
  • parrots_spawnable_on
  • piglin_repellents
  • planks
  • polar_bears_spawnable_on_alternate
  • portals
  • pressure_plates
  • prevent_mob_spawning_inside
  • rabbits_spawnable_on
  • rails
  • redstone_ores
  • replaceable_plants
  • sand
  • saplings
  • sculk_replaceable
  • sculk_replaceable_world_gen
  • shulker_boxes
  • signs
  • slabs
  • small_dripleaf_placeable
  • small_flowers
  • smelts_to_glass
  • snaps_goat_horn
  • snow
  • snow_layer_can_survive_on
  • snow_layer_cannot_survive_on
  • soul_fire_base_blocks
  • soul_speed_blocks
  • spruce_logs
  • stairs
  • standing_signs
  • stone_bricks
  • stone_ore_replaceables
  • stone_pressure_plates
  • strider_warm_blocks
  • tall_flowers
  • terracotta
  • torches
  • trapdoors
  • underwater_bonemeals
  • unstable_bottom_center
  • valid_spawn
  • wall_corals
  • wall_post_override
  • wall_signs
  • walls
  • warped_stems
  • wart_blocks
  • water
  • wither_immune
  • wither_summon_base_blocks
  • wolves_spawnable_on
  • wooden_buttons
  • wooden_doors
  • wooden_fences
  • wooden_pressure_plates
  • wooden_slabs
  • wooden_stairs
  • wooden_trapdoors
  • wool
  • wool_carpets