Commit Graph
45 Commits
Author SHA1 Message Date
Josh Roy f836a8d8b0 [ci skip] chore: change paste.gg links to mclo.gs (#11629) 2024-11-17 13:46:43 -05:00
Josh Roy 166dc90e1c Remove CraftItemStack#setAmount null assignment (#8807)
This creates a problem with Paper's item serialization
api where deserialized items, which are internally
created as a CraftItemStack, will be completely lost if
#setAmount(0) is invoked (since the underlying handle
is set to null), while a regular Bukkit ItemStack
simply sets the amount field to zero, retaining the
item's data.

Vanilla treats items with zero amounts the same as items
with less than zero amounts, so this code doesn't create
a problem with operations on the vanilla ItemStack.
2023-01-24 09:30:51 -05:00
Josh RoyandThonk 89ee9379b2 Add NamespacedKey biome methods
Co-authored-by: Thonk <30448663+ExcessiveAmountsOfZombies@users.noreply.github.com>
2022-08-14 12:23:57 -04:00
Josh Roy a7ca38de1f Fix Player#chat kicking all clients (#8262) 2022-08-08 03:31:10 -04:00
Josh Roy ba31ce5451 Update Adventure to 4.11.0 and implement ComponentLogger (#7937) 2022-06-12 17:07:40 -04:00
Josh Roy cc1f56d99e Fix ABI breakage for plainSerializer (#7178) 2021-12-22 17:56:37 -05:00
Josh Roy 04ca580aa6 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:
716b4fce Revert SnakeYAML upgrade
ca6f8942 Update to Minecraft 1.18-rc3
57e7e952 #683: Add Player#showDemoScreen

CraftBukkit Changes:
c98abfb0 Update to Minecraft 1.18-rc3
9b258501 #960: Add Player#showDemoScreen
d9542247 Produce remapped jars after bootstrap jar
99f3ddde SPIGOT-6808: Fix RegionAccessor#getBiome

Spigot Changes:
b7a4222e Update to Minecraft 1.18-rc3
2021-11-26 17:58:39 -05:00
Josh Roy 9019aab535 more i guess pepeW 2021-11-24 21:35:24 -05:00
Josh Roy 8868dd196d all api patches done*
*still waiting for leaf to port datafixer to 1.18 so i can do entity serialization
2021-11-24 20:24:51 -05:00
Josh Roy 82ac70466e 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:
a58fde42 Fix crash with composters
a11ec5d7 Remove unnecessary CraftBlock creation in CraftRegionAccessor#setBlock
2021-11-23 18:07:41 -05:00
Josh Roy 91961de7c2 More more more more more more more more more work 2021-11-23 18:06:05 -05:00
Josh Roy 11f73c13b5 More more more more more more more more work 2021-11-23 16:40:37 -05:00
Josh Roy 7b4162e1f2 these aren't needed 2021-11-23 16:24:26 -05:00
Josh Roy cd161c51c5 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:
ea30a299 Add docs in ServerListPingEvent based on changes from 1.18

CraftBukkit Changes:
03f249f0 Generate bootstrap jar separately
3b214b5a SPIGOT-6803: Fix ServerPing not using the new logic for show players in 1.18

Spigot Changes:
c07753b0 Rebuild patches
2021-11-23 16:11:33 -05:00
Josh Royandzombachu 01d9107641 Add config option to enable hopper occluding blocks (#6896)
Co-authored-by: zombachu <zombachu@gmail.com>
2021-11-20 14:15:36 -05:00
Josh RoyandJan Tuck b119833e39 Fix AnvilPrepareEvent not working with zero xp (#6895)
Co-authored-by: Jan Tuck <jan@tuck.dk>
2021-11-20 14:09:19 -05:00
Josh Roy d19cd1ac56 Add Raw Byte Entity Serialization (#6826) 2021-11-10 21:53:27 -05:00
Josh Roy 983b5e1680 need to look at this later, fails rn 2021-06-14 06:47:04 -07:00
Josh Roy c5794c5351 even MOAR progress 2021-06-14 06:45:16 -07:00
Josh Roy b881670015 Fix timings sometimes incorrectly marking commands (#5783) 2021-06-06 15:04:43 -04:00
Josh RoyandSpottedleaf 612f3e137a Fix dangerous end portal logic (#5776)
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2021-06-04 17:58:45 -04:00
Josh Roy 730eb6c014 Updated Upstream (CraftBukkit) (#5484)
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:
6b8cd9a7 SPIGOT-6207: forcibly drop the items of a converted zombie villager
2021-04-11 21:03:08 -04:00
Josh Roy 55421b2226 Updated Upstream (Bukkit) (#5359)
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:
c589f546 Use upstream plexus-compiler-eclipse
2021-03-14 15:35:51 -04:00
Josh Roy 8a65e6b959 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5325)
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:
d264e972 #591: Add option for a consumer before spawning an item
1c537fce #590: Add spawn and transform reasons for piglin zombification.

CraftBukkit Changes:
ee5006d1 #810: Add option for a consumer before spawning an item
f6a39d3c #809: Add spawn and transform reasons for piglin zombification.
0c24068a Organise imports

Spigot Changes:
bff52619 Organise imports
2021-03-08 18:12:31 -05:00
Josh Roy 53f27183bf Updated Upstream (Bukkit/CraftBukkit/Spigot) (#5299)
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:
9d0ad318 Fix javadoc errors in previous commits
9501daa2 #578: Add methods to modify the rate of regeneration and starvation
197d8f3d #577: Add EntityExhaustionEvent

CraftBukkit Changes:
a021e334 #795: Add methods to modify the rate of regeneration and starvation
509e523c #792: Add EntityExhaustionEvent

Spigot Changes:
db99f821 Rebuild patches
2021-03-03 17:43:45 -05:00
Josh Roy fb41a4b95e Fix further issues with rgb text pattern matching 2021-02-25 13:27:15 -05:00
Josh Roy cd60d3a8f9 Fix Log4J converter not parsing hex without named colors (#5228) 2021-02-22 21:43:05 -05:00
Josh Roy 8bafdd49dc Add support for hex color codes in console 2021-02-20 13:12:58 -05:00
Josh Roy 23c21fc4bf Fix dumpitem command not checking sender (#5025) 2021-01-10 20:49:50 -05:00
Josh Roy 023ec47e68 Add EntityLoadCrossbowEvent 2020-10-07 12:04:42 -04:00
Josh Roy 209f04eab2 Add PlayerShearBlockEvent 2020-08-27 15:39:24 -04:00
Josh Roy 603d4bb5a6 Fix cast check (#4813) 2020-11-27 13:07:41 -05:00
Josh Roy e7375f54fe Add additional open container api to HumanEntity 2020-08-26 02:30:08 -04:00
Josh Roy a9c8e493d3 Fix NPE in getBedSpawnLocation (#4238) 2020-08-30 13:59:14 -04:00
Josh Roy b1e247dea7 Fix hex colors not working in some kick messages 2020-08-27 16:58:27 -04:00
Josh Roy c7f57cff99 Fix SPIGOT-5989 (#3920) 2020-07-17 12:49:50 -04:00
Josh Roy 0ad44580b3 Remove streams from classes related to villager gossip (#3748) 2020-07-04 21:31:58 -04:00
Josh Roy a03c4deb10 [1.16] Remove some streams from structures (#3704)
This showed up a lot in the spark profiler, should have a low-medium performance improvement.
2020-07-01 09:53:16 -04:00
Josh RoyandLordKorea ce5e21f683 Add and implement PlayerRecipeBookClickEvent (#3351)
Co-authored-by: LordKorea <lk97798@posteo.net>
2020-06-23 00:33:08 -04:00
Josh Roy c5b5820901 Add unsupported-settings section to config (piston tnt dupe config option) (#3565) 2020-06-15 12:29:39 -04:00
Josh RoyandThonk 49b56fd1fb Add NamespacedKey biome methods
Co-authored-by: Thonk <30448663+ExcessiveAmountsOfZombies@users.noreply.github.com>
2022-08-14 12:22:54 -04:00
Josh RoyandThonk ebdde69c39 Add NamespacedKey biome methods
Co-authored-by: Thonk <30448663+ExcessiveAmountsOfZombies@users.noreply.github.com>
2022-08-14 12:23:11 -04:00
Josh Roy 0219f4acd4 Fix NPE when temp ip bans expire (#3373) 2020-05-16 23:26:49 -04:00
Josh Roy 6df55d9c05 Potential bed api (#3339) 2020-05-11 00:19:04 -04:00
Josh Roy 4042fd2067 Add API MinecraftServer#isStopping (#3129) 2020-04-11 01:51:35 -04:00