Minecraft:Java Edition 26.1 Snapshot 1
More actions
26.1 Snapshot 1 (known as 26.1-snapshot-1 in the Minecraft:launcher) is the first Minecraft:snapshot for Minecraft:Java Edition 26.1, released on December 16, 2025.<ref>Template:Mcnet</ref> It adds Minecraft:data pack-controlled Minecraft:trading, improves the game's Minecraft:lighting and the look of the Minecraft:Night Vision effect, and makes other technical changes (i.e. related to data packs).
This is the first snapshot to use the new version format announced earlier that month,<ref>Template:Mcnet</ref> the first snapshot to require Java 25, the first snapshot to be released with only an unobfuscated build, and the final snapshot released in 2025.
Additions
Command format
- New command that enables swinging of entities' arms.
- Not all entities support swing animation. Template:Cmd will succeed for those entities, but clients will only display it when possible.
- For example, this makes it possible to swing mannequin arms.
- Returns the amount of entities for which a swing was sent.
- Syntax: Template:Cmd
General
Minecraft:Data component format
- Added Template:Cd
- Transient component used to modify the amount of items wanted in a villager trade.
- Removed after a trade has been generated.
- Format: integer
- Transient component used to modify the amount of items wanted in a villager trade.
- Trades offered by Minecraft:villagers and Minecraft:wandering traders are now data-driven and can be customized by datapack developers.
- Villager Trades
- Present in the Template:Cd folder, represents a blueprint for trades which is used by villagers and wandering traders to generate actual trades.
- Entry Format:
- Template:Cd, an object representing an item type and number of them needed to trade.
- Template:Cd, the id of the item
- Template:Cd, an optional number provider representing how many of the item is needed for the trade.
- Defaults to a constant Template:Cd
- Template:Cd, an optional component map representing the expected data components on the item.
- Defaults to an empty map.
- Template:Cd, an optional object representing an additional item required by the merchant, has the same format as wants.
- Template:Cd, an item Stack representing the resulting item given by the merchant when trading.
- Uses the existing format for item stacks.
- Template:Cd, a optional list of item Modifiers representing modifiers to apply to the item in gives such as enchantments or potions, used to add dynamism to the trade rather than hardcoding certain values.
- Uses the existing format for item modifiers (also known as loot modifiers, item functions, loot functions...).
- If any of these returns an empty item the entire trade will be discarded.
- Item Modifier references are not supported.
- If the final item has a Template:Cd component containing an enchantment in the Template:Cd tag, then the count of Template:Cd is doubled.
- Template:Cd, an optional number provider representing the maximum number of times a trade may be used.
- Is set to Template:Cd if the number provider returns a lower value.
- Defaults to Template:Cd
- Template:Cd, a number provider representing how much factors such as demand, discounts or penalties affects the cost represented by wants.
- Is set to Template:Cd if the number provider returns a lower value.
- Defaults to Template:Cd
- Template:Cd, an optional number provider representing the amount of xp a merchant gets when the trade is done.
- Is set to Template:Cd if the number provider returns a lower value.
- Defaults to Template:Cd
- Template:Cd, a predicate representing conditions on the merchant that need to be met for the trade to be offered.
- Uses the existing format for predicates.
- Predicate references are not supported.
- Template:Cd, an optional enchantment id, list of namespaced enchantment IDs, or hash-prefixed enchantment tag representing enchantments that will double the additional cost from Template:Cd and Template:Cd if they have Template:Cd set to Template:Cd and if the item has one of the provided values in its Template:Cd component.
- Template:Cd, an object representing an item type and number of them needed to trade.
- An example trade of an emerald and a book for an enchanted book offered only by desert villagers.
- Villager Trades
<syntaxhighlight lang="json"> {
"additional_wants": {
"id": "minecraft:book"
},
"double_trade_price_enchantments": "#minecraft:double_trade_price",
"given_item_modifiers": [
{
"function": "minecraft:enchant_randomly",
"include_additional_cost_component": true,
"only_compatible": false,
"options": "#minecraft:trades/desert_common"
},
{
"function": "minecraft:filtered",
"item_filter": {
"items": "minecraft:enchanted_book",
"predicates": {
"minecraft:stored_enchantments": [
{}
]
}
},
"on_fail": {
"function": "minecraft:discard"
}
}
],
"gives": {
"count": 1,
"id": "minecraft:enchanted_book"
},
"max_uses": 12.0,
"merchant_predicate": {
"condition": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"predicates": {
"minecraft:villager/variant": "minecraft:desert"
}
}
},
"reputation_discount": 0.2,
"wants": {
"id": "minecraft:emerald"
}
} </syntaxhighlight>
Minecraft:Environment attributes
- Template:Cd
- Tint of the block light. Block light color start as dark grey at low light levels, becomes tinted by this attribute at medium levels and turns white at high levels. By default, it provides the yellowish tint of torches. Bright colors work best for this attribute, with at least one color component being fully bright. The tint applies globally to all light sources visible on the screen. Individual lights can not be tinted differently.
- Value type: RGB color
- Default value: Template:Color
- Modifiers: RGB Color Modifiers
- Interpolated: yes
- Resolved at the camera's position
- Template:Cd
- Defines both the ambient light tint and brightness. This light is applied to the world at 0 light level. Block and sky light are added on top of it.
- Value type: RGB color
- Default value: Template:Color.
- Modifiers: RGB Color Modifiers
- Interpolated: yes
- Resolved at the camera's position.
- Set to Template:Color in the Overworld, Template:Color in the Nether, and Template:Color in the End.
- Template:Cd
- This color is used similarly to ambient light color. When the Night Vision effect is active, per-component maximum of Template:Cd and Template:Cd is used as ambient color. Minecraft:Night Vision is not tinted by default.
- Value type: RGB color
- Default value: Template:Color
- Modifiers: RGB Color Modifiers
- Interpolated: yes
- Resolved at the camera's position
Lightmap debug renderer
- A new debug renderer for the lightmap was added, which can be enabled using the Template:Key keybind.
- It is mutually exclusive with FPS/TPS and networking charts.
- It shows the lightmap texture in real-time in the bottom right corner of the screen.
- The vertical axis of the texture represent sky light levels (0-15 from bottom to top).
- The horizontal axis of the texture represent block light levels (0-15 from left to right).
- The color of each pixel represents the resulting color that will be applied to blocks and entities lit with the corresponding block and sky light levels.
- Added Template:Cd which takes the following parameters:
- Template:Cd, the entity offering the trade.
- Template:Cd, the block position of the entity at its feet.
- Added Template:Cd
- Additively adds dyes to an item's Template:Cd data component if the item is in the Template:Cd tag Fields:
- Template:Cd - conditions for the function to apply.
- Template:Cd - number provider representing the number of random dyes out of sixteen to apply to the item.
- The same dye might be selected repeatedly.
- Added Template:Cd
- Randomly sets the minecraft:potion_contents data component on an item Fields:
- Template:Cd - conditions for the function to apply.
- Template:Cd - optional potion id, list of namespaced potion IDs, or hash-prefixed potion tag, representing the possible potions to select from.
- Defaults to any potion in the potions registry.
- Added Template:Cd
- Returns the sum of a list of number providers.
- Fields:
- Template:Cd, a list of number providers.
- Added several tags representing groups of villager trades from which Minecraft:villagers and Minecraft:wandering traders derive their trading pools.
- Villagers have the following tags representing each profession and level of trade in the format: Template:Cd, up to level 5.
- Smiths have the Template:Cd tags representing common trades among armorers, weaponsmiths and toolsmiths, up to level 5.
- Wandering Traders have the following tags: Template:Cd, Template:Cd, Template:Cd.
- Villagers have the following tags representing each profession and level of trade in the format: Template:Cd, up to level 5.
- Potion tags
- Added Template:Cd
- Contains all potion effects that can appear in villager trades.
- Added Template:Cd
- What trades are unlocked by villager professions are now determined using deterministic random sequences, like loot drops and barter loot.
- Present in the Template:Cd folder, they are groupings of trades offered by Minecraft:villagers and Minecraft:wandering traders.
- Currently only hardcoded ones are available in Template:Cd for villagers, as well as Template:Cd, Template:Cd, Template:Cd for wandering traders.
- Entry Format:
- Template:Cd, a villager trade id, list of namespaced villager trade IDs, or hash-prefixed villager trade tag representing the trades that are part of this trade set.
- Template:Cd, a number provider representing the amount of trades to be generated from this set when used.
- If the generated number is greater than the number of available Template:Cd then it will only generate until all Template:Cd have been used once, unless Template:Cd is set to Template:Cd
- Template:Cd, a boolean representing if the trade set can use the same villager trade multiple times to generate trades.
- Defaults to Template:Cd
- Template:Cd, an optional named random sequence that determines which trades are generated.
- Defaults to a non-deterministic random sequence.
- An example trade set offering 2 trades from the Template:Cd tag, allowing duplicates.
<syntaxhighlight lang="json"> {
"amount": 2.0, "trades": "#minecraft:armorer/level_1", "random_sequence": "minecraft:trade_set/armorer/level_1", "allow_duplicates": true
} </syntaxhighlight>
Changes
General
- The Minecraft:pack format version is now Template:Cd.
- The Template:Cd and Template:Cd debug entries no longer show tags.
- New debug entries have been added:
- Renamed debug entries:
Minecraft:Enchantment definition
- The Template:Cd component no longer only works for a player if that player has a certain food level.
Lightmap algorithm
- The algorithm that maps block and sky light levels to how bright things appear on screen has been fully rewritten.
- A new algorithm that is supposed to mostly provide the same overall results as previous one, but:
- It is simpler and more straightforward, and fixes multiple issues of the previous one.
- The Minecraft:darkness effect and world darkening effect of the Minecraft:Wither fight now works the same way in all dimensions.
- The Minecraft:night vision effect now simply adds ambient light instead of scaling the resulting colors.
- It means that fully dark areas no longer look brighter than areas lit by block or sky light.
- Other aspects of the algorithm such as block light tint, ambient light color and night vision color are now data-driven through environment attributes.
Lightmap shader
- The Template:Cd shader was significantly modified.
- The Template:Cd uniform now has two new fields:
- The Template:Cd field was removed, its value is now premultiplied into Template:Cd
- The Template:Cd was renamed to Template:Cd
- Text and items rendered in UI now use a separate 1x1 white lightmap texture, so the lightmap shader does not always have to keep the 15, 15 pixel purely white.
- Changed Template:Cd
- Now also takes the following field:
- Template:Cd - optional boolean representing if a Template:Cd component should be added to the item based on the cost of the enchantment.
- Defaults to Template:Cd
- The value is determined by the levels number provider and is the same that is used to determine what enchantment level is used for enchanting.
- Template:Cd - optional boolean representing if a Template:Cd component should be added to the item based on the cost of the enchantment.
- Now also takes the following field:
- Changed Template:Cd
- Now also takes the following field:
- Template:Cd - optional boolean representing if a Template:Cd component should be added to the item based on the cost of the enchantment.
- Defaults to Template:Cd
- The value is determined by the value selected by levels or its default value using the following formula: <math>2 + random(0, 5 + level * 10) + 3 * level</math>
- Template:Cd - optional boolean representing if a Template:Cd component should be added to the item based on the cost of the enchantment.
- Now also takes the following field:
- Entity Predicates
- Template:Cd Sub-Predicate
- New optional field: Template:Cd
- A Food predicate
- Format: Object with fields:
- Template:Cd - optional integer min/max range specifying the required food level.
- Template:Cd - optional float min/max range specifying the required saturation level.
- Template:Cd Sub-Predicate
- The version is now Template:Cd.
- Changed "Java 16 + 1 + 4 = 21!" to "Java 16 + 1 + 4 * 2 = 25!".
- Now always has last-modified timestamps of February 1, 1980.
- This is done to ensure reproducible builds.
- Enchantment Tags
- Removed the following tags:
General
- If a server's disk space is low, a toast will now be shown to server operators.
- The game now requires Java 25.
- The included Java distribution is now the Microsoft build of OpenJDK 25.
- Piglin inventory slots can now be accessed using Template:Cd similar to how villager inventories can be accessed using Template:Cd.
Fixes
Videos
References
Template:Navbox Java Edition versions
Minecraft:de:26.1-snapshot-1 Minecraft:es:Java Edition 26.1 Snapshot 1 Minecraft:fr:Édition Java 26.1 Snapshot 1 Minecraft:it:Java Edition 26.1 Snapshot 1 Minecraft:ja:Java Edition 26.1 Snapshot 1 Minecraft:lzh:爪哇版二六點一之快照一 Minecraft:pl:Java Edition 26.1 Snapshot 1 Minecraft:pt:Edição Java 26.1 Snapshot 1 Minecraft:ru:26.1 Snapshot 1 (Java Edition) Minecraft:zh:Java版26.1-snapshot-1