Commit Graph

812 Commits

Author SHA1 Message Date
472880fdde Add PlayerBedFailEnterEvent 2020-12-24 12:27:41 -08:00
bb4539d223 Add PlayerDeepSleepEvent 2021-04-21 15:58:19 -07:00
a3c944c37b fix PlayerItemHeldEvent firing twice 2021-04-22 19:02:07 -07:00
83afbd0e3b fix PigZombieAngerEvent cancellation 2021-03-18 21:38:01 +01:00
8683cde7c0 add consumeFuel to FurnaceBurnEvent 2021-04-22 16:45:28 -07:00
635832cc39 Add bypass host check
Paper.bypassHostCheck

Seriously, fix your firewalls. -.-
2021-04-18 21:27:01 +01:00
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
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
273355e28c Don't ignore result of PlayerEditBookEvent 2021-04-05 18:35:15 -07:00
f2e70c48f9 forced whitelist: use configurable kick message 2021-03-27 09:24:23 +01:00
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
28e1766b3b Add fast alternative constructor for Rotations 2021-03-10 21:26:31 +01:00
a032df8427 Allow using signs inside spawn protection 2020-04-15 01:54:02 +02:00
a9cee72542 Add recipe to cook events 2021-01-06 12:04:03 -08:00
000882670b Add PlayerNameEntityEvent 2020-07-05 00:33:54 -07:00
eed0bcb63d Add worldborder events 2021-01-04 22:40:34 -08:00
bf99953fa0 fix converting txt to json file 2021-01-04 19:49:15 -08:00
73deb32107 Improve ServerGUI
- Added logo to server frame
- Show tps in the server stats
2020-10-03 08:27:40 +02:00
6b65e03d85 living entity allow attribute registration 2020-10-24 16:37:44 +02:00
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
9ba22a1143 added option to disable pathfinding updates on block changes 2021-01-25 14:37:57 +01:00
48c492c4d1 Add EntityMoveEvent 2020-02-11 21:56:48 -06:00
6f6ed7acb9 Add DragonEggFormEvent 2021-01-25 14:53:57 +01:00
e3b367dcae Reset shield blocking on dimension change 2021-01-24 08:55:19 -08:00
a85863338c Expand EntityUnleashEvent 2021-01-29 15:13:11 +01:00
1292627c18 Add PlayerStonecutterRecipeSelectEvent
Co-Authored-By: MiniDigger | Martin <admin@benndorf.dev>
2020-11-27 17:14:27 -08:00
d4892b5c73 Add toggle for always placing the dragon egg 2020-11-26 11:47:24 +00:00
92507ca231 Add PlayerChangeBeaconEffectEvent 2020-06-24 15:14:51 -06:00
b69f8fb10b Add BlockPreDispenseEvent 2021-01-17 13:16:09 +10:00
cd4969468c Configurable max leash distance 2021-01-03 21:04:03 -08:00
0faa210781 Make schedule command per-world 2021-01-04 19:52:44 -08:00
3daa3905f0 Return chat component with empty text instead of throwing exception 2020-07-07 17:53:23 +02:00
df6902585c Collision option for requiring a player participant 2020-11-14 16:48:37 +01:00
33a7c0284d Add StructuresLocateEvent
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2020-09-16 01:12:29 -07:00
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
23b8639dbf Add sendOpLevel API 2020-12-29 15:03:03 +01:00
921d396ffa Fix villager boat exploit 2021-01-11 12:43:51 -08:00
cabf9f914d Remove stale POIs 2021-01-09 14:17:07 +01:00
6ba5436a48 Empty commands shall not be dispatched 2021-01-06 23:38:43 +01:00
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
55c56acfc0 Add PlayerLoomPatternSelectEvent 2020-11-25 16:33:27 -08:00
4054b19800 Add PlayerLecternPageChangeEvent 2020-11-23 12:58:51 -08:00
36eff9b616 Add BlockFailedDispenseEvent 2020-04-22 09:40:38 +02:00
84d13a09ca Add world settings for mobs picking up loot 2020-11-28 18:43:52 -08:00
1245e2a0de Add ServerResourcesReloadedEvent 2020-12-02 20:04:01 -08:00
1e05072232 Add WorldGameRuleChangeEvent 2020-12-20 16:41:44 -08:00
e793c7d8be Add EntityLoadCrossbowEvent 2020-10-07 12:04:01 -04:00
2ff5ce988f Fix nerfed slime when splitting 2020-08-24 08:39:06 -07:00
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
a5f9a41152 Add PlayerFlowerPotManipulateEvent 2019-08-13 19:45:06 -07:00