Commit Graph
2463 Commits
Author SHA1 Message Date
luisc 1cb27a9e7a Implemented XYZ rotations correctly, now clearly rotate around an axis respective to the player's camera. 2022-03-04 18:08:05 -06:00
Kamron Vaswani 89b7019e29 Delete CompressorTest.java
Not needed in final version
2022-03-03 16:02:02 -05:00
Kamron Vaswani 3339488a6f Version Correction 2022-03-03 15:59:17 -05:00
Kamron Vaswani 1a7267349f Update Config Description with Warning 2022-03-03 15:58:21 -05:00
luiz-otavio 5578f2055e fix(gradle): assign resourcesDir to classesDir from sourcesSets 2022-03-03 17:50:28 -03:00
luiz-otavio e23620d724 refactor: use JSONas default codec for PlayerData instead of .dat files 2022-03-03 17:43:18 -03:00
KAMKEEL 3bc9686816 ReadMe | Texture Pack | Version Change
Updated ReadME with Donation Link
Added CNPCs TexturePack
Updated Version for future 1.5.1 full release
2022-03-03 15:38:01 -05:00
KAMKEEL 805054ceb0 Merge branch 'master' into dev 2022-03-03 14:51:35 -05:00
luisc 75b7c01f87 Removed some unnecessary fields in ScriptEntityParticle 2022-03-02 19:36:15 -06:00
luisc f1741b4660 Removed some unnecessary lines of OpenGL code 2022-03-02 19:35:24 -06:00
luisc 7f8246e04e PARTICLE ROTATION 2022-03-02 18:18:03 -06:00
luisc 65ab37158f Fixed flying limits not working on flying NPCs with the new smoother flight 2022-02-27 23:23:41 -06:00
luisc d2d3cef681 When setMaxTicks() is called and the remaining ticks in a timer are greater than that value, the remaining ticks are updated to the new max tick value. 2022-02-27 23:11:52 -06:00
luisc 403738262c Added timer functions.
ticks(int id):
Gets the remaining ticks in the timer that matches this id.

setTicks(int id, int ticks):
Sets the remaining ticks in the timer that matches this id.

maxTicks(int id):
Gets the maximum ticks that must elapse for the timer that matches this id to finish.

setMaxTicks(int id, int ticks):
Sets the maximum ticks that must elapse for the timer that matches this id to finish.

repeats(int id):
Returns true if the timer with the given id is set to repeat, false otherwise.

setRepeats(int id, bool repeat):
Sets whether the timer with the given id should repeat. If true, the timer will repeat, and not repeat otherwise.
2022-02-27 23:08:24 -06:00
luiz-otavio 90c6574125 fix: ensure playerdata type and remove useless checking about transforming 2022-02-27 08:12:24 -03:00
luiz-otavio 7b0a6b7497 feat: add some utilities messages on each case of compressor command 2022-02-27 08:11:48 -03:00
luiz-otavio 54fa6d106f chore: add shade configuration 2022-02-27 08:10:53 -03:00
luiz-otavio 451a60f297 test: make CompressorTest to retrieve the measure time of compression to see how much each one will take 2022-02-27 07:00:42 -03:00
luiz-otavio 3ac531a49d feat: add compressor command to convert data files to zstd or json 2022-02-27 06:59:24 -03:00
luiz-otavio 34b6eb05e5 feat: integrate the compressor type to config property and add number of IO-Workers to write compressed files 2022-02-27 06:58:53 -03:00
luiz-otavio 4bdbe0efee refactor: ensure almost compression types to load/write each NBTTagCompound 2022-02-27 06:57:37 -03:00
luiz-otavio c3bba543f0 feat: add ZstdCompressor to write/read almost compressed data 2022-02-27 06:56:57 -03:00
luiz-otavio d4f6df5a81 chore: add zstd and modify encoding on compile time to UTF-8 2022-02-27 06:56:20 -03:00
luisc 22b622d46c Fixed hovering text for custom GUI labels and textured rectangles. 2022-02-23 00:39:01 -06:00
luisc ee02988d8c Removed client-side imports from EntityNPCFlying 2022-02-22 22:14:05 -06:00
luisc 450e065e27 Slightly improved flight pathing downwards. 2022-02-22 01:52:47 -06:00
luisc c2a669fbeb The setForm() function in ScriptDBCPlayer prevents crashes from form levels that are out of bounds now. 2022-02-21 20:16:42 -06:00
luisc 732e97e0fe Override updateLeashedState() function in EntityNPCInterface.
NPCs can't be leashed anyway. This should avoid the "does not know how to add entity" crash with NPCs.
2022-02-20 00:56:57 -06:00
luisc 33e884c217 Flying is now smoother, NPCs can pathfind downwards easier while flying. 2022-02-18 03:34:20 -06:00
luisc 3d1caf494b Small fix to min XP and max XP text fields in NPC inventory menu 2022-02-16 12:57:46 -06:00
luisc 18e02461a6 Added misspelled cancel functions to player & forge events, and correctly spelled cancel functions to npc events 2022-02-06 12:39:07 -06:00
Luis C.M 6bfbffb0e6 Merge branch 'KAMKEEL:master' into master 2022-02-05 23:58:11 -06:00
KAMKEEL e42c4cab7e Update ScriptLivingBase.java 2022-02-05 20:35:44 -05:00
luisc 47f41ff5b7 Added custom kill types 2022-02-02 22:11:49 -06:00
KAMKEEL 5a86d1cc6f Delete Scripting_Documentation.pdf 2022-02-02 19:58:36 -05:00
KAMKEEL 7d647d788f Version Update 2022-02-02 19:42:58 -05:00
KAMKEEL 01e568d0c7 Remove More Print Statements 2022-02-02 19:41:34 -05:00
KAMKEEL 6d6daeb345 Update build.gradle 1.5.1-beta 2022-02-02 19:26:24 -05:00
KAMKEEL 3844a26e8b Merge branch 'dev' 2022-02-02 19:25:29 -05:00
KAMKEEL 2a4ace286e Quick Patch 2022-02-02 19:25:17 -05:00
Kamron Vaswani 79ef0e07a1 Merge pull request #33 from c0508383/master
Removed println statement please forgive me oh god
2022-02-02 19:22:35 -05:00
luisc 7e0ff3c836 Removed println statement please forgive me oh god 2022-02-02 18:21:08 -06:00
KAMKEEL e3e55e4256 Merge branch 'dev' 1.5-beta 2022-02-02 17:44:46 -05:00
KAMKEEL 0c4ead5752 Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2022-02-02 16:20:17 -05:00
KAMKEEL 5d39c5b356 Fixed Disable Block Error 2022-02-02 16:20:11 -05:00
Kamron Vaswani 19ccdd60d2 Merge pull request #32 from c0508383/master
Bug fixes & GUI rotations
2022-02-02 15:43:23 -05:00
luisc d3145f4868 Added config for how often a player's quests are checked for completion. 2022-02-02 07:53:42 -06:00
luisc 70536de655 Removed checkQuestCompleted from ScriptPlayer, now redundant with new quest checks that happen periodically. 2022-02-02 07:21:45 -06:00
luisc 1ebf747302 Optimized NBT access of player data when checking quest completion, player data variable is passed down to lower functions.
Player's quests are checked for completion every couple seconds now.
2022-02-02 07:18:33 -06:00
luisc 632e92f82e Added set/getPitch to ScriptEntity 2022-02-01 05:10:38 -06:00