Commit Graph
13 Commits
Author SHA1 Message Date
Kam 5d41f5b939 Rename Namespace to kamkeel.npcs 2025-01-29 13:20:04 -05:00
Kam 7075f2e7a4 DBC Damage on Projectiles 2024-04-09 20:35:53 -04:00
Kam e46b78ff71 Optimize Imports 2024-02-15 17:54:28 -05:00
Kam 0de0d0fea5 Kill Projectile after a Minute 2024-01-18 14:47:15 -05:00
Kam 3e43855128 Merge Dev into PR 110 2024-01-18 14:45:08 -05:00
Goodbird 0be46a4e72 Fixed bug with stuck projectiles 2024-01-03 11:08:58 +03:00
Kam 24d12e25a9 Fix IProjectile Events
Thank you @somehussar
2023-12-31 16:10:38 -05:00
Luis C.M 864ce6befc NullPointerException fix when an NPC misses a projectile. 2023-03-29 22:13:58 -05:00
Luis C.M 46d668f44c Added IProjectile and its events. 2023-03-16 02:51:40 -05:00
KAMKEEL bda76bafe6 Optimize Imports 2023-01-12 21:33:06 -05:00
1whohears 84973a025a moved projectilesKeepTerrain to DataStats 2022-05-26 01:45:10 -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 a31efb2dc3 1.7.10 Files
Files added
2018-09-13 12:03:28 -04:00