Commit Graph

388 Commits

Author SHA1 Message Date
D3v1s0m
a5de0680c8
added ability to register dummy property using api 2023-10-02 09:50:20 +05:30
Pyrbu
2128243fa2 Merge remote-tracking branch 'origin/2.X' into 2.X 2023-10-02 03:14:52 +02:00
Pyrbu
246b4be172 update PacketEvents & run-paper (1.20.2 still broken) 2023-10-02 03:14:47 +02:00
D3v1s0m
bedb6250ca
disabled dinnerbone for player npc 2023-09-18 12:43:20 +05:30
D3v1s0m
2588289a19
added look_distance and view_distance properties for all npcs 2023-09-18 12:19:33 +05:30
D3v1s0m
ec4d40563f
added common serializer for primitive data types 2023-09-18 12:02:16 +05:30
D3v1s0m
28ed99a3b7
ignore saving npc location for closest player look type, used packet instead 2023-09-17 22:08:33 +05:30
D3v1s0m
d48e4bc2b2
adding toggle imports from ZNpcs 2023-09-17 21:53:20 +05:30
D3v1s0m
9d17a5bdd3
changed look property a bit 2023-09-17 21:22:48 +05:30
D3v1s0m
dfe2d22da3
Fixed shoulder entity not getting removed 2023-09-14 11:00:08 +05:30
Pyrbu
73efb10181 fix delete bug 2023-09-13 20:52:49 +02:00
Pyrbu
b811526198 go back to using the bukkit bungee messaging since the bug with velocity seems to be fixed 2023-09-13 08:23:54 +02:00
Pyrbu
5cc5141105 fix hologram serialization & add minimessage support to hologram commands 2023-09-13 07:43:54 +02:00
Pyrbu
9518848c62 add back bungee channel registration 2023-09-13 07:13:21 +02:00
Pyrbu
f30bb1a6df Merge branch 'modular-property-system' into 2.X
# Conflicts:
#	plugin/src/main/java/lol/pyr/znpcsplus/ZNpcsPlus.java
#	plugin/src/main/java/lol/pyr/znpcsplus/conversion/citizens/CitizensImporter.java
#	plugin/src/main/java/lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java
#	plugin/src/main/java/lol/pyr/znpcsplus/storage/yaml/YamlStorage.java
#	plugin/src/main/java/lol/pyr/znpcsplus/util/Viewable.java
2023-09-13 02:15:30 +02:00
Pyrbu
df5fd8078f implement villager properties 2023-09-13 01:59:52 +02:00
D3v1s0m
41cccf419f
Added puff_state property 2023-09-13 01:13:46 +05:30
D3v1s0m
7d1772236a
Added polar_bear_standing property 2023-09-13 01:02:15 +05:30
D3v1s0m
9be27f0748
Added shoulder property for Player 2023-09-13 00:53:25 +05:30
D3v1s0m
e4ff39bc79
Added pillager_charging and celebrating properties 2023-09-13 00:14:50 +05:30
D3v1s0m
5f5ed6ccb5
Added Piglin properties 2023-09-13 00:03:08 +05:30
D3v1s0m
b1f87d12bd
Added pig_saddled property 2023-09-12 23:49:08 +05:30
D3v1s0m
bfbd883f03
Added parrot_variant property 2023-09-12 23:16:42 +05:30
D3v1s0m
dd3eda5512
Small fix for property deserialization 2023-09-12 22:53:58 +05:30
D3v1s0m
4c8d25c4df
Added Panda properties 2023-09-12 22:12:30 +05:30
D3v1s0m
747e6b92be
changed to use static npc registry instead of NpcApiProvider 2023-09-12 21:49:53 +05:30
D3v1s0m
1008d31df0
Added ocelot_type property 2023-09-11 18:11:36 +05:30
D3v1s0m
0127af865b
Added mooshroom_variant property 2023-09-10 18:49:05 +05:30
D3v1s0m
55308d6a79
added integer property serializer. oops 2023-09-10 17:37:09 +05:30
D3v1s0m
14ded1ea49
fix for null serializer when saving npcs 2023-09-10 17:35:52 +05:30
D3v1s0m
f28de908da
added size property for Slime, Magma Cube and Phantom 2023-09-10 17:20:40 +05:30
D3v1s0m
2c601c450d
added llama properties 2023-09-10 16:45:39 +05:30
D3v1s0m
81b087628b
added baby property for zombie (and types) and zoglin 2023-09-10 16:09:55 +05:30
D3v1s0m
488b9ccb5b
small fix for immune to zombification property 2023-09-10 15:53:27 +05:30
D3v1s0m
1010a18e71
partial implementation of target npc property 2023-09-10 15:26:47 +05:30
D3v1s0m
ddbdd8f78c
added frog_variant property 2023-09-10 15:25:38 +05:30
D3v1s0m
0569df795b
added spell property 2023-09-10 14:31:38 +05:30
D3v1s0m
dd029786dd
fixed placeholder not working in name property 2023-08-31 09:23:50 +05:30
Pyrbu
5f15ba9128 make it so the npc gets at least partially saved when a property fails to serialize 2023-08-28 15:45:35 +02:00
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
86e021f277 delete metadata classes 2023-08-26 22:23:24 +02:00
Pyrbu
5948993346 remove using_item from default properties since it does nothing for most types 2023-08-26 22:19:58 +02:00
Pyrbu
9bb74de8e6 add default properties 2023-08-26 22:17:56 +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
D3v1s0m
b79b41b26d
added all (i guess)) horse properties 2023-08-23 02:57:18 +05:30
D3v1s0m
467eac5972
generalized suggestion of enum property in property set command 2023-08-23 02:53:26 +05:30
Pyrbu
f1c59d0b80 remove players from npc viewer lists on player disconnect 2023-08-22 21:52:56 +02:00
D3v1s0m
80b89c5b93
fixed Equipment property serialization 2023-08-22 23:46:00 +05:30
D3v1s0m
33b22b534d
added serializer checking before setting property when loading npc 2023-08-21 20:44:16 +05:30
D3v1s0m
2121db4a90
added creeper properties 2023-08-21 20:18:01 +05:30
D3v1s0m
12ea0eab22
added baby property 2023-08-21 20:17:30 +05:30
D3v1s0m
329d344013
added pose property 2023-08-21 20:16:12 +05:30
D3v1s0m
fc5df502f3
added bashing property for camel 2023-08-21 20:13:47 +05:30
D3v1s0m
f03162398c
added blaze_on_fire property 2023-08-21 20:12:20 +05:30
D3v1s0m
beb3d21ba4
added axolotl properties 2023-08-21 20:09:47 +05:30
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
D3v1s0m
40323c57e5
fix equipment property 2023-08-09 12:55:55 +05:30
Pyrbu
73d2ddbc0b Merge branch '2.X' into modular-property-system
# Conflicts:
#	plugin/src/main/java/lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java
#	plugin/src/main/java/lol/pyr/znpcsplus/packets/V1_8PacketFactory.java
#	plugin/src/main/java/lol/pyr/znpcsplus/util/Viewable.java
2023-08-07 23:14:47 +02:00
Pyrbu
3741b76189 implement hoglin 2023-08-07 22:35:33 +02:00
Pyrbu
551b989240 implement cat & tamed property 2023-08-07 22:23:30 +02:00
Pyrbu
f2a4d51e28 implement bat properties 2023-08-07 21:47:10 +02:00
Pyrbu
ddabf9dc2c implement fox properties 2023-08-07 20:55:04 +02:00
Pyrbu
84fa7eb2c9 implement shaking property 2023-08-07 20:27:01 +02:00
Pyrbu
0f6a953a5e implement potion_color and potion_ambient 2023-08-07 20:11:44 +02:00
Pyrbu
8ad3cb73fd make the naming consistent 2023-08-07 20:04:56 +02:00
Pyrbu
1150a028cb remove goat properties from comment 2023-08-07 19:59:15 +02:00
Pyrbu
4e584b8d46 Merge branch 'modular-property-system' into upstream-modular-property-system
# Conflicts:
#	plugin/src/main/java/lol/pyr/znpcsplus/entity/EntityPropertyRegistryImpl.java
2023-08-07 16:03:08 +02:00
Pyrbu
a3a0c409e6 goat horn properties 2023-08-07 15:36:03 +02:00
Pyrbu
83b654fd76 ghast attacking property 2023-08-07 15:27:00 +02:00
Pyrbu
923926b0b4 delete already reimplemented properties from the deprecated meta factories 2023-08-07 15:18:26 +02:00
Pyrbu
a4fc363454 implement armor stand rotation properties 2023-08-07 15:17:59 +02:00
Pyrbu
70e1e2d0a2 implement skin layer properties 2023-08-07 14:50:37 +02:00
Pyrbu
1dfb5ae541 implement dinnerbone property 2023-08-07 14:32:27 +02:00
Pyrbu
fb95965ae6 remove todo comment 2023-08-07 13:59:43 +02:00
Pyrbu
0002de3d9c remove already implemented from comment 2023-08-05 23:21:14 +02:00
Pyrbu
342c0dab79 fix the inversion 2023-08-05 23:04:26 +02:00
Pyrbu
b50c5b5e5d remove useless comment 2023-08-05 23:04:16 +02:00
Pyrbu
c11093c392 implement armor stand properties 2023-08-05 21:50:07 +02:00
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
f3d5e3f3a8 implement silent property (untested) 2023-08-05 20:49:48 +02:00
D3v1s0m
fed7b7085a
Added hologram items 2023-08-05 09:31:00 +05:30
Pyrbu
6eff7a3b6c remove already implemented properties from the comment 2023-08-05 00:28:55 +02:00
D3v1s0m
3040cbc0bb
remove comment. oops 2023-08-01 19:48:24 +05:30
D3v1s0m
ca8aa4ba16
Implemented citizen importer 2023-08-01 19:46:29 +05:30
D3v1s0m
769eed2f46
fixed skin property showing in property remove command 2023-07-27 19:21:46 +05:30
Pyrbu
580478173f fix weird NPE 2023-07-25 16:53:50 +02:00
Pyrbu
52f083583b 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:24:49 +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
Pyrbu
32b588807a make interaction detection also treat holograms as part of the npc (fixes #76) 2023-07-24 02:51:40 +02:00