Commit graph

4103 commits

Author SHA1 Message Date
CraftBukkit/Spigot
7cdd598517 SPIGOT-7070: Material.SCULK_VEIN has Waterlogged data class, should also be MultipleFacing
By: md_5 <git@md-5.net>
2022-07-10 15:04:44 +10:00
CraftBukkit/Spigot
35388a73b0 SPIGOT-7095: StructureGrowEvent doesn't fire for mangrove propagules growing to a tree
By: md_5 <git@md-5.net>
2022-07-10 14:12:30 +10:00
CraftBukkit/Spigot
86d63605da #1079: Add support checking/survivability methods for BlockData
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-07-09 20:09:34 +10:00
CraftBukkit/Spigot
2f0d31aa17 SPIGOT-7083: Add Boat.WoodenType, Boat.Status; deprecate TreeSpecies
By: Doc <nachito94@msn.com>
2022-07-05 20:40:35 +10:00
CraftBukkit/Spigot
60fb93349f SPIGOT-1729, SPIGOT-7090: Keep precision in teleportation between worlds
By: Doc <nachito94@msn.com>
2022-07-02 12:26:55 +10:00
CraftBukkit/Spigot
5377574bc2 SPIGOT-7071: Add Player#stopSound(SoundCategory category)
By: SkytAsul <skytasul@gmail.com>
2022-07-01 20:46:16 +10:00
CraftBukkit/Spigot
230282ea44 SPIGOT-7011, SPIGOT-7065: Overhaul of structures
By: DerFrZocker <derrieple@gmail.com>
2022-07-01 20:41:04 +10:00
CraftBukkit/Spigot
8bf76d9868 Remove outdated build delay.
By: md_5 <git@md-5.net>
2022-06-28 21:28:28 +10:00
CraftBukkit/Spigot
23815db283 SPIGOT-7078: Add EntityPotionEffectEvent.Cause#WARDEN
By: Doc <nachito94@msn.com>
2022-06-23 20:34:34 +10:00
CraftBukkit/Spigot
c6f488dfd5 SPIGOT-7072: Call events for stepping on sculk sensors and sculk shriekers
By: BlackHole <black-hole@live.com>
2022-06-23 20:25:36 +10:00
CraftBukkit/Spigot
6e92592b55 SPIGOT-7068: SKULK and SKULK_VEIN BlockSpreadEvents Still do not reference the correct source (SKULK_CATALYST)
By: DerFrZocker <derrieple@gmail.com>
2022-06-19 21:48:24 +10:00
CraftBukkit/Spigot
100bb8f120 #1052: Add option to use cached map color palette
This reduces the conversion time drastically with the cost of slightly more memory usage.

By: DerFrZocker <derrieple@gmail.com>
2022-06-18 21:13:42 +10:00
CraftBukkit/Spigot
9fdd99d4ce SPIGOT-7066: Fix custom END worlds not generating DragonBattle
By: Doc <nachito94@msn.com>
2022-06-18 21:06:59 +10:00
CraftBukkit/Spigot
30fe2b464e SPIGOT-2420: Can't set exp drops for EnderDragon death
By: DerFrZocker <derrieple@gmail.com>
2022-06-18 20:59:19 +10:00
CraftBukkit/Spigot
40a58283ca #1067: Add preview chat option in ServerListPingEvent
By: Doc <nachito94@msn.com>
2022-06-18 20:55:26 +10:00
CraftBukkit/Spigot
63d419d302 #1066: Add missing server properties methods from 1.19
By: Doc <nachito94@msn.com>
2022-06-18 20:49:03 +10:00
CraftBukkit/Spigot
8abaca5d3d Increase outdated build delay
By: md_5 <git@md-5.net>
2022-06-15 20:10:51 +10:00
CraftBukkit/Spigot
0d983f9b9a SPIGOT-7060: SCULK and SCULK_VEIN BlockSpreadEvents do not reference the correct source
By: md_5 <git@md-5.net>
2022-06-14 21:21:46 +10:00
CraftBukkit/Spigot
8a00d6f5d1 #1070: Add SpawnReason and TransformReason for Tadpole metamorphosis into Frog
By: Doc <nachito94@msn.com>
2022-06-13 15:24:58 +10:00
CraftBukkit/Spigot
df3ad38359 #1068: Add Hangable interface to MangrovePropagule
By: chickeneer <emcchickeneer@gmail.com>
2022-06-12 18:19:01 +10:00
CraftBukkit/Spigot
52f9281656 #1065: Add missing calls for BlockSpreadEvent when Sculk spreads
By: Brokkonaut <hannos17@gmx.de>
2022-06-11 13:20:38 +10:00
CraftBukkit/Spigot
46523c1525 SPIGOT-7051: Worldgen API does not run vanilla noise generation when shouldGenerateNoise is true
By: DerFrZocker <derrieple@gmail.com>
2022-06-10 19:08:36 +10:00
CraftBukkit/Spigot
766668f0db SPIGOT-7041: Custom BiomeProvider not used when world set to type FLAT
By: md_5 <git@md-5.net>
2022-06-10 11:08:00 +10:00
CraftBukkit/Spigot
d9d74754ba SPIGOT-7043: EnderChest does not implement Lidded
By: md_5 <git@md-5.net>
2022-06-10 10:57:43 +10:00
CraftBukkit/Spigot
29db051e6e SPIGOT-7048: addPassenger() not working when vehicle is player
By: md_5 <git@md-5.net>
2022-06-10 10:39:19 +10:00
CraftBukkit/Spigot
85ee50d5f1 SPIGOT-7047: Add Player#getLastDeathLocation
By: Doc <nachito94@msn.com>
2022-06-10 09:56:52 +10:00
CraftBukkit/Spigot
70106be465 SPIGOT-7050: Enchantment data of items will not be saved correctly when saved in YAML configuration file
By: md_5 <git@md-5.net>
2022-06-10 09:45:10 +10:00
CraftBukkit/Spigot
79086ef520 SPIGOT-7003: Add missing PlayerAnimationType
By: Doc <nachito94@msn.com>
2022-06-09 21:30:25 +10:00
CraftBukkit/Spigot
c67855f651 SPIGOT-5984: Add non deprecated / magic value way to set pixel in MapCanvas
By: DerFrZocker <derrieple@gmail.com>
2022-06-09 21:27:39 +10:00
CraftBukkit/Spigot
0edbb16bb4 Update Netty version
By: md_5 <git@md-5.net>
2022-06-09 21:14:14 +10:00
CraftBukkit/Spigot
92822affe1 SPIGOT-7044: Modified RandomSourceWrapper to ensure random is not null before setting seed
By: Vatuu <21113232+Vatuu@users.noreply.github.com>
2022-06-09 21:06:03 +10:00
CraftBukkit/Spigot
d345226478 #1059: Add DamageCause.SONIC_BOOM
By: Doc <nachito94@msn.com>
2022-06-09 21:04:03 +10:00
CraftBukkit/Spigot
5913ce98b9 SPIGOT-7042: Subtitle is always equal to title
By: md_5 <git@md-5.net>
2022-06-09 07:28:01 +10:00
CraftBukkit/Spigot
80188eac4e Fix missing abstract in CraftLeaves
By: md_5 <git@md-5.net>
2022-06-08 17:37:43 +10:00
CraftBukkit/Spigot
b6c55ade98 SPIGOT-7038: Setting title or subtitle to empty string causes the player to disconnect
By: md_5 <git@md-5.net>
2022-06-08 17:34:21 +10:00
CraftBukkit/Spigot
5806a895dc Make Leaves Waterlogged
By: md_5 <git@md-5.net>
2022-06-08 17:31:13 +10:00
CraftBukkit/Spigot
7f44ec20a2 Downgrade dependency version
By: md_5 <git@md-5.net>
2022-06-08 09:01:13 +10:00
CraftBukkit/Spigot
25f3b50f6b Update to Minecraft 1.19
By: md_5 <git@md-5.net>
2022-06-08 02:00:00 +10:00
CraftBukkit/Spigot
91d9aa9a89 Remove outdated build delay.
By: md_5 <git@md-5.net>
2022-06-08 02:00:00 +10:00
CraftBukkit/Spigot
43ec2cdacc #1055: Use correct tile entity for trapped chest in CraftBlockStates
By: DerFrZocker <derrieple@gmail.com>
2022-06-06 08:30:54 +10:00
CraftBukkit/Spigot
0fb296468e SPIGOT-7025: Use existing item in hand for ranged Drowned attack
By: Doc <nachito94@msn.com>
2022-06-05 16:30:03 +10:00
CraftBukkit/Spigot
ed74e7e047 #1050: Expose more information about advancements
By: MartenM <marten.struijk@gmail.com>
2022-06-05 16:23:50 +10:00
CraftBukkit/Spigot
462a5fddbf SPIGOT-7009: Stuck on "Loading terrain..." after disconnecting on respawn screen
By: DerFrZocker <derrieple@gmail.com>
2022-06-03 09:19:53 +10:00
CraftBukkit/Spigot
77f366d383 SPIGOT-1807: PlayerTeleportEvent is called twice
By: DerFrZocker <derrieple@gmail.com>
2022-05-24 20:45:57 +10:00
CraftBukkit/Spigot
3bd1e295ea #1047: Support setting individual Wither head targets
By: Yannick Lamprecht <yannicklamprecht@live.de>
2022-05-17 19:27:01 +10:00
CraftBukkit/Spigot
5e503c9e28 SPIGOT-6948: Motion from Explosion after Respawn
By: DerFrZocker <derrieple@gmail.com>
2022-05-17 19:22:58 +10:00
CraftBukkit/Spigot
ee1a8e3018 SPIGOT-7019: Add yaw in World#getSpawnLocation
By: Doc <nachito94@msn.com>
2022-05-13 11:24:17 +10:00
CraftBukkit/Spigot
27ea8b4a25 SPIGOT-7014: getLootTable API should not persistently update loot table
By: md_5 <git@md-5.net>
2022-05-09 18:13:06 +10:00
CraftBukkit/Spigot
98756897b7 #1046: Make World implement Keyed
By: pop4959 <pop4959@gmail.com>
2022-05-09 18:07:51 +10:00
CraftBukkit/Spigot
aba0972e9a #1045: Revert changes to persistence required checks
By: DerFrZocker <derrieple@gmail.com>
2022-05-03 23:13:03 +10:00
CraftBukkit/Spigot
465b2801f1 SPIGOT-7010: Changing dropper item results in using dispensing behaviour
By: md_5 <git@md-5.net>
2022-04-28 19:16:28 +10:00
CraftBukkit/Spigot
ed0354be30 SPIGOT-6992: Add LimitedLife/LifeTicks/Bound APIs to Vex
By: Doc <nachito94@msn.com>
2022-04-21 06:45:42 +10:00
CraftBukkit/Spigot
94eb19b9fc Pass in SpawnReason rather than boolean
By: md_5 <git@md-5.net>
2022-04-18 11:05:15 +10:00
CraftBukkit/Spigot
14aabc2648 SPIGOT-7001: Fix entity already exists in CraftWorld#spawnFallingBlock
By: Doc <nachito94@msn.com>
2022-04-18 11:05:12 +10:00
CraftBukkit/Spigot
e935d60d1d SPIGOT-6972: Root command nodes can leak to client
By: md_5 <git@md-5.net>
2022-04-17 18:57:35 +10:00
CraftBukkit/Spigot
ef79686997 #1033: Add Villager#zombify
By: Doc <nachito94@msn.com>
2022-04-15 13:48:55 +10:00
CraftBukkit/Spigot
8400a7987a #975: Add method to read ItemStack input
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-04-15 12:54:08 +10:00
CraftBukkit/Spigot
9340d95f92 SPIGOT-6990: Fix setRepairCost(0) in Anvil
By: Doc <nachito94@msn.com>
2022-04-09 09:42:11 +10:00
CraftBukkit/Spigot
b0e366dc99 SPIGOT-6829: Add per-player world border API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-04-09 09:39:33 +10:00
CraftBukkit/Spigot
6cd6b91c36 Remove broken quickMoveStack implementation
By: md_5 <git@md-5.net>
2022-04-04 20:17:00 +10:00
CraftBukkit/Spigot
8ea55f306a SPIGOT-6973: Setting biome calls String#intern for every biome placed
By: md_5 <git@md-5.net>
2022-04-03 09:20:16 +10:00
CraftBukkit/Spigot
9cff7d3ca0 Java 18 support
By: md_5 <git@md-5.net>
2022-03-28 08:10:25 +11:00
CraftBukkit/Spigot
c9a265249c #1039: Use correct ops in GeneratorSettings
By: Martoph <sager1018@gmail.com>
2022-03-27 16:24:09 +11:00
CraftBukkit/Spigot
813ab8f174 #1038: Removed the no longer needed getChunkUnchecked method from ChunkProviderServer.
This method was added in 373ed1ddd5 to fix SPIGOT-5228. But since Minecraft 1.17 changed how entities are added and removed from chunks, this method has no longer been used.

By: blablubbabc <lukas@wirsindwir.de>
2022-03-27 16:24:09 +11:00
CraftBukkit/Spigot
475d10469d SPIGOT-6980: Since 1.18.2, World#isChunkLoaded returned false for chunks that have just been loaded (e.g. inside ChunkLoadEvent).
Some changes of the 1.18.2 update have been reverted to resolve this regression.

By: blablubbabc <lukas@wirsindwir.de>
2022-03-27 16:24:06 +11:00
CraftBukkit/Spigot
fa672ce555 #1035: Update README
By: Doc <nachito94@msn.com>
2022-03-24 13:40:09 +11:00
CraftBukkit/Spigot
f046a30653 SPIGOT-5140: Call EntityChangeBlockEvent when a ChorusFlower is destroyed by a projectile
By: Brokkonaut <hannos17@gmx.de>
2022-03-21 13:17:54 +11:00
CraftBukkit/Spigot
ec402c4974 Improve CreativeCategory conversion
By: md_5 <git@md-5.net>
2022-03-19 09:59:56 +11:00
CraftBukkit/Spigot
16d405ff1c #1034: Fix exception on init of CraftCreativeCategory
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-03-19 09:59:56 +11:00
CraftBukkit/Spigot
5fce26aed5 Add tests for material creative categories
By: md_5 <git@md-5.net>
2022-03-19 09:59:55 +11:00
CraftBukkit/Spigot
6796896e63 SPIGOT-3034: PlayerKickEvent.setLeaveMessage(String) doesn't actually do anything
By: DerFrZocker <derrieple@gmail.com>
2022-03-16 19:49:07 +11:00
CraftBukkit/Spigot
c46dd07f70 SPIGOT-6963: CraftMetaBlockState#getBlockState applied TileEntity ids without the minecraft namespace prefix.
This was able to cause issues when ItemStacks are being compared.

By: blablubbabc <lukas@wirsindwir.de>
2022-03-15 07:30:53 +11:00
CraftBukkit/Spigot
85cc664060 SPIGOT-6138, SPIGOT-6415: Don't call CreatureSpawnEvent after cross-dimensional travel
By: DerFrZocker <derrieple@gmail.com>
2022-03-13 07:48:22 +11:00
CraftBukkit/Spigot
4703f2b200 SPIGOT-6895: Trees grown with applyBoneMeal() don't fire the StructureGrowthEvent
By: DerFrZocker <derrieple@gmail.com>
2022-03-13 07:47:56 +11:00
CraftBukkit/Spigot
cac50e9c55 SPIGOT-6961: Actually return a copy of the ItemMeta
By: DerFrZocker <derrieple@gmail.com>
2022-03-13 06:58:41 +11:00
CraftBukkit/Spigot
5abfb14c7f Increase outdated build delay
By: md_5 <git@md-5.net>
2022-03-12 10:47:34 +11:00
CraftBukkit/Spigot
a429b2ad16 #1011: Add Item Unlimited Lifetime APIs
By: Gero <gecam59@gmail.com>
2022-03-12 09:26:16 +11:00
CraftBukkit/Spigot
06bac38719 SPIGOT-2942: give command fires PlayerDropItemEvent, cancelling it causes Item Duplication
By: DerFrZocker <derrieple@gmail.com>
2022-03-11 21:47:13 +01:00
CraftBukkit/Spigot
1a135e792f SPIGOT-6962: Call EntityChangeBlockEvent when when FallingBlockEntity starts to fall
By: BlackHole <black-hole@live.com>
2022-03-11 16:24:02 +11:00
CraftBukkit/Spigot
ad484e5f73 SPIGOT-6959: Make /loot command ignore empty items for spawn
By: Doc <nachito94@msn.com>
2022-03-08 07:25:44 +11:00
CraftBukkit/Spigot
adb00c117d #1023: Improve consistency of tag API
By: Doc <nachito94@msn.com>
2022-03-06 16:24:58 +11:00
CraftBukkit/Spigot
390618e170 SPIGOT-6956: Reduce differences caused by setKeepSpawnInMemory(false)
By: md_5 <git@md-5.net>
2022-03-04 18:53:19 +11:00
CraftBukkit/Spigot
33a94c62e0 SPIGOT-6957: Bad default value for WorldCreator#generatorSettings
By: md_5 <git@md-5.net>
2022-03-04 08:15:31 +11:00
CraftBukkit/Spigot
f43d18915d #1022: Fix get HighestBlockAt in chunk snapshot
By: Yannick Lamprecht <yannicklamprecht@live.de>
2022-03-04 08:12:00 +11:00
CraftBukkit/Spigot
a6639b358f #876: Add CreativeCategory API for Materials
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-03-03 18:55:51 +11:00
CraftBukkit/Spigot
59e5f5af8f SPIGOT-6952: Tag#isTagged throws NullPointerException in 1.18.2
By: DerFrZocker <derrieple@gmail.com>
2022-03-01 21:02:14 +01:00
CraftBukkit/Spigot
9ee989ea81 Update to Minecraft 1.18.2
By: md_5 <git@md-5.net>
2022-03-01 02:00:00 +11:00
CraftBukkit/Spigot
bd40300a4f Remove outdated build delay.
By: md_5 <git@md-5.net>
2022-03-01 02:00:00 +11:00
CraftBukkit/Spigot
2271fc314d SPIGOT-6900, SPIGOT-6330: Make /difficulty command per-world
By: Doc <nachito94@msn.com>
2022-02-21 11:59:30 +11:00
CraftBukkit/Spigot
22136f3a05 SPIGOT-6925: Add minecraft:match_tool in LootContext
By: Doc <nachito94@msn.com>
2022-02-21 10:52:08 +11:00
CraftBukkit/Spigot
8216743085 SPIGOT-6936: Cancelling EntityAirChangeEvent doesn't stop player's bubbles from decreasing client side
By: md_5 <git@md-5.net>
2022-02-20 09:25:32 +11:00
CraftBukkit/Spigot
8d542f0b21 SPIGOT-6937: Ramming goat does not throw EntityTargetLivingEntityEvent
By: md_5 <git@md-5.net>
2022-02-20 09:07:37 +11:00
CraftBukkit/Spigot
c48241fce5 SPIGOT-6934: Bring plugin chunk tickets back in line with forceload tickets
By: md_5 <git@md-5.net>
2022-02-20 08:55:27 +11:00
CraftBukkit/Spigot
7fe2a47414 SPIGOT-6935: Make Arrow color nullable
By: Doc <nachito94@msn.com>
2022-02-19 09:36:08 +11:00
CraftBukkit/Spigot
b9534e1c48 #1009: Add Furnace#getRecipesUsed
By: Doc <nachito94@msn.com>
2022-02-15 18:48:54 +11:00
CraftBukkit/Spigot
77b8e4803a #1010: Add PDC to World
By: DerFrZocker <derrieple@gmail.com>
2022-02-15 09:36:00 +11:00
CraftBukkit/Spigot
80e9699ccf #1012: Always save as skull owner and not as internal data
By: DerFrZocker <derrieple@gmail.com>
2022-02-13 20:52:46 +01:00
CraftBukkit/Spigot
8b46bfaaa2 SPIGOT-6927: Fix default value of spawn-limits in Worlds
By: Doc <nachito94@msn.com>
2022-02-07 18:03:56 -03:00
CraftBukkit/Spigot
314b83ffae SPIGOT-6918: Add SpawnCategory API and configurations for Axolotls
By: Doc <nachito94@msn.com>
2022-02-07 18:47:27 +11:00
CraftBukkit/Spigot
f01afaf08f Don't send updates over large distances
By: md_5 <git@md-5.net>
2022-02-07 08:35:20 +11:00
CraftBukkit/Spigot
765eadbac1 SPIGOT-6782: EntityPortalEvent should not destroy entity when setTo() uses same world as getFrom()
By: DerFrZocker <derrieple@gmail.com>
2022-02-05 18:51:46 +01:00
CraftBukkit/Spigot
08891a2e2f #1002: Add Player Profile API
Slight changes may occur as this API is stabilized.

This PR is based on work previously done by DerFrZocker in #938.

By: blablubbabc <lukas@wirsindwir.de>
2022-02-03 09:25:39 +11:00
CraftBukkit/Spigot
0190fa68f9 Increase outdated build delay
By: md_5 <git@md-5.net>
2022-02-03 08:42:42 +11:00
CraftBukkit/Spigot
9523f87f1c SPIGOT-6917: Use main scoreboard for /trigger
Restores pre-1.13 behaviour. See linked ticket for further discussion.

By: md_5 <git@md-5.net>
2022-02-02 08:59:18 +11:00
CraftBukkit/Spigot
d5e124a72d Clean up callBlockDamageEvent
By: md_5 <git@md-5.net>
2022-02-02 08:56:24 +11:00
CraftBukkit/Spigot
e664c2bf5f SPIGOT-6910: Add BlockDamageAbortEvent
By: FreeSoccerHDX <unconfigured@null.spigotmc.org>
2022-02-02 08:56:23 +11:00
CraftBukkit/Spigot
df76a31fc1 #1000: Add PlayerHideEntityEvent and PlayerShowEntityEvent
By: Gero <gecam59@gmail.com>
2022-02-01 18:01:05 +11:00
CraftBukkit/Spigot
e2b1313f00 #1004: Call WorldInitEvent before any chunks are generated
By: DerFrZocker <derrieple@gmail.com>
2022-02-01 08:13:13 +11:00
CraftBukkit/Spigot
99e0adb83b SPIGOT-6891: Crash when importing 1.16 chunks with entities above the world, when a BlockPopulator is active
By: DerFrZocker <derrieple@gmail.com>
2022-01-30 10:52:42 +11:00
CraftBukkit/Spigot
2fb7e5202f #1003: Fix cancellation of TradeSelectEvent
By: pop4959 <pop4959@gmail.com>
2022-01-29 09:27:01 +11:00
CraftBukkit/Spigot
f46c4e64ea SPIGOT-6890: Add repair cost amount in AnvilInventory
By: Doc <nachito94@msn.com>
2022-01-26 09:30:35 +11:00
CraftBukkit/Spigot
2007d3c69f #999: Prevent non-item cooldowns
By: Doc <nachito94@msn.com>
2022-01-23 11:37:48 -03:00
CraftBukkit/Spigot
b80113b447 SPIGOT-6907: Oxygen does not restore up to value set by LivingEntity#setMaximumAir()
By: DerFrZocker <derrieple@gmail.com>
2022-01-23 09:06:19 +11:00
CraftBukkit/Spigot
cf4feec6b5 SPIGOT-6639: During an EntityDamageEvent with damage from blocks, damaging any entity throws an error
By: DerFrZocker <derrieple@gmail.com>
2022-01-23 09:06:06 +11:00
CraftBukkit/Spigot
a8b86ea421 #994: Fix changing world in portal events not updating used world border
Also clamp the event's target location to the world border

By: Phoenix616 <max@themoep.de>
2022-01-20 18:36:14 +11:00
CraftBukkit/Spigot
c5f623b0ac SPIGOT-6902: (Unsupported) Load server as child of system classloader
This is an _unsupported_ feature and may be removed at a later date

By: md_5 <git@md-5.net>
2022-01-19 08:48:55 +11:00
CraftBukkit/Spigot
474603beb3 SPIGOT-6899: Add Player#getPreviousGameMode
By: Doc <nachito94@msn.com>
2022-01-17 10:12:15 +11:00
CraftBukkit/Spigot
4c024e72f9 SPIGOT-6901: Add Support for Random in methods for LootTable
By: Doc <nachito94@msn.com>
2022-01-17 10:09:52 +11:00
CraftBukkit/Spigot
ce2ac2868b SPIGOT-6888: Add SpawnReason for Vex spawned by Evokers
By: Doc <nachito94@msn.com>
2022-01-14 10:55:59 +11:00
CraftBukkit/Spigot
db38e9a8f5 #987: Add generateTree method with a predicate
By: DerFrZocker <derrieple@gmail.com>
2022-01-12 10:52:51 +11:00
CraftBukkit/Spigot
9b581cce11 #990: Add playSound with Entity as source
By: Gero <gecam59@gmail.com>
2022-01-11 18:53:45 +11:00
CraftBukkit/Spigot
602f8cb433 #989: Add PDC to Structures
By: Martoph <sager1018@gmail.com>
2022-01-07 09:43:05 +11:00
CraftBukkit/Spigot
46f0dde817 SPIGOT-5339, SPIGOT-6252, SPIGOT-6777: Only cancel knockback if the damage event was canceled
By: DerFrZocker <derrieple@gmail.com>
2022-01-03 18:07:01 +01:00
CraftBukkit/Spigot
cc34358a3e SPIGOT-6496: /time functions affect entire server, not just the origin world
By: DerFrZocker <derrieple@gmail.com>
2022-01-03 08:29:31 +11:00
CraftBukkit/Spigot
c0b8deb846 Put Discord rather than IRC in config files
By: md_5 <git@md-5.net>
2022-01-03 08:21:46 +11:00
CraftBukkit/Spigot
f5b1ea90e2 SPIGOT-6278: Persistent piglins count towards mob cap
By: md_5 <git@md-5.net>
2022-01-02 11:45:52 +11:00
CraftBukkit/Spigot
bde37a649c #378: Add API to check and set if horses are grazing hay
By: Matthew <stteg@hotmail.com>
2022-01-01 09:58:04 +11:00
CraftBukkit/Spigot
1fa87773be #374: Add isJohnny / setJohnny for Vindicator
By: Matthew <stteg@hotmail.com>
2022-01-01 09:58:04 +11:00
CraftBukkit/Spigot
179dbe9592 #373: Add trap related methods to SkeletonHorse
By: Matthew <stteg@hotmail.com>
2022-01-01 09:58:04 +11:00
CraftBukkit/Spigot
751a5601b8 Fix map colour not being marked as a handled tag
By: md_5 <git@md-5.net>
2021-12-30 10:14:08 +11:00
CraftBukkit/Spigot
1eaf82a627 Make EnderDragon extend/implement Mob
By: md_5 <git@md-5.net>
2021-12-30 09:35:50 +11:00
CraftBukkit/Spigot
5a3105919b Add self-riding check to Entity#addPassenger
By: md_5 <git@md-5.net>
2021-12-29 10:48:15 +11:00
CraftBukkit/Spigot
7a54f9da31 SPIGOT-5766: The VillagerReplenishTradeEvent is now called when a villager restocks its trades.
By: blablubbabc <lukas@wirsindwir.de>
2021-12-25 10:14:17 +11:00
CraftBukkit/Spigot
aa53cef96f SPIGOT-5627: Leads vanish when transporting leashed entities through a Nether portal
By: DerFrZocker <derrieple@gmail.com>
2021-12-25 09:39:27 +11:00
CraftBukkit/Spigot
23b34c080b #978: Add Material#getDefaultAttributeModifiers
By: coll1234567 <joshl5324@gmail.com>
2021-12-24 12:06:26 +11:00
CraftBukkit/Spigot
28ec7a3566 SPIGOT-6859: PlayerInteractEntityEvent#setCancelled desync with Axolotls
By: Doc <nachito94@msn.com>
2021-12-22 08:04:07 +11:00
CraftBukkit/Spigot
f2766fc611 Dependency upgrades
By: md_5 <git@md-5.net>
2021-12-18 12:12:37 +11:00
CraftBukkit/Spigot
edea21b253 SPIGOT-6789: Improve resource pack related API
By: Patrick Choe <mailpatrickkr@gmail.com>
2021-12-18 11:46:17 +11:00
CraftBukkit/Spigot
3736fd83de SPIGOT-6836: Add more API methods in MerchantRecipe
By: Doc <nachito94@msn.com>
2021-12-18 11:44:34 +11:00
CraftBukkit/Spigot
13aa9b7211 SPIGOT-6778: Block#beakNaturally doesn't drop items in chests
By: DerFrZocker <derrieple@gmail.com>
2021-12-18 11:34:20 +11:00
CraftBukkit/Spigot
96c615d4b8 SPIGOT-6843: Wrong PLAINS biome during custom chunk generation
By: DerFrZocker <derrieple@gmail.com>
2021-12-18 11:33:22 +11:00
CraftBukkit/Spigot
94c2fa1b14 SPIGOT-6852: BlockReceiveGameEvent#getBlock returning wrong block
By: md_5 <git@md-5.net>
2021-12-14 07:52:43 +11:00
CraftBukkit/Spigot
ef17571a38 SPIGOT-6851: removeRecipe not unregistering recipe ID
By: md_5 <git@md-5.net>
2021-12-13 11:25:22 +11:00
CraftBukkit/Spigot
667cb32115 Update to Minecraft 1.18.1
By: md_5 <git@md-5.net>
2021-12-11 00:11:02 +11:00
CraftBukkit/Spigot
aa726a99dc Remove outdated build delay.
By: md_5 <git@md-5.net>
2021-12-11 00:11:02 +11:00
CraftBukkit/Spigot
9f768b5caf SPIGOT-6840: Fire resistance potion effect does not prevent melt damage of snow golem
By: Doc <nachito94@msn.com>
2021-12-10 09:01:47 +11:00
CraftBukkit/Spigot
6b9458a6a7 Disable log4j message formatting
By: md_5 <git@md-5.net>
2021-12-10 07:31:27 +11:00
CraftBukkit/Spigot
4d40ab4eec Increase outdated build delay
By: md_5 <git@md-5.net>
2021-12-09 16:02:04 +11:00
CraftBukkit/Spigot
35fdc9103d SPIGOT-6831: Fix llama strength crash
By: md_5 <git@md-5.net>
2021-12-06 15:15:09 +11:00
CraftBukkit/Spigot
24b8f3c641 #971: Remove strong chunk reference in PDC
A previous fix for SPIGOT-6814 implemented a callback function for the
PDC implementation that could be set to actively define a chunk as
unsaved, allowing chunks that have not been mutated through block
changes to still require saving if the chunks pdc was mutated.

This implementation however would pass a callback that references the
chunk access internally, meaning the PDC now actively holds onto a
callback that holds a reference to the entire chunk.

Aditionally, this change also impacted the pdc for item metas and
entities for really no reason whatsoever.

This commit re-implements the fix by introducing a new child of the pdc
implementation that the chunk now uses as its pdc. This specific
implementation maintains a dirty flag that is set to `true` on any form
of mutation and set back to false by the chunk that owns the PDC
whenever the chunk itself is flag as no longer dirty.

By: Bjarne Koll <lynxplay101@gmail.com>
2021-12-05 08:52:51 +11:00