Commit Graph

478 Commits

Author SHA1 Message Date
ceze88
06041b8780 Add folia support 2023-05-17 12:57:17 +02:00
ceze88
3649a087c8 Fix no AI setting when stacking mobs was disabled part 2 2023-05-06 12:58:54 +02:00
ceze88
0d79bad591 Fix no AI setting when stacking mobs was disabled 2023-05-06 12:34:13 +02:00
ceze88
3beb451db5 Fix compatibility issues with 3rd party plugins 2023-05-06 09:23:44 +02:00
ceze88
0229178e7d Revert "Fix compatibility issues with 3rd party loot plugins"
This reverts commit 91e31c24c3.
2023-05-06 09:13:43 +02:00
ceze88
91e31c24c3 Fix compatibility issues with 3rd party loot plugins 2023-05-05 11:14:09 +02:00
ceze88
4576a5c53c Code cleanup 2023-05-05 10:57:17 +02:00
ceze88
d40db23f2f Fix spawner stacking disabled mobs 2023-05-05 10:57:07 +02:00
Christian Koop
96d825044f
Move from deprecated BlockUtils#updateAdjacentComparators to WorldCore
Fixes `java.lang.NoSuchMethodException: org.bukkit.craftbukkit.v1_19_R3.CraftChunk.getHandle()`
in a mid-version NMS change in Spigot 1.19.4
2023-04-22 18:06:40 +02:00
ceze88
2d55f3851c Revert chunk listener stuff 2023-04-13 17:07:57 +02:00
ceze88
3eeef59c5f Fix block stacking in creative, save stack after update 2023-04-10 17:17:44 +02:00
ceze88
a00b6fb7fe Readd method for compatibility reasons 2023-04-10 17:17:00 +02:00
ceze88
f2b9cbce3e Revert "Move ChunkLoadEvent to separate ChunkListener class"
This reverts commit f234cdd73e.
2023-04-10 17:14:37 +02:00
ceze88
e073cab322 Revert "Update holograms on chunk load to prevent missing holograms"
This reverts commit 4bf2d9b479.
2023-04-10 17:14:34 +02:00
ceze88
f234cdd73e Move ChunkLoadEvent to separate ChunkListener class 2023-04-07 22:43:31 +02:00
ceze88
4bf2d9b479 Update holograms on chunk load to prevent missing holograms 2023-04-07 22:03:04 +02:00
ceze88
bc25500bce Improve stacking task speed 2023-04-07 21:44:08 +02:00
ceze88
732062fb61 Fix NPE on plugin reload 2023-04-07 21:43:39 +02:00
ceze88
88a5df4fec Add softdepends to plugin.yml 2023-04-07 21:43:17 +02:00
ceze88
42451e708b Rewrite block stacking 2023-04-07 18:58:21 +02:00
ceze88
f51cc19c44 Fix block stack dupe/item liss 2023-04-05 22:05:14 +02:00
ceze88
a43230f3b1 Fix Block stacks giving one less block when destroyed 2023-04-05 11:57:17 +02:00
ceze88
673ae8fdc4 Add WOLF to loot tables 2023-04-01 15:59:24 +02:00
ceze88
818ecf3d9a Add BentoBox compatibility 2023-04-01 15:55:37 +02:00
ceze88
640db6e344 Fix entity stacking, looting 2023-03-29 21:21:00 +02:00
ceze88
f4811ae1df Wups 2023-02-22 10:30:59 +01:00
ceze88
1142fb0e6a Fix Stacking Task, fix loot tables for non stacked mobs. Add last player damage to mobs. Performance improvements. 2023-02-22 09:59:28 +01:00
ceze88
9f77b48974 Minor fix for loots 2023-02-17 16:33:28 +01:00
ceze88
d610f41d00 Fix slime/magma cube replication 2023-02-05 13:14:44 +01:00
ceze88
71baf3a7e8 Rewrite mob stacking, performance improvements 2023-02-04 14:48:13 +01:00
ceze88
21b7507801 Hotfix for SQLite and readd old MythicMobs compatibility 2023-01-25 23:20:44 +01:00
ceze88
affd819146 Ignore rare errors for now 2023-01-25 15:53:48 +01:00
ceze88
efde51034d Fix memory leak 2023-01-25 15:50:41 +01:00
ceze88
f4a7eaac7a Fix ClassNotFoundException in older versions when dropping items 2023-01-21 16:15:24 +01:00
ceze88
1db481d1aa New looting system 2023-01-16 21:32:17 +01:00
ceze88
a69c8ad0c3 Performance fixes, fix Mythicmobs compatibility, MySQL/SQLite fixes 2023-01-02 13:38:58 +01:00
Christian Koop
e9b7eee57b
Fix NullPointerException in StackingTask
Kinda related to c6320cb141
2022-10-26 22:06:11 +02:00
Christian Koop
c6320cb141
Do entity collection in Bukkit's main thread for StackingTask
Paper-Spigot got more strict in 1.19.2 about calling
stuff async.

I do not know what the whole StackingTask does and
don't feel like cleaning it up completely is possible right now.

So I only moved the getEntities-calls to the main
thread and have the async task wait for it.
Not great but it fixed the bug.


SD-9374
SD-9377
SD-9392
SD-9401
2022-10-26 22:04:01 +02:00
ceze88
865e45010c New method to spawn stacked items 2022-09-19 20:26:08 +02:00
ceze88
8afc333442 Do not apply realistic weapon damage in creative 2022-09-19 19:45:08 +02:00
ceze88
2361c2800f Fix mob spawn [SD-9251]
Spawn mob correctly according to the docs
2022-08-28 20:02:13 +02:00
ceze88
5b62328bf2 Fix Jobs hook [SD-9268]
Add jobs exp before removing entity stack
2022-08-28 19:38:30 +02:00
ceze88
73b102619c Fix SQLite 2022-08-09 20:01:00 +02:00
ceze88
d533e86ac3 Fix MySQL 2022-08-07 16:39:49 +02:00
Christian Koop
dc54199fd6
Make call to #dropItemNaturally sync
SD-9217
2022-07-16 15:07:35 +02:00
HexedHero
e773b22ee4
Move null check into statement like other methods 2022-03-25 11:39:27 +00:00
Christian Koop
cba75610cf
Replaces deprecated NBTItem calls 2022-03-18 21:38:26 +01:00
Fernando Pettinelli
e9e052871e Updated to latest SongodaCore. 2021-12-22 19:11:16 -03:00
Fernando Pettinelli
e729c9455c Check if material is AIR. 2021-10-16 21:25:16 -03:00
Fernando Pettinelli
8d20e89a5f Clone entity velocity before removing the entity. 2021-10-16 21:23:36 -03:00