Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Java Edition 26.1 Snapshot 1

From SAS Gaming Wiki

Template:Infobox version


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

Template:Cmd

  • 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.

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

Data-driven villager trades

  • 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.
          • 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.
        • Template:Cd, a number provider representing how much factors such as demand, discounts or penalties affects the cost represented by wants.
        • Template:Cd, an optional number provider representing the amount of xp a merchant gets when the trade is done.
        • 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.
    • An example trade of an emerald and a book for an enchanted book offered only by desert villagers.

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

Minecraft:Loot contexts

Minecraft:Loot functions

  • 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.

Minecraft:Number providers

  • Added Template:Cd
    • Returns the sum of a list of number providers.
    • Fields:

Minecraft:Tags

  • Potion tags
    • Added Template:Cd
      • Contains all potion effects that can appear in villager trades.

Minecraft:Trade sets

  • 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.
    • Template:Cd, a boolean representing if the trade set can use the same villager trade multiple times to generate trades.
    • 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

Minecraft:Data pack

Minecraft:Debug screen

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

Minecraft:Loot functions

  • 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.
  • 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>

Minecraft:Predicates

  • 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.

Minecraft:Resource pack

Minecraft:Splashes

  • Changed "Java 16 + 1 + 4 = 21!" to "Java 16 + 1 + 4 * 2 = 25!".

Minecraft:client.jar

  • Now always has last-modified timestamps of February 1, 1980.
    • This is done to ensure reproducible builds.

Minecraft: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

Template:Fixes

Videos

Template:Slicedlime

References

Template:Reflist

Navigation

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