Luis C.M
f301f8fcbb
The player quest tracker now supports dialog and location quests as well.
2022-05-29 05:33:13 -05:00
Luis C.M
f9e92f3172
Added blend attribute to skin overlays.
2022-05-29 05:23:39 -05:00
Luis C.M
9928482c53
Fixed null error with the quest tracker.
2022-05-29 05:09:30 -05:00
Luis C.M
e71ea4f495
Fixed the quest tracking overlay alignment.
2022-05-29 05:06:18 -05:00
Luis C.M
e2df33fb5f
Added quest objective and turnin data to the quest tracker.
2022-05-29 04:45:38 -05:00
Luis C.M
0ed5887046
Alex armor now renders correctly for NPCs.
2022-05-29 03:06:57 -05:00
Luis C.M
2b15ba9197
Fixed x64 texture bug, breaking textures after switching the model type from x64 to x32
...
Fixed crash report handler issue with custom overlays.
Removed "textureGlowLocation" field, which is unused now.
2022-05-28 02:12:33 -05:00
Luis C.M
76802d1926
Pushed IDBCPlayer interface.
2022-05-27 15:55:15 -05:00
Luis C.M
8d4a7ea0b6
More merge fixes
2022-05-27 15:54:12 -05:00
Luis C.M
ec5fc71413
Merge branch 'master' into dev
...
# Conflicts:
# src/main/java/noppes/npcs/scripted/ScriptFaction.java
# src/main/java/noppes/npcs/scripted/ScriptWorld.java
# src/main/java/noppes/npcs/scripted/entity/ScriptNpc.java
# src/main/java/noppes/npcs/scripted/entity/ScriptPlayer.java
# src/main/java/noppes/npcs/scripted/interfaces/IEntity.java
# src/main/java/noppes/npcs/scripted/interfaces/IWorld.java
# src/main/java/noppes/npcs/scripted/interfaces/entity/ICustomNpc.java
# src/main/java/noppes/npcs/scripted/interfaces/entity/IPlayer.java
2022-05-27 15:31:02 -05:00
Luis C.M
301e113be2
Added quest tracking, need to add objectives list and turn in info too.
2022-05-27 14:32:24 -05:00
1whohears
f83487f67b
removed setblock with the Minecraft block class as a parameter
2022-05-27 11:28:01 -05:00
1whohears
0d2011b2ba
added some doc comments
2022-05-26 20:55:11 -05:00
1whohears
81033e5a9c
renamed getFactionEnemies to getEnemyFactionIds
...
IFaction[] getFactionEnemies();
I think this should be implemented in PR #50 because IFaction is setup better there
2022-05-26 20:47:46 -05:00
1whohears
a49dfff86a
added world.rayCastBlock(IPos, IPos, int)
2022-05-26 20:44:44 -05:00
1whohears
3cf780d9a2
add get reset disable purchase num by slot number and IPlayer
...
needed to add get/setStringIntegerArrayMap to NBTTags so save the player purchases and disabled slots with a String int[] hashmap
2022-05-26 15:57:24 -05:00
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
Luis C.M
2895f7a76a
Removed overridden getDimension() function, and an unused HashMap for skin overlays from ScriptPlayer.
2022-05-26 01:46:38 -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
Luis C.M
38e960d475
x32 textures now compatible with x64 models.
2022-05-24 19:30:24 -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
Luis C.M
95bc4bf42d
Renamed TransformData to DataTransform.
2022-05-24 01:08:23 -05:00
Luis C.M
33bb0307e9
Separated data objects and data controller objects in the noppes.npcs.controllers package.
2022-05-24 01:07:50 -05:00
Luis C.M
d040fa3da7
Overlays blend with alpha values whether glowing or not.
2022-05-24 00:58:12 -05:00
Luis C.M
991635f4cc
Sped up how fast hotbar items are switched when players have a skin overlay on.
2022-05-24 00:48:33 -05:00
Luis C.M
532180f00f
Fixed NBT issue with player overlays.
2022-05-24 00:36:47 -05:00
Luis C.M
82938fe5cd
Fixed NBT issue with player overlays.
2022-05-24 00:11:34 -05:00
Luis C.M
b6c62332ed
Fixed SkinOverlay objects not having their parent object initialized correctly.
2022-05-23 20:47:32 -05:00
Luis C.M
6220a8ce14
-Overlays for players and NPCs are now grouped in an "overlay handler" object, similar to how you retrieve timers.
...
-Fixed client NPC overlay updates.
2022-05-23 20:41:32 -05:00
Luis C.M
6fa5d0d8de
Improved alpha blending for skin overlays
2022-05-23 00:45:32 -05:00
Luis C.M
40fce63734
Skin overlays render on top of Saiyan tails.
2022-05-22 05:17:01 -05:00
Luis C.M
d93ffc859c
Skin overlays render on top of Namekian antennae now.
2022-05-22 05:14:13 -05:00
Luis C.M
fd9e0d8ead
Skin overlays when viewed in first person now correctly apply moving texture updates.
2022-05-22 05:08:43 -05:00
Luis C.M
0a067eceb5
Added DBC support for overlays.
2022-05-21 20:00:45 -05:00
Luis C.M
7bd0155dbf
Implemented player skin overlays to be compatible with other mods' custom player renderers (Renders on top using events instead of registering a new renderer).
2022-05-20 05:02:18 -05:00
Luis C.M
b9266c3cc5
Added plenty more documentation for the javadoc.
2022-05-17 18:02:09 -05:00
Luis C.M
af4b467931
Updated the arrangement of interfaces and functions of ScriptParticle to be more readable for future javadoc filling.
2022-05-17 05:35:08 -05:00
Luis C.M
57ce6b7a26
Removed plenty of unnecessary setters from ScriptParticle.
2022-05-17 05:26:45 -05:00
Luis C.M
fd1aa40456
Added some documentation to a few interfaces for the javadoc.
2022-05-17 05:24:57 -05:00
Luis C.M
648206f5ba
Updated interfaces to have the new skin overlay functions.
2022-05-17 04:53:41 -05:00
Luis C.M
41401d0521
Removed redundant ScriptSkinOverlay, using SkinOverlayData in place of it, which now implements ISkinOverlay.
2022-05-17 04:46:06 -05:00
Luis C.M
8bc3190295
Implemented multiple overlay layers for CNPCs, replaces powered textures.
2022-05-17 04:34:46 -05:00