Commit Graph
192 Commits
Author SHA1 Message Date
bigguy345 e13c6762f3 Added Scheduled Tasks system for NPC scripting.
Allows for scripting the scheduling of runnable methods in sequence within the NPC's AI

An example sequence of tasks:
1. Dashes towards player (might take 3-5 seconds, doesn't matter, task durations are dynamic so it can take as long as it needs).
2. Punches player away
3. Waits 10 ticks - Fires a ki blast
4. Teleports behind player
5. Knocks player out
2025-03-03 23:59:48 +02:00
Kam 3cfe8be056 IPartyHandler for Creating / Disbanding Parties 2025-02-25 17:24:19 -05:00
Kam dd3d8c552c Custom Effect + Profile API for Scripting 2025-02-21 17:30:38 -05:00
Kam 30ba1bafac op 2025-02-21 06:19:05 -05:00
Kam 7b9e091a30 Update IQuest.java 2025-02-20 22:18:56 -05:00
Kam 0d9abd56f6 Save Linked Item API 2025-02-18 02:14:52 -05:00
Luis C.M. 3f0171aafe Implemented anvil repair and item destroyed events for custom items and linked items 2025-02-17 21:39:18 -06:00
Luis C.M. c372a031fb Implemented version change and build events for linked items 2025-02-17 18:01:10 -06:00
Kam c56ad93a1b Merge branch 'dev' into animation-events-2 2025-02-15 19:37:15 -05:00
Kam eb1b259134 Linked Item Push 2025-02-15 19:36:55 -05:00
Kam 8da3e91ed4 Merge branch 'dev' into animation-events-2 2025-02-14 16:39:29 -05:00
luisc 73b263c69d Fixed exception caused by import in API 2025-02-14 14:49:34 -06:00
Kam 0e9a4187e3 Merge branch 'dev' into animation-events-2 2025-02-14 15:22:49 -05:00
luisc 299136c9db Made ScriptLinkedItem implement IItemLinked api interface 2025-02-14 12:29:52 -06:00
luisc 232da0325b More linked item changes 2025-02-14 12:28:17 -06:00
luisc d093c00493 Made item events use IItemCustomizable interface. 2025-02-13 19:00:20 -06:00
luisc fecfbc7224 Created IItemCustomizable interface 2025-02-13 18:44:10 -06:00
luisc 5026e30437 NBT changes to accommodate nullable fields 2025-02-13 14:48:20 -06:00
luisc 4346666cc1 Removed millisecond ticks and tick duration from animations. 2025-02-12 12:15:33 -06:00
Kam bdcfa42078 Merge 2025-02-11 18:12:34 -05:00
Kam 1455d62d3f Merge branch 'dev' into animation-events-2 2025-02-11 18:12:29 -05:00
Kam 80cb1c4c24 Commit! 2025-02-11 18:11:04 -05:00
Kam 1686708789 Item Linked 2025-02-11 14:11:25 -05:00
Kam 21d491cca8 Update ICustomEffectHandler.java 2025-02-10 17:24:15 -05:00
Kam 3f40e94bea Modify some API for Custom Effects 2025-02-10 14:58:25 -05:00
Kam 5a8246f728 Custom Effects and Player Events API 2025-02-10 14:26:22 -05:00
Kam f91f9b43ba Anvil Recipes 2025-02-10 02:44:13 -05:00
Luis C.M. 7bfe9b45d5 Change to animation frame API 2025-01-22 15:47:09 -06:00
Luis C.M. 8ced18ec84 Animation events API changes 2025-01-22 15:31:11 -06:00
Luis C.M. 17d165e628 Moved world stored/temp data into the API, functionally the data is the same since different worlds don't have different data. 2024-12-22 17:26:09 -06:00
luisc 9fdd2c667e Fixed changes from api-changes being dragged into the dev branch. Created a new api-changes branch in the api repo. 2024-09-24 13:16:06 -05:00
Kam a2ad9c0d38 Revert "Removed "render ticks" tick type. Instead, animations and frames can define a tick speed measured in milliseconds. Animations/frames using MC tick type will be 50ms (1000ms/20), and render ticks 20ms."
This reverts commit 51d086285e.
2024-09-23 13:57:04 -04:00
Kam 9f59b8843e Revert "Implemented animation events and made some event classes abstract."
This reverts commit cd180e4520.
2024-09-23 13:56:50 -04:00
Kam 2aac7f64cf Revert "Fixed animations not ticking correctly sometimes."
This reverts commit 7f2167d3d6.
2024-09-23 13:56:41 -04:00
Kam b6017b6532 Revert "Added getAnimatingTime() function to AnimationData."
This reverts commit 34b7086104.
2024-09-23 13:56:37 -04:00
Kam b147baee12 Reapply "Fixed animations not ticking correctly sometimes."
This reverts commit 8f6421c407.
2024-09-23 13:54:34 -04:00
Kam 4d3c07fa33 Reapply "Create IMagic.java"
This reverts commit 909a148950.
2024-09-23 13:54:05 -04:00
Kam 909a148950 Revert "Create IMagic.java"
This reverts commit 672bcd61d5.
2024-09-23 13:53:34 -04:00
Kam 8f6421c407 Revert "Fixed animations not ticking correctly sometimes."
This reverts commit 7f2167d3d6.
2024-09-23 13:53:33 -04:00
luisc a88b28998b Merge remote-tracking branch 'origin/dev' into dev 2024-09-03 19:28:54 -05:00
luisc ec2d3149d6 Dialog option and closed events API changes 2024-09-03 19:28:35 -05:00
Luis C.M. b991965ccf Merge remote-tracking branch 'origin/dev' into dev 2024-09-02 21:41:44 -05:00
Luis C.M. 73d88e627b Fixed getters for flying, don't take a parameter anymore. 2024-09-02 21:41:32 -05:00
Kam 672bcd61d5 Create IMagic.java 2024-08-23 14:12:48 -04:00
luisc 34b7086104 Added getAnimatingTime() function to AnimationData. 2024-04-05 13:20:43 -05:00
luisc 7f2167d3d6 Fixed animations not ticking correctly sometimes. 2024-04-05 13:14:36 -05:00
luisc 0fe49c8b92 Merge branch 'dev' into animation-events 2024-04-02 16:49:12 -05:00
Kam 7489396198 Update IBlockScripted.java 2024-04-02 00:33:30 -04:00
luisc fc17b0f596 Merge remote-tracking branch 'origin/dev' into animation-events 2024-04-01 16:30:34 -05:00
Kam 2fc048b93e Update INpcEvent.java 2024-03-29 01:34:56 -04:00