Types

Named types that helper parameters refer to: enums, aliases and records. Types made by a helper group link straight to that group instead.

ActuallyTranslucentRGB
AdvancementEntityPredicate
AdvancementLocationPredicate
AfterAction
"close"
Closes the dialog. Returns to the previous non-dialog screen, if any.
"none"
Does nothing. Only available if pause is set to false.
"wait_for_response"
Replaces the dialog with a "Waiting for Response" screen. The waiting screen unpauses the game in single-player mode.
AggregateOperands
AggregateOperands
AnyEntity
id
entity_type id

The ID of this entity. Not present on player entities.

ApplyBonusFormula

"ore_drops""uniform_bonus_count""binomial_with_bonus_count"

AttributeOperation
"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), where x is the sum of the modifiers' amounts.
"add_multiplied_total"
For every modifier, multiplies the current value of the attribute by (1 + x), where x is the amount of the particular modifier.
Axis

"x""y""z"

BannerAttachment

"wall""ground"

BiomeTemperature

"cold""warm"

BlockEntityTarget
BlockListRef
BlockState
BlockStateProvider
BlockStateProviderRef
BlockTransformDropStrategy

"clicked_face""from_middle"

BlockTransformParticle

"none""scrape""wax_on""wax_off"

BlockTransformType
"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.
BoundingBox

"piece""full"

CardinalLightType

"default""nether"

CarverListRef
CaveSurface

"floor""ceiling"

ChatDecorationParameter

"sender""content""target"

ChestType

"single""left""right"

ChickenModelType

"normal""cold"

ConditionalPropertyType

"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"

ConfiguredFeatureRef
ContainerComponents

"container""bundle_contents""charged_projectiles"

ContextFloatProvider
ContextIntProvider
CookingBookCategory

"food""blocks""misc"

CopperGolemStatuePose

"standing""sitting""running""star"

CopyNbtStrategy
"replace"
Replace any existing contents of the target.
"append"
Append to a list.
"merge"
Merge into a compound tag.
CowModelType

"normal""cold""warm"

CraftingBookCategory

"building""redstone""equipment""misc"

CubicSpline
CustomData
CustomSpawnRules
block_light_limitoptional
InclusiveRange of int 0..15

Range of block light level required for the entity to spawn.

sky_light_limitoptional
InclusiveRange of int 0..15

Range of sky light level required for the entity to spawn.

CustomizableItemDisplayContext

"firstperson_righthand""firstperson_lefthand""thirdperson_righthand""thirdperson_lefthand""gui""head""ground""fixed""on_shelf"

DamageEffects
"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.
DamageScaling
"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.
DeathMessageType
"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.
DecorationStep

"raw_generation""lakes""local_modifications""underground_structures""surface_structures""strongholds""underground_ores""underground_decoration""fluid_springs""vegetal_decoration""top_layer_modification"

DensityFunction
DensityFunctionRef
DialogListRef
Difficulty

"peaceful""easy""normal""hard"

DimensionTypeRef
Direction

"down""up""north""east""south""west"

DistanceMetric
"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))
DyeColor

"white""orange""magenta""light_blue""yellow""lime""pink""gray""light_gray""cyan""purple""blue""brown""green""red""black"

DynamicDrops
"contents"
Drops the items in a shulker box.
"sherds"
Drops the sherds of a decorated pot.
EnchantmentsType
EndCubeEffectType

"portal""gateway"

EntityPredicate
EntityTarget

"this""attacker""direct_attacker""attacking_player""target_entity""interacting_entity"

EquipmentSlot

"mainhand""offhand""head""chest""legs""feet""body""saddle"

EquipmentSlotGroup

"mainhand""offhand""head""chest""legs""feet""hand""armor""any""body""saddle"

FeatureRef
Filterable
FireworkShape

"small_ball""large_ball""star""creeper""burst"

FlatWeightedList
FloatNumberProvider
FloatNumberProviderRef
FloatProvider
FloatRange
FloatRef
FluidState
FontOption

"uniform""jp"

FrequencyReductionMethod

"default""legacy_type_1""legacy_type_2""legacy_type_3"

GlobalEnvironmentAttributeMap
[environment_attribute id]optional
any
GrassColorModifier
"none"
"dark_forest"
Grass color will be average of the base color and #28340a.
"swamp"
Grass color will be either #4c763c or #6a7039, depending on block position. The base color is ignored.
HeadType

"creeper""dragon""piglin""player""skeleton""wither_skeleton""zombie"

HeightProvider
HeightmapType

"MOTION_BLOCKING""MOTION_BLOCKING_NO_LEAVES""OCEAN_FLOOR""OCEAN_FLOOR_WG""WORLD_SURFACE""WORLD_SURFACE_WG"

InclusiveRange
Ingredient
IntNumberProvider
IntNumberProviderRef
IntProvider
IntRange
IntRef
IntegerEnvironmentAttribute
ItemListRef
ItemModifier
ItemModifierWithoutRootRef
ItemPredicate
ItemStack
id
item id

ID of the item.

componentsoptional
DataComponentPatch
countoptional
int 1..99

Number of items in the stack. Defaults to 1.

ItemStackTarget
ItemStackTemplate
LevelBasedValue
LevelBasedValue
LiquidSettings

"apply_waterlogging""ignore_waterlogging"

ListOperationMode

"append""insert""replace_all""replace_section"

LootContextParamSets

"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"

LootTableListRef
MaterialConditionRef
MaterialRuleRef
MinMaxBounds
MineshaftType

"normal""mesa"

MobCategory

"monster""creature""ambient""axolotls""underground_water_creature""water_creature""water_ambient""misc"

ModelElementRotation
ModelRef
ModelVariant
MultiNoisePreset

"nether""overworld"

MultiPartCondition
MultifaceBlock

"glow_lichen""sculk_vein"

NbtContextTarget
NbtProvider
NoiseGeneratorSettingsRef
NoiseParametersRef
NoiseRange
NonEmptyWeightedList
NumericPropertyType

"bundle/fullness""compass""cooldown""count""crossbow/pull""custom_model_data""damage""time""use_cycle""use_duration"

NumericalEnvironmentAttribute

"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"

PaletteRef
PaletteTexture
Pass
PigModelType

"normal""cold"

PlacedFeatureListRef
PlacedFeatureRef
PositionalEnvironmentAttribute
PositionalEnvironmentAttributeMap
[PositionalEnvironmentAttribute]optional
any
PotionTypeMatch
Predicate
PredicateListRef
PredicateRef
ProcessorList
ProcessorListRef
Projection

"rigid""terrain_matching"

RGB
RGBA
RecipeListRef
Rotation

"none""clockwise_90""180""counterclockwise_90"

Rotation
RuinedPortalPlacement

"on_land_surface""partly_buried""on_ocean_floor""in_mountain""underground""in_nether"

ScoreProvider
SelectPropertyType

"block_state""charge_type""component""context_dimension""context_entity_type""custom_model_data""display_context""local_time""main_hand""trim_material"

SetNameTarget

"item_name""custom_name"

SkyboxType

"none""overworld""end"

SlotSource
SoundEventRef
SpawnEquipment
loot_table
loot_table id

Generates the equipment.

slot_drop_chances
number 0..1 | map of EquipmentSlot to number 0..1

Chance the mob will drop the equipment on death.

SpawnPotential
SpawnerData
type
entity_type id
count
IntProvider of int
SpawnerEntry
entity
AnyEntity
custom_spawn_rulesoptional
CustomSpawnRules
equipmentoptional
SpawnEquipment

Rolled items from the specified loot table will be equipped to the mob that spawns.

SpreadType

"linear""triangular"

StringRGB
StructureSetRef
TemperatureModifier

"none""frozen"

TemplateEntry
id
structure id

The structure template to place.

rotationsoptional
list of Rotation

Rotations to choose from and apply to this template, centered around the origin. If not specified, defaults to all allowed rotations.

TerrainAdaptation

"none""beard_thin""beard_box""bury""encapsulate"

Text
TextColor

"black""dark_blue""dark_green""dark_aqua""dark_red""dark_purple""gold""gray""dark_gray""blue""green""aqua""red""light_purple""yellow""white"

TextObject
TilingMode

"clamp_to_edge""repeat""mirrored_repeat"

Transformation
UniformValueType

"int""ivec3""float""vec2""vec3""vec4""matrix4x4"

VerticalAnchor
VerticalDirection

"down""up"

Weather

"clear""rain""thunder"

WeightedList
ZombieNautilusModelType

"normal""warm"