Commit Graph

241 Commits

Author SHA1 Message Date
Pyrbu
98b1d45966 fix saving by using bukkit itemstack in znpcs importer 2023-08-28 15:43:02 +02:00
Pyrbu
197ffaa50b don't delete all npc files before saving, instead just delete whenever the npc is deleted 2023-08-26 23:42:17 +02:00
Pyrbu
e789fe2f9c print stack traces of save errors instead of rethrowing 2023-08-26 23:41:40 +02:00
Pyrbu
868999fe2d extend leave viewer remover to all viewables 2023-08-26 23:26:21 +02:00
Pyrbu
446761c52c action clear command 2023-08-23 12:14:57 +02:00
Pyrbu
91c1cc17a5 npc center command 2023-08-23 01:11:48 +02:00
Pyrbu
4fbc8c661d switch from using api to send players to sending a raw packet because its broken 2023-08-23 00:02:21 +02:00
Pyrbu
f1c59d0b80 remove players from npc viewer lists on player disconnect 2023-08-22 21:52:56 +02:00
D3v1s0m
15e342564c
added delay info in hover of action list 2023-08-13 12:38:56 +05:30
D3v1s0m
1e0739e73f
changed how action delay works 2023-08-13 12:30:58 +05:30
D3v1s0m
12e2c2963d
Added async task scheduling 2023-08-13 12:08:48 +05:30
D3v1s0m
af286d685d
added fallback server for fetching skin 2023-08-13 11:12:27 +05:30
D3v1s0m
16e3207aaa
small skin cache fix 2023-08-12 23:10:48 +05:30
D3v1s0m
261e25b2ef
added action delay 2023-08-12 14:59:24 +05:30
Pyrbu
c244cb6bab only auto-convert legacy data if the new data directory doesn't exist 2023-08-05 21:01:04 +02:00
Pyrbu
31e64a15fe properly import skins that weren't set with a player name 2023-08-05 20:53:10 +02:00
Pyrbu
580478173f fix weird NPE 2023-07-25 16:53:50 +02:00
Pyrbu
a92de1817d update viewers list before showing the npc to prevent the show/hide methods from being called multiple times by the processor task when the method needs extra time to grab skins which causes some problems including multiple teams being created resulting in client warnings/kicks on BungeeCord 2023-07-25 03:14:41 +02:00
D3v1s0m
fef68e663b
fixed shoulder entity property for 1.8-1.11 2023-07-23 23:18:48 +05:30
D3v1s0m
fd0e57e7fe
remove redundant method isShown 2023-07-18 16:46:53 +05:30
D3v1s0m
da7e4cdb78
Merge branch 'Pyrbu:2.X' into 2.X 2023-07-18 16:39:29 +05:30
Pyrbu
d344e02319 use a concurrent set to possibly prevent a ConcurrentModificationException 2023-07-17 23:38:12 +02:00
D3v1s0m
ade20ac869
changed ItemStack in property from PE to Bukkit 2023-07-16 09:48:33 +05:30
Pyrbu
2dd75b4cda make the method actually abstract instead of just returning null 2023-07-16 01:09:57 +02:00
D3v1s0m
9cb580c850
small fix for action edit button 2023-07-16 02:29:45 +05:30
D3v1s0m
9a69fa4e09
API improvements 2023-07-16 02:27:54 +05:30
Pyrbu
80683f81bc update metadata comment 2023-07-09 20:35:14 +02:00
D3v1s0m
03623a43da
implemented immune_to_zombification property for hoglin 2023-07-06 19:48:56 +05:30
D3v1s0m
63b049bb8c
null property fix if the property doesn't exist when loading. 2023-07-06 19:34:14 +05:30
D3v1s0m
ee30c7dd18
implemented Goat properties 2023-07-05 19:48:50 +05:30
D3v1s0m
959f6241f4
implemented villager properties 2023-07-05 17:23:30 +05:30
D3v1s0m
f68d678a1c
implemented ghast attacking property 2023-07-05 12:43:02 +05:30
D3v1s0m
7888d08ca7
fox properties fix for 1.14, oops 2023-07-05 12:36:53 +05:30
Pyrbu
40fb1dfaf5 add back mule type 2023-07-05 01:01:57 +02:00
D3v1s0m
8f976996b1
order fix 2023-07-03 12:28:20 +05:30
D3v1s0m
11d94d15c0
fix in npc type registry. 2023-07-03 12:21:15 +05:30
D3v1s0m
999f4013c6
Merge remote-tracking branch 'origin/2.X' into 2.X
# Conflicts:
#	plugin/src/main/java/lol/pyr/znpcsplus/ZNpcsPlus.java
#	plugin/src/main/java/lol/pyr/znpcsplus/commands/property/PropertySetCommand.java
#	plugin/src/main/java/lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java
#	plugin/src/main/java/lol/pyr/znpcsplus/metadata/MetadataFactory.java
#	plugin/src/main/java/lol/pyr/znpcsplus/metadata/V1_12MetadataFactory.java
#	plugin/src/main/java/lol/pyr/znpcsplus/metadata/V1_8MetadataFactory.java
2023-07-03 11:57:29 +05:30
D3v1s0m
7f5b7f8f0a
Implemented frog_variant property 2023-07-03 11:46:55 +05:30
D3v1s0m
4cc468b919
Implemented Fox properties 2023-07-03 11:37:56 +05:30
D3v1s0m
8c83cb3428
Added evoker_spell property. 2023-07-03 11:18:33 +05:30
D3v1s0m
49c23a85a4
Added Enderman properties, TODO: fix them lol 2023-07-03 10:47:10 +05:30
D3v1s0m
fbc3be6259 filter npcs in same world only for near command. fixes #69 2023-07-02 15:51:30 +02:00
D3v1s0m
f812c77cc9 Added shoulder entities for player npc 2023-07-02 15:51:30 +02:00
D3v1s0m
f2c9409923 Fixed dinnerbone property removal not updating. 2023-07-02 15:51:30 +02:00
D3v1s0m
b3475db944
filter npcs in same world only for near command. fixes #69 2023-07-02 15:35:36 +05:30
D3v1s0m
43376c2732
Added shoulder entities for player npc 2023-07-02 10:51:54 +05:30
D3v1s0m
e180843efd
Fixed dinnerbone property removal not updating. 2023-07-01 12:28:18 +05:30
Pyrbu
f8648b7d01 add some build file comments to make it easier to check if a library is being used 2023-07-01 00:46:38 +02:00
Pyrbu
a0a6245479 remove unused libraries 2023-07-01 00:15:23 +02:00
Pyrbu
488d098f79 move GameProfile manipulation to reflection 2023-07-01 00:15:10 +02:00