Spottedleaf
ac687d7ecb
Fix PlayerDropItemEvent using wrong item
2021-06-20 21:55:59 -07:00
Jake Potrebic
0bf80e49be
Fix potions splash events
...
Fix PotionSplashEvent for water splash potions
Fixes SPIGOT-6221: https://hub.spigotmc.org/jira/projects/SPIGOT/issues/SPIGOT-6221
Fix splash events cancellation that still show particles/sound
2021-05-20 20:40:53 -07:00
TwoLeggedCat
750a4590ce
Line Of Sight Changes
2021-05-29 14:33:25 -05:00
Aikar
c002a90053
Optimize Biome Mob Lookups for Mob Spawning
...
Uses an EnumMap as well as a Set paired List for O(1) contains calls.
2018-09-12 21:47:01 -04:00
Owen1212055
f67092fe39
Add ElderGuardianAppearanceEvent
2021-03-19 23:39:09 -04:00
Max Lee
4198f9a836
Fix invulnerable end crystals
...
MC-108513
2021-05-27 14:52:30 -07:00
Owen1212055
16ad983f5c
Add BellRevealRaiderEvent
2021-05-26 17:09:07 -04:00
GioSDA
c9533ae126
Add option to fix items merging through walls
2021-03-10 10:06:45 -08:00
Aikar
c4f8064fb9
Synchronize PalettedContainer instead of ThreadingDetector/Semaphore
...
Mojang has flaws in their logic about chunks being concurrently
wrote to. So we constantly see crashes around multiple threads writing.
Additionally, java has optimized synchronization so well that its
in many times faster than trying to manage read write locks for low
contention situations.
And this is extremely a low contention situation.
2020-05-29 20:29:02 -04:00
Jake Potrebic
e86b844e04
Fix PlayerBucketEmptyEvent result itemstack
...
Fixes SPIGOT-2560: https://hub.spigotmc.org/jira/projects/SPIGOT/issues/SPIGOT-2560
2021-05-20 22:16:37 -07:00
HexedHero
37143dae29
Add PufferFishStateChangeEvent
2021-05-10 16:59:05 +01:00
Jake Potrebic
75225eb102
Add PlayerKickEvent causes
2021-05-15 20:30:45 -07:00
Yive
e8cb0ac761
Limit item frame cursors on maps
2021-05-26 15:09:33 -07:00
Jake Potrebic
f61b2947ad
Add cause to Weather/ThunderChangeEvents
2020-12-02 18:23:26 -08:00
Jake Potrebic
eb675d9110
Add EntityInsideBlockEvent
2021-05-08 18:02:36 -07:00
Andrew Steinborn
cc2c25ba55
Add Unix domain socket support
2021-05-11 17:39:22 -04:00
Jake Potrebic
15d02795ea
Correctly check if bucket dispenses will succeed for event
...
Upstream incorrectly checks if the bucket place will succeed
in order to fire the BlockDispenseEvent. This patch corrects
that.
2024-01-01 12:57:19 -08:00
Nassim Jahnke
5392798da4
Move range check for block placing up
2022-06-08 10:52:18 +02:00
Jake Potrebic
d6b69e74a9
Expand PlayerGameModeChangeEvent
2021-05-15 10:04:43 -07:00
Riley Park
64365b4218
Add environment variable to disable server gui
2021-05-17 00:34:55 -07:00
MeFisto94
637bb9a05d
Add a "should burn in sunlight" API for Phantoms and Skeletons
2021-05-11 00:48:33 +02:00
Alvinn8
556bc3e8b5
Add Adventure message to PlayerAdvancementDoneEvent
2021-01-08 20:31:13 +01:00
Owen1212055
f24aec2051
Add EntityBlockStorage#clearEntities()
2021-04-05 18:12:29 -04:00
HexedHero
2329a7b1c8
Add more WanderingTrader API
2021-05-06 14:56:43 +01:00
Shane Freeder
6949e999eb
Send empty commands if tab completion is disabled
2021-04-26 01:27:08 +01:00
Nassim Jahnke
3ab2001afb
Add Channel initialization listeners
2021-04-29 21:19:33 +02:00
Spyridon Pagkalos
639cb2d6aa
Introduce beacon activation/deactivation events
2021-03-25 20:28:04 +02:00
HexedHero
73239b4aa7
Expand PlayerRespawnEvent, fix passed parameter issues
...
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2021-04-23 22:42:42 +01:00
Jason Penilla
b9cab64e46
Implement methods to convert between Component and Brigadier's Message
2021-04-24 02:09:32 -07:00
Jake Potrebic
472880fdde
Add PlayerBedFailEnterEvent
2020-12-24 12:27:41 -08:00
Jake Potrebic
bb4539d223
Add PlayerDeepSleepEvent
2021-04-21 15:58:19 -07:00
chickeneer
a3c944c37b
fix PlayerItemHeldEvent firing twice
2021-04-22 19:02:07 -07:00
Trigary
83afbd0e3b
fix PigZombieAngerEvent cancellation
2021-03-18 21:38:01 +01:00
Jake Potrebic
8683cde7c0
add consumeFuel to FurnaceBurnEvent
2021-04-22 16:45:28 -07:00
Shane Freeder
635832cc39
Add bypass host check
...
Paper.bypassHostCheck
Seriously, fix your firewalls. -.-
2021-04-18 21:27:01 +01:00
chickeneer
3ab3613d10
Fix PlayerItemConsumeEvent cancelling properly
...
When the active item is not cleared, the item is still readied
for use and will repeatedly trigger the PlayerItemConsumeEvent
till their item is switched.
This patch clears the active item when the event is cancelled
2021-03-19 00:33:15 -05:00
Jason Penilla
a6eda6cb37
Enhance console tab completions for brigadier commands
...
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2021-03-30 16:06:08 -07:00
Jason Penilla
273355e28c
Don't ignore result of PlayerEditBookEvent
2021-04-05 18:35:15 -07:00
Trigary
f2e70c48f9
forced whitelist: use configurable kick message
2021-03-27 09:24:23 +01:00
Dmitry Sidorov
06ee0e08d7
Drop carried item when player has disconnected
...
Fixes disappearance of held items, when a player gets disconnected and PlayerDropItemEvent is cancelled.
Closes #5036
2021-02-04 20:32:01 +03:00
Irmo van den Berge
28e1766b3b
Add fast alternative constructor for Rotations
2021-03-10 21:26:31 +01:00
Anton Lindroth
a032df8427
Allow using signs inside spawn protection
2020-04-15 01:54:02 +02:00
Thonk
a9cee72542
Add recipe to cook events
2021-01-06 12:04:03 -08:00
Jake Potrebic
000882670b
Add PlayerNameEntityEvent
2020-07-05 00:33:54 -07:00
Jake Potrebic
eed0bcb63d
Add worldborder events
2021-01-04 22:40:34 -08:00
Jake Potrebic
bf99953fa0
fix converting txt to json file
2021-01-04 19:49:15 -08:00
AlexProgrammerDE
73deb32107
Improve ServerGUI
...
- Added logo to server frame
- Show tps in the server stats
2020-10-03 08:27:40 +02:00
ysl3000
6b65e03d85
living entity allow attribute registration
2020-10-24 16:37:44 +02:00
Andrew Steinborn
1d6a99b50b
Inline shift direction fields
...
Removes a layer of indirection for EnumDirection.getAdjacent(X|Y|Z)(), which is in the
critical section for much of the server, including the lighting engine.
2021-01-18 20:45:25 -05:00
lukas81298
9ba22a1143
added option to disable pathfinding updates on block changes
2021-01-25 14:37:57 +01:00
William Blake Galbreath
48c492c4d1
Add EntityMoveEvent
2020-02-11 21:56:48 -06:00
Trigary
6f6ed7acb9
Add DragonEggFormEvent
2021-01-25 14:53:57 +01:00
Yive
e3b367dcae
Reset shield blocking on dimension change
2021-01-24 08:55:19 -08:00
Nassim Jahnke
a85863338c
Expand EntityUnleashEvent
2021-01-29 15:13:11 +01:00
Jake Potrebic
1292627c18
Add PlayerStonecutterRecipeSelectEvent
...
Co-Authored-By: MiniDigger | Martin <admin@benndorf.dev>
2020-11-27 17:14:27 -08:00
William Blake Galbreath
d4892b5c73
Add toggle for always placing the dragon egg
2020-11-26 11:47:24 +00:00
Jake Potrebic
92507ca231
Add PlayerChangeBeaconEffectEvent
2020-06-24 15:14:51 -06:00
Madeline Miller
b69f8fb10b
Add BlockPreDispenseEvent
2021-01-17 13:16:09 +10:00
Jake Potrebic
cd4969468c
Configurable max leash distance
2021-01-03 21:04:03 -08:00
Jake Potrebic
0faa210781
Make schedule command per-world
2021-01-04 19:52:44 -08:00
CDFN
3daa3905f0
Return chat component with empty text instead of throwing exception
2020-07-07 17:53:23 +02:00
Mariell Hoversholm
df6902585c
Collision option for requiring a player participant
2020-11-14 16:48:37 +01:00
dfsek
33a7c0284d
Add StructuresLocateEvent
...
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2020-09-16 01:12:29 -07:00
Jake Potrebic
239e7a6b37
Add RegistryAccess for managing Registries
...
RegistryAccess is independant from CraftServer and
doesn't require one to be created allowing the
org.bukkit.Registry class to be loaded earlier.
== AT ==
public net.minecraft.server.RegistryLayer STATIC_ACCESS
2023-02-27 18:28:39 -08:00
Mariell Hoversholm
23b8639dbf
Add sendOpLevel API
2020-12-29 15:03:03 +01:00
Jason Penilla
921d396ffa
Fix villager boat exploit
2021-01-11 12:43:51 -08:00
Shane Freeder
cabf9f914d
Remove stale POIs
2021-01-09 14:17:07 +01:00
Mariell Hoversholm
6ba5436a48
Empty commands shall not be dispatched
2021-01-06 23:38:43 +01:00
Jake Potrebic
36020d6749
Configurable door breaking difficulty
...
== AT ==
public net.minecraft.world.entity.monster.Vindicator DOOR_BREAKING_PREDICATE
public net.minecraft.world.entity.monster.Zombie DOOR_BREAKING_PREDICATE
Co-authored-by: Doc <nachito94@msn.com>
2021-01-03 22:27:43 -08:00
Jake Potrebic
55c56acfc0
Add PlayerLoomPatternSelectEvent
2020-11-25 16:33:27 -08:00
Jake Potrebic
4054b19800
Add PlayerLecternPageChangeEvent
2020-11-23 12:58:51 -08:00
TheViperShow
36eff9b616
Add BlockFailedDispenseEvent
2020-04-22 09:40:38 +02:00
Jake Potrebic
84d13a09ca
Add world settings for mobs picking up loot
2020-11-28 18:43:52 -08:00
Jake Potrebic
1245e2a0de
Add ServerResourcesReloadedEvent
2020-12-02 20:04:01 -08:00
Jake Potrebic
1e05072232
Add WorldGameRuleChangeEvent
2020-12-20 16:41:44 -08:00
JRoy
e793c7d8be
Add EntityLoadCrossbowEvent
2020-10-07 12:04:01 -04:00
Jake Potrebic
2ff5ce988f
Fix nerfed slime when splitting
2020-08-24 08:39:06 -07:00
TheMolkaPL
40789b9ca7
Fix interact event not being called sometimes
...
* Call PlayerInteractEvent when left-clicking on a block in adventure
mode.
* Call PlayerInteractEvent when left-clicking an Entity that is out of
range in adventure/survival (entity reach is 3.0).
Co-authored-by: Moulberry <james.jenour@protonmail.com>
2020-06-21 17:21:46 +02:00
MisterVector
a5f9a41152
Add PlayerFlowerPotManipulateEvent
2019-08-13 19:45:06 -07:00
Aikar
397d058748
Fix "Not a string" Map Conversion spam
...
The maps did convert successfully, but had noisy logs due to Spigot
implementing this logic incorrectly.
This stops the spam by converting the old format to new before
requesting the world.
Track spigot issue to see when fixed: https://hub.spigotmc.org/jira/browse/SPIGOT-6181
2020-10-08 00:00:25 -04:00
BrodyBeckwith
870ed90a9a
Allow disabling mob spawner spawn egg transformation
2020-10-09 20:30:12 -04:00
Madeline Miller
38ea31d1cb
API to get Material from Boats and Minecarts
...
== AT ==
public net.minecraft.world.entity.vehicle.AbstractBoat getDropItem()Lnet/minecraft/world/item/Item;
2020-12-31 12:48:19 +10:00
BillyGalbreath
d9c0a60246
MC-4: Fix item position desync
...
This fixes item position desync (MC-4) by running the item coordinates
through the encode/decode methods of the packet that causes the precision
loss, which forces the server to lose the same precision as the client
keeping them in sync.
2020-12-08 20:24:52 -06:00
Jason Penilla
c4dc717563
Add TargetHitEvent
2020-11-25 23:20:44 -08:00
Shane Freeder
5b7474984b
Fix crash from invalid ingredient lists in VillagerAcquireTradeEvent
2020-12-27 11:31:06 +00:00
Mark Vainomaa
1cedeb97af
Expose LivingEntity hurt direction
2020-12-13 05:32:05 +02:00
ysl3000
e32901791b
Player Chunk Load/Unload Events
2020-10-05 21:25:16 +02:00
Shane Freeder
1f21f3032b
Limit recipe packets
2020-12-12 23:45:28 +00:00
JRoy
661fc1e52e
Add PlayerShearBlockEvent
2020-08-27 15:02:48 -04:00
William Blake Galbreath
22069fd885
Climbing should not bypass cramming gamerule
2020-08-23 20:59:00 +02:00
SuperCoder7979
e1ec33acb3
Significantly improve performance of the end generation
...
This patch implements a noise cache for the end which significantly reduces the computation time of generation. This results in about a 3x improvement.
Original code by SuperCoder7979 and Gegy in Lithium, licensed under LGPL-3.0 (Source: https://github.com/jellysquid3/lithium-fabric )
Co-authored-by: Gegy <gegy1000@gmail.com>
Co-authored-by: Dylan Xaldin <Puremin0rez515@gmail.com>
Co-authored-by: pop4959 <pop4959@gmail.com>
2020-11-03 23:48:05 -06:00
Nassim Jahnke
d1d54d35bf
Add PlayerItemCooldownEvent
2020-08-25 13:48:33 +02:00
Ineusia
c068010b34
Add Destroy Speed API
...
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2020-10-26 11:48:06 -05:00
Jason Penilla
93f14c745c
Add Wandering Trader spawn rate config options
...
Adds config options for modifying the spawn rates of Wandering Traders.
These values are all easy to understand and configure after a quick read of this
page on the Minecraft wiki: https://minecraft.wiki/wiki/Wandering_Trader#Spawning
Usages of the vanilla WanderingTraderSpawnDelay and WanderingTraderSpawnChance values
in IWorldServerData are removed as they were only used in certain places, with hardcoded
values used in other places.
2020-08-20 11:20:12 -07:00
Mariell Hoversholm
4b0e4655fd
Add API for quit reason
2020-11-14 16:19:52 +01:00
Jake Potrebic
5b1f73e2dc
Beacon API - custom effect ranges
2020-06-24 12:39:08 -06:00
Mariell Hoversholm
c8ba4fb789
Toggle for removing existing dragon
2020-09-30 22:49:14 +02:00
Mariell Hoversholm
8bac10ce5e
Add ignore discounts API
2020-11-09 20:44:51 +01:00
Toon Schoenmakers
69fa242c6a
Avoid error bubbling up when item stack is empty in fishing loot
...
This can realistically only happen if there's custom loot active on fishing
which can return 0 items. This would disconnect the player who's fishing.
2020-10-23 15:01:44 +02:00
giacomo
053db61214
Fix bell block entity memory leak
...
BellBlockEntity has a list of entities (entitiesAtRing) that was not being cleared at the right time, causing leaks whenever a bell would be rung near a crowd of entities.
2020-10-10 12:15:33 +02:00