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 23w41a

From SAS Gaming Wiki

Template:Infobox version

23w41a is the second Minecraft:snapshot for Minecraft:Java Edition 1.20.3, released on October 11, 2023,<ref>Template:Snap</ref> which adds Minecraft:Realms support for all versions, new functionality for Minecraft:decorated pots, reintroduces function-related commands, improves command limits, and fixes bugs.

Additions

General

Particles

  • Added new dust_plume particle type.

Changes

Blocks

Minecraft:Decorated pot

  • Now can store items, up to a single stack.
  • Now can be smashed by projectiles, which cause them to shatter and drop their contents.
  • Now can stack up to 64.

Non-mob entities

General

  • The name of them is now shown if looked at and a CustomName is set, or always displayed if CustomNameVisible is set, similar to living entities.

Command format

Function

  • Template:Cmd command has been changed to better accommodate new Template:Cmd command.
  • Functions no longer have any result unless they use Template:Cmd or there was an error during lookup or instantiation.
    • That means Template:Cmd command no longer returns (or even displays) the number of commands run during execution.
    • Error conditions:
      • Calling non-existent function.
      • Calling empty function tag.
      • Macro instantiation failure.
  • "Result" in this context means values that would be stored with Template:Cmd.
  • The previous behavior where every command in a function would perform store if a function was called with Template:Cmd is removed.
    • That means that a single call to function stores at most once (zero times if Template:Cmd was not called).
    • For function tags with multiple entries, function results are accumulated, but partial results are stored at the end of every function.
  • Existing limits for functions have been refined to accommodate new execution rules and prevent a wider range of exploits:
    • Limits apply even if run from command line (so it now always behaves as if they were placed in a function).
      • For example, all functions called by Template:Cmd count towards the same limit.
      • Executions from command blocks still count as separate ones.
    • Limit maxCommandChainLength for functions now counts "operations" like:
      • Execution of command for a single context.
      • Execution of a stage in Template:Cmd (no matter how many contexts were modified).
      • Invocation of function.
    • A new limit with game rule maxCommandForkCount now restricts the total amount of context that can be created by single state of functions like Template:Cmd.
      • Example: if there are 5 entities in world, Template:Cmd creates 5 contexts, while Template:Cmd creates 5*5 = 25 contexts.

Template:Cmd

  • Re-added (if|unless) function subcommand.
    • A new execute sub-command that runs a function or function tag and matches the return value(s). If a tag is given, all functions run regardless of the results of prior functions.
    • Syntax: Template:Cmd
    • Arguments:
      • function: The function or tag to run.
    • The matching of the result value of the function(s) that run:
      • At least one of the functions must succeed for the match to succeed.
      • A successful call is defined as a function that:
        • Uses the Template:Cmd command to return a value.
        • The return value is not 0.
      • If no functions exited with Template:Cmd, neither if nor unless runs.

Template:Cmd

  • Re-added run subcommand: Template:Cmd.
    • This takes the result value from running the specified command and returns that as the return value of the function.
      • If command did not return any value (like, for example, call to a function without Template:Cmd), Template:Cmd doesn't execute and function continues execution.
      • If the given command fails, the return value is 0.
      • In all other aspects, it works like Template:Cmd with a specified return value.
      • In case of fork (for example Template:Cmd), the first execution of the command returns.
        • If there are no executions (for example in Template:Cmd), function doesn't return and continues execution.

General

Minecraft:Data pack

Minecraft:Realms

  • Are now available in snapshots, pre-releases, and release candidates.
    • Any player who has an active Realms subscription is eligible to create a free snapshot realm.
    • Snapshot realms are separate from the regular realms to prevent any issues from impacting regular realms.
  • The version of the last played world on a realm is displayed in the realms list.
  • Experiments are available for newly created worlds.

Fixes

Template:Fixes

Videos

Template:Slicedlime

References

Template:Reflist

Navigation

Template:Navbox Java Edition versions

Minecraft:de:23w41a Minecraft:es:Java Edition 23w41a Minecraft:fr:Édition Java 23w41a Minecraft:ja:Java Edition 23w41a Minecraft:lzh:爪哇版二三週四一甲 Minecraft:pt:Edição Java 23w41a Minecraft:ru:23w41a (Java Edition) Minecraft:uk:23w41a (Java Edition) Minecraft:zh:Java版23w41a