Commit Graph

2946 Commits

Author SHA1 Message Date
Aleksander Jagiello
3b47c76275 Add getMainThreadExecutor to BukkitScheduler 2021-01-28 21:01:25 +01:00
BillyGalbreath
cf323f5eaa Allow adding items to BlockDropItemEvent (#5093) 2021-01-30 10:09:13 -06:00
Andrew Steinborn
2f5eaee571 Inline shift fields in EnumDirection (#5082) 2021-01-30 10:40:34 -05:00
Lukas Alt
0718db9f9a added option to disable pathfinding updates on block changes (#5123) 2021-01-30 16:34:38 +01:00
Gergely Sarkozi
26d832041b add DragonEggFormEvent (fixes #5110) (#5112) 2021-01-30 16:22:12 +01:00
Nassim Jahnke
8c0bedeefc Add dropLeash variable to EntityUnleashEvent (#5130) 2021-01-30 14:23:15 +01:00
BillyGalbreath
3ad49543fd EntityMoveEvent (#4614) 2021-01-28 13:26:20 -06:00
Jake Potrebic
89e37e5701 Updated Upstream (CraftBukkit/Spigot) (#5119)
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

CraftBukkit Changes:
c3e684ef SPIGOT-3789: Can't Remove Entity Equipment in Same Tick Spawned without using Consumer

Spigot Changes:
89d6047d Rebuild patches
2021-01-26 20:22:32 -08:00
Yive
5aad4e59c9 Reset shield blocking on dimension change 2021-01-24 08:57:16 -08:00
Beech Horn
0ce0eaf3eb Skip distance map update when spawning is disabled 2020-02-14 19:47:05 +00:00
Jake Potrebic
a797fca1b9 Added PlayerStonecutterRecipeSelectEvent
Co-Authored-By: MiniDigger | Martin <admin@minidigger.dev>
2020-11-27 17:15:15 -08:00
HexedHero
6be762e8dd Add toggle for always placing the dragon egg 2020-11-26 12:11:05 +00:00
Jake Potrebic
637562df58 Updated Upstream (Bukkit/CraftBukkit)
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:
e70a125f #571: Expand the FishHook API

CraftBukkit Changes:
0bad58f1 #783: Expand the FishHook API
3636fb51 SPIGOT-6318: Fix smoke effect directions
2021-01-22 21:23:36 -08:00
Matthew Miller
baeb3a378d Add BlockPreDispenseEvent (#5075) 2021-01-20 08:55:25 +10:00
Andrew Steinborn
637e21957f Correctly skip pathfinder ticks for inactive entities (#5085)
Fixes #5083
2021-01-19 17:51:14 -05:00
HexedHero
bf5118006b Fix console spam when removing chests in water 2020-11-19 02:13:58 +00:00
Jake Potrebic
f3a0cb334c Add PlayerChangeBeaconEffectEvent
Signed-off-by: MiniDigger | Martin <admin@minidigger.dev>
2021-01-17 21:21:31 +01:00
Jake Potrebic
d15c9fa319 added Wither API 2020-07-05 15:41:43 -07:00
Jake Potrebic
42bf970756 Added Vanilla Entity Tags 2021-01-03 20:04:29 -08:00
Jake Potrebic
747df59714 fix NPE in getDisplayNameComponent 2021-01-05 10:43:26 -08:00
Jake Potrebic
98b98a8c27 Configurable max leash distance 2021-01-03 21:04:46 -08:00
Jason Penilla
6a84ae3d30 Do not add passengers of entities that were above save limit (#5073)
Co-authored-by: Spottedleaf <spottedleaf@spottedleaf.dev>
2021-01-16 16:05:33 -08:00
Aikar
8206c325a2 Remove class 13 from netty preload - Fixes #5066
We apparently were mixing netty versions before, and 13 was removed from netty 4.1.50
but when cat fixed a bug in our pom in 1.16.5 it fixed the mixed versions issue.
2021-01-16 14:36:27 -05:00
Aikar
fe7ff11c9f Make ProjectileHitEvent Cancellable
Allows cancelling things like detonating TNT from Fire Arrows
2021-01-16 14:31:14 -05:00
Jake Potrebic
00664f31de make schedule command per world 2021-01-04 19:53:36 -08:00
CDFN
91e25d490a Return chat component with empty text instead of throwing exception. Fixes #3328
Signed-off-by: MiniDigger | Martin <admin@minidigger.dev>
2021-01-16 20:10:42 +01:00
Mariell Hoversholm
03168769b9 Collision option for requiring a player participant
Closes #614.
2020-11-14 16:49:03 +01:00
dfsek
6a7a138ca4 Add StructureLocateEvent
Signed-off-by: MiniDigger | Martin <admin@minidigger.dev>
2021-01-16 18:21:05 +01:00
Mariell Hoversholm
08145dcb9d Add sendOpLevel API 2020-12-29 15:04:24 +01:00
Shane Freeder
4e38844029 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:
85b16b8a Update to Minecraft 1.16.5

CraftBukkit Changes:
f3f30947 Update to Minecraft 1.16.5

Spigot Changes:
018b9a0d Update to Minecraft 1.16.5
2021-01-16 02:18:08 +00:00
Jason Penilla
9db95fbc63 Improve zombie villager curing exploit fix (#5054)
Instead of completely resetting a Villager's reputation for all players each time they are cured, we now only reset the relevant part of the reputation for only that player. This means the exploit is fixed and players cannot stack multiple cures until prices are down to 1, but doesn't have the same side effects that are commonly complained about with the current exploit fix.
2021-01-15 09:40:10 -08:00
Shane Freeder
7d3b9c9bc0 Updated Upstream (CraftBukkit)
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

CraftBukkit Changes:
7a6c3c9a Remove outdated build delay.
2021-01-15 16:28:53 +00:00
Shane Freeder
2da0e4a287 EntityLoadCrossbowEvent#shouldConsumeItem 2021-01-14 15:53:42 +00:00
Jason Penilla
e1e887ac1e Add a config option to limit the number of entities of each type to load/save in a chunk (#4792) 2021-01-13 16:04:51 -08:00
Shane Freeder
8bd708eac7 Move logic from last patch into correct place 2021-01-13 21:31:51 +00:00
Shane Freeder
ccd254077b disable entity ticking flag after watchdog obliteration 2021-01-13 21:29:05 +00:00
Jake Potrebic
f3cfe62211 Updated Upstream (Bukkit/Spigot) (#5048)
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:
bf617659 SPIGOT-6313: Revert "SPIGOT-6274: Reloading configuration does not clear previous values"
e8fa7a07 SPIGOT-6274: Reloading configuration does not clear previous values

Spigot Changes:
5fc0fb4e SPIGOT-6306: Handle watchdog reloads and disabling by 0/negative times
2021-01-12 12:06:27 -08:00
Jason Penilla
c762d416c5 Fix villager boat exploit (#5047) 2021-01-11 13:23:11 -08:00
Shane Freeder
630fa37394 Properly track block update flags (actually fixes #5038) 2021-01-11 19:08:03 +00:00
Shane Freeder
2b06877898 Fix debug stick update suppression (Fixes #5038) 2021-01-11 16:45:37 +00:00
Josh Roy
23c21fc4bf Fix dumpitem command not checking sender (#5025) 2021-01-10 20:49:50 -05:00
Shane Freeder
c92072e21d nerf nether search radius config (#4781) 2021-01-11 01:44:06 +00:00
Shane Freeder
8a917b49f4 clone POI blockpos before dispatching 2021-01-10 18:36:38 +00:00
Aikar
1105e1ec76 Optimize Loaded Chunks Cache Lookups
Reduces number of instructions a chunk lookup does
when accessing the last chunk cache. This reduces amount of work and opcodes
and allows better inlining.

In lots of profiling comparisons, this optimization was able to reduce the
cost of repeated chunk lookups that hit the cache pretty significantly.
2021-01-09 18:09:09 -05:00
Shane Freeder
442fa32443 Ensure POI removal occurs on the correct thread 2021-01-09 13:32:26 +00:00
Shane Freeder
3a358f7e70 Remove stale POIs 2021-01-09 14:19:17 +01:00
Prof-Bloodstone
f11f1f32f5 Remove patch for not searching for portal creation when looking down (#5031)
Previous commit bb02d0383 pulled upstream change that implements the exact same fix.

CB change: 7029c0a8f3

Co-authored-by: Professor Bloodstone <git@bloodstone.dev>
2021-01-09 12:28:28 +01:00
Matthew Miller
728fb4ecd4 Add API to get exact interaction point in PlayerInteractEvent (#4995) 2021-01-08 15:26:51 +10:00
Mariell Hoversholm
f463a0b97c Empty commands shall not be dispatched
Fixes PaperMC/Paper#5018.
2021-01-06 23:41:42 +01:00
Jake Potrebic
1b82f95755 Configurable door breaking difficulty 2021-01-03 22:28:18 -08:00