luisc
83e13285f9
Added rotation to overlay components, and color codes to overlay labels
2022-01-31 14:51:06 -06:00
luisc
e5e1aa1972
Made color and alpha components global among ScriptGui classes.
2022-01-30 05:20:45 -06:00
luisc
be61bd4e17
Made color and alpha components global among ScriptOverlay classes.
2022-01-30 04:33:00 -06:00
luisc
534f716991
Implemented Scripted Overlays which stay on the player's screen. Overlays persist in the client, and can be removed from the screen as well.
2022-01-30 04:05:01 -06:00
luisc
8b24dad211
Added Custom GUI Lines, with configurable thickness & color. Draws a line between one point defined by (x1,y1), and another defined by (x2,y2)
2022-01-28 03:21:00 -06:00
luisc
989effb5c5
Added more a full inventory to NPCs, selectable on two tabs and double-point values for NPC droprates.
2022-01-27 03:50:36 -06:00
luisc
007660f16f
Added collision options for CNPCs.
2022-01-14 19:07:41 -06:00
luisc
04def38b63
Added dialog events to scripted player events
2022-01-12 22:59:03 -06:00
luisc
8919a182c5
Added removeTags() function to ScriptItemStack and isCustomGUI function to ScriptContainer
2022-01-12 04:54:07 -06:00
luisc
6b9cfb9d25
Implemented custom GUIs.
2022-01-12 04:44:08 -06:00
luisc
32792e7d6f
Added updateClient() function to ScriptNpc.
2022-01-03 21:30:38 -06:00
luisc
b330678104
Added several projectile functions to ScriptNpc.
2021-12-29 17:17:06 -06:00
luisc
1a78b2dad7
Timers are only updated if a timer exists for a player.
2021-12-17 17:30:50 -06:00
luisc
eac3d2c214
Added getSpeed() and setSpeed(speed) functions to ScriptNpc
2021-12-12 23:10:55 -06:00
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
743cdb9db7
Revert "Fixed powered texture not showing up when changing NPC model attributes."
...
This reverts commit 9560228ba8 .
2021-12-11 08:38:38 -06:00
luisc
fc1c16032f
Added RGB and alpha powered texture modifiers:
...
setPoweredRGBA(r,g,b,alpha)
getPoweredR(),getPoweredG(),getPoweredB(),getPoweredAlpha()
2021-12-10 00:08:47 -06:00
luisc
b7d2dab905
Added parameters for texture translation when the NPC is powered, namely npc.display.poweredTranslateX, poweredTranslateY, and poweredTranslateZ, which can all be changed by setPoweredXYZ(x,y,z), and gotten with getPoweredX(), getPoweredY(), and getPoweredZ().
2021-12-09 23:37:04 -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
94c7df410b
Added fly gravity for NPCs, configurable with npc.setFlyGravity(gravity) and npc.getFlyGravity()
2021-12-08 04:50:23 -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
3c1bc30e44
Floor values are set for max health, combat regen, health regen, melee damage, and projectile damage when changing them now.
2021-12-04 12:46:53 -06:00
luisc
f14bc107d3
Double clicking events in the hook list will now paste them into your code. More scripting functions added for NPCs.
2021-12-03 21:13:56 -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
luisc
d24422c3a1
Added setVisibleTo(player,visible) and isVisibleTo(player) to ScriptNpc
2021-11-22 23:34:02 -06:00
luisc
77c2897109
Added getAllServerPlayers, createItem & createEntityParticle to NPC API. Added getDimensionID() to ScriptWorld.
2021-11-22 01:10:27 -06:00
luisc
0d807b36d9
Added isGUIOpen() function, and setPosition function with a dimensionId parameter to ScriptPlayer.
2021-11-16 10:41:04 -06:00
luisc
6b2a9d92b1
Added hasCollided() function to ScriptEntity.
2021-10-28 16:54:41 -05:00
luisc
2ffa9bfcfa
Added setImmune() function to ScriptEntity.
2021-10-28 16:46:09 -05:00
luisc
18aa2d099f
Added updatePlayerInventory to ScriptPlayer
2021-10-24 01:53:20 -05:00
luisc
4de969f6c9
Implemented scripted timers for players and NPCs.
2021-10-20 23:04:52 -05:00
luisc
8b710ed520
Fixed executeCommand() function for scripting API.
2021-10-19 16:59:09 -05:00
luisc
15bfbcdbd1
Added storeAsClone function. Made some fields in Script Entity, NPC, and Player public because of the refactoring.
2021-10-18 07:02:19 -05:00
luisc
72f2c3c60a
Implemented global Forge events. Reorganized NPC API files.
2021-10-18 06:33:39 -05:00