Custom is a world type that allows users to change the generation of the Overworld, Nether, and End dimensions as well as the ability to create custom dimensions. It is edited using a JSON file that is imported on the world creation screen.
Access
Custom world generation works using JSON files, which need to be imported before world creation.
In the world creation menu, go to more options and select the "Import World" option. Then, select a world generation JSON file. A warning appears saying that custom worlds are experimental. Click "Yes" to continue.
The only way to access added dimensions is through commands, such as /execute in <dimension name> run tp @s ~ ~ ~, which teleports the player to the specified dimension (see § JSON format).
JSON format
Instructions: explanations on each component of the JSON file. Useful sources: [1], [2]
Custom generation files take the following format:
- The root tag.
- bonus_chest (Boolean): Whether the world has a bonus chest or not (equivalent to the "Bonus chest" option).
- generate_features (Boolean): Whether structures should be generated or not (equivalent to the "Generate structures" option).
- seed (integer): The numerical seed of the world.
- legacy_custom_options (string): The custom world preset that was used to generate the world when it was an old customized world. Exists only for old customized worlds.
- dimensions: A list of the dimensions in this world where the key is the namespace ID of the dimension.
- A dimension. The dimensions
minecraft:overworld,minecraft:the_netherandminecraft:the_endare required for a well functioning world. Any other namespaced ID is allowed for custom dimensions.- generator: Generation settings used for that dimension.
- type (string): The ID of the generator. Can be
minecraft:flatfor a superflat dimension,minecraft:noisefor noise generation, orminecraft:debugfor a debug dimension. - Other compounds (see below)
- type (string): The ID of the generator. Can be
- type: This can be a list of options for the dimensions, the namespaced ID of a dimension type file in a data pack, or one of the four default dimension types (
minecraft:overworld,minecraft:the_nether,minecraft:the_end,minecraft:overworld_caves).- Custom dimension/Data
- generator: Generation settings used for that dimension.
- A dimension. The dimensions
Generator types
- type: The ID of the genarator. One of
noise,flat, ordebug.- If type is
minecraft:noise, additional fields are as follows:
- If type is
- settings: The noise settings used in this generator. Can be set to an ID of noise settings, or a object of noise_settings.
- biome_source: Settings dictating which biomes and biome shapes.
- type: The type of biome generation. One of
multi_noise,fixed,checkerboard, orthe_end.- If
typeis multi_noise(3D biome generation used in the nether, and in the overworld in snapshot 21w37a and after.) , additional fields are as follows:
- If
- preset: (mutually exclusive with biomes) An ID or an object of a multi-noise biome source parameter list.
- biomes: (mutually exclusive with preset) (Cannot be empty) A parameter list of biomes, including their IDs and target noise parameters.
- : A biome and its properties.
- biome: The biome ID. A single biome ID may be repeated several times with different parameters.
- parameters: Represent optimal intervals for where the biome should be placed. These values do not affect the generation of terrain within biomes, instead, they only affect where the game chooses to place biomes. Thinking of a six-dimensional space, in the space these intervals are defined for biomes. If the six parameters at a location based on the noise router in noise settings fall into an interval, the corresponding biome is generated here. If the six parameters at a location do not fall into a defined biome interval in this list, it uses the closest biome interval to the 6D parameter point, in order to form a transition between biomes. Parameter combinations should be unique in the biomes list.
- Noise parameter for biome (See Biome for usages of each parameter in vanilla game)
- If
typeis the_end(Biome generation used in the end with biomeminecraft:the_endin the center and other end biomes around) , no additional field. - If
typeis fixed(single biome) , additional fields are as follows:
- : A biome and its properties.
- biome: The ID of the single biome to generate.
- If
typeis checkerboard(A biome generation in which biomes are square (or close to square) and repeat along the diagonals) , additional fields are as follows:
- If
- biomes: A list of biomes that repeat along the diagonals. Can be a ID of biome or a tag of biome, or a list of biome IDs.
- scale: (optional, defaults to 2) Value between 0 and 62 (both inclusive). Determines the size of the squares on an exponential scale.
- If type is
minecraft:debug(used for Debug world generation) , no additional fields. - If type is
minecraft:flat(used for Superflat world generation) , additional fields are as follows:
- type: The type of biome generation. One of
- settings: Superflat settings.
- Flat generation settings
- type: The ID of the genarator. One of
Defaults
Moved to Custom world generation#Noise settings
Noise generator preset defaults
These are the settings used by the 6 presets available for the minecraft:noise generator.
| Property | minecraft:overworld
|
minecraft:amplified
|
minecraft:nether
|
minecraft:caves
|
minecraft:end
|
minecraft:floating_islands
| ||
|---|---|---|---|---|---|---|---|---|
bedrock_roof_position
|
-10 | 0 | -10 | |||||
bedrock_floor_position
|
0 | 0 | -10 | |||||
sea_level
|
63 | 32 | 0 | |||||
disable_mob_generation
|
false | false | true | false | ||||
default_block
|
minecraft:stone
|
minecraft:netherrack
|
minecraft:stone
|
minecraft:end_stone
|
minecraft:stone
| |||
default_fluid
|
minecraft:water
|
minecraft:lava
|
minecraft:water
|
minecraft:air
|
minecraft:water
| |||
structures
|
stronghold
|
distance
|
32 | Tag not included | Tag not included | |||
count
|
1 | |||||||
spread
|
3 | |||||||
structures
|
See below | |||||||
noise
|
top_slide
|
target
|
-10 | 120 | -3000 | |||
size
|
3 | 3 | 64 | |||||
offset
|
0 | 0 | -46 | |||||
bottom_slide
|
target
|
-30 | 320 | -30 | ||||
size
|
0 | 4 | 7 | |||||
offset
|
0 | -1 | 1 | |||||
sampling
|
xz_scale
|
0.9999999814507745 | 1 | 2 | ||||
xz_factor
|
80 | 80 | 80 | |||||
y_scale
|
0.9999999814507745 | 3 | 1 | |||||
y_factor
|
160 | 60 | 160 | |||||
size_vertical
|
2 | 2 | 1 | |||||
size_horizontal
|
1 | 1 | 2 | |||||
height
|
256 | 128 | 128 | |||||
density_factor
|
1 | 0 | 0 | |||||
density_offset
|
-0.46875 | 0.019921875 | 0 | |||||
random_density_offset
|
true | false | false | |||||
simplex_surface_noise
|
true | false | true | |||||
island_noise_override
|
false | false | true | false | ||||
amplified
|
false | true | false | false | ||||
Structure defaults
These are the default values for all namespaced structures. Every preset uses the same values for all of these structures, with the exception of minecraft:ruined_portal.
| Structure | Spacing | Separation | Salt | |
|---|---|---|---|---|
village
|
32 | 8 | 10387312 | |
desert_pyramid
|
32 | 8 | 14357617 | |
igloo
|
32 | 8 | 14357618 | |
jungle_pyramid
|
32 | 8 | 14357619 | |
swamp_hut
|
32 | 8 | 14357620 | |
pillager_outpost
|
32 | 8 | 165745296 | |
stronghold*
|
1 | 0 | 0 | |
monument
|
32 | 5 | 10387313 | |
endcity
|
20 | 11 | 10387313 | |
mansion
|
80 | 20 | 10387319 | |
buried_treasure**
|
1 | 0 | 0 | |
mineshaft**
|
1 | 0 | 0 | |
ruined_portal
|
nether and caves
|
25 | 10 | 34222645 |
| All other presets | 40 | 15 | 34222645 | |
shipwreck
|
24 | 4 | 165745295 | |
ocean_ruin
|
20 | 8 | 14357621 | |
bastion_remnant
|
27 | 4 | 30084232 | |
fortress
|
27 | 4 | 30084232 | |
nether_fossil
|
2 | 1 | 14357921 | |
*Placeholder values, have no effect
**Salt values aren't used for theses structures; changing them produces no effect
Biome parameter defaults
These are the default values used for each biome in the multi_noise biome_source. Interestingly, although only the values for nether biomes are accessible through a preset, several overworld biomes have default values as well.
| Biome | Temperature | Humidity | Altitude | Weirdness | Offset |
|---|---|---|---|---|---|
badlands
|
-0.25 | -0.5 | 0.5 | 0.2 | 1 |
badlands_plateau
|
-0.25 | -0.5 | 0.65 | 0.2 | 1 |
bamboo_jungle
|
0.5 | 0.5 | 0 | 0.2 | 1 |
bamboo_jungle_hills
|
0.5 | 0.5 | 0.25 | 0.2 | 1 |
basalt_deltas
|
-0.5 | 0 | 0 | 0 | 0.175 |
beach
|
0 | 0 | -0.1 | 0 | 0.9935 |
birch_forest
|
-0.1 | 0.2 | 0 | 0 | 1 |
birch_forest_hills
|
-0.1 | 0.2 | 0.25 | 0 | 1 |
crimson_forest
|
0.4 | 0 | 0 | 0 | 0 |
desert
|
0.5 | -0.5 | 0 | 0 | 1 |
jungle
|
0.5 | 0.5 | 0 | 0 | 1 |
nether_wastes
|
0 | 0 | 0 | 0 | 0 |
ocean
|
0 | 0 | -0.5 | 0 | 1 |
plains
|
0 | 0 | 0 | 0 | 1 |
snowy_tundra
|
-0.5 | -0.5 | 0 | 0 | 1 |
soul_sand_valley
|
0 | -0.5 | 0 | 0 | 0 |
warm_ocean
|
0 | 0 | -0.25 | 0 | 1 |
warped_forest
|
0 | 0.5 | 0 | 0 | 0.375 |
Type defaults
These are the settings used by the 3 dimensions present in Vanilla and the additional Overworld Caves settings provided by Minecraft.
| Property | Overworld | The Nether | The End | Overworld Caves |
|---|---|---|---|---|
ultrawarm
|
false | true | false | false |
natural
|
true | false | false | true |
coordinate_scale
|
1.0 | 8.0 | 1.0 | 1.0 |
piglin_safe
|
false | true | false | false |
respawn_anchor_works
|
false | true | false | false |
bed_works
|
true | false | false | true |
has_raids
|
true | false | true | true |
has_skylight
|
true | false | false | true |
has_ceiling
|
false | true | false | true |
fixed_time
|
N/A | 18000 | 6000 | N/A |
ambient_light
|
0.0 | 0.1 | 0.0 | 0.0 |
logical_height
|
256 | 128 | 256 | 256 |
infiniburn
|
infiniburn_overworld | infiniburn_nether | infiniburn_end | infiniburn_overworld |
effects
|
overworld | the_nether | the_end | overworld |
Examples
Instructions: more examples and the actual info for what the default generator uses.
Default settings
The following is the settings for an exported default Minecraft world.
{
"bonus_chest": false,
"dimensions": {
"minecraft:overworld": {
"type": "minecraft:overworld",
"generator": {
"biome_source": {
"seed": 0,
"large_biomes": false,
"type": "minecraft:vanilla_layered"
},
"seed": 0,
"settings": "minecraft:overworld",
"type": "minecraft:noise"
}
},
"minecraft:the_nether": {
"type": "minecraft:the_nether",
"generator": {
"biome_source": {
"seed": 0,
"preset": "minecraft:nether",
"type": "minecraft:multi_noise"
},
"seed": 0,
"settings": "minecraft:nether",
"type": "minecraft:noise"
}
},
"minecraft:the_end": {
"type": "minecraft:the_end",
"generator": {
"biome_source": {
"seed": 0,
"type": "minecraft:the_end"
},
"seed": 0,
"settings": "minecraft:end",
"type": "minecraft:noise"
}
}
},
"seed": 0,
"generate_features": true
}
Expanded default settings
This file contains the same settings used to produce a default world, but with all of the presets expanded to their default values. Note that there is a bug that makes it impossible to create the ender dragon fight without using the dimension type preset minecraft:the_end, as the flag that creates the fight is hardcoded and not accessible through JSON. However, it is otherwise identical to the default world.
{
"bonus_chest": false,
"dimensions": {
"minecraft:overworld": {
"type": {
"logical_height": 256,
"infiniburn": "minecraft:infiniburn_overworld",
"effects": "minecraft:overworld",
"ambient_light": 0.0,
"respawn_anchor_works": false,
"has_raids": true,
"min_y": 0,
"height": 256,
"natural": true,
"coordinate_scale": 1.0,
"piglin_safe": false,
"bed_works": true,
"has_skylight": true,
"has_ceiling": false,
"ultrawarm": false
},
"generator": {
"biome_source": {
"seed": 0,
"large_biomes": false,
"type": "minecraft:vanilla_layered"
},
"seed": 0,
"settings": {
"noise_caves_enabled": false,
"deepslate_enabled": false,
"ore_veins_enabled": false,
"noodle_caves_enabled": false,
"min_surface_level": 0,
"disable_mob_generation": false,
"aquifers_enabled": false,
"default_fluid": {
"Properties": {
"level": "0"
},
"Name": "minecraft:water"
},
"bedrock_roof_position": -2147483648,
"bedrock_floor_position": 0,
"sea_level": 63,
"structures": {
"stronghold": {
"distance": 32,
"spread": 3,
"count": 128
},
"structures": {
"minecraft:pillager_outpost": {
"spacing": 32,
"separation": 8,
"salt": 165745296
},
"minecraft:village": {
"spacing": 32,
"separation": 8,
"salt": 10387312
},
"minecraft:fortress": {
"spacing": 27,
"separation": 4,
"salt": 30084232
},
"minecraft:desert_pyramid": {
"spacing": 32,
"separation": 8,
"salt": 14357617
},
"minecraft:bastion_remnant": {
"spacing": 27,
"separation": 4,
"salt": 30084232
},
"minecraft:stronghold": {
"spacing": 1,
"separation": 0,
"salt": 0
},
"minecraft:monument": {
"spacing": 32,
"separation": 5,
"salt": 10387313
},
"minecraft:swamp_hut": {
"spacing": 32,
"separation": 8,
"salt": 14357620
},
"minecraft:endcity": {
"spacing": 20,
"separation": 11,
"salt": 10387313
},
"minecraft:mineshaft": {
"spacing": 1,
"separation": 0,
"salt": 0
},
"minecraft:igloo": {
"spacing": 32,
"separation": 8,
"salt": 14357618
},
"minecraft:mansion": {
"spacing": 80,
"separation": 20,
"salt": 10387319
},
"minecraft:buried_treasure": {
"spacing": 1,
"separation": 0,
"salt": 0
},
"minecraft:ocean_ruin": {
"spacing": 20,
"separation": 8,
"salt": 14357621
},
"minecraft:jungle_pyramid": {
"spacing": 32,
"separation": 8,
"salt": 14357619
},
"minecraft:ruined_portal": {
"spacing": 40,
"separation": 15,
"salt": 34222645
},
"minecraft:shipwreck": {
"spacing": 24,
"separation": 4,
"salt": 165745295
},
"minecraft:nether_fossil": {
"spacing": 2,
"separation": 1,
"salt": 14357921
}
}
},
"noise": {
"simplex_surface_noise": true,
"random_density_offset": true,
"size_vertical": 2,
"density_factor": 1.0,
"density_offset": -0.46875,
"top_slide": {
"target": -10,
"size": 3,
"offset": 0
},
"bottom_slide": {
"target": 15,
"size": 3,
"offset": 0
},
"size_horizontal": 1,
"min_y": 0,
"height": 256,
"sampling": {
"xz_scale": 0.9999999814507745,
"y_scale": 0.9999999814507745,
"xz_factor": 80.0,
"y_factor": 160.0
}
},
"default_block": {
"Name": "minecraft:stone"
}
},
"type": "minecraft:noise"
}
},
"minecraft:the_nether": {
"type": {
"logical_height": 128,
"infiniburn": "minecraft:infiniburn_nether",
"effects": "minecraft:the_nether",
"ambient_light": 0.1,
"respawn_anchor_works": true,
"has_raids": false,
"min_y": 0,
"height": 256,
"natural": false,
"coordinate_scale": 8.0,
"piglin_safe": true,
"bed_works": false,
"fixed_time": 18000,
"has_skylight": false,
"has_ceiling": true,
"ultrawarm": true
},
"generator": {
"biome_source": {
"humidity_noise": {
"firstOctave": -7,
"amplitudes": [
1.0,
1.0
]
},
"altitude_noise": {
"firstOctave": -7,
"amplitudes": [
1.0,
1.0
]
},
"weirdness_noise": {
"firstOctave": -7,
"amplitudes": [
1.0,
1.0
]
},
"seed": 0,
"biomes": [
{
"parameters": {
"altitude": 0.0,
"weirdness": 0.0,
"offset": 0.0,
"temperature": 0.0,
"humidity": 0.0
},
"biome": "minecraft:nether_wastes"
},
{
"parameters": {
"altitude": 0.0,
"weirdness": 0.0,
"offset": 0.0,
"temperature": 0.0,
"humidity": -0.5
},
"biome": "minecraft:soul_sand_valley"
},
{
"parameters": {
"altitude": 0.0,
"weirdness": 0.0,
"offset": 0.0,
"temperature": 0.4,
"humidity": 0.0
},
"biome": "minecraft:crimson_forest"
},
{
"parameters": {
"altitude": 0.0,
"weirdness": 0.0,
"offset": 0.375,
"temperature": 0.0,
"humidity": 0.5
},
"biome": "minecraft:warped_forest"
},
{
"parameters": {
"altitude": 0.0,
"weirdness": 0.0,
"offset": 0.175,
"temperature": -0.5,
"humidity": 0.0
},
"biome": "minecraft:basalt_deltas"
}
],
"temperature_noise": {
"firstOctave": -7,
"amplitudes": [
1.0,
1.0
]
},
"type": "minecraft:multi_noise"
},
"seed": 0,
"settings": {
"noise_caves_enabled": false,
"deepslate_enabled": false,
"ore_veins_enabled": false,
"noodle_caves_enabled": false,
"min_surface_level": 0,
"disable_mob_generation": false,
"aquifers_enabled": false,
"bedrock_roof_position": 0,
"bedrock_floor_position": 0,
"sea_level": 32,
"structures": {
"structures": {
"minecraft:pillager_outpost": {
"spacing": 32,
"separation": 8,
"salt": 165745296
},
"minecraft:village": {
"spacing": 32,
"separation": 8,
"salt": 10387312
},
"minecraft:fortress": {
"spacing": 27,
"separation": 4,
"salt": 30084232
},
"minecraft:desert_pyramid": {
"spacing": 32,
"separation": 8,
"salt": 14357617
},
"minecraft:bastion_remnant": {
"spacing": 27,
"separation": 4,
"salt": 30084232
},
"minecraft:stronghold": {
"spacing": 1,
"separation": 0,
"salt": 0
},
"minecraft:monument": {
"spacing": 32,
"separation": 5,
"salt": 10387313
},
"minecraft:swamp_hut": {
"spacing": 32,
"separation": 8,
"salt": 14357620
},
"minecraft:endcity": {
"spacing": 20,
"separation": 11,
"salt": 10387313
},
"minecraft:mineshaft": {
"spacing": 1,
"separation": 0,
"salt": 0
},
"minecraft:igloo": {
"spacing": 32,
"separation": 8,
"salt": 14357618
},
"minecraft:mansion": {
"spacing": 80,
"separation": 20,
"salt": 10387319
},
"minecraft:buried_treasure": {
"spacing": 1,
"separation": 0,
"salt": 0
},
"minecraft:ocean_ruin": {
"spacing": 20,
"separation": 8,
"salt": 14357621
},
"minecraft:jungle_pyramid": {
"spacing": 32,
"separation": 8,
"salt": 14357619
},
"minecraft:ruined_portal": {
"spacing": 25,
"separation": 10,
"salt": 34222645
},
"minecraft:shipwreck": {
"spacing": 24,
"separation": 4,
"salt": 165745295
},
"minecraft:nether_fossil": {
"spacing": 2,
"separation": 1,
"salt": 14357921
}
}
},
"noise": {
"density_factor": 0.0,
"density_offset": 0.019921875,
"simplex_surface_noise": false,
"bottom_slide": {
"target": 320,
"size": 4,
"offset": -1
},
"size_horizontal": 1,
"size_vertical": 2,
"height": 128,
"sampling": {
"xz_scale": 1.0,
"y_scale": 3.0,
"xz_factor": 80.0,
"y_factor": 60.0
},
"top_slide": {
"target": 120,
"size": 3,
"offset": 0
}
},
"default_block": {
"Name": "minecraft:netherrack"
},
"default_fluid": {
"Properties": {
"level": "0"
},
"Name": "minecraft:lava"
}
},
"type": "minecraft:noise"
}
},
"minecraft:the_end": {
"type": {
"logical_height": 256,
"infiniburn": "minecraft:infiniburn_end",
"effects": "minecraft:the_end",
"ambient_light": 0.0,
"respawn_anchor_works": false,
"has_raids": true,
"min_y": 0,
"height": 256,
"natural": false,
"coordinate_scale": 1.0,
"piglin_safe": false,
"bed_works": false,
"fixed_time": 6000,
"has_skylight": false,
"has_ceiling": false,
"ultrawarm": false
},
"generator": {
"biome_source": {
"seed": 0,
"type": "minecraft:the_end"
},
"seed": 0,
"settings": {
"noise_caves_enabled": false,
"deepslate_enabled": false,
"ore_veins_enabled": false,
"noodle_caves_enabled": false,
"min_surface_level": 0,
"disable_mob_generation": true,
"aquifers_enabled": false,
"bedrock_roof_position": -2147483648,
"bedrock_floor_position": -2147483648,
"sea_level": 0,
"structures": {
"structures": {
"minecraft:pillager_outpost": {
"spacing": 32,
"separation": 8,
"salt": 165745296
},
"minecraft:village": {
"spacing": 32,
"separation": 8,
"salt": 10387312
},
"minecraft:fortress": {
"spacing": 27,
"separation": 4,
"salt": 30084232
},
"minecraft:desert_pyramid": {
"spacing": 32,
"separation": 8,
"salt": 14357617
},
"minecraft:bastion_remnant": {
"spacing": 27,
"separation": 4,
"salt": 30084232
},
"minecraft:stronghold": {
"spacing": 1,
"separation": 0,
"salt": 0
},
"minecraft:monument": {
"spacing": 32,
"separation": 5,
"salt": 10387313
},
"minecraft:swamp_hut": {
"spacing": 32,
"separation": 8,
"salt": 14357620
},
"minecraft:endcity": {
"spacing": 20,
"separation": 11,
"salt": 10387313
},
"minecraft:mineshaft": {
"spacing": 1,
"separation": 0,
"salt": 0
},
"minecraft:igloo": {
"spacing": 32,
"separation": 8,
"salt": 14357618
},
"minecraft:mansion": {
"spacing": 80,
"separation": 20,
"salt": 10387319
},
"minecraft:buried_treasure": {
"spacing": 1,
"separation": 0,
"salt": 0
},
"minecraft:ocean_ruin": {
"spacing": 20,
"separation": 8,
"salt": 14357621
},
"minecraft:jungle_pyramid": {
"spacing": 32,
"separation": 8,
"salt": 14357619
},
"minecraft:ruined_portal": {
"spacing": 40,
"separation": 15,
"salt": 34222645
},
"minecraft:shipwreck": {
"spacing": 24,
"separation": 4,
"salt": 165745295
},
"minecraft:nether_fossil": {
"spacing": 2,
"separation": 1,
"salt": 14357921
}
}
},
"noise": {
"island_noise_override": true,
"density_factor": 0.0,
"density_offset": 0.0,
"simplex_surface_noise": true,
"bottom_slide": {
"target": -30,
"size": 7,
"offset": 1
},
"size_horizontal": 2,
"size_vertical": 1,
"height": 128,
"sampling": {
"xz_scale": 2.0,
"y_scale": 1.0,
"xz_factor": 80.0,
"y_factor": 160.0
},
"top_slide": {
"target": -3000,
"size": 64,
"offset": -46
}
},
"default_block": {
"Name": "minecraft:end_stone"
},
"default_fluid": {
"Name": "minecraft:air"
}
},
"type": "minecraft:noise"
}
}
},
"seed": 0,
"generate_features": true
}
Custom superflat dimension
An overview of a world made with the adjacent settings.
This dimension is a Superflat world with a layer of grass on four layers of coarse dirt on top of five layers of basalt. The entire world is full of village houses as spacing is set to 3 (default: 32) and separation is set to 1 (default: 8). The words starts by default at time 1000.
dimension object data{
"generator": {
"settings": {
"structures": {
"structures": {
"minecraft:village": {
"spacing": 3,
"separation": 1,
"salt": 10387312
}
}
},
"layers": [
{
"height": 5,
"block": "minecraft:basalt"
},
{
"height": 4,
"block": "minecraft:coarse_dirt"
},
{
"height": 1,
"block": "minecraft:grass_block"
}
],
"biome": "minecraft:plains"
},
"type": "minecraft:flat"
},
"type": {
"ultrawarm": false,
"natural": true,
"coordinate_scale": 1.0,
"ambient_light": 0.5,
"fixed_time": 1000,
"has_skylight": true,
"has_ceiling": false
}
}
History
| Java Edition | |||||
|---|---|---|---|---|---|
| May 15, 2018 | The return of customized worlds was mentioned.[1][2][3] | ||||
1.16{{Extension DPL}}<ul><li>[[Longer String|Longer String]]<br/>{{stub}}
{{Joke feature}}
{{exclusive|java}}
{{item
| image = Longer String.png
| rarity=Common
| renewable=Yes
| stackable=Yes (64)
}}
'''Longer string''' is a joke item from [[Java Edition 23w13a_or_b]].
==Obtaining==
===Crafting===
{{Crafting
|A1= String |B1= String
|Output= Longer String
|shapeless= 1
|ignoreusage=1
}}
==Data values==
===ID===
{{edition|java}}:{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Longer String
|spritetype=item
|nameid=string2
|form=item|foot=1}}
==History==
{{History|java}}
{{History||23w13a_or_b|[[File:Longer String.png|32px]] Added longer string.}}
{{History|foot}}
{{items}}
{{Jokes}}
[[Category:Joke items]]
[[ja:Longer String]]
[[pt:Linha mais comprida]]</li><li>[[Name Tag|Name Tag]]<br/>{{about|the item that gives names to mobs|the nameplate above a player's head|Player#Username}}
{{Item
| image = Name Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''name tag''' is an [[item]] used to name [[mob]]s in the world and prevent them from despawning naturally.
== Obtaining ==
=== Chest loot ===
{{LootChestItem|name-tag}}
=== Fishing ===
Name tags can be caught from [[fishing]] as part of the treasure category with a {{frac|1|6}} chance after the 5% chance of being a treasure catch. The chance of catching treasure increases with the [[Luck of the Sea]] enchantment.
=== Trading ===
Master-level librarian [[villagers]] offer to sell a name tag for 20 [[emerald]]s as one of their available trades.
== Usage ==
To use a name tag, it must first be renamed with an [[anvil]], costing 1 [[experience]] level.
If it is not renamed, it has no effect when used on a mob. After the name tag is renamed, the player can {{control|use}} it on a mob to give it the name given to the name tag from the anvil. Mobs and name tags can be renamed any number of times. Name tags with the same name are stackable.
Once a mob is named, it keeps its name, and the name tag is consumed.
When a mob is named, it is excluded from the mob cap count.
Effects on various mobs:
* A named [[silverfish]] that goes into a block appears to lose its name because it is replaced by a newly generated unnamed silverfish when the block is broken.
* A baby (animal or villager) keeps its name when becoming an adult.
** A named [[villager]] keeps its name when transformed into a [[Zombie Villager|zombie villager]].
** A named zombie villager keeps its name when cured.
* [[Wandering Trader|Wandering trader]]s still despawn even if they are named, or in a [[minecart]] or [[boat]].
* A named [[wither]]'s boss bar displays its name instead of "Wither".
* Naming an [[ender dragon]] with commands also displays the name in the boss bar.
=== Limitations ===
Any mob can be named except for the [[ender dragon]] and [[player]]s.
A name tag can rename an [[armor stand]], though it does not show the nameplate above its head until <code>CustomNameVisible:1b</code> is set as an extra step.
{{control|Using|use}} a name tag on a villager renames the villager instead of opening the trading interface. A saddled pig is renamed instead of being ridden. Using a name tag on any other mob that can be interacted with performs the {{control|use}} action instead of being named. These mobs can be renamed if the player uses the name tag while crouching or standing in a [[nether portal]] because the portal suppresses the {{control|use}} action.
Once a name tag is used on a mob, it is impossible to remove the name of that mob without the use of commands or external modifications.
=== Behavior ===
Renamed mobs have their name displayed over their head in the same fashion as a mob named through a renamed [[spawn egg]]. Their names can be seen only if they are aimed at from four or fewer blocks away.
Mobs that are named using the name tag never despawn in the world, similar to tamed mobs.<ref>{{tweet|dinnerbone|327485109940916226}}</ref> The exceptions are [[wandering trader]]s or if the mob is hostile and the difficulty is switched to "[[Peaceful]]", causing any hostile mobs or any named hostile mobs to despawn immediately.
If a renamed mob kills a player, the custom name is used in the death message in place of the mob type name. For instance, if a vindicator named "Johnny" kills a player, the death message is "Player was slain by Johnny".
A renamed [[wither]] also has a renamed health bar, and the boss bar doesn't regenerate{{verify}}.
=== Easter eggs ===
* Any mob that receives the name "[[Easter eggs#Upside-down mobs|Dinnerbone]]" or "[[Easter eggs#Upside-down mobs|Grumm]]" is rendered upside down. This even includes the player in early versions of Bedrock Edition if the username is set to either of these and you are not signed into Xbox Live.
* Naming a [[sheep]] "[[Easter eggs#Jeb sheep|jeb_]]" causes its wool to fade between the dye colors, producing a rainbow effect. The [[wool]] that drops when the sheep is [[shear]]ed or killed is the original color of the sheep before the sheep was named.
* Naming a [[rabbit]] "[[Rabbit#Toast|Toast]]" causes it to have a special memorial skin of user xyzen420's girlfriend's [http://www.reddit.com/r/minecraftsuggestions/comments/27hjog/to_themogminer_my_bunny_is_missing_please_help_me/ missing rabbit].
* Naming a [[vindicator]] "Johnny" causes it to be aggressive and attack all [[mob]]s including the wither (except [[ghast]]s and other [[illager]]s). The hostility even extends to [[Ravager|ravagers]] in [[Java Edition|''Java Edition'']], as the "Johnny" vindicator can also attack the ravager while it's riding it.
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Name Tag
|spritetype=item
|nameid=name_tag
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Name Tag
|spritetype=item
|nameid=name_tag
|id=548
|form=item
|foot=1}}
== History ==
{{History|java}}
{{History||1.6.1|snap=13w16b|[[File:Name Tag JE1 BE1.png|32px]] Added name tags. They can now be found in [[dungeon]] [[chest]]s.}}
{{History|||snap=13w25a|A [[mob]] named "Dinnerbone" or "Grumm" now renders upside down.}}
{{History||1.7.2|snap=13w36a|Name tags can now rarely be acquired by [[fishing]], making them [[renewable resource|renewable]].}}
{{History||1.7.4|snap=13w48b|A sheep named "jeb_" now fades between the [[dye]] colors.}}
{{History||1.8|snap=14w02a|Name tags can now be [[trading|bought]] from librarian [[villager]]s, at 20–22 [[emerald]]s for 1 name tag.}}
{{History|||snap=14w27a|[[Rabbit]]s have been added and naming one "Toast" gives it a special memorial skin.}}
{{History||1.9|snap=15w44a|Added name tags to [[mineshaft]] [[chest]]s.
|The average yield of name tags in [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Name tags can now be found in the new [[woodland mansion]] chests.
|Added [[vindicator]]s, which attack almost all mobs if named "Johnny".}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 421.}}
{{History||1.14|snap=18w43a|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Name tags now generate in [[ancient city]] chests.}}
{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Name Tag JE1 BE1.png|32px]] Added name tags, and a new "Name" Interact button.
|A [[mob]] named "Dinnerbone" or "Grumm" renders upside down.
|A [[sheep]] named "jeb_" fades between the [[dye]] colors.
|Naming a [[rabbit]] "Toast" gives it a special memorial skin.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Name tags can now be [[trading|bought]] from librarian [[villager]]s for 20-22 [[emerald]]s as their last tier trade.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Naming a [[vindicator]] "Johnny" now makes it hostile to any [[mob]], except other [[illager]]s.
|Name tags can now be found in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Name tags can now be found in buried treasure [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Name tags [[trading|sold]] by librarian [[villager]]s now cost 20 [[emerald]]s.}}
{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|PS4}}
{{History||1.90|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* Name tags were added at the request of [https://www.youtube.com/user/paulsoaresjr/ Paulsoaresjr].<ref>{{tweet|paulsoaresjr|326865482839883777}}</ref><ref>{{tweet|Dinnerbone|326812168630722561}}</ref>
* A stack of up to 64 name tags can be renamed at once. The cost is 1 [[experience]] level per stack, regardless of how many name tags were stacked.
* To name a [[mob]] “Name Tag” the player must give the name tag a random name, then rename it back to “Name Tag”.
* A [[villager]] with a name tag turned into a [[zombie villager]] by a [[zombie]] with a name tag does not despawn, but a villager with a name tag turned into a zombie by a zombie without a name tag does despawn.
* It is impossible to have a rainbow [[sheep]] upside-down, because it is impossible for it to be named “Jeb_” and “Dinnerbone” at the same time.
== Gallery ==
<gallery>
NameTag2.png|To use a name tag, the [[player]] must first rename it using an [[anvil]].
NameTag1.png|A [[wolf]] that has been renamed using a name tag.
RenamedCreeper.png|A [[creeper]] renamed using the name tag.
RenamedWither.png|A [[Wither Boss|wither]] renamed using a name tag. The custom name takes place of "Wither" over the [[health bar]] as well.
YoYo.png|How to use "Grumm" and "Dinnerbone" name tag [[easter egg]] and [[lead]] to make another animal Yo-yo.
Grumm Horse.png|A [[horse]] using the "Grumm" or "Dinnerbone" easter egg to be rendered upside-down.
MineshaftNameTag.png|Name Tag found in a mineshaft chest.
Pocket Edition Name Tag.jpg|First image of a name tag in bedrock edition.
</gallery>
== See also ==
* [[Spawn Egg]]
== References ==
{{reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--name-tag Taking Inventory: Name Tag] – Minecraft.net on March 15, 2019
{{items}}
[[de:Namensschild]]
[[es:Etiqueta]]
[[fr:Étiquette]]
[[it:Targhetta]]
[[ja:名札]]
[[ko:이름표]]
[[nl:Naamkaartje]]
[[pl:Znacznik]]
[[pt:Etiqueta]]
[[ru:Бирка]]
[[zh:命名牌]]
[[Category:Renewable resources]]</li></ul> | 20w21a | Added custom worlds. | |||
| Custom worlds are JSON-driven. | |||||
| Custom dimensions can be added and vanilla dimensions can be modified. | |||||
| There is currently no in-game menu to modify worlds; custom worlds can be generated only by importing a JSON file. | |||||
| pre1 | The "temparature" biome parameter is now spelled "temperature". | ||||
| Dimensions and dimension settings can be created through data packs. | |||||
1.16.2{{Extension DPL}}<ul><li>[[Cooked Porkchop|Cooked Porkchop]]<br/>{{Item
| title = Cooked Porkchop
| image = Cooked Porkchop.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable = Yes (64)
}}
'''Cooked porkchop''' is a [[food]] [[item]] that can be eaten by the [[player]].
== Obtaining ==
{{see also|Tutorials/Animal farming|title1=Animal farming}}
Cooked porkchops can be obtained by cooking [[raw porkchop]]s or by [[trading]] with butchers, and is a [[drops|drop]] from [[pig]]s and [[hoglin]]s that die while on [[fire]].
=== Mob loot ===
==== Pigs ====
Adult [[pig]]s drop 1–3 cooked porkchop if killed while on fire. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-6 with Looting III.
==== Hoglins ====
Adult [[hoglin]]s drop 2–4 cooked porkchop if killed while on fire. The maximum amount is increased by 1 per level of Looting, for a maximum of 7 with Looting III.
=== Cooking ===
[[Raw porkchop]] can be cooked in a [[furnace]], [[smoker]], or [[campfire]]. Each piece of cooked porkchop removed from a furnace output slot gives 0.35 [[experience]] (22.4 experience per stack).
{{Smelting
|Raw Porkchop
|Cooked Porkchop
|0,35
}}
=== Trading ===
{{IN|java}}, apprentice-level butcher [[villager]]s have a {{frac|2|3}} chance of selling 5 cooked porkchop for 1 [[emerald]].
Butcher villagers may give players with the [[Hero of the Village]] effect a cooked porkchop.{{only|java}}
{{IN|bedrock}}, apprentice-level butcher villagers have a 25% chance to sell 5 cooked porkchop for 1 emerald.
=== Chest loot ===
{{LootChestItem|cooked-porkchop}}
== Usage ==
=== Food ===
{{see also|Tutorials/Hunger management|title1=Hunger management}}
To eat cooked porkchop, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 12.8 [[Hunger#Mechanics|saturation]].
=== Wolves ===
Cooked porkchops can be used to [[breeding|breed]] and heal tamed [[wolf|wolves]], lead them around, and make baby tamed wolves grow up faster by 10% of the remaining time.
=== Piglins ===
[[Piglin]]s pick up any cooked porkchops in their [[item (entity)|item]] form. However, they do not eat it.
==Sounds==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cooked Porkchop
|spritetype=item
|nameid=cooked_porkchop
|itemtags=piglin_food
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Porkchop
|spritetype=item
|nameid=cooked_porkchop
|id=263
|form=item
|foot=1}}
== Achievements ==
{{load achievements|Pork Chop}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== History ==
{{History|java indev}}
{{History||20100219|[[File:Cooked Porkchop JE1.png|32px]] Added cooked porkchops.
|Cooked porkchops restore {{hp|8}} and do not stack in the [[inventory]].
|Created by cooking [[raw porkchops]] in the inventory.}}
{{History|java alpha}}
{{History||v1.2.0|snap=preview|[[Zombie pigmen]] now [[drops|drop]] 0-2 cooked porkchops upon [[death]].}}
{{History|java beta}}
{{History||1.5|[[Pig]]s now [[drops|drop]] cooked porkchops when killed with [[fire]].}}
{{History||1.8|snap=Pre-release|[[File:Cooked Porkchop JE2 BE1.png|32px]] The texture of cooked porkchops has been changed to avoid confusion with [[steak]].
|Cooked porkchops are now stackable to 64 and restore [[hunger]] instead of [[health]].
|Cooked porkchops now restore {{hunger|8}} to the food bar.
|Cooked porkchops are no longer dropped by [[zombie pigmen]] upon their [[death]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Cooked porkchop can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Butcher [[villager]]s now [[trading|sell]] 6–7 cooked porkchops for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|Butcher [[villager]]s now [[trading|sell]] 5–7 cooked porkchops for 1 [[emerald]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 320.}}
{{History||1.14|snap=18w43a|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give cooked porkchops to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w07a|[[Hoglin]]s now drop cooked porkchops if killed while on fire.}}
{{History|||snap=20w16a|Cooked porkchops can now be found in hoglin stable chests in [[bastion remnant]]s.}}
{{History||1.16.2|snap=20w30a|Cooked porkchops can now be found in generic bastion remnant chests as well.}}
{{History|pocket alpha}}
{{History||v0.4.0|[[File:Cooked Porkchop JE2 BE1.png|32px]] Added cooked porkchops.}}
{{History||v0.5.0|Cooked porkchops now restore {{hp|8}} instead of {{hp|4}}.}}
{{History||v0.8.0|snap=build 1|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History||v0.12.1|snap=build 1|Cooked porkchops now restore [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Butcher [[villager]]s now [[trading|sell]] 5–7 cooked porkchops for 1 [[emerald]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, butcher [[villager]]s now have a 25% chance to [[trading|sell]] 4 cooked porkchops as part of their second-tier [[trading|trade]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed, apprentice butcher [[villager]]s now have a 25% chance to [[trading|sell]] 5 cooked porkchops instead of 3.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Cooked Porkchop JE1.png|32px]] Added cooked porkchops.}}
{{History||xbox=TU3|[[File:Cooked Porkchop JE2 BE1.png|32px]] The texture of cooked porkchops has been changed to be consistent with [[Java Edition]].}}
{{History||xbox=TU5|Cooked porkchops are now stackable to 64.
|Cooked porkchops now fill [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History|PS4}}
{{History||1.90|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}}
{{History|new3DS}}
{{History||0.1.0|[[File:Cooked Porkchop JE3 BE2.png|32px]] Added cooked porkchops.}}
{{History|foot}}
== Issues ==
{{issue list}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--porkchop Taking Inventory: Porkchop] – Minecraft.net on February 13, 2020
{{Items}}
[[Category:Food]]
[[Category:Renewable resources]]
[[cs:Pečená kotleta]]
[[de:Gebratenes Schweinefleisch]]
[[es:Chuleta de cerdo cocinada]]
[[fr:Côtelette de porc cuite]]
[[hu:Sült sertésszelet]]
[[ja:焼き豚]]
[[nl:Gebraden varkensvlees]]
[[pl:Pieczony schab]]
[[pt:Costeleta de porco assada]]
[[ru:Жареная свинина]]
[[uk:Смажена свинина]]
[[zh:熟猪排]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image =
| image2 =
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).
== Obtaining ==
=== Natural generation ===
Redstone comparators generate in [[Ancient City|ancient cities]].
=== Breaking ===
A redstone comparator can be broken instantly with any [[tool]], or by hand, and drops itself as an item.
{{Breaking row|Redstone Comparator|horizontal=y}}
A redstone comparator is removed and dropped as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.
If [[lava]] flows into a redstone comparator's space, the redstone comparator is destroyed without dropping as an item.
=== Crafting ===
{{Crafting
|B1=Redstone Torch
|A2=Redstone Torch
|B2=Nether Quartz
|C2=Redstone Torch
|A3=Stone
|B3=Stone
|C3=Stone
|Output= Redstone Comparator
|type=Redstone
}}
== Usage ==
A redstone comparator can be placed on the top of any [[opaque]] block with a solid full-height top surface (including upside-down [[slab]]s and upside-down [[stairs]]). {{IN|be}}, a comparator can also be placed on [[wall]]s and fences. For more information about placement on transparent blocks, see [[Opacity/Placement]].
The redstone comparator has a front and a back — the arrow on the top of the comparator points to the front. When placed, the comparator faces away from the player. The comparator has two miniature redstone torches at the back and one at the front. The back torches turn on when the comparator's output is greater than zero (the arrow on top also turns red). The front torch has two states that can be toggled by {{control|using}} the comparator:
* Down and unpowered (indicating the comparator is in "comparison mode")
* Up and powered (indicating the comparator is in "subtraction mode")
The redstone comparator can take a signal strength input from its rear as well as from both sides. Side inputs are accepted only from [[redstone dust]], [[block of redstone]], [[redstone repeater]]s, other comparators, and [[observer]]s in specific scenarios. The redstone comparator's front is its output.
It takes 1 [[redstone tick]] (2 game ticks, or 0.1 seconds barring lag) for signals to move through a redstone comparator, either from the rear or from the sides. This applies to changing signal strengths as well as simply to turning on and off.
Redstone comparators check their power state before their scheduled ticks update. This results in redstone comparators not usually responding to 1-tick fluctuations of power or signal strength — for example, a [[clock circuit|1-clock]] input is treated as always off from the side, and always on from the rear. This happens because the signal changes back to its original state before the redstone comparator checks its input states. However, certain setups such as powering any input with two separate observer pulses at the same time will cause a redstone comparator to respond to 2 gametick pulses.
The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).
=== Maintain signal strength ===
A redstone comparator with no powered sides outputs the same signal strength as its rear input.
=== Compare signal strength ===
[[File:Comparators Explained.png|Comparators in comparison mode.|thumb]]
A redstone comparator in comparison mode (front torch down and unpowered) compares its rear input to its two side inputs. If either side input is greater than the rear input, the comparator output turns off. If neither side input is greater than the rear input, the comparator outputs the same signal strength as its rear input.
The formula for calculating the output signal strength is as follows:
<code>output = rear × [[Wikipedia:Iverson bracket|[]]'''''left''''' ≤ '''''rear''''' AND '''''right''''' ≤ '''''rear'''''[[Wikipedia:Iverson bracket|<nowiki>]]]</code>
{{-}}
=== Subtract signal strength ===
[[File:Redstone comparator.png|thumb|The greatest of the side inputs A and C is subtracted from the rear input B, outputting 1. If either A or C were greater than B, it would output 0.]]
A redstone comparator in subtraction mode (front torch up and powered) subtracts the signal strength of the higher side input from the signal strength of the rear input.
<code>output = max('''''rear''''' − max('''''left''', '''right'''''), 0)</code>
For example: if the signal strength is 6 at the left input, 7 at the right input and 4 at the rear, the output signal has a strength of ''max(4 − max(6, 7), 0) = max(4−7, 0) = max(−3, 0) = 0''.
If the signal strength is 9 at the rear, 2 at the right input and 5 at the left input, the output signal has a strength of ''max(9 − max(2, 5), 0) = max(9−5, 0) = 4''.
=== Measure block state ===
{{Schematic | caption = A redstone comparator can measure the fullness of a chest, as well as other block states, even through an opaque block.
|rd-ew!|rc-w!|ch|SB|rc-e!|rd-ew!
}}
A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by an opaque block. However, {{in|je}}, if the opaque block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.<ref>{{bug|MC-64394}} (resolved as "Works As Intended")</ref>
[[Category:Java Edition specific information]]
{{-}}
==== Fullness of containers ====
{| class="wikitable floatright" style="margin-left: 0.5em; margin-right: 0; text-align: center;"
|+ Minimum Items for Container Signal Strength
|-
!Containers
!{{BlockSprite|Furnace|link=Furnace}}<br>{{BlockSprite|Blast Furnace|link=Blast Furnace}}<br>{{BlockSprite|Smoker|link=Smoker}}
!{{BlockSprite|Hopper|link=Hopper}}<br>{{EntitySprite|Minecart with Hopper|link=Minecart with Hopper}}<br>{{BlockSprite|Brewing Stand|link=Brewing Stand}}
!{{BlockSprite|Dispenser|link=Dispenser}}<br>{{BlockSprite|Dropper|link=Dropper}}
!{{BlockSprite|Chest|link=Chest}}<br>{{EntitySprite|Minecart with Chest|link=Minecart with Chest}}<br>{{BlockSprite|Shulker Box|link=Shulker Box}}<br>{{BlockSprite|Barrel|link=Barrel}}
![[Double Chest|{{Schematic|size=16|ch-s|-|ch-n}}
]]
!{{BlockSprite|Jukebox|link=Jukebox}}
|-
!Total Slots
!3!!5!!9!!27!!54!!1
|-
!Power Level
! colspan="5" |Number of Items
!Music Disc
|-
|0||0||0||0||0||0||No disc
|-
|1||1||1||1||1||1||"13"
|-
|2||14||23||42||1s 60||3s 55||"cat"
|-
|3||28||46||1s 19||3s 55||7s 46||"blocks"
|-
|4||42||1s 5||1s 60||5s 51||11s 37||"chirp"
|-
|5||55||1s 28||2s 37||7s 46||15s 28||"far"
|-
|6||1s 5||1s 51||3s 14||9s 42||19s 19||"mall"
|-
|7||1s 19||2s 10||3s 55||11s 37||23s 10||"mellohi"
|-
|8||1s 32||2s 32||4s 32||13s 32||27s||"stal"
|-
|9||1s 46||2s 55||5s 10||15s 28||30s 55||"strad"
|-
|10||1s 60||3s 14||5s 51||17s 23||34s 46||"ward"
|-
|11||2s 10||3s 37||6s 28||19s 19||38s 37||"11"
|-
|12||2s 23||3s 60||7s 5||21s 14||42s 28||"wait"
|-
|13||2s 37||4s 19||7s 46||23s 10||46s 19||"Pigstep"
|-
|14||2s 51||4s 42||8s 23||25s 5||50s 10||"Otherside"<br>"Relic"
|-
|15||3s||5s||9s||27s||54s||"5"
|}
A redstone comparator can output a signal indicating how full a container is. (0 for empty, 15 for full, etc.) The table on the right is described more in detail, later in this section.
Containers that can be measured by a comparator include:
* {{BlockLink|Furnace}}
* {{BlockLink|Blast Furnace}}
* {{BlockLink|Smoker}}
* {{BlockLink|Brewing Stand}}
* {{BlockLink|Hopper}}
* {{ItemLink|Minecart with Hopper}} on top of a [[detector rail]]
* {{BlockLink|Dispenser}}
* {{BlockLink|Dropper}}
* {{BlockLink|Chest}}
* {{BlockLink|Trapped Chest}}
* {{ItemLink|Minecart with Chest}} on top of a [[detector rail]]
* {{BlockLink|Barrel}}
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large chest
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large trapped chest
* {{BlockLink|Shulker Box}} (any color)
Generally speaking, the comparator output signal strength represents the average fullness of the slots, based on how many of that item form a full stack (64, 16, or 1 for non-stackable items).
The ''Minimum Items for Container Signal Strength'' table (right) shows the minimum '''''full-stack-equivalent (FSE)''''' to produce different signal strengths from common containers. A '''''full-stack-equivalent''''' quantifies how many normal 64-stackable items are needed to output a corresponding signal strength. The 's' is a constant 64, with the additional amount needed following after.
One may also consider the terms: '''c''umulative-weight''''' or '''''weighted-sum''''' instead of '''''full-stack-equivalent'''''.
Items that stack to a max of 16 ([[snowball]]s, [[sign]]s, [[ender pearl]]s, etc.), contribute +4 to the ''full-stack-equivalent'' for each unity (count of 1 item). Similarly, items that stack to 1 ([[minecart]], [[boat]], etc.) contribute +64, and items that stack to 64 contribute +1.
Example 1: 3 ender pearls will contribute a 3 x 4 = 12 ''full-stack-equivalent''.
Example 2: 16 ender pearls and 60 redstone dust contributes a 16x4 + 60x1 = 124 ''full-stack-equivalent''.
Example 3: 1 minecart and 60 redstone dust contributes a 1x64 + 60x1 = 124 ''full-stack-equivalent''.
Example 4: To produce a signal strength of 10 from a hopper, one requires a ''full-stack-equivalent'' of at least 3s + 14 = 206 but strictly less than than 3s + 37 = 229. This can be done with 3 minecarts, and 14 dirt.
When a comparator measures a large chest or large trapped chest, it measures the entire large chest (54 slots), not just the half directly behind the comparator. A chest or trapped chest that cannot be opened (either because it has an opaque block, [[ocelot]], or [[cat]] above it) always produces an output of 0 no matter how many items are in the container — shulker boxes can always be measured, even if they cannot open.
;Calculating signal strength from items
:When a container is empty, the output is off.
:When it is not empty, the output signal strength is calculated as follows:
:<code>'''''signal strength''''' = floor(1 + (('''''sum of all slots' fullnesses''''') / ('''''number of slots in container''''')) × 14)</code>
:<code>fullness of a slot = '''''number of items in slot''''' / '''''max stack size for this type of item'''''</code>
:''Example:'' 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64 has a 300 ''full-stack-equivalent.'' This produces an output with a signal strength of 8:
<blockquote>
1 + ((300 items / 64 items per slot) / 9 slots) × 14 = 8.292, floored is 8
</blockquote>
;Calculating items from signal strength
:It can be useful in redstone circuits to use containers with comparators to create signals of a specific strength. The number of items required in a container to produce a signal of desired strength is calculated as follows:
:<code>items required = max('''''desired signal strength''''', roundup(('''''total slots in container''''' × 64 / 14) × (desired signal strength − 1)))</code>
:''Example:'' To use a furnace (which has 3 slots) to create a strength 9 signal, players need 110 items:
<blockquote>
max(9, (3×64/14) × (9−1)) = 109.714, rounded up is 110
</blockquote>
{{-}}
==== Miscellaneous ====
[[File:Comparator storage.png|Comparators used to measure containers.|thumb]]
Some non-container blocks can also be measured by a redstone comparator:
;{{BlockLink|Beehive}} and {{BlockLink|Bee nest}}
: A hive or nest outputs a signal strength equal to the amount of honey in the hive/nest.
;{{BlockLink|Cake}}
: A cake outputs a signal strength relative to the amount of cake remaining. Each slice is worth 2 signal strength, with 7 total slices, for an output of 14 for a full cake.
[[File:Cauldron Redstone Strength Values.png|Cauldron signal strength|thumb]]
;{{BlockLink|Cauldron}}
: A cauldron outputs different signal strengths depending on how much water or powdered snow is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3. If lava or powder snow is inside, the strength is always 3.
[[File:Composter Redstone Strength Values.png|Composter signal strength|thumb]]
;{{BlockLink|Composter}}
: A composter outputs different signal strengths depending on the level inside. From completely empty to completely full, the output values are 0, 1, 2, 3, 4, 5, 6, 7 and 8.
;{{Anchor|CommandBlock}}{{BlockLink|Command Block}}
: A command block stores the "success count" of the last command executed, which represents the number of times the most recently used command of this command block succeeded. A "success" is defined by the [[command]]'s success conditions: if a red error message is returned in the chat, the command was not successful.
: Most commands can succeed once per execution, but certain commands (such as those that accept players as arguments) can succeed multiple times, and the comparator outputs the number of times it succeeded (maximum 15 when sent to redstone dust, but in the code it is able to go up to the 32-bit integer limit, and can be used in contraptions with no redstone dust with those values).
: A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator continues to output the same signal strength even after the command block is no longer being activated (it doesn't turn off when the signal to the command block turns off).
;{{BlockLink|End Portal Frame}}
: An end portal frame outputs a full signal of 15 if it contains an [[eye of ender]] and zero otherwise.
[[File:Item frame and comparator.png|A comparator can measure the presence and rotation of an item frame's contents.|thumb]]
;{{EntityLink|Item Frame}}
: A comparator can measure the state of an [[item frame]]'s contents. An item frame comparator outputs 0 if the item frame is empty, or 1 to 8 for any item depending on its rotation: 1 at initial placement, plus 1 for each 45° of rotation for a maximum of 8.
: For an item frame that holds a map, a unit of rotation is 90° instead of 45°, but a comparator still outputs power levels 1 to 8. It takes two full rotations to cycle through all comparator outputs, and each orientation of the map corresponds to two output levels that differ by 4.
: The comparator must be placed behind the block the item frame is attached to, facing away from the item frame. The block must be a full block, and the item frame cannot be submerged in water. Having a sign in the same block as the item frame will prevent the frame from sending a signal as well.{{only|java}}
;{{BlockLink|Jukebox}}
: A jukebox outputs a signal strength indicating which music disc is currently playing. See the ''Minimum Items for Container Signal Strength'' table above.
;{{BlockLink|Lectern}}
: A lectern outputs a signal strength that depends on what page the player is currently on. The calculation used is:
:<code>'''''signal strength''''' = floor(1 + (('''''current page''''' - 1) / ('''''number of pages in book''''' - 1)) × 14)</code>
:This results in page 1 having a signal strength of 1, and the last page having a signal strength of 15. The exception is a single page book, which will output a signal strength of 15.
:For example, a book with 15 pages will output a signal equal to the current page number. A book with 5 pages will output signal strengths of 1, 4, 8, 11 and 15 for the different pages. A book with 100 pages will have the signal strength increase to the next level on pages 1, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93 and 100.
:
;{{BlockLink|Respawn Anchor}}
: A respawn anchor outputs a signal strength of 0, 3, 7, 11, or 15, depending on the "charged" value.
;{{BlockLink|Sculk Sensor}}
: A sculk sensor outputs a signal strength depending on the type of vibration that is detected.
;{{BlockLink|Chiseled Bookshelf}}
: A chisled bookshelf outputs a signal strength between 1 and 6 indicating the last slot interacted with. When no slot has been interacted with yet, it outputs 0.
{{-}}
== Sounds ==
=== Generic ===
{{Edition|Java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|Bedrock}}:
{{Sound table/Block/Wood/BE}}
=== Unique ===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Click.ogg
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to subtraction mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.55
|distance=16}}
{{Sound table
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to comparison mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.5
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Click.ogg
|source=block
|description=When a comparator is set to subtraction mode
|id=block.click
|volume=0.2
|pitch=0.55}}
{{Sound table
|source=block
|description=When a comparator is set to comparison mode
|id=block.click
|volume=0.2
|pitch=0.5
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Comparator
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-comparator
|spritetype=block
|nameid=unpowered_comparator
|id=149
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-comparator
|spritetype=block
|nameid=powered_comparator
|id=150
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-comparator
|spritetype=item
|nameid=comparator
|id=522
|form=item
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=Comparator
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
=== Block data ===
A redstone comparator has a block entity associated with it that holds additional data about the block.
{{el|je}}:
{{see also|Block entity format}}
{{/BE}}
{{el|be}}:
: See [[Bedrock Edition level format/Block entity format]].
== Advancements ==
{{Load advancements|the power of books}}
== Video ==
<div style="text-align:center">{{yt|J7Z20Zzz3yU}}</div>
== History ==
{{info needed section|If {{bug|MC-50242}} also affected comparators?}}
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||November 24, 2012|link=https://youtube.com/watch?v=YG9RNyRhIow&t=6m56s|[[Jeb]] stated that there may be a "capacitor" in [[Minecraft]]. }}
{{History||December 27, 2012|link={{tweet|Dinnerbone|284388625595125760}}|[[Dinnerbone]] released [https://web.archive.org/web/20190710120115/https://imgur.com/a/FBKed pictures] of the first version of the "comparator", stating it was a replacement for the "capacitor" idea that has variable, alternate inputs.}}
{{History||January 2, 2013|link={{tweet|Dinnerbone|286428595423965184}}|Dinnerbone released one more [http://dinnerbone.com/media/uploads/2013-01/screenshots/2013-01-02_12.06.47.png picture] of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main [[block]].}}
{{History||1.5|snap=13w01a|[[File:Redstone Comparator (S) JE1.png|32px]] [[File:Powered Redstone Comparator (S) JE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.
|Redstone comparators have 0 delay.
At this point, block ID 149 was used for unpowered comparators, and block ID 150 for powered comparators.}}
{{History|||snap=13w01b|A delay of 1 game tick ({{frac|1|2}} redstone tick) has now been added to redstone comparators to fix bugs.
|The ability to measure containers to redstone comparators has now been added.}}
{{History|||snap=13w02a|[[File:Redstone Comparator (S) JE2.png|32px]] [[File:Powered Redstone Comparator (S) JE2.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2.png|32px]] The appearance of redstone comparators has now been changed - the top texture has changed to show [[quartz]] in the middle and the sides now use the [[smooth stone]] texture rather than the smooth stone slab side texture.
|The algorithm for measuring containers has now been changed so that redstone comparators output a signal with as few as 1 [[item]] in the container.}}
{{History|||snap=13w02b|Redstone comparators now treat large [[chest]]s as a single container.}}
{{History|||snap=13w03a|Redstone comparators now output success count of [[command block]]s.
|Redstone comparators now measure container [[minecart]]s on [[detector rail]]s.}}
{{History|||snap=13w04a|Redstone comparators now measure [[jukebox]]es.}}
{{History|||snap=13w05a|Redstone comparators no longer cause constant [[block]] updates. The delay has now been made consistent, and side input no longer causes a pulse output.
|Block 150 (later <code>powered_comparator</code>) is no longer used; powered state is now represented by the 8s bit on block 149 (later <code>unpowered_comparator</code>).}}
{{History|||snap=13w05b|Redstone comparator delay has now been changed from 1 game tick (1/2 [[redstone]] tick) to 2 game ticks (1 redstone tick).}}
{{History|||snap=13w09c|The redstone signal strength from a redstone comparator next to a [[brewing stand]] with 3 [[water bottle]]s in it is now the same as one with 3 water bottles and 1 ingredient in it.}}
{{History||1.6.1|snap=13w18a|Redstone comparators now measure [[cauldron]]s and [[end portal frame]]s.}}
{{History||1.8|snap=14w04a|Redstone comparators now measure [[item frame]]s.}}
{{History|||snap=14w10a|The torches under redstone comparators have now been shortened, which has changed the underside appearance from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=14w25a|[[File:Redstone Comparator (S) JE3.png|32px]] [[File:Powered Redstone Comparator (S) JE3.png|32px]] [[File:Subtracting Redstone Comparator (S) JE3.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE3.png|32px]] The torches on comparators are now subject to ambient occlusion.
|Comparators set to subtract mode appear to be powered as well regardless of incoming power. The subtracting-only model still exists and can be achieved through {{cmd|setblock}}.}}
{{History|||snap=14w25b|[[File:Subtracting Redstone Comparator (S) JE4.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE4.png|32px]] The powered front torch when in subtraction mode is now lower.
|Comparators set to subtract by hand now appear normally again.}}
{{History|||snap=14w28a|Redstone comparators now measure [[cake]]s.}}
{{History||1.9|snap=15w42a|With the addition of the [[blaze powder]] fuel slot, [[brewing stand]]s now have 5 slots instead of 4. Their original comparative power values from redstone comparators are listed below:
{{{!}} class{{=}}"wikitable collapsible collapsed" data-description{{=}}"Original values"
! Original values
{{!}}-
{{!}}
*0: 0
*1: 1
*2: 19
*3: 37
*4: 55
*5: 1s 10
*6: 1s 28
*7: 1s 46
*8: 2s
*9: 2s 19
*10: 2s 37
*11: 2s 55
*12: 3s 10
*13: 3s 28
*14: 3s 46
*15: 4s
{{!}}}
}}
{{History|||snap=15w47a|Redstone comparators' side inputs now take power from [[redstone block]]s.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone comparator have now been merged into one ID: <code>comparator</code>.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 149 and 150, and the [[item]]'s 404.
|As a result, the formerly unused comparator ID is now technically used again, due to both unpowered and powered versions being merged into a single comparator block ID.}}
{{History||1.14|snap=18w43a|[[File:Redstone Comparator (S) JE4.png|32px]] [[File:Powered Redstone Comparator (S) JE4.png|32px]] [[File:Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|||snap=19w02a|Redstone comparators now measure [[lectern]]s.}}
{{History|||snap=19w03a|Redstone comparators now measure [[composter]]s.}}
{{History|||snap=19w12b|Redstone comparators can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.15|snap=19w34a|Redstone comparators now measure how much honey is inside [[beehive|bee hive]]s and [[bee nest]]s.}}
{{History||1.16|snap=20w06a|The way to calculate the input signals of redstone comparators has now been changed.}}
{{History|||snap=20w11a|The changes to the way of calculating the input signals of redstone comparators from [[Java Edition 20w06a|20w06a]] have now been reverted.}}
{{History|||snap=20w16a|Redstone comparators now measure [[Pigstep music disc]]s in [[jukebox]]es.}}
{{History||1.17|snap=20w45a|Redstone comparators now measure [[lava cauldron]]s.}}
{{History|||snap=20w46a|Redstone comparators now measure [[Cauldron#Holding powder snow|powder snow cauldron]]s.}}
{{History||1.18|snap=21w41a|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.19|snap=22w13a|Redstone comparators now generate as part of [[ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Redstone comparators now measure [[chiseled bookshelves]].}}
{{History||1.20.2|snap=23w33a|Redstone comparators now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Redstone comparators now measure [[end portal frame]]s.}}
{{History||1.0.5|snap=alpha 1.0.5.0|Redstone comparators now output success count of [[command block]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone comparators now measure [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone comparators now measure [[jukebox]]es.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]]}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone comparators now measure [[smoker]]s, [[blast furnace]]s, [[lectern]]s and [[composter]]s.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone comparators now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}
{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|Redstone comparators can now measure [[item frame]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] Added redstone comparators.}}
{{History|foot}}
=== Redstone comparator "items" ===
{{:Technical blocks/Redstone Comparator}}
== Issues ==
{{issue list}}
== Trivia ==
* Comparators do not emit redstone particles when powered, unlike redstone torches and repeaters.<ref>{{bug|MC-51692|||WAI}}</ref>
== Gallery ==
<gallery>
Dinnerbone Comparator 1.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 2.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 3.png|Dinnerbone showing how comparators work.
Dinnerbone Comparators 1.png|A contraption incorporating comparators.
Dinnerbone Comparators 2.png|Comparators in action.
Dinnerbone Comparators 3.png|Output specific signals.
Dinnerbone Comparator Thing.png|Another comparator in use.
Item Frame Comparator.png|Rotating the torch in the item frame adjusts the comparator's output.
</gallery>
== References ==
{{reflist}}
{{Redstone}}
{{Blocks|Utility}}
{{Items}}
[[Category:Mechanics]]
[[Category:Block entities]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Non-solid blocks]]
[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki> | 20w28a | Experimental custom biome support is now included in custom worlds. | |||
1.17{{Extension DPL}}<ul><li>[[Bone|Bone]]<br/>{{about|the item|the block|Bone Block|other uses|Bone (disambiguation)}}
{{Item
| image = Bone.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''bone''' is an [[item]] primarily obtained from [[skeleton]]s and similar mobs. It can be crafted into [[Bone Meal|bone meal]] or used to tame wild [[Wolf|wolves]].
== Obtaining ==
=== Chest loot ===
{{LootChestItem|bone}}
=== Mob loot ===
Skeletons, [[wither skeleton]]s, [[skeleton horse]]s, and [[stray]]s may drop 0–2 bones upon death. The maximum drop is increased by 1 per level of Looting, for a maximum of 0-5 bones with Looting III.
{{IN|bedrock}}, [[salmon]], [[cod]], [[pufferfish]], and [[tropical fish]] have 25% chance to drop 1-2 bones upon death. The maximum drop is increased by 1 to 2 per level of Looting, for a maximum of 2-8 bones with Looting III.
Salmon (small and medium size) have 25% chance to drop 1 bone upon death, The maximum drop is increased by 1 to 2 per level of [[Looting]], for a maximum of 2-7 bones with Looting III. The chance of dropping bones increases by 1% per looting level, so with Looting III there is up to a 28% chance of bones dropping.
=== Fishing ===
Bones can also be obtained by [[fishing]] as part of the junk category. The best chance of catching a bone is achieved without the [[Luck of the Sea]] enchantment, yielding a 1.1% chance.
== Usage ==
=== Helmet ===
[[File:Steve wearing Bone.png|thumb|right|75px]]
[[File:Alex wearing Bone.png|thumb|right|75px]]
While a bone cannot be equipped in the head slot in Survival mode, equipping it using commands causes it to appear in the player's mouth.
=== Taming ===
Using a bone on a wild [[wolf]] has a {{frac|1|3}} chance of [[taming]] it. Bones cannot tame a hostile wolf or a wolf that has already been tamed. However, bones can be used to attract the attention of the tamed ones.
=== Crafting ingredient ===
A bone can be crafted into 3 bone meal.
{{crafting usage}}
== Achievements ==
{{load achievements|Leader of the pack}}
== Advancements ==
{{load advancements|Best Friends Forever}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Bone
|spritetype=item
|nameid=bone
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bone
|spritetype=item
|nameid=bone
|id=415
|form=item
|foot=1}}
== History ==
{{History|java beta}}
{{History||1.2|[[File:Bone JE1 BE1.png|32px]] Added bones.
|Bones can be [[crafting|crafted]] into [[bone meal]].}}
{{History||1.4|Bones can now be used to tame [[wolves]].}}
{{History|java}}
{{History||1.3.1|snap=12w21a|Bones can now be found within [[desert temple]]s, allowing bones to be obtainable on Peaceful difficulty.}}
{{History||1.4.2|snap=12w36a|Added [[wither skeleton]]s, which has a chance to [[drops|drop]] bones when killed.}}
{{History||1.6.1|snap=13w16a|Added [[skeleton horse]]s, which drop bones when killed.}}
{{History||1.7.2|snap=13w36a|Bones can now be more easily obtained in Peaceful difficulty by [[fishing]]. Although, they are considered a "junk" [[item]].}}
{{History||1.9|snap=15w44a|The average yield of bones in [[desert temple]]s has been slightly decreased.
|Bones can now be found in [[dungeon]] [[chest]]s.}}
{{History||1.10|snap=16w20a|Added [[stray]]s, which [[drops|drop]] bones when killed.}}
{{History||1.11|snap=16w39a|Bones can now found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 352.}}
{{History||1.14|snap=18w43a|[[File:Bone JE2.png|32px]] The texture of bones has now been changed.}}
{{History|||snap=18w44a|[[File:Bone JE3 BE2.png|32px]] The texture of bones has now been slightly changed.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Bones now generate in [[ancient city]] chests.}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Bone JE1 BE1.png|32px]] Added bones. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.3|Added skeletons, which drop bones when they die.
|Bones can now be used to craft [[bone meal]].}}
{{History||v0.5.0|Bones can now be obtained after activating the [[nether reactor]].}}
{{History||v0.9.0|snap=build 1|Added bones to [[Creative]] mode.}}
{{History||v0.11.0|snap=build 1|Bones can now be more easily obtained in Peaceful difficulty by [[fishing]]. Although, they are considered a "junk" [[item]].}}
{{History||v0.12.1|snap=build 1|Added [[wither skeleton]]s, which have a chance to [[drops|drop]] bones when killed.
|Bones are no longer available from the [[nether reactor]].}}
{{History||v0.13.0|snap=build 1|Bones can now be found inside of the [[desert temple]] hidden [[chest]] room.}}
{{History||v0.15.0|snap=build 1|Added [[stray]]s and [[skeleton horse]]s, which drop bones when killed.
|Bones can now be found in [[jungle temple]] [[chest]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Bone can now be found inside [[woodland mansion]] chests.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Bones now [[drops|drop]] from [[fish]] mobs.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Bone JE3 BE2.png|32px]] The texture of bones has now been changed.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|[[File:Bone JE1 BE1.png|32px]] Added bones.}}
{{History||xbox=TU5|Bones can be found in the Miscellaneous tab in the [[Creative inventory]].}}
{{History||xbox=TU12|Moved bones to the Materials tab in the Creative inventory.}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|Added [[wither skeleton]]s, which have a chance to [[drops|drop]] bones when killed.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Bones can now be obtained from [[fishing]].}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|Added [[stray]]s and [[skeleton horse]]s, which drop bones when killed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Bone JE3 BE2.png|32px]] The texture of bones has now been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Bone JE1 BE1.png|32px]] Added bones.}}
{{History|foot}}
== Issues ==
{{issue list}}
== See also ==
* [[Bone meal]]
* [[Wolf]]
* [[Dyeing]]
{{Items}}
[[Category:Renewable resources]]
[[de:Knochen]]
[[es:Hueso]]
[[fr:Os]]
[[hu:Csont]]
[[it:Osso]]
[[ja:骨]]
[[ko:뼈]]
[[nl:Bot]]
[[pl:Kość]]
[[pt:Osso]]
[[ru:Кость]]
[[th:กระดูก]]
[[tr:Kemik]]
[[uk:Кістка]]
[[zh:骨头]]</li><li>[[Rabbit's Foot|Rabbit's Foot]]<br/>{{Item
| image = Rabbit's Foot.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
A '''rabbit's foot''' is a [[brewing]] item obtained from [[rabbit]]s.
== Obtaining ==
=== Mob loot ===
Each [[rabbit]] has a 10% chance to drop a rabbit's foot when killed by the [[player]]. This chance can be increased by 3% per level using a sword enchanted with [[Looting]].
A [[fox]] sometimes spawns with a rabbit's foot in its mouth, which always drops upon death. Alternatively, the player can drop a [[food]] item, which causes the fox to drop the rabbit's foot.
=== Cat gifts ===
{{main|Cat#Gifts}}
A tamed [[cat]] has a 70% chance of giving the player a gift when the player wakes up from a [[bed]], and the gift has a 16.13% chance to be a rabbit's foot.
== Usage ==
=== Brewing ingredient ===
{{Brewing
|head=1
|Rabbit's Foot
|Mundane Potion
|base=Water Bottle
}}
{{brewing
|foot=1
|showname=1
|Rabbit's Foot
|Potion of Leaping
}}
=== Trading ===
Journeyman-level cleric [[villager]]s buy rabbit's feet for an [[emerald]] as part of their trade: {{in|java}} they buy 2, and {{in|bedrock}} they buy 4.
== Video ==
<div style="text-align:center">{{yt|Ba3QN3uCniU}}</div>
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Rabbit's Foot
|spritetype=item
|nameid=rabbit_foot
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Rabbit's Foot
|spritetype=item
|nameid=rabbit_foot
|id=528
|form=item
|foot=1}}
== History ==
{{History|java}}
{{History||1.8|snap=June 30, 2014|slink=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweeted images of a rabbit's foot with some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Rabbit's Foot JE1.png|32px]] Added rabbit's foot.
|Added the [[potion of Leaping]]; it is [[brewing|brewed]] by adding a rabbit's foot to an [[awkward potion]]. The rabbit's foot also creates the [[mundane potion]] when brewed into a [[water bottle]].}}
{{History|||snap=14w33b|[[File:Rabbit's Foot JE2 BE1.png|32px]] The texture of the rabbit's foot has been changed. The new texture was created by [[wikipedia:Reddit|Reddit]] user [http://www.reddit.com/u/zeldahuman zeldahuman].<ref>{{reddit|2bjzes/a_reminder_of_the_blocks_and_items_added_in_18_so|cj69zie|context=3}}</ref><ref>{{reddit|2c5f35/minecraft_snapshot_14w31a_has_been_released|cjct7gb}}</ref>}}
{{History||1.8.1|snap=pre1|Potions of Leaping, which use rabbit's foot, can now be extended using [[redstone]].}}
{{History||1.9|snap=15w46a|The drop rate of rabbit's foot has been quadrupled.{{more info|Before/After rates}}}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 414.}}
{{History||1.14|snap=18w43a|[[File:Rabbit's Foot JE3 BE2.png|32px]] The texture of rabbit's foot has been changed.}}
{{History|||snap=18w44a|[[Cat]]s now offer rabbit's feet as [[Cat#Gifts|gifts]].}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with rabbit's feet in their mouths.}}
{{History|||snap=19w11a|Cleric [[villager]]s now [[trading|buy]] rabbit's feet.}}
{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Rabbit's Foot JE2 BE1.png|32px]] Added rabbit's foot to the [[Creative]] mode [[inventory]].}}
{{History||v0.13.0|snap=build 1|Rabbit's foot can now be obtained as a rare [[drops|drop]] upon killing [[rabbit]]s.
|Rabbit's foot can now be [[brewing|brewed]] to make [[potions of Leaping]].}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give the [[player]] rabbit's foot as a gift.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Rabbit's Foot JE3 BE2.png|32px]] The texture of rabbit's foot has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Rabbit's foot can now be [[trading|sold]] to cleric [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] rabbit's foot.}}
{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Rabbit's Foot JE2 BE1.png|32px]] Added rabbit's foot.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Rabbit's Foot JE3 BE2.png|32px]] The texture of rabbit's foot has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Rabbit's Foot JE2 BE1.png|32px]] Added rabbit's foot.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* The superstition that [[wikipedia:Rabbit's_foot|a rabbit's foot is a lucky charm]] applies equally to Minecraft as it does in the real world: it does not actually increase luck.
== Gallery ==
<gallery>
Rabbit Items 4 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
Rabbit Items 5 Ryan Holtz.png|Ryan Holtz brewing the item into a potion.
Rabbit Items 6 Ryan Holtz.png|Ryan Holtz enhancing the potion.
</gallery>
== References ==
{{reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--rabbit-s-foot Taking Inventory: Rabbit's Foot] – Minecraft.net on May 3, 2019
{{items}}
[[de:Hasenpfote]]
[[es:Pata de conejo]]
[[fr:Patte de lapin]]
[[it:Zampa di coniglio]]
[[ja:ウサギの足]]
[[ko:토끼발]]
[[nl:Konijnenpootje]]
[[pl:Królicza łapka]]
[[pt:Pé de coelho]]
[[ru:Кроличья лапка]]
[[uk:Кроляча лапка]]
[[zh:兔子脚]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li></ul> | 20w49a | Max build heights and bedrock ceiling heights are now customizable over 256 blocks via custom json files. | |||
| 21w05a | Minimum and maximum y values changed from -2047 and 2047 to -2032 and 2032. | ||||
Issues
Issues relating to "Custom" are maintained on the bug tracker. Report issues there.
Gallery
Bedrock floor generating as low as Y=−2048 in a world with decreased min_y.
External links
See also
Notes
References
- ↑ "Customized worlds will be returning. I can't speak for the extra options you mentioned though." – u/AlmightyZing
"But after 1.13" – u/_Grum on Reddit, May 15, 2018 - ↑ "Would you really not consider holding off 1.13 until customised worlds are finished? Seems pretty crazy to set a precedent for the chance of losing features for several updates.
We came so close to having access to customising structures in world gen this update too, a shame that hasn't made the cut" – u/DaUltraMarine
"No, they will come back but completely different from before." – u/_Grum on Reddit, May 15, 2018 - ↑ "No customization until after 1.13, or the other things?" – u/Kobbett
"No more screens with 50 vague sliders indeed." – u/_Grum on Reddit, May 15, 2018


