Commit Graph
440 Commits
Author SHA1 Message Date
1whohears e7250158ac Update ScriptFaction.java 2022-05-26 03:52:44 -05:00
1whohears 3d02ce3ce0 world.rayCastBlock uses double[] for parameters 2022-05-26 03:04:13 -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
1whohears 6698e8619c world.getNearestAir returns IPos and takes IPos as parameter 2022-05-26 02:10:25 -05:00
1whohears bc85756476 player.getLookingAtBlock returns IBlock 2022-05-26 01:51:05 -05:00
1whohears 067dafdbfa removed setting npc.stats.canDespawn to false in follower role
this was pointless
what I actually want to do is disable despawning if the npc has an owner
2022-05-26 01:47:51 -05:00
1whohears 84973a025a moved projectilesKeepTerrain to DataStats 2022-05-26 01:45:10 -05:00
1whohears 422dd3fc90 added trader.slotdisabled to trader gui
I just copied what was done to display the trader.insufficient and added trader.slotdisabled to en_US.lang
2022-05-26 01:43:17 -05:00
1whohears aba637be14 removed redundant faction functions
Luis C.M. will add API.getFactions() which returns the FactionController. All these functions use the faction controller anyway.
Also Luis PR already has entity.getDimension and world.spawnEntity
2022-05-25 23:56:36 -05:00
1whohears b97d4eeeb2 added resetPurchaseNum(int slot) 2022-05-25 18:38:54 -05:00
1whohears a4361b8420 Added various things to the API and other small changes
This adds some useful functions to the api and a few other changes.
I had been creating a custom build of this mod while working on stuff because I couldn't figure out how to do certain things without changing the mod. So this is a collection api features that I think everyone would find useful.

Api additions:
-purchase counting, and disabling trades for the trader role. (if a trade is disabled the gui still says insufficient funds, maybe allow a custom message to appear) added get the traders currency items and sell items.
-if an npc's projectile does explosive damage, you can disable it destroying blocks even if mob griefing is on
-int arrays as stored data for entities
-entity.playSound(...)
-get set if npcs can drown
-player read and unread dialog
-player set faction points
-extra player.sendMessage functions to add custom colors/bold/underline
-player clear inventory
-get set if a follower npc is following a player or waiting
-a bunch of stuff to script faction
-is an item food and how many food points?
-get scoreboard team by it's name
-get and create factions from the script world
-world.rayCastBlockPos is used for getting what block a player is looking at.
-world.getNearestAir is meant to get the block of air above or around the result of world.rayCastBlockPos, or at least that's how I've been using it.

Changes:
-in NoppesUtilServer I feel like if an npc is cloned it's ticksExisted or age should bee zero
-follower npcs should have the canDespawn field automatically set to false...? maybe make it an option
2022-05-24 03:06:16 -05:00
KAMKEEL 6fe16d1929 1.6-beta 2022-04-20 18:37:39 -04:00
KAMKEEL 6ab09b690e Rename to proper version 2022-04-20 18:36:33 -04:00
KAMKEEL 36992c5abd Added Awen Capes 1.5.4 2022-04-20 18:04:48 -04:00
Kamron Vaswani 09f2e19c88 Merge pull request #48 from KAMKEEL/dev
Dev
2022-04-20 17:56:29 -04:00
KAMKEEL a53baefafa Merge branch 'dev' of https://github.com/KAMKEEL/CustomNPC-Plus into dev 2022-04-20 17:50:18 -04:00
KAMKEEL d6cd41946c Remove ZSTD Compression 2022-04-20 17:49:20 -04:00
Kamron Vaswani 1e088323e9 Merge pull request #47 from KAMKEEL/revert-44-dev
Revert "Remove redundant files and make support for specific OS for zstd compression"
2022-04-20 17:24:01 -04:00
Kamron Vaswani b90406ddd6 Revert "Remove redundant files and make support for specific OS for zstd compression" 2022-04-20 17:23:45 -04:00
Kamron Vaswani 0ed0893682 Merge pull request #46 from c0508383/master
Scripted Dialog Hook Fix
2022-04-20 17:23:24 -04:00
Luis C.M ff37a8bec2 Merge branch 'KAMKEEL:master' into master 2022-04-13 04:27:25 -05:00
Luis C.M 1e88a4458d Fixed bug with NPC dialog scripts. 2022-04-13 04:25:44 -05:00
KAMKEEL a3414d8d75 New Cape Textures - Daybreak 2022-04-12 03:35:42 -04:00
KAMKEEL e72672ad71 Revert to Original 😦 2022-04-11 23:01:41 -04:00
KAMKEEL 77ed924492 Steve32 Fake Framework
Started Creating Steve32 Fake so that 64x64 Textures can be applied to 64x32 Steve
2022-04-09 21:04:09 -04:00
KAMKEEL 628fd1084e Cloak Reorganization Compatibility Update 2022-04-09 02:36:14 -04:00
KAMKEEL 18a86d30e7 Update build.gradle 2022-04-09 02:15:14 -04:00
KAMKEEL 71216350d8 Merge branch 'master' into dev 2022-04-09 02:14:21 -04:00
KAMKEEL 0732d98ff8 1.5.3 Gradle Update | Add Version Compatibility Changes
Update Version to 1.5.3
Remove Useless String Statements / Comments
Add Temporary Fixes to Version Compatibility as permanent fixes
1.5.3
2022-04-09 01:31:21 -04:00
KAMKEEL 5ad6bb094a Merge branch 'master' into dev 2022-04-09 01:22:15 -04:00
KAMKEEL 465f52b811 Update RenderNPCInterface.java 2022-04-09 01:21:40 -04:00
Kamron Vaswani 32f89f8e92 Merge pull request #45 from c0508383/master
Important script hook fix, additions to dialog and dialog closed hooks for NPCs
2022-04-09 01:20:53 -04:00
Luis C.M 65bb3b5939 Important fix to some NPC hook scripts crashing, added option and dialog object fields to local NPC dialog and NPC dialog closed scripts 2022-04-09 00:17:16 -05:00
KAMKEEL 8c677901d0 Reorganized Cape Textures 2022-04-09 01:11:05 -04:00
KAMKEEL dd67f12818 Cape System Overhaul 2022-04-08 03:40:46 -04:00
KAMKEEL e95eb0ee98 Add Texture Pack 2022-04-06 19:00:27 -04:00
Kamron Vaswani ea3669fed8 Merge pull request #44 from luiz-otavio/dev
Remove redundant files and make support for specific OS for zstd compression
2022-04-06 15:08:11 -04:00
luiz-otavio 6294062d23 chore(gradle): make supported OS for zstd compression 2022-04-06 00:32:55 -03:00
KAMKEEL 5aa5fb335c Remove ME 2022-04-05 20:01:27 -04:00
KAMKEEL be44db63d3 Update Alex Arm Item Offset 2022-04-05 19:33:36 -04:00
KAMKEEL 993e7a9d7c LOTR Capes! 2022-04-05 17:56:05 -04:00
KAMKEEL ebc0b96582 Code Cleanup for Bow Fix 2022-04-05 17:55:13 -04:00
Kamron Vaswani 6101e75306 Merge pull request #43 from c0508383/master
Bow & Solid Legwear Fixes
2022-04-05 17:51:03 -04:00
Luis C.M 4abe8dca92 Merge remote-tracking branch 'origin/master' 2022-04-05 16:48:37 -05:00
Luis C.M 8749ba0280 Fixed bow rendering for mods with custom bow renderers 2022-04-05 16:48:27 -05:00
Luis C.M 6a0af3b0a0 Fixed solid legwear right & left sides being flipped 2022-04-05 16:10:58 -05:00
Kamron Vaswani f59b5d1e87 Merge pull request #42 from c0508383/master
Solid Steve armwear fix
2022-04-05 04:01:54 -04:00
Luis C.M cddada1984 Merge branch 'KAMKEEL:master' into master 2022-04-03 19:14:46 -05:00
Luis C.M 917f0d030a Fixed solid Steve armwear 2022-04-03 19:14:19 -05:00
KAMKEEL 3454ecb78a Update Version 1.5.2 2022-04-03 14:37:50 -04:00