Commit Graph
55 Commits
Author SHA1 Message Date
Kam 50ef7aef62 Fix Job Spawner Jumping and Spawning Issue 2023-08-01 17:11:40 -04:00
Kam 4f1a9cefb7 Despawn Spawns when Summoner Dies 2023-07-31 11:38:59 -04:00
Kam 1a9b9645d5 Add Job Spawner to Spawn on Death Option 2023-07-30 19:28:06 -04:00
Luis C.M 978358e827 JobSpawner:
-Fixed strange entity bobbing and increased speed when NPCs are spawned through a spawner NPC.
2023-07-28 00:21:55 -05:00
Kam da313f6d0a Compatibility Helper DBC 2023-07-19 11:17:11 -04:00
Kam 491e377a3e CAPITAL I cause it looks cool 2023-06-05 22:12:48 -04:00
Kam 54b46129a9 Capital "I" for Instance 2023-06-05 19:35:27 -04:00
Kam 16d02f93e1 Capital "I" for Instance 2023-06-05 19:35:06 -04:00
KAMKEEL 7bd14b06dd Move InnDoorData to proper directory 2023-03-21 19:37:04 -04:00
Luis C.M f0b33cf913 Moved model scale parts into a single ModelScale class, similar to ModelRotate.
Added NPC model data interfaces to the API.
2023-03-17 02:36:28 -05:00
Luis C.M df069c82c2 Added a quest alert toggle for each quest in the quest log.
Fixed instant complete quests not finishing sometimes.
2023-03-16 23:37:57 -05:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
Luis C.M 54d53041ac Animation Data overhaul 2023-01-12 15:07:45 -06:00
KAMKEEL 8f62daba3e Refactor JobPuppet and PartConfig 2023-01-11 22:42:36 -05:00
Luis C.M 8905f5f42e Moved NPC puppet data to display data.
Improved mixin functionality, offsets and rotations always reset if the puppet "job" (not a job anymore, always in display) is disabled.
2023-01-11 19:12:53 -06:00
Luis C.M 6897512a01 Removed redundant client-side fields from puppet parts. 2023-01-10 15:21:58 -06:00
Luis C.M a1a382b67f Undid previous commit, messed with offsets too much. 2023-01-10 15:09:06 -06:00
Luis C.M 1aee4c06fc Small optimizations for the NPC puppet mixin. 2023-01-10 13:25:21 -06:00
Luis C.M 42c29f1d47 Added support for other models that inherit from ModelBiped to NPC puppet rendering. 2023-01-09 21:08:22 -06:00
Luis C.M 8b07aa41cd Merge branch 'dev' into player-anims 2023-01-09 00:44:18 -06:00
Luis C.M 4375222a67 PartConfig:
-Angle fix for setRotation functions.
2023-01-09 00:44:00 -06:00
Luis C.M 6b0da818c6 Merge branch 'dev' into player-anims
# Conflicts:
#	src/main/java/noppes/npcs/roles/JobPuppet.java
2023-01-09 00:02:12 -06:00
Luis C.M a5903c24b9 Fixed rotation and offset functions setting values that are too high. 2023-01-09 00:00:18 -06:00
Luis C.M c146a973f0 IPlayerModelData:
-Restructured to implement the new IModelPart interface
2023-01-08 22:57:52 -06:00
Luis C.M 0750f12a32 IJobPuppet:
-Now restructured to use IModelPart to modify puppet parts.
-Old functions have been marked as deprecated, but still work.
2023-01-08 22:45:20 -06:00
Luis C.M 49f93dfce2 IJobPuppet:
-Now restructured to use IModelPart to modify puppet parts.
-Old functions have been marked as deprecated, but still work.
2023-01-08 22:32:36 -06:00
Luis C.M 06b938069a Very small change, grouped client-sided fields better. 2023-01-07 14:12:51 -06:00
Luis C.M 7ba95807e7 Removed unused array fields. 2023-01-07 14:11:35 -06:00
Luis C.M 3b11ddb4b4 Simplified player animation rendering, similar to the NPC puppet part commit on dev. 2023-01-07 14:10:36 -06:00
Luis C.M cfd724edf6 Merge branch 'dev' into player-anims
# Conflicts:
#	src/main/java/noppes/npcs/roles/JobPuppet.java
2023-01-07 14:02:47 -06:00
Luis C.M 0db7ef8e66 Simplified puppet rendering code, iterates over puppet parts and their corresponding model renderers instead of having several if statements. 2023-01-07 14:01:04 -06:00
Luis C.M d6ed069862 Merge branch 'dev' into player-anims
# Conflicts:
#	src/api
2023-01-07 13:15:45 -06:00
Luis C.M 99403257f5 Merge remote-tracking branch 'origin/dev' into dev 2023-01-07 13:13:56 -06:00
Luis C.M 4346992f14 IJobPuppet:
-Added the option to not interpolate between angles and move from one value to another at a constant speed.
2023-01-07 13:13:44 -06:00
KAMKEEL 6e92f08851 Config Overhaul 2023-01-07 00:21:08 -05:00
Luis C.M 51263a9f82 Added player rotations/pivots/animations, similar to NPC's. 2023-01-01 23:50:38 -06:00
Luis C.M 2588f14105 Changed the functionality of the new variable that allows for larger angles. 2022-12-22 17:15:40 -06:00
Luis C.M 678ee8fc02 Added more API functions to IJobPuppet, and a "limitAngles" variable that lets puppet parts use full angles. 2022-12-22 17:04:53 -06:00
Luis C.M bb7b33bf95 Added puppet offsets and adjusted puppet leg pivots based on body angles. 2022-12-22 15:24:39 -06:00
Luis C.M 1d6499ea48 Added puppet animations and more functions for the IJobPuppet interface. 2022-12-22 01:36:50 -06:00
KAMKEEL be9ae94163 Start API Branch 2022-11-15 15:25:53 -05:00
Luis C.M 8d3cd3fd82 Revert "Merge remote-tracking branch 'origin/dev' into dev"
This reverts commit 66edbcea80, reversing
changes made to 3fd962289c.
2022-11-06 01:25:28 -06:00
KAMKEEL 6ae465c5d0 Revert "Added several more functions to pre-existing classes:"
This reverts commit e9a8f8cebc.
2022-11-06 00:10:04 -04:00
Luis C.M e9a8f8cebc Added several more functions to pre-existing classes:
-Spawner, Transport, Healer, Guard, Bard jobs received more functions.
-Added more functions to the transporter role.
-IRole: Added getNpc() function.
-IAnimal, IEntityLiving, and IEntityLivingBase received more functions from their MC counterparts.
-Nearly every function with that takes position/vector parameters now has an equivalent with IPos as a parameter instead.
2022-11-05 20:19:14 -05:00
Luis C.M fd1ac6dce4 Merge KAMKEEL-dev into dev. 2022-06-12 04:23:05 -05:00
Luis C.M 63a1525ee2 API Changes:
-Implemented interfaces for all jobs & roles.

ScriptPlayer:
-Added getData() function, which returns player data objects.

IPlayerData: New class that holds all player data for modification.
-Holds dialog, bank, quest, transport, faction, item giver, and mail data.
-Also holds companion data, with functions has/set/getCompanion, and a getCompanionID function to differentiate companions.
2022-06-12 01:26:23 -05:00
1whohears 17fa6328c9 fixed crash when hovering over a trader item slot
HashMap.put doesn't work the way I thought it did
2022-06-06 14:38:33 -05:00
Luis C.M ec5fc71413 Merge branch 'master' into dev
# Conflicts:
#	src/main/java/noppes/npcs/scripted/ScriptFaction.java
#	src/main/java/noppes/npcs/scripted/ScriptWorld.java
#	src/main/java/noppes/npcs/scripted/entity/ScriptNpc.java
#	src/main/java/noppes/npcs/scripted/entity/ScriptPlayer.java
#	src/main/java/noppes/npcs/scripted/interfaces/IEntity.java
#	src/main/java/noppes/npcs/scripted/interfaces/IWorld.java
#	src/main/java/noppes/npcs/scripted/interfaces/entity/ICustomNpc.java
#	src/main/java/noppes/npcs/scripted/interfaces/entity/IPlayer.java
2022-05-27 15:31:02 -05:00
1whohears 3cf780d9a2 add get reset disable purchase num by slot number and IPlayer
needed to add get/setStringIntegerArrayMap to NBTTags so save the player purchases and disabled slots with a String int[] hashmap
2022-05-26 15:57:24 -05:00
1whohears 77ee403720 RoleFollowers will not despawn if they have an owner
RoleFollowers canDespawn field will be changed back to the value set by the player in the gui/api if they stop following a player
2022-05-26 03:00:49 -05:00