luisc
ba0f21dc26
Revert "Added npc.setPoweredTexture(directory) and npc.getPoweredTexture() functions, along with a new powered texture resource."
...
This reverts commit ba4bf107b5 .
2021-12-11 08:41:54 -06:00
luisc
ba4bf107b5
Added npc.setPoweredTexture(directory) and npc.getPoweredTexture() functions, along with a new powered texture resource.
...
Sample code:
npc.setPoweredTexture("customnpcs:textures/entity/npc_armor.png");
2021-12-08 23:29:08 -06:00
luisc
c2564de470
NPCs properly stay floating when not navigating and in the air.
2021-12-08 04:41:41 -06:00
luisc
2147bd00d0
Pathing classes for NPC flying added. NPCs can now follow tactical variants while flying, and their pathing is a LOT better.
2021-12-08 04:00:28 -06:00
luisc
43b3241801
Implemented path navigator and move helper for flying NPCs (npc.getNavigator() and npc.getMoveHelper() used to return the default navigator and move helper, added override function).
...
Improved Flying AI getting stuck when trying to get over a block towards the enemy.
2021-12-07 03:57:57 -06:00
luisc
12333de3a1
knockback() function for ScriptEntity now *only* knocks the entity back instead of hitting it.
...
Flying NPC's get knocked back properly, and their vertical speed has been increased.
Flying NPC's vertical flying speed can be changed by npc.setFlySpeed(double speed) from ScriptNpc.
2021-12-06 00:10:10 -06:00
luisc
23686dc3b8
Enabled fly button in movement, and extended max values for several NPC attributes, converting some to floats and doubles.
...
NPCs fly with speed based on their movement speed now.
2021-12-03 00:49:10 -06:00
KAMKEEL
3069488c54
Merge branch 'dev'
2021-11-26 04:35:09 -05:00
luisc
ecbfd7dab0
Fixed some console spam caused by a NullPointerException when checking scriptVisibleToPlayer(player) in ModelMPM
2021-11-23 15:08:35 -06:00
luisc
d24422c3a1
Added setVisibleTo(player,visible) and isVisibleTo(player) to ScriptNpc
2021-11-22 23:34:02 -06:00
luisc
4de969f6c9
Implemented scripted timers for players and NPCs.
2021-10-20 23:04:52 -05:00
luisc
5515f5ef83
Fixed executeCommand() function for scripting API on the server-side.
2021-10-19 19:49:43 -05:00
luisc
72f2c3c60a
Implemented global Forge events. Reorganized NPC API files.
2021-10-18 06:33:39 -05:00
luisc
6752f8baec
Implemented several more events for players, including a click event, key event, fall event, and the basic entity living hurt, killed, and kills events, among others.
2021-10-12 02:57:32 -05:00
luisc
1ee14920ff
Scripted player tick events are functional, GUI for player events is complete. Global player events run as they should now, just need to start implementing more of them.
2021-10-11 06:49:30 -05:00
luisc
95d2814651
Backported GUI features and necessary classes from 1.12.
2021-09-30 21:44:30 -05:00
KAMKEEL
79339be79a
Bow Change
...
Attempting to Fix Custom Bows
2021-09-24 16:50:28 -04:00
KAMKEEL
3727d1af7a
Added Flying Code / Corrected Hidden Parts not Saving
...
Added a ton of code regarding Flying doesn't work correctly. Please Uncomment them by searching for
Comment: // Fly Change
Fixed Hidden Parts not Saving
2021-07-10 00:48:03 -04:00
KAMKEEL
65eeca72cf
Commenting out Fly Changes for Build
2021-06-13 16:24:15 -04:00
KAMKEEL
f9bdc66956
Flying Tests
2021-06-13 16:22:06 -04:00
KAMKEEL
2262639182
Create Dev Branch
...
Add Scripting for ModelType
2021-05-08 03:51:29 -04:00
KAMKEEL
66270715ac
Updating Texture Sizes
...
Attempting to implement a selective renderer to allow for 64x64 Skin Url type for mobs.
2021-05-04 03:52:44 -04:00
KAMKEEL
8a4be0bc1e
Big Changes to ModelMPM for 1.8 Layers
...
> Added all 2D Layers to Models
> Moved Texture Location for PartData to remove texture syncing between MorePlayerModels and CustomNPC.
> Attempted first start at Bodywear 3D model similar to Headwear 3D model.
2021-05-02 22:53:03 -04:00
KAMKEEL
ea1672a242
Revert "Revert "WORKING MODEL CHANGER!""
...
This reverts commit d2b5ce2880 .
2021-04-29 20:42:52 -04:00
KAMKEEL
d2b5ce2880
Revert "WORKING MODEL CHANGER!"
...
This reverts commit 97dc3e9f13 .
2021-04-29 20:41:55 -04:00
KAMKEEL
97dc3e9f13
WORKING MODEL CHANGER!
...
Added Working Model Changer that allows you to change between Default, Steve 64 x 64, Alex Models. Now instead of selecting a completely different Entity, simply go to the Model Editor to change the Model Type and Version.
2021-04-29 20:13:16 -04:00
KAMKEEL
aeb807cea7
Fixed SkinUrl for 64x64 Textures
...
Must Enable the Square Texture Button on NPC in order to work correct. Local Textures work just fine normally.
2021-04-29 14:37:33 -04:00
KAMKEEL
51b8e34c02
More Changes Attempted
...
Attempting to figure out how to render 2 versions of one EntityCustomNpc, all attempts failed thus far.
2021-04-29 06:37:35 -04:00
KAMKEEL
a31efb2dc3
1.7.10 Files
...
Files added
2018-09-13 12:03:28 -04:00