Commit graph

5300 commits

Author SHA1 Message Date
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
Automated
bb02d0383a [Auto] 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:
7029c0a8f SPIGOT-6311: Don't calculate portal shapes for up/down directions
2021-01-08 22:07:02 -05:00
Automated
c87a4b09d0 [Auto] Updated Upstream (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

Spigot Changes:
a56d446a #104: Fix BookMeta cloning
2021-01-08 17:47:03 -05:00
Matthew Miller
728fb4ecd4 Add API to get exact interaction point in PlayerInteractEvent (#4995) 2021-01-08 15:26:51 +10:00
Jake Potrebic
794ce0129e [CI-SKIP] Add a few missing commands to the ./paper help output 2021-01-04 08:58:50 -08: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
lukas81298
161726557c don't search for portal creation when looking down 2021-01-05 15:14:35 +01:00
Shane Freeder
bc2999f578 Print name of busted server config files 2021-01-05 11:21:03 +00:00
Jake Potrebic
2acbfb04e5 [CI-SKIP] Improved the annotation test output 2020-12-03 14:11:22 -08:00
Jake Potrebic
460e1950e7 abstract custom set tags, add entity tags 2021-01-03 20:09:42 -08:00
Jake Potrebic
fb045c7249 Added PlayerLoomPatternSelectEvent 2020-11-25 16:37:34 -08:00
Ivan Pekov
6eeef75460 Reimplement GS4QueryEvent 2020-12-09 09:21:19 +02:00
HexedHero
72d411f701 Re-add coral block tags (#4987) 2021-01-03 20:57:50 +00:00
Jake Potrebic
4048b356d0 Added PlayerLecternPageChangeEvent 2020-11-23 12:59:17 -08:00
TheViperShow
5e08466cc1 Add BlockFailedDispenseEvent
Co-authored-by: MiniDigger | Martin <admin@minidigger.dev>
2020-11-29 00:38:52 +01:00
Jake Potrebic
3ca5850362 Added world settings for mobs picking up loot 2020-11-28 18:46:44 -08:00
Jake Potrebic
d2e5086e43 Added ServerResourcesReloadedEvent 2020-12-02 20:05:09 -08:00
HexedHero
da4545f227 Add a Enchantable MaterialTag 2021-01-03 19:07:18 +01:00
Malfrador
6a78920744 Add doors to material tags 2020-12-31 19:31:35 +01:00
Jake Potrebic
d37d042ff1 colorful itemdump 2020-12-07 18:10:22 -08:00
Jake Potrebic
1c87fa89f9 Added WorldGameRuleChangeEvent 2020-12-20 16:42:33 -08:00
HexedHero
3e15f5aabc Guardian beam workaround 2020-12-31 22:45:30 +00:00
Mariell Hoversholm
542d7df36b Support spawning item stacks 2020-11-14 19:11:20 +01:00
Jake Potrebic
d0f7408554 added height config for bamboo 2020-11-11 17:48:12 -08:00
Sun
dbf1b4bf70 Use setAmount for Recipe Amount 2020-11-07 14:10:03 -08:00
Josh Roy
023ec47e68 Add EntityLoadCrossbowEvent 2020-10-07 12:04:42 -04:00
stonar96
0367dabcb2 Add Anti-Xray bypass permission
This is a frequently requested feature. The permission is
'paper.antixray.bypass'.
2020-08-07 08:11:56 +02:00
Jake Potrebic
96fc8c1353 fix for nerfed slime mobs splitting 2020-07-17 13:34:50 -07:00
Jake Potrebic
32f9130749 Zombie API - breaking doors 2020-11-18 11:33:29 -08:00
TheMolkaPL
7035d57399 Fix interact event not being called in adventure 2020-06-21 17:25:24 +02:00
MisterVector
428affde24 Add PlayerFlowerPotManipulateEvent 2019-08-13 21:47:06 -07:00
Automated
20b298c421 [Auto] 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:
ff2b9440f SPIGOT-6304: Removed the detection of legacy text based on color codes
2021-01-03 01:37:08 -05:00
Andrew Steinborn
bd0e8d65a8 Redact Velocity forwarding secret properly (#4980) 2021-01-01 23:59:30 -05:00
Automated
f57ca49118 [Auto] 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:
24c79a144 SPIGOT-6303: Interpret text that Gson considers to be an empty JSON document as legacy text.
2021-01-01 22:57:16 -05:00
Automated
edfab82971 [Auto] 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:
64c36cce #568: Added get/set ItemStack methods to trident

CraftBukkit Changes:
f1187a24c #778: Added get/set ItemStack methods to trident
2021-01-01 17:17:25 -05:00
Automated
3aa776c19f [Auto] 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:
fa6d549d9 Update SQLite for Mac M1 support
2021-01-01 16:52:34 -05:00
Jason Penilla
c7a5aadb36 JavaDoc fixes
Remove duplicate JavaDocs - At some point upstream decided to fix some of their JD errors/warnings, so now we have duplicate tags, bringing new warnings.
Also add missing `@param` for ItemStack.deserializeBytes
2020-12-19 01:39:37 -08:00
BrodyBeckwith
8902bc3512 Allow disabling mob spawner spawn egg transformation 2020-10-09 20:35:57 -04:00
lukas81298
0e12991f69 Cache burn durations 2020-12-27 23:00:27 +01:00
lukas81298
3f56fafda8 Optimized tick ready check 2020-12-29 14:14:43 +01:00
Matthew Miller
fffed3cf0a Add API to get the Material of Boats and Minecarts 2020-12-31 12:51:43 +10:00
Mariell Hoversholm
5a8ce7f006 Fix sign lazy initialisation
Fixes PaperMC/Paper#4975
2021-01-01 14:35:38 +01:00
Jake Potrebic
e11560e965 Updated Upstream (CraftBukkit/Spigot) (#4972)
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:
560b65c4 #707, SPIGOT-5063, SPIGOT-5304, SPIGOT-5656, SPIGOT-3206, SPIGOT-5350, SPIGOT-5980, SPIGOT-4672: Persist the exact internal text representation where possible.

Spigot Changes:
ff439d1e Rebuild patches
2020-12-31 20:03:19 -08:00
Riley Park
b1d8fe74c4 [CI-SKIP] Use GitHub Actions for build status
fixes #4971
2020-12-31 12:56:55 -08:00
PepperCode1
2e7b860b56 Fix harming potion dupe
EntityLiving#applyInstantEffect() immediately kills the player and drops their inventory.
Before this patch, instant effects would be applied before the potion ItemStack is removed and replaced with a glass bottle. This caused the potion ItemStack to be dropped before it was supposed to be removed from the inventory. It also caused the glass bottle to be put into a dead player's inventory.
This patch makes it so that instant effects are applied after the potion ItemStack is removed, and the glass bottle is only put into the player's inventory if the player is not dead. Otherwise, the glass bottle is dropped on the ground.
2020-07-23 14:29:02 -07:00
Aikar
8147d0ec71 Additional Block Material API's
Faster version for isSolid() that utilizes NMS's state for isSolid instead of the slower
process to do this in the Bukkit API

Material#isSolid uses a large switch statement which isn't as performant vs a simple boolean return

Adds API for buildable, replaceable, burnable too.
2020-12-30 19:43:45 -05:00
Aikar
eee1fedc1e Micro Optimize DataBits
There was 2 unnecessary lines of code in a core method used for DataBits
that repeatedly calculated a static value.

We now just precalculate that in the constructor and reuse the value instead.

This is a micro optimization, but this is some of the hottest code in the server so
it should provide some minor gains as well as improve inlining.

Additionally, to further help inlining, mark the DataBits methods as final.
2020-12-30 14:02:44 -05:00