Commit graph

4045 commits

Author SHA1 Message Date
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
CraftBukkit/Spigot
14215fdadd Add Player#openSign API to edit a placed sign
By: md_5 <git@md-5.net>
2021-12-05 08:34:54 +11:00
CraftBukkit/Spigot
6646c417c5 Purge hidden entities on unload too
By: md_5 <git@md-5.net>
2021-12-04 08:23:26 +11:00
CraftBukkit/Spigot
4f6a5feac8 #967: Store last lava contact location for events
By: Rafael S. M. Santos <eu@rafaelsms.com>
2021-12-04 08:06:32 +11:00
CraftBukkit/Spigot
77f4cb35ff SPIGOT-6833: Do not drop items into unrestricted world during world generation
By: md_5 <git@md-5.net>
2021-12-04 07:19:56 +11:00
CraftBukkit/Spigot
d07de3d840 Fix when bundler directory is a symlink
By: md_5 <git@md-5.net>
2021-12-03 16:24:34 +11:00
CraftBukkit/Spigot
05d379a339 Release POIs when villagers are removed by plugins
By: md_5 <git@md-5.net>
2021-12-03 15:05:20 +11:00
CraftBukkit/Spigot
ea74321d65 SPIGOT-6823: Fix loading custom world in combination with superflat
By: md_5 <git@md-5.net>
2021-12-03 08:34:38 +11:00
CraftBukkit/Spigot
215251ce7b #970: Correct typo in README.md
By: Ryan Redmon <iroleplay55@gmail.com>
2021-12-03 07:35:26 +11:00
CraftBukkit/Spigot
9f2d553877 Fix per-world worldborder command
By: md_5 <git@md-5.net>
2021-12-03 07:34:39 +11:00
CraftBukkit/Spigot
ee342addea Better preserve broken PlayerMoveEvent behaviour
By: md_5 <git@md-5.net>
2021-12-02 12:45:58 +11:00
CraftBukkit/Spigot
7dd6dfc7a4 SPIGOT-6828: <player> fell off a ladder/vines death message not supported
By: md_5 <git@md-5.net>
2021-12-02 12:29:35 +11:00
CraftBukkit/Spigot
a0201b0f02 SPIGOT-6795: Fix BlockFertilizeEvent not being triggered for Azaleas
By: Rafael S. M. Santos <eu@rafaelsms.com>
2021-12-01 08:27:58 +11:00
CraftBukkit/Spigot
cc70f18bef SPIGOT-6820: VillagerCareerChangeEvent's ChangeReason is sometimes incorrect
By: Doc <nachito94@msn.com>
2021-12-01 08:26:14 +11:00
CraftBukkit/Spigot
2492a39911 Update to Minecraft 1.18
By: md_5 <git@md-5.net>
2021-12-01 03:00:00 +11:00
CraftBukkit/Spigot
4dbb83e45d SPIGOT-6817: Revert back to old block state behaviour again
By: md_5 <git@md-5.net>
2021-11-29 11:03:16 +11:00