Types
Named types that helper parameters refer to: enums, aliases and records. Types made by a helper group link straight to that group instead.
"close"- Closes the dialog. Returns to the previous non-dialog screen, if any.
"none"- Does nothing.
Only available if
pauseis set tofalse. "wait_for_response"- Replaces the dialog with a "Waiting for Response" screen. The waiting screen unpauses the game in single-player mode.
identity_type idThe ID of this entity. Not present on player entities.
"ore_drops""uniform_bonus_count""binomial_with_bonus_count"
"add_value"- Adds all of the modifiers' amounts to the current value of the attribute.
"add_multiplied_base"- Multiplies the current value of the attribute by
(1 + x), wherexis the sum of the modifiers' amounts. "add_multiplied_total"- For every modifier, multiplies the current value of the attribute by
(1 + x), wherexis the amount of the particular modifier.
"x""y""z"
"wall""ground"
"cold""warm"
"clicked_face""from_middle"
"none""scrape""wax_on""wax_off"
"single_block""copper_chest"- If the original block and the transformed block are both copper chests of any kind, the transform applies to the other half of the double chest.
"piece""full"
"default""nether"
"floor""ceiling"
"sender""content""target"
"single""left""right"
"normal""cold"
"broken""bundle/has_selected_item""carried""component""custom_model_data""damaged""extended_view""fishing_rod/cast""has_component""keybind_down""selected""using_item""view_entity"
"container""bundle_contents""charged_projectiles"
"food""blocks""misc"
"standing""sitting""running""star"
"replace"- Replace any existing contents of the target.
"append"- Append to a list.
"merge"- Merge into a compound tag.
"normal""cold""warm"
"building""redstone""equipment""misc"
block_light_limitoptionalInclusiveRange of int 0..15Range of block light level required for the entity to spawn.
sky_light_limitoptionalInclusiveRange of int 0..15Range of sky light level required for the entity to spawn.
"firstperson_righthand""firstperson_lefthand""thirdperson_righthand""thirdperson_lefthand""gui""head""ground""fixed""on_shelf"
"hurt"- Default hurt sound.
"thorns"- Thorns hurt sound.
"drowning"- Drowing sound.
"burning"- A single tick of burning hurt sound.
"poking"- Berry bush poke sound.
"freezing"- A single tick of freezing hurt sound.
"never"- Always the same.
"always"- Always scale with difficulty.
"when_caused_by_living_non_player"- Scale with difficulty if it was caused by a living entity who is not a player.
"default"- Resulting translation key of
death.attack.+ message_id. "fall_variants"- Resulting translation key of
death.attack.+ message_id. "intentional_game_design"- Resulting translation key of
death.attack.+ message_id +.link.
"raw_generation""lakes""local_modifications""underground_structures""surface_structures""strongholds""underground_ores""underground_decoration""fluid_springs""vegetal_decoration""top_layer_modification"
"peaceful""easy""normal""hard"
"down""up""north""east""south""west"
"euclidean"sqrt(dx^2 + dy^2 + dz^2)"euclidean_squared"dx^2 + dy^2 + dz^2"manhattan"abs(dx) + abs(dy) + abs(dz)"chebyshev"max(abs(dx), abs(dy), abs(dz))
"white""orange""magenta""light_blue""yellow""lime""pink""gray""light_gray""cyan""purple""blue""brown""green""red""black"
"contents"- Drops the items in a shulker box.
"sherds"- Drops the sherds of a decorated pot.
"portal""gateway"
"this""attacker""direct_attacker""attacking_player""target_entity""interacting_entity"
"mainhand""offhand""head""chest""legs""feet""body""saddle"
"mainhand""offhand""head""chest""legs""feet""hand""armor""any""body""saddle"
"small_ball""large_ball""star""creeper""burst"
"uniform""jp"
"default""legacy_type_1""legacy_type_2""legacy_type_3"
[environment_attribute id]optionalany
"none""dark_forest"- Grass color will be average of the base color and
#28340a. "swamp"- Grass color will be either
#4c763cor#6a7039, depending on block position. The base color is ignored.
"creeper""dragon""piglin""player""skeleton""wither_skeleton""zombie"
"MOTION_BLOCKING""MOTION_BLOCKING_NO_LEAVES""OCEAN_FLOOR""OCEAN_FLOOR_WG""WORLD_SURFACE""WORLD_SURFACE_WG"
iditem idID of the item.
componentsoptionalDataComponentPatchcountoptionalint 1..99Number of items in the stack. Defaults to
1.
"apply_waterlogging""ignore_waterlogging"
"append""insert""replace_all""replace_section"
"empty""chest""command""selector""fishing""entity""gift""barter""advancement_reward""advancement_entity""advancement_location""generic""block""block_use""equipment""archaeology""vault""shearing""enchanted_damage""enchanted_item""enchanted_location""enchanted_entity""hit_block""block_interact""entity_interact""villager_trade""command_slot_source""container_process""command_compute_default""command_compute_position""command_compute_entity"
"normal""mesa"
"monster""creature""ambient""axolotls""underground_water_creature""water_creature""water_ambient""misc"
"nether""overworld"
"glow_lichen""sculk_vein"
"bundle/fullness""compass""cooldown""count""crossbow/pull""custom_model_data""damage""time""use_cycle""use_duration"
"visual/cloud_height""visual/fog_start_distance""visual/moon_angle""visual/star_angle""visual/sun_angle""visual/water_fog_start_distance""visual/cloud_fog_end_distance""visual/fog_end_distance""visual/sky_fog_end_distance""visual/water_fog_end_distance""visual/sky_light_factor""visual/star_brightness""audio/music_volume""gameplay/cat_waking_up_gift_chance""gameplay/creature_world_gen_spawn_probability""gameplay/surface_slime_spawn_chance""gameplay/turtle_egg_hatch_chance""gameplay/sky_light_level"
"normal""cold"
[PositionalEnvironmentAttribute]optionalany
"rigid""terrain_matching"
"none""clockwise_90""180""counterclockwise_90"
"on_land_surface""partly_buried""on_ocean_floor""in_mountain""underground""in_nether"
"block_state""charge_type""component""context_dimension""context_entity_type""custom_model_data""display_context""local_time""main_hand""trim_material"
"item_name""custom_name"
"none""overworld""end"
loot_tableloot_table idGenerates the equipment.
slot_drop_chancesnumber 0..1 | map of EquipmentSlot to number 0..1Chance the mob will drop the equipment on death.
typeentity_type idcountIntProvider of int
entityAnyEntitycustom_spawn_rulesoptionalCustomSpawnRulesequipmentoptionalSpawnEquipmentRolled items from the specified loot table will be equipped to the mob that spawns.
"linear""triangular"
"none""frozen"
idstructure idThe structure template to place.
rotationsoptionallist of RotationRotations to choose from and apply to this template, centered around the origin. If not specified, defaults to all allowed rotations.
"none""beard_thin""beard_box""bury""encapsulate"
"black""dark_blue""dark_green""dark_aqua""dark_red""dark_purple""gold""gray""dark_gray""blue""green""aqua""red""light_purple""yellow""white"
"clamp_to_edge""repeat""mirrored_repeat"
"int""ivec3""float""vec2""vec3""vec4""matrix4x4"
"down""up"
"clear""rain""thunder"
"normal""warm"