Commit graph

3396 commits

Author SHA1 Message Date
Bjarne Koll
2597e370e2 Correct update cursor (#11554)
Spigot uses a no longer valid ClientboundContainerSetSlotPacket with the
slot -1, which would update the carried stack in versions <=1.21.1 but
now leads to an IOOB.
1.21.2 instead introduced the ClientboundSetCursorItemPacket, which this
patch uses instead.
2024-11-01 15:57:23 +01:00
Bjarne Koll
69b9c693b5 Correctly support RecipeChoice.empty (#11550)
The previous implementation was based off of spigots logic in
CraftRecipe#toIngredient, which is completely incorrect as
nms.Ingredient.of() is a throwing call.

Correctly insert handling for the empty() choice in the toNMSOptional
logic.
2024-11-01 11:30:40 +01:00
Jake Potrebic
2b04a0a412 bunch more general fixes 2024-10-31 20:35:06 -07:00
Jake Potrebic
dbdce60ac9 re-add a dispense fix patch 2024-10-31 19:51:36 -07:00
Jake Potrebic
a4c7496404 Fix fix recipe iterator patch 2024-10-31 19:34:10 -07:00
Nassim Jahnke
29b207245f Updated Upstream (Bukkit/CraftBukkit) (#11543)
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:
97c59261 PR-1073: Make Biome an interface
a38581aa Fix further javadoc errors
8271c490 Fix javadoc error
8a9ecf29 PR-1072: Fix bad naming for Vault State methods
6dd58108 PR-1071: Make Fluid an interface and add missing entry
ed2cdfc3 PR-1070: Make Attribute an interface and align names with the new minecraft ones
63472efb PR-1069: Add missing winter drop experimental annotation to pale boats

CraftBukkit Changes:
7235ad7b0 PR-1501: Make Biome an interface
602904003 PR-1500: Rename implementation for Vault State methods
75f26f79f PR-1499: Make Fluid an interface and add missing entry
4cfd87adc PR-1498: Make Attribute an interface and align names with the new minecraft ones
6bb0db5cb SPIGOT-7928: ExactChoice acts as MaterialChoice
3eaf3a13c SPIGOT-7929: Error when setting EquippableComponent
abbf57bac SPIGOT-7930: Fix spawning entities with SummonEntityEffect
92d6ab6cf PR-1497: Move boat field rename entries to below key renaming, so that keys are also renamed
abfe292aa PR-1496: Use correct Fluid class on Tags type check
c7aab7fa7 SPIGOT-7923: Fix Dispenser logic to avoid firing empty projectiles
2024-10-31 23:44:34 +01:00
Noah van der Aa
5af7b3afbb Correctly clear explosion density cache(#11541) 2024-10-31 22:30:18 +01:00
Bjarne Koll
c18eaf9bee Only expose velocity relative tp flags to API (#11532)
Since 1.21.2, vanilla split relative teleportation flags into position
and delta/velocity flags into separate enum entries.
This highlighted a design flaw in the paper api addition for teleport
flags, which just simply mirrored internals while also only being able
to apply the delta/velocity part of a flag, given the teleport target is
always absolute in the API.

This patch proposes to simply no longer expose the non-velocity related
flags to the API, instead marking the entire Relative enum as being
purely velocity related, as non-velocity related flags are not useful to
callers. This was done over simply exposing all internal flags, as
another vanilla change to the internal enum would result in the same
breakage.

The newly proposed API *only* promises that the passed flags prevent the
loss of velocity in the specific axis/context, which should be
independent enough of vanillas specific implementation of this feature.
2024-10-31 17:25:52 +01:00
Lulu13022002
d9fcd64770 get previous redstone level from the right state for experimental wires 2024-10-31 16:48:37 +01:00
Bjarne Koll
d1ca62a9d0 Correctly cancel consumption of consumable
See: #11534
2024-10-31 12:44:02 +01:00
Jason Penilla
ec53bd41e7 Allow using old ender pearl behavior & apply ender pearl exploit patch (#11524)
When enabled, ender pearls will not load chunks and will save to the world instead of the player.

Also changes the exploit config to be default false, as it only makes sense when legacy behavior is enabled.
2024-10-30 10:09:05 -07:00
Noah van der Aa
bafaa407e4 Add Friction API to minecarts 2024-10-30 17:31:33 +01:00
Lulu13022002
5e3ea5c8f9 don't resend effects when PlayerItemConsumeEvent is cancelled 2024-10-30 17:07:49 +01:00
Lulu13022002
f88986a2c2 fix "is_freezing" damage type tag 2024-10-30 14:55:46 +01:00
Nassim Jahnke
46b5013fc3 Use target pitch in teleport (generally the same thing) 2024-10-30 14:31:03 +01:00
Nassim Jahnke
7dc7d6ef96 Fix item gravity on inactive items, remove dumb active skipping 2024-10-30 14:06:43 +01:00
Nassim Jahnke
666560fcdd Fix portal exit resulting in bad teleport transition 2024-10-29 22:35:10 +01:00
Jason Penilla
6455fa4a8b Avoid issues with certain tasks not processing during sleep (#11526) 2024-10-29 12:46:33 -07:00
Lulu13022002
e50219c8fd cleanup bugfix patch 2024-10-29 16:54:40 +01:00
Lulu13022002
25b6464c5e remove some leftovers 2024-10-29 15:33:42 +01:00
Owen1212055
303d82e48c Use new ClientboundPlayerRotationPacket for setting player rotation 2024-10-28 12:14:00 -04:00
granny
5364f9e7a0 Remove leftover missed timings calls (#11527)
* remove leftover timings calls

* remove unused imports
2024-10-28 00:03:55 -07:00
Jason Penilla
c72370d2c0 Use declaration order for state holder property iteration
Mostly an aesthetic change for serialization, should not have any impact on performance or correctness.
2024-10-27 18:29:34 -07:00
Jason Penilla
8f7bce1e31 Execute spark tasks during tick sleep (#11525) 2024-10-27 14:00:06 -07:00
Jason Penilla
ad03975163 Fix unused parameter in PlayerList#remove 2024-10-27 12:09:27 -07:00
Jason Penilla
0360c9a5fa Remove unnecessary AT 2024-10-27 11:26:21 -07:00
Lulu13022002
b501e56e80 Fix NPE and StackOverflowError for dispensers 2024-10-27 18:47:50 +01:00
Nassim Jahnke
eb6f344912 Remove timings impl 2024-10-27 18:11:15 +01:00
Bjarne Koll
966c80c18f Update material tags and entity effect 2024-10-27 12:20:17 +01:00
Nassim Jahnke
a937f3ebd3 Another one 2024-10-27 12:02:26 +01:00
Nassim Jahnke
99e72f052b Add back per player mob spawning
Also removes the `info.mobCategoryCounts.mergeInt` call that - at least from what I can tell - has been wrongly counting spawned mobs twice. The runner passed via `info::afterSpawn` already counts up that exact number in the same exact places (where `j`, the return value used here, is incremented)
2024-10-27 11:56:51 +01:00
Nassim Jahnke
88aa8528c9 More patches 2024-10-27 10:26:44 +01:00
Nassim Jahnke
ba24f1b59d Readd last API patch (with TODO) 2024-10-27 09:43:00 +01:00
Nassim Jahnke
909afb02ee Delete some old patches 2024-10-27 09:24:59 +01:00
Jake Potrebic
1bae0a3107 re-add improve perf of mass crafts 2024-10-26 12:50:32 -07:00
Lulu13022002
20093331cf fix DamageTypeTags init 2024-10-26 19:41:56 +02:00
Lulu13022002
a3a0e46862 fix item meta 2024-10-26 19:11:37 +02:00
Nassim Jahnke
3cf764645b Apply more patches 2024-10-26 17:49:28 +02:00
Lulu13022002
7ce0d944b6 update generator 2024-10-26 18:03:25 +02:00
Jason Penilla
cfaa6f33b8 Apply watchdoge patches 2024-10-25 18:13:48 -07:00
Spottedleaf
d6cb65cd0f Fix boats/minecarts not dropping when destroyed
Diff to clone the item was lost, which meant that the spawned
item was air.
2024-10-25 15:04:29 -07:00
Spottedleaf
9f5bf318a5 Add startup flag to disable gamerule limits
-DPaper.DisableGameRuleLimits=true will disable gamerule limits
2024-10-25 14:22:01 -07:00
Spottedleaf
352bf9dc13 Revert "Add max minecarft speed gamerule config"
This reverts commit c46650d89f.
2024-10-25 14:10:40 -07:00
Spottedleaf
c46650d89f Add max minecarft speed gamerule config 2024-10-25 14:06:01 -07:00
Bjarne Koll
a02a757a57 Fix crafting (and server icon) 2024-10-25 22:33:37 +02:00
Spottedleaf
c0a178dc45 Fix MSPT command
Used wrong variable for tick length
2024-10-25 13:19:27 -07:00
Spottedleaf
0fc6c032fb Fix Anti-Xray using wrong data in chunk deserialize 2024-10-25 12:57:20 -07:00
Spottedleaf
97d6e76ee5 fix compile issues 2024-10-25 12:47:52 -07:00
Jason Penilla
9adbb0e5c1 Specify mainCapabilityAttribute for paper-api 2024-10-25 12:47:24 -07:00
Spottedleaf
3d5706bf30 Rebase fixups 2024-10-25 12:24:15 -07:00
Spottedleaf
d83a56b430 Fix compile issues 2024-10-25 11:46:53 -07:00
Spottedleaf
1d63b06b5e Finish rebase 2024-10-25 11:40:25 -07:00
Spottedleaf
d7d227d746 Prepare rebase 2024-10-25 11:24:51 -07:00
Spottedleaf
93271dfe39 Finish mixin diff review
The mixin diff review looks OK, but need to check the
patch diff now.
2024-10-24 12:47:34 -07:00
Spottedleaf
f35b3d7460 Complete rebase, start review 2024-10-24 11:51:29 -07:00
Spottedleaf
89ad2785a8 Prepare rebase 2024-10-24 11:22:17 -07:00
Spottedleaf
df7fb7760b Fix some compile errors from patches 2024-10-24 11:20:51 -07:00
Spottedleaf
7199166cb2 Implement chunk system 2024-10-24 11:11:56 -07:00
Spottedleaf
9472b1ddf5 Implement Starlight 2024-10-24 10:39:36 -07:00
Spottedleaf
eb57d32c94 Implement explosion optimisations 2024-10-24 10:16:56 -07:00
Spottedleaf
5d63f12602 Implement chunk tick iteration optimisations 2024-10-24 10:06:01 -07:00
Spottedleaf
065aecac6c Implement config hooks in PaperHooks 2024-10-24 08:36:07 -07:00
Spottedleaf
4b1beb1404 Merge patches 2024-10-24 08:20:45 -07:00
Spottedleaf
77baea3bf9 Begin fixing issues
See diff in the update text file
2024-10-24 08:18:20 -07:00
Spottedleaf
c4d6fdcff0 Move common diffs to MCUtils 2024-10-23 20:45:35 -07:00
Spottedleaf
249fdac7ee Start Moonrise update
This is based on Moonrise's 1.21.2 branch, but this on
1.21.1 so some diffs cannot be applied (and this doesn't
compile).

See moonrise_update_1_21_2.txt for progress
2024-10-21 21:01:00 -07:00
Lulu13022002
91978953f3 fix some issues 2024-10-25 20:09:45 +02:00
Bjarne Koll
4903e806c3 Test compile fixes 2024-10-25 19:15:40 +02:00
Bjarne Koll
d333b32d4f Compiler issue v5 2024-10-25 18:08:28 +02:00
Bjarne Koll
f3f59e196d Compiler issues v4 2024-10-25 17:08:48 +02:00
Bjarne Koll
319032e137 Compiler issues v3 2024-10-25 14:55:49 +02:00
Bjarne Koll
c6a0ad379d Compiler issues v2 2024-10-25 13:52:04 +02:00
Bjarne Koll
cc0308bf1d Some more compile issues 2024-10-25 13:34:01 +02:00
Bjarne Koll
4c984f6e46 Compile issues 1 2024-10-25 13:19:23 +02:00
Bjarne Koll
f37c1be91e Work on compile errors 2024-10-25 12:30:19 +02:00
Bjarne Koll
a040040900 1037 2024-10-25 12:28:34 +02:00
Bjarne Koll
27f4fa04e6 Wrong attempt at Tag lifecycle 2024-10-25 12:06:49 +02:00
Bjarne Koll
42e181498c 1020 2024-10-25 00:08:35 +02:00
Bjarne Koll
6ca02ef090 1000 2024-10-24 23:03:27 +02:00
Bjarne Koll
c8414e5d1d Update work 989 2024-10-24 22:29:29 +02:00
Shane Freeder
9fdcea361c Anti Xray 2024-10-24 20:10:38 +01:00
Shane Freeder
3f75dfff7d Checkpoint 2024-10-24 19:40:24 +01:00
Bjarne Koll
ff6f80cbff Upstream update 2024-10-24 19:29:35 +02:00
Bjarne Koll
e7c58ce74f 963 2024-10-24 17:16:31 +02:00
Bjarne Koll
3a9a8b1d29 Readd wrongly removed diff 2024-10-24 16:31:09 +02:00
Owen1212055
a11f1c8dbf Patch 2024-10-24 10:02:45 -04:00
Owen1212055
26e2a9cbd2 Patch 2024-10-24 09:53:28 -04:00
Owen1212055
3f5491e0b7 Patch 2024-10-24 09:25:36 -04:00
Bjarne Koll
199ab95b0d Patch me this, patch me that 2024-10-24 12:11:32 +02:00
Bjarne Koll
951043246e Patches, patches, patches 2024-10-24 10:42:29 +02:00
Noah van der Aa
8b9b485cab good luck americans 2024-10-24 00:42:38 +02:00
Noah van der Aa
fae4894a2b MOOOOOOOOOOOOOORE 2024-10-24 00:32:21 +02:00
Noah van der Aa
dac68bef4a fix gruesome copyright violation 2024-10-24 00:11:28 +02:00
Noah van der Aa
a364eb48e7 MOOOOOOOOOOORE 2024-10-24 00:08:29 +02:00
Noah van der Aa
56700a6f23 MOOOOOOOORE 2024-10-23 23:35:21 +02:00
Noah van der Aa
d523c6211b MOOOOORE 2024-10-23 23:12:09 +02:00
Noah van der Aa
57a91fb883 moooore 2024-10-23 22:52:43 +02:00
Shane Freeder
630bdd8cda A bunch more 637 2024-10-23 21:10:14 +01:00
Shane Freeder
615e1d5a6a A bunch of patches 2024-10-23 20:43:06 +01:00
Bjarne Koll
c9e7a34e4b Work work work work 2024-10-23 20:50:46 +02:00
Bjarne Koll
592816683c 553 2024-10-23 20:15:25 +02:00
Bjarne Koll
0a91b13eb3 503 2024-10-23 19:46:06 +02:00
Bjarne Koll
0047482c6f Some more work 2024-10-23 17:58:11 +02:00
Bjarne Koll
986b61757e 440 2024-10-23 17:13:43 +02:00
Bjarne Koll
49575a0657 400 2024-10-23 16:55:24 +02:00
Owen1212055
e486dd7445 Patch 2024-10-23 10:08:40 -04:00
Owen1212055
4ed93c52b4 Patch 2024-10-23 10:04:01 -04:00
Owen1212055
3342d91bd6 Patches 2024-10-23 09:54:09 -04:00
Bjarne Koll
078eb7f455 298 2024-10-23 15:02:51 +02:00
Bjarne Koll
c2e37b8c98 Skip Improve-exact-choice-recipe-ingredients for now 2024-10-23 14:12:17 +02:00
Bjarne Koll
292fb8b8e7 Fluid Flowing ifLoaded patch 2024-10-23 13:13:00 +02:00
Bjarne Koll
de0ed829eb 242 2024-10-23 12:32:08 +02:00
Bjarne Koll
5a3a8af328 Update projectile launch to 1.21.2 2024-10-23 12:02:36 +02:00
Bjarne Koll
25c384ac38 Breakpoint before projectile mess 2024-10-23 11:04:00 +02:00
Bjarne Koll
38e1465620 Work work work 2024-10-23 00:02:50 +02:00
Bjarne Koll
149a25fb83 Work it 2024-10-22 23:30:51 +02:00
Bjarne Koll
2e66bc9719 More work? 2024-10-22 22:38:26 +02:00
Bjarne Koll
649ade0d96 Some work 2024-10-22 22:00:33 +02:00
Noah van der Aa
8e550effe8 oops 2024-10-22 20:09:28 +02:00
Noah van der Aa
9ece54ccdd first 100! 2024-10-22 20:04:31 +02:00
Noah van der Aa
1fd2daa6a6 First batch of server patches 2024-10-22 19:28:57 +02:00
Noah van der Aa
aecac94dbf Bundles are no longer experimental (thanks lynx) 2024-10-22 18:43:46 +02:00
Noah van der Aa
ce3c2d7776 you saw nothing 2024-10-22 18:32:41 +02:00
Noah van der Aa
510057a8ad okaaay let's go 2024-10-22 18:23:19 +02:00
Lulu13022002
33ff3dff21 Restrict BlockProjectileSource#launchProjectile
Spigot recently revamped their CraftBlockProjectileSource impl to make use of
the the ProjectileItem logic. During this move however, a couple of types were
added which do not provide a sensible ProjectileItem implementation.

The commit restricts the API once again to types that represent useful
ProjectileItems, removing support for the trident, enderpearl and breeze variant
of the windcharge.
2024-10-21 18:17:45 +02:00
Shane Freeder
5912598c02 Some small touchups to the GUI (#11505)
As noted on the issue, the method here can blow up in
certain cases, the GUI logic already handles "the mouse is missing",
and so, we'll just catch this and move on.

Misc fix - There is probably an issue report for this somewhere,
but, the details section utilised the bukkit singleton to try to get
the TPS from the server. We already have the MinecraftServer instance
passed into us, and so we'll just get the information directly from there instead.

Fixes: #11494
2024-10-21 00:10:10 +01:00
Shane Freeder
9ad769150f Always send Banner patterns to the client (#11506)
The mojang client will not remove patterns from a Banner when none
are sent inside of an update packet, given that this is not an expected
flow for them, this is not all too surprising. So, we shall resort to always
sending the patterns over the network for update packets.

Fixes: #11487
2024-10-21 00:02:00 +01:00
caramel
75f88df856 Fix potential annotation testing interruption (#11460) 2024-10-21 07:46:50 +09:00
Bjarne Koll
7c5395237d Updated Upstream (Bukkit/CraftBukkit) (#11501)
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:
bb4e97c6 Add support for Java 23
bc6874dd Bump asm to 9.7.1
50e8a00b PR-1064: Add specific getTopInventory methods for InventoryView derivatives
758b0a0f SPIGOT-7911: Fix Location#isWorldLoaded() for re-loaded worlds
133a64a7 Improve Registry#getOrThrow messages
be0f5957 PR-1058: Add tests for Minecraft registry <-> Bukkit fields
d1b31df2 PR-1062: Clarify BeaconView documentation
3fab4384 PR-1060: Cache Material to BlockType and ItemType conversion
967a7301 SPIGOT-7906: Increase YAML nesting limit to 100
6ecf033d SPIGOT-7899: Smithing recipes don't require inputs

CraftBukkit Changes:
0a7bd6c81 PR-1493: Improve reroute performance and add some tests
54941524c Add support for Java 23
f4d957fff SPIGOT-7915: Fix World#getKeepSpawnInMemory() using Spawn Radius rather than Spawn Chunk Radius
ded183674 Fix HIDE_ENCHANTS flag in items without enchantments
308785a0a Bump asm to 9.7.1 and re-add ClassReader to ClassWriter
72ce823cd PR-1487: Add specific getTopInventory methods for InventoryView derivatives
11a5e840c SPIGOT-7907, PR-1484: Improve merchant recipe item matching behavior to more closely align with older versions
45b66f7e4 SPIGOT-7909: Always set HIDE_ENCHANTS flag to item if flag is set
963459791 Increase outdated build delay
fc5b2d75f SPIGOT-7910: Fix launching breeze wind charge from API and improve dispenser launch API
c7d6428f2 SPIGOT-7856, PR-1483: End platform not dropping items after replacing blocks
2a5572b52 SPIGOT-7780, PR-1482: Cannot edit chunks during unload event
527041ab5 SPIGOT-7902, PR-1477: Fix CraftMetaPotion#hasCustomEffects() does not check if customEffects (List) is empty
5529a1769 Implement base methods for tags
30fbdbaaf Improve Registry#getOrThrow messages
6b71a7322 PR-1475: Add tests for Minecraft registry <-> Bukkit fields
5f24c255c SPIGOT-7908: Mark junit-platform-suite-engine as test scope
e4c92ef65 PR-1473: Change tests to use suites, to run tests in different environments and feature flags
d25e1e722 PR-1481: Fix BeaconView#set[X]Effect(null)
d69a05362 PR-1480: Fix PerMaterialTest#isEdible test running for legacy materials
bb3284a89 PR-1479: Use custom #isBlock method in legacy init instead of the one in Material, since it relies on legacy being init
98c57cbbe SPIGOT-7904: Fix NPE for PlayerItemBreakEvent
f35bae9ec Fix missing hasJukeboxPlayable
8a6f8b6d8 SPIGOT-7881: CTRL+Pick Block saves position data into item
7913b3be7 SPIGOT-7899: Smithing recipes don't require inputs
2024-10-21 00:06:54 +02:00
Shane Freeder
64705c224b [ci skip] rebuild patches 2024-10-17 21:24:10 +01:00
Spottedleaf
d24e41986e Add proper async player disconnections
Blocking can cause performance problems
2024-10-16 07:00:40 -07:00
Pedro
a0cb2d37ed Add AnvilView#bypassEnchantmentLevelRestriction (#11475) 2024-10-12 18:10:05 -03:00
Lulu13022002
4286dff3d0 Add offline PDC API (#8117) 2024-10-12 21:38:18 +02:00
TonytheMacaroni
7c831941e2 Fix CraftMagicNumbers#getTag (#11484) 2024-10-09 16:58:13 -04:00
Nassim Jahnke
43ee3e4a1e Check if leash tag has a uuid 2024-10-03 17:10:27 +02:00
Jake Potrebic
ec8b5b419f Use components properly in ProfileWhitelistVerifyEvent (#11456) 2024-10-02 05:32:05 -07:00
Nassim Jahnke
8d3c6e1052 Fix hex color check 2024-10-02 13:49:39 +02:00
Jake Potrebic
0adf5876db Finish converting most of the undeprecated api to jspecify 2024-09-30 11:44:36 -07:00
Jake Potrebic
29a25df60e Finish converting all events to jspecify annotations 2024-09-29 16:48:34 -07:00
Bjarne Koll
fa97c59a4e 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.
2024-09-30 00:26:44 +02:00
Axionize
6e485c3409 Configurable per-world void damage offset/damage(#11436) 2024-09-29 18:06:13 -04:00
Noah van der Aa
74e7902624 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 <git@lynxplay.dev>
2024-09-29 23:28:48 +02:00
Jake Potrebic
64e918335c Begin switching to JSpecify annotations (#11448)
* Begin switching to JSpecify annotations

* more

* fixes
2024-09-29 12:52:13 -07:00
Jake Potrebic
fa1f6a5d78 Call bucket events for cauldrons (#7486) 2024-09-28 15:04:11 -07:00
Esoteric Enderman
96dde2d730 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 <git@lynxplay.dev>
2024-09-28 20:32:56 +01:00
Tamion
afe5fc14c8 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>
2024-09-28 21:14:20 +02:00
Jake Potrebic
a1cb6c43d2 Improve entity effect API (#11444) 2024-09-28 11:05:45 -07:00
Jake Potrebic
eba36b62bd Fix console completions on invalid commands (#7603) 2024-09-27 11:05:15 -07:00
masmc05
d89b0fb649 Add enchantWithLevels with tag specification (#11438)
* Add enchantWithLevels with tag specification

* Finalise

---------

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2024-09-27 21:04:57 +03:00
Jake Potrebic
e1c46e67a5 fix ItemStack#removeEnchantments creating non-stackable items (#11442) 2024-09-27 10:58:11 -07:00