Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from PaperMC:master #1094

Closed
wants to merge 155 commits into from
Closed

[pull] master from PaperMC:master #1094

wants to merge 155 commits into from

Commits on Jul 26, 2024

  1. Bump MCUtils#asyncExecutor core size

    Long ago we discovered that the default thread pools would not increase
    the number of threads running the pool until queue addition failed.
    Bumping the core size mitigates an issue with spark-paper, and in general,
    keeping async threads around generally beats having to spin new ones
    everytime we want to execute a periodic async task.
    electronicboy committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    e1462a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2024

  1. Make max interaction range configurable (#11164)

    The server validates incoming interaction packets by ensuring the player
    sending them is inside their interaction range. For this, the server adds
    a magic value, by default 1.0, to the original interaction range to
    account for latency issues.
    
    This value however may be too low in high latency environments.
    The patch exposes a new configuration option to configure said value.
    NewwindServer authored Jul 27, 2024
    Configuration menu
    Copy the full SHA
    645a677 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66165f7 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Configuration menu
    Copy the full SHA
    dcbd99d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f82bea6 View commit details
    Browse the repository at this point in the history
  3. Remove Entity tracker field

    Now the only tracker field is from the entity tracker
    optimisations.
    Spottedleaf committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    694b120 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f774787 View commit details
    Browse the repository at this point in the history
  5. Null check tracker in Entity#resendPossiblyDesyncedEntityData

    Accidentally dropped this check last commit. It is possible
    that this is called while the entity is not tracked.
    Spottedleaf committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    50bdfc3 View commit details
    Browse the repository at this point in the history
  6. Do not allow chunk unloading outside of the regular tick loop

    Allowing chunk loading to occur at any point via purgeUnload()
    introduces possible undesirable behavior to occur recursively
    inside the chunk system.
    Spottedleaf committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    3234b20 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Add mob bucket items to item id to entity map in DataConverter

    Mojang missed these in their mapping. Since the entity data
    is used when spawning the bucketed mob, we need to have these
    inside the id map to ensure that the entity data is converted
    correctly if the entity id is missing.
    Spottedleaf committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    0246a9d View commit details
    Browse the repository at this point in the history
  2. Shutdown L4J cordially if the server stops before it's even started (#…

    …11172)
    
    primarily, this allows us to ensure that appenders are flushed, console, log files
    before the JVM exits to avoid issues such as error messages disappearing
    electronicboy authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    438863c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    100d75a View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Move TickThread changes from Moonrise patch to MCUtils

    The common changes from Moonrise should be entirely in MCUtils
    Spottedleaf committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    227544c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67d414a View commit details
    Browse the repository at this point in the history
  3. Preserve command node when re-registering modern commands through old…

    … API (#11184)
    
    * Preserve command node when re-registering modern commands through old API
    
    * make fix more targeted
    
    mainly because it didn't work for vanilla commands :)
    jpenilla authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    58c7ea3 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Make loadChunksForMoveAsync use new chunk system load calls

    This is to allow the call to work properly when on Folia,
    as Folia does not have a main thread.
    Spottedleaf committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    0a1be9a View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. ConcurrentUtil: Fix concurrent long map resize chain pull function

    The function assumed that the current resize chain pointed to
    the previous table, when in fact it pointed to the current table.
    
    The function is supposed to restore the resize chain to the previous
    table, previous increment, and previous index + new increment.
    Spottedleaf committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    df3b654 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Remove chunk unload trace debug

    The issue the patch was initially added for has already been fixed and filling stacktraces can be expensive
    kennytv committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    5a5c3a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e44684 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. [ci skip] chore: fix incorrect commit hash in PR builds (#11198)

    * fix incorrect hash in PR builds
    
    * only apply ref on pull_request triggers
    granny authored Aug 6, 2024
    Configuration menu
    Copy the full SHA
    042f15f View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    4e6a2a1 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11197)

    Upstream has released updates that appear to apply and compile correctly.
    This update has not been tested by PaperMC and as with ANY update, please do your own testing
    
    Bukkit Changes:
    2ec53f49 PR-1050: Fix empty result check for Complex Recipes
    10671012 PR-1044: Add CrafterCraftEvent
    4d87ffe0 Use correct method in JavaDoc
    ae5e5817 SPIGOT-7850: Add API for Bogged shear state
    46b6d445 SPIGOT-7837: Support data pack banner patterns
    d5d0cefc Fix JavaDoc error
    b3c2b83d PR-1036: Add API for InventoryView derivatives
    1fe2c75a SPIGOT-7809: Add ShieldMeta
    
    CraftBukkit Changes:
    8ee6fd1b8 SPIGOT-7857: Improve ItemMeta block data deserialization
    8f26c30c6 SPIGOT-7857: Fix spurious internal NBT tag when deserializing BlockStateMeta
    759061b93 SPIGOT-7855: Fire does not spread or burn blocks
    00fc9fb64 SPIGOT-7853: AnvilInventory#getRepairCost() always returns 0
    7501e2e04 PR-1450: Add CrafterCraftEvent
    8c51673e7 SPIGOT-5731: PortalCreateEvent#getEntity returns null for nether portals ignited by flint and steel
    d53d0d0b1 PR-1456: Fix inverted logic in CraftCrafterView#setSlotDisabled
    682a678c8 SPIGOT-7850: Add API for Bogged shear state
    fccf5243a SPIGOT-7837: Support data pack banner patterns
    9c3bd4390 PR-1431: Add API for InventoryView derivatives
    0cc6acbc4 SPIGOT-7849: Fix FoodComponent serialize with "using-converts-to" using null
    2c5474952 Don't rely on tags for CraftItemMetas
    20d107e46 SPIGOT-7846: Fix ItemMeta for hanging signs
    76f59e315 Remove redundant clone in Dropper InventoryMoveItemEvent
    e61a53d25 SPIGOT-7817: Call InventoryMoveItemEvent for Crafters
    894682e2d SPIGOT-7839: Remove redundant Java version checks
    2c12b2187 SPIGOT-7809: Add ShieldMeta and fix setting shield base colours
    
    Spigot Changes:
    fb8fb722 Rebuild patches
    34bd42b7 SPIGOT-7835: Fix issue with custom hopper settings
    lynxplay authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    77a5779 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d7cef3 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. Configuration menu
    Copy the full SHA
    b1b5d4c View commit details
    Browse the repository at this point in the history
  2. Update to 1.21.1

    kennytv committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    83b6b26 View commit details
    Browse the repository at this point in the history
  3. Update generated code

    kennytv committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    306d0df View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    70dfa46 View commit details
    Browse the repository at this point in the history
  5. Fix tag key generator output inconsistencies (#11218)

    * Fix tag key generator output inconsistencies
    
    * use NonNull instead of NotNull for generated api
    
    ---------
    
    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    Lulu13022002 and Machine-Maker authored Aug 10, 2024
    Configuration menu
    Copy the full SHA
    1cecc24 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7d7f123 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Configuration menu
    Copy the full SHA
    1c3c47a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1187544 View commit details
    Browse the repository at this point in the history
  3. Re-add patches for can-place/can-destroy API (#11238)

    * Re-add patches for can-place/can-destroy API
    
    This API is all deprecated for removal and has to be replaced
    as the structure of it has too radically changed
    
    * update patches
    
    * add link to MaterialRerouting
    
    * Deprecation
    
    ---------
    
    Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
    Machine-Maker and lynxplay authored Aug 11, 2024
    Configuration menu
    Copy the full SHA
    dd941cc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab0d24a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    098bd39 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f97aff7 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    4a97ba3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1798e94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c9240f View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Fix TooltipContext.create being wrong(#11254)

    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    hyperdefined and Machine-Maker authored Aug 14, 2024
    Configuration menu
    Copy the full SHA
    9ab644e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11b4ac7 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    bf5852a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb53074 View commit details
    Browse the repository at this point in the history
  3. [ci skip] Specify rebase location in CONTRIBUTING (#11255)

    * [ci skip] Specify rebase location in CONTRIBUTING
    
    * Improve
    
    * remove Paper-MojangAPI mention
    
    ---------
    
    Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
    Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
    3 people authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    81bfda8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9571983 View commit details
    Browse the repository at this point in the history
  5. Fix indestructable light blocks (#11275)

    Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
    Abelkrijgtalles and lynxplay authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    ec55c11 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1b8ab11 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    534ab86 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e619744 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    78216fe View commit details
    Browse the repository at this point in the history
  10. Handle custom registry elements properly (#11230)

    * Handle custom registry elements properly
    
    * update error message
    
    Datapack made painting variant support is added in #11244
    
    * change msg for art conversion
    
    ---------
    
    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    Lulu13022002 and Machine-Maker authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    4829fbf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d5ffc57 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    52ae4ad View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. Configuration menu
    Copy the full SHA
    75655ec View commit details
    Browse the repository at this point in the history
  2. Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11284)

    Updated Upstream (Bukkit/CraftBukkit/Spigot)
    
    Upstream has released updates that appear to apply and compile correctly.
    This update has not been tested by PaperMC and as with ANY update, please do your own testing
    
    Bukkit Changes:
    4068c6aa PR-1053: Change docs for max power in FireworkMeta
    6b3c241b SPIGOT-7783, SPIGOT-7784, PR-1051: Add Trial Vault & Spawner event API
    5fe300ec PR-1052: Fix broken links and minor improvement for checkstyle.xml
    
    CraftBukkit Changes:
    7548afcf2 SPIGOT-7872: Fix crash with event-modified teleports
    93480d5d6 SPIGOT-7868, PR-1463: Fix default and max power in FireworkMeta
    5060d1a84 SPIGOT-7783, SPIGOT-7784, PR-1460: Add Trial Vault & Spawner event API
    11dfcae71 PR-1462: Fix broken links and minor improvement for checkstyle.xml
    
    Spigot Changes:
    ca581228 Rebuild patches
    Machine-Maker authored Aug 17, 2024
    Configuration menu
    Copy the full SHA
    0e73617 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66a97cc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2e82fd2 View commit details
    Browse the repository at this point in the history
  5. Leashable API (#10961)

    Lulu13022002 authored Aug 17, 2024
    Configuration menu
    Copy the full SHA
    57dd822 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8c3018a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4401748 View commit details
    Browse the repository at this point in the history
  8. Allow getting/setting the sign's editor uuid (#10637)

    * Allow getting/setting the sign's editor uuid
    
    * rebased
    
    ---------
    
    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    SoSeDiK and Machine-Maker authored Aug 17, 2024
    Configuration menu
    Copy the full SHA
    64c9ee6 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Fix entity limit patch deleting unnecessary entities

    We need to continue the save loop, not break from it
    when a limit is reached.
    Spottedleaf committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    b4bc512 View commit details
    Browse the repository at this point in the history
  2. Use player file, not directory, when checking for offline player data

    When trying to fall back to offline player data in onlide mode,
    we need to use the player file. This fixes a mistake during
    update where 'file' was used, but the new code uses 'file1'
    for the player file.
    Spottedleaf committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    be1078f View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    8fd3a67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dae906b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ba1b016 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a8cb8e6 View commit details
    Browse the repository at this point in the history
  5. Fixup config parsing

    kennytv committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    e4b38b4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3271119 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Fix structure check API (#11307)

    * Fix structure check API
    
    * Use CraftStructure#bukkitToMinecraft
    
    * Fixed spelling mistake on CraftStructure class name
    roro1506HD authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    2fdb2e9 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. Update spark-paper

    kennytv committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    fcedb49 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. Configuration menu
    Copy the full SHA
    956b3d1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5625051 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    94444ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5b2c43e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5167856 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e2da65c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ad4c524 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    374d9c8 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dd8c70a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a7b8d95 View commit details
    Browse the repository at this point in the history
  11. Re-implement maxLeashDistance world conf and call missing event (#11301)

    * Re-implement maxLeashDistance world config and call missing event
    
    * migrate config setting to double or default
    
    * fixes
    
    ---------
    
    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    Lulu13022002 and Machine-Maker authored Aug 25, 2024
    Configuration menu
    Copy the full SHA
    789a267 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Fix: synchronise sending chat to client with updating message signatu…

    …re cache (#11332)
    
    In the case where multiple messages from different players are being processed in parallel, there was a potential race condition where the messages would be sent to the client in a different order than the message signature cache was updated. However, the cache relies on the fact that the client and server get the exact same updates in the same order. This race condition would cause the caches to become corrupted, and any future message received by the client would fail to validate.
    
    This also applies to the last seen state of the server, which becomes inconsistent in the same way as the message signature cache and would cause any messages sent to be rejected by the server too.
    Gegy authored Aug 26, 2024
    Configuration menu
    Copy the full SHA
    e08e667 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    2562124 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Configuration menu
    Copy the full SHA
    e01ddf4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    509ea2f View commit details
    Browse the repository at this point in the history
  3. Fix InventoryOpenEvent cancellation (#11304)

    * fix
    
    * other blocks
    
    * add missing diff in ContainerEntity
    
    ---------
    
    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    notTamion and Machine-Maker authored Aug 31, 2024
    Configuration menu
    Copy the full SHA
    2f0891e View commit details
    Browse the repository at this point in the history
  4. Fix inventory desync when placing blocks with spawn protection (#11090)

    * fix
    
    * mention mojira issue
    
    * move to vanilla bug fixes patch
    
    ---------
    
    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    notTamion and Machine-Maker authored Aug 31, 2024
    Configuration menu
    Copy the full SHA
    227c94a View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Configuration menu
    Copy the full SHA
    b483da4 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    ff251e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    691d452 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    012c527 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    953e6e9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    10f5879 View commit details
    Browse the repository at this point in the history
  6. Improve console completion with brig suggestions (#9251)

    * Improve console completion with brig suggestions
    
    * silence warning
    
    * small fixes
    
    * squashed
    Machine-Maker authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    805a974 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e0021b1 View commit details
    Browse the repository at this point in the history
  8. Check dead flag in isAlive() (#11330)

    * Create 1055-Check-dead-flag-in-isAlive().patch
    
    * Rebase
    NewwindServer authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    3db4758 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. Revert velocity natives to 3.1.2 (#11368)

    The updated velocity native compilation pipeline seems to emit binaries
    that are not compatible with alpine.
    The commit temporarily reverts the natives included until a proper
    solution is found.
    lynxplay authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    21f125f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e82527 View commit details
    Browse the repository at this point in the history
  3. Fix shulkerbox loot table replenish (#11366)

    * Fix shulkerbox loot table replenish
    
    * re-add loot table if cleared
    
    * add config
    Machine-Maker authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    5d91bef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a8e6a93 View commit details
    Browse the repository at this point in the history
  5. Add FeatureFlag API (#8952)

    * Add FeatureFlag API
    
    * switch to index & move method
    
    * fix test
    Machine-Maker authored Sep 7, 2024
    Configuration menu
    Copy the full SHA
    925c3b9 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Configuration menu
    Copy the full SHA
    426f992 View commit details
    Browse the repository at this point in the history
  2. Update Velocity natives again

    If you segfault, update your jre/jdk:tm:
    kennytv committed Sep 8, 2024
    Configuration menu
    Copy the full SHA
    1ba1be7 View commit details
    Browse the repository at this point in the history
  3. Tag Lifecycle Events (#10993)

    * wip tags
    
    * use generics in tag registrars
    
    * comment out varargs methods for now
    
    * split up patch
    
    * cache loaded service provider
    
    * finish renames
    
    * use builderWithExpectedSize
    
    * finalize
    Machine-Maker authored Sep 8, 2024
    Configuration menu
    Copy the full SHA
    7632de5 View commit details
    Browse the repository at this point in the history
  4. Add Item serialization as json api (#11235)

    * Item serialization as json
    
    * Add ItemStackAdapter for Gson
    
    * A javadoc note at #serialize() and #deserialize()
    
    * Rebase
    
    * Move serialize closer to deserialize
    
    * Add explaining comment about SERIALIZE_CUSTOM_AS_SNBT usage
    
    * Apply lynxplay requests
    
    * Forgot `@NotNull`
    
    * Very important diff was removed
    
    * Rebase
    
    * Javadocs
    
    ---------
    
    Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
    masmc05 and lynxplay authored Sep 8, 2024
    Configuration menu
    Copy the full SHA
    b09eaf2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    971a7a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    61fe23c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e945cfe View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Update spark

    kennytv committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    4ff58c4 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11405)

    Upstream has released updates that appear to apply and compile correctly.
    This update has not been tested by PaperMC and as with ANY update, please do your own testing
    
    Bukkit Changes:
    1fc1020a PR-1049: Add MenuType API
    8ae2e3be PR-1055: Expand riptiding API
    cac68bfb SPIGOT-7890: AttributeModifier#getUniqueId() doesn't match the UUID passed to its constructor
    7004fcf2 SPIGOT-7886: Fix mistake in AttributeModifier UUID shim
    1ac7f950 PR-1054: Add FireworkMeta#hasPower
    4cfb565f SPIGOT-7873: Add powered state for skulls
    
    CraftBukkit Changes:
    bbb30e7a8 SPIGOT-7894: NPE when sending tile entity update
    ba21e9472 SPIGOT-7895: PlayerItemBreakEvent not firing
    0fb24bbe0 SPIGOT-7875: Fix PlayerItemConsumeEvent cancellation causing client-side desync
    815066449 SPIGOT-7891: Can't remove second ingredient of MerchantRecipe
    45c206f2c PR-1458: Add MenuType API
    19c8ef9ae SPIGOT-7867: Merchant instanceof AbstractVillager always returns false
    4e006d28f PR-1468: Expand riptiding API
    bd8aded7d Ignore checks in CraftPlayerProfile for ResolvableProfile used in profile components
    8679620b5 SPIGOT-7889: Fix tool component deserialisation without speed and/or correct-for-drops
    8d5222691 SPIGOT-7882, PR-1467: Fix conversion of name in Profile Component to empty if it is missing
    63f91669a SPIGOT-7887: Remove duplicate ProjectileHitEvent for fireballs
    7070de8c8 SPIGOT-7878: Server#getLootTable does not return null on invalid loot table
    060ee6cae SPIGOT-7876: Can't kick player or disconnect player in PlayerLoginEvent when checking for cookies
    7ccb86cc0 PR-1465: Add FireworkMeta#hasPower
    804ad6491 SPIGOT-7873: Add powered state for skulls
    f9610cdcb Improve minecart movement
    
    Spigot Changes:
    a759b629 Rebuild patches
    
    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    lynxplay and Machine-Maker authored Sep 15, 2024
    Configuration menu
    Copy the full SHA
    d1a72ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a53f1d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    951e7dd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    13a2395 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Prevent NPE when serializing unresolved profile (#11407)

    In the recent upstream update, the paper player profile was updated to
    correctly return null for both name and id if constructed as such. This
    change however broke the serialisation logic, as it depended on the name
    never being null.
    
    The commit moves the checks over to the newly introduced emptyName/UUID
    fields that track if the profile was constructed with a null name or
    uuid to differentiate it against an empty string or the NIL_UUID.
    lynxplay authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    1348e44 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    2aaf436 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Only mark decorations dirty if a removal actually occurs (#11413)

    * Only mark decorations dirty if a removal actually occurs
    
    Vanilla calls this method blindly inside of a loop which erroniously marks
    map data files as being dirty even if nothing has actually changed.
    
    * Merge into existing patch
    
    ---------
    
    Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
    electronicboy and lynxplay authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    5c82955 View commit details
    Browse the repository at this point in the history
  2. Remove wall-time / unused skip tick protection (#11412)

    Spigot still maintains some partial implementation of "tick skipping", a
    practice in which the MinecraftServer.currentTick field is updated not
    by an increment of one per actual tick, but instead set to
    System.currentTimeMillis() / 50. This behaviour means that the tracked
    tick may "skip" a tick value in case a previous tick took more than the
    expected 50ms.
    
    To compensate for this in important paths, spigot/craftbukkit
    implements "wall-time". Instead of incrementing/decrementing ticks on
    block entities/entities by one for each call to their tick() method,
    they instead increment/decrement important values, like
    an ItemEntity's age or pickupDelay, by the difference of
    `currentTick - lastTick`, where `lastTick` is the value of
    `currentTick` during the last tick() call.
    
    These "fixes" however do not play nicely with minecraft's simulation
    distance as entities/block entities implementing the above behaviour
    would "catch up" their values when moving from a non-ticking chunk to a
    ticking one as their `lastTick` value remains stuck on the last tick in
    a ticking chunk and hence lead to a large "catch up" once ticked again.
    
    Paper completely removes the "tick skipping" behaviour (See patch
    "Further-improve-server-tick-loop"), making the above precautions
    completely unnecessary, which also rids paper of the previous described
    incompatibility with non-ticking chunks.
    lynxplay authored Sep 19, 2024
    Configuration menu
    Copy the full SHA
    c5a1066 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. Return null in getRegistry(Class) for unknown type (#11422)

    The Bukkit#getRegistry(Class) method contract specifies that it returns
    null for unknown registry types. The current implementation however
    requires the passed class to be mappable to a known registry key.
    
    For types like Material, which have a SimpleRegistry in bukkit's
    Registry interface, no server side registry exists and such the type
    cannot be mapped to a registry key.
    
    The commit correctly returns null for types that are not mappable to a
    registry key instead of throwing a NullPointerException.
    lynxplay authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    9c45038 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d611754 View commit details
    Browse the repository at this point in the history
  3. Correctly launch WindCharges (#11418)

    The launch API on LivingEntity only respected the WindCharge type, not
    its near-clone BreezeWindCharge.
    
    This commit correctly accounts for BreezeWindCharge in
    CraftLivingEntity.
    lynxplay authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    5bcb2ff View commit details
    Browse the repository at this point in the history
  4. Create TileStateInventoryHolder (#11420)

    Adds a missing interface to centralize getSnapshotInventory methods.
    Machine-Maker authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    593faf4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ed64f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2024

  1. Deprecate BlockType#isInteractable (#11427)

    While BlockType is still marked as internal, it mirrors the already
    paper-deprecated method #isInteractable.
    
    The commit marks said method as deprecated if/when BlockType becomes
    experimental/non-internal.
    lynxplay authored Sep 22, 2024
    Configuration menu
    Copy the full SHA
    78feecb View commit details
    Browse the repository at this point in the history
  2. Add velocity forwarding secret env override (#10127)

    Previously, the velocity forwarding secret could only be configured via
    the configuration option in the global paper configuration.
    This makes configuring/passing such a value rather difficult for
    containerized/orchestrated servers as these configuration files are
    usually part of the server data volume itself and hence cannot be
    sourced from a secret.
    
    This commit enables administrators to define the PAPER_VELOCITY_SECRET
    environment variable, which will override any potentially configured
    velocity secret.
    oliverjanka authored Sep 22, 2024
    Configuration menu
    Copy the full SHA
    1cb2bf4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81d9448 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2f50b87 View commit details
    Browse the repository at this point in the history
  5. Fix Color Particle API (#10895)

    * fix: check datatype of particles rather than particle-type
    
    * feature: add ARGB channels
    
    It keeps the functionality of the original color(int).
    
    * fix: order
    
    * fixes
    
    ---------
    
    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    TreemanKing and Machine-Maker authored Sep 22, 2024
    Configuration menu
    Copy the full SHA
    540deb7 View commit details
    Browse the repository at this point in the history
  6. Expand out datapack API (#10828)

    * Expand out datapack API
    
    * add getTitle
    
    * better enable check
    Machine-Maker authored Sep 22, 2024
    Configuration menu
    Copy the full SHA
    e8297c4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4514c71 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    acdd6d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    9b1ee0d View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    1bc02e6 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. use correct types for preloading CraftRegistry

    also add a check in CraftRegistryEntry constructor to
    make sure preload class isn't in net.minecraft package
    Machine-Maker committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    20ec622 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    627cc64 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01c4820 View commit details
    Browse the repository at this point in the history
  3. Deprecate for removal Block#isValidTool (#11439)

    The method's implementation uses Block#getDrops
    which re-computes the drops from the loot table each
    call leading to isValidTool returning different values
    with subsequent calls.
    Machine-Maker authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    9c76642 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dd6d184 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f33611c View commit details
    Browse the repository at this point in the history
  6. Add enchantWithLevels with tag specification (#11438)

    * Add enchantWithLevels with tag specification
    
    * Finalise
    
    ---------
    
    Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
    masmc05 and lynxplay authored Sep 27, 2024
    Configuration menu
    Copy the full SHA
    8f56db8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b7ab22d View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. Configuration menu
    Copy the full SHA
    41bc31b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e17eb6b View commit details
    Browse the repository at this point in the history
  3. Add startingBrewTime (#11406)

    * add startingBrewTime
    
    * casting
    
    * requests
    
    * comments and fix setBrewTime
    
    * a
    
    * b
    
    * move to own class
    
    * rename
    
    * missing Paper comment
    
    * missing experimentals
    
    * rebased
    
    ---------
    
    Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
    notTamion and Machine-Maker authored Sep 28, 2024
    Configuration menu
    Copy the full SHA
    7b03141 View commit details
    Browse the repository at this point in the history
  4. Add API for explosions to damage the explosion cause (#11180)

    This intends to give plugin developers more control over explosions created using the World#createExplosion method, specifically by adding the option for explosions to damage the explosion cause (not the default behavior, and previously impossible to do, as far as I know). This is done by overloading existing methods with an extra `excludeSourceFromDamage` parameter.
    
    Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
    EsotericEnderman and lynxplay authored Sep 28, 2024
    Configuration menu
    Copy the full SHA
    355b1cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6d7a438 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Begin switching to JSpecify annotations (#11448)

    * Begin switching to JSpecify annotations
    
    * more
    
    * fixes
    Machine-Maker authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    f9c7f2a View commit details
    Browse the repository at this point in the history
  2. Add PlayerInsertLecternBookEvent [1.20 port] (#7305)

    * Add PlayerInsertLecternBookEvent
    
    * Rebase
    
    Additionally, moves the event call higher up and removes the lectern
    block state clone from the event.
    
    * jSpecify
    
    * Shrink correctly
    
    * style fixups
    
    * move methods
    
    * rename param to cancel
    
    * fix javadocs
    
    * more javadoc fixes
    
    * fix co-author on patch from yesterday
    
    * last fix
    
    ---------
    
    Co-authored-by: Mariell Hoversholm <proximyst@proximyst.com>
    Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
    3 people authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    e3c8a8e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b410fe8 View commit details
    Browse the repository at this point in the history
  4. Do not NPE on uuid resolution in player profile (#11449)

    Band-aid fix for the player profile api resolution for a profile with
    name but without uuid. The real solution is a proper refactoring of the
    completeFromCache and complete method internally, however this needs
    further consideration regarding existing faulty behaviour around name
    lookups from uuid-only profiles.
    lynxplay authored Sep 29, 2024
    Configuration menu
    Copy the full SHA
    ea00be3 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    ba3c29b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7e1ab5 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Fix hex color check

    kennytv committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    69ffbec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    709f0f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fb76840 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    7cd4f2c View commit details
    Browse the repository at this point in the history