I don't know, something with your sound.json maybe.
The issue is, asking your players to open up the jar file and add these sounds to a specific folder is way more inconvinent than just having a resource pack. If its just for personal use, then do whatever you want.
Companion role in the 1.12.2 version of CustomNPCs, and when my
companion sat down to eat steak, the game crashed when he finished. Once
I re-entered the game, he disappeared and the only way I can spawn
another NPC is with the NPC Wand (Soulstones don't work.)
Here is the crash report:
---- Minecraft Crash Report ----
// You're mean.
Time: 6/8/19 9:05 PM
Description: Ticking entity
java.lang.ClassCastException: net.minecraft.item.ItemAir cannot be cast to net.minecraft.item.ItemFood
at noppes.npcs.roles.RoleCompanion.doEating(RoleCompanion.java:203)
at noppes.npcs.roles.RoleCompanion.aiUpdateTask(RoleCompanion.java:134)
at noppes.npcs.ai.EntityAIRole.func_75246_d(EntityAIRole.java:35)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:129)
at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:763)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2359)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:577)
at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:341)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2179)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:225)
at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:50)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
here is my review on the mod:1. it is wayyyy to complicated to create a npc 2. when i use url the skins only load in the first time i play and after that the url's dont work and revert back to steve 3. the realistic eye thing is just wrong and breaks many models 4.to download then you have to go through many unnecessary steps 5. the faq is useless and there are almost no tutorials for the mod DO NOT DOWNLOAD it is very stressful as well
thats happening to me to but i opened a archive and all the items are in the file it just doesn't register them them so its wasting space even with jei and nei it will not show them
thats happening to me to but i opened a archive and all the items are in the file it just doesn't register them them so its wasting space even with jei and nei it will not show them
This mod is amazing, though I think you should consider making a parent feature. and by that I mean make it so that I can select an NPC and make the parent a vehicle such as a car, so that the npc's can sit inside a car with me while I drive.
The Meaning of Life, the Universe, and Everything.
Location:
Neverland
Join Date:
7/25/2012
Posts:
302
Minecraft:
HalestormXV
Member Details
Anyone have a sample of how to utilize this with InControl? We were discussing it on Discord a while ago and their were some samples posted but I lost them. As well as what it would look like to have them spawned in with Scripts active? I know the entity is singular for all NPCs and generally their data is stored within the NBT.
I am currently having trouble creating a "transform" feature for a custom Wither boss I'm making. I followed an online tutorial and the transformation itself works, but then afterwards when my boss gets to low enough HP it just does the transformation over and over and you can't actually kill it. Any help? Here is what I put, any help would be appreciated: (Using ECMAScript)
//Calculate damage percentage
var dmg = npc.getMaxHealth() - npc.getHealth()
I am currently having trouble creating a "transform" feature for a custom Wither boss I'm making. I followed an online tutorial and the transformation itself works, but then afterwards when my boss gets to low enough HP it just does the transformation over and over and you can't actually kill it. Any help? Here is what I put, any help would be appreciated: (Using ECMAScript)
Your Boss has no way of knowing that it already transformed. You can add a simple variable for this like:
I tried it but it still kept transforming over and over again. After further testing I found out that the script knows the variable has changed, but despite that the transformation still happens again and again. Here is my code after adding a variable:
//This part is in the Init section
npc.setTempData("transform",0);
I changed some stuff in the code but although you can now kill the boss it still won't stop with the thunder strikes and the explosion particle, so unless people don't like being struck lots of thunder bolts and a fake explosion I guess it's fine now? I still want the thunder and particle to stop once it happens once though.
I tried it but it still kept transforming over and over again. After further testing I found out that the script knows the variable has changed, but despite that the transformation still happens again and again. Here is my code after adding a variable:
I changed some stuff in the code but although you can now kill the boss it still won't stop with the thunder strikes and the explosion particle, so unless people don't like being struck lots of thunder bolts and a fake explosion I guess it's fine now? I still want the thunder and particle to stop once it happens once though.
Check my post above. I do the exact same thing to turn off my bosses explosion move. You can easily accomplish this by setting a variable to true when you want the move active and false when you don’t want it active. You can see I declare mine right at the start var explosionTrigger = false
Soo I just bumped into a problem when changing skins of NPC's. I downloaded a skin that I wanted to use and changed its name before saving it. When I went to choose it in-game, it was completely black with its arms purple. Then I downloaded the skin without changing the name, and it had no problem showing the actual skin.
Is this a Minecraft Skin thing or a mod specific problem? (Or am I missing somthing very important here...?)
I don't know, something with your sound.json maybe.
The issue is, asking your players to open up the jar file and add these sounds to a specific folder is way more inconvinent than just having a resource pack. If its just for personal use, then do whatever you want.
But I know that a resource pack works, because my map uses it, and I have it. http://www.mediafire.com/file/j8ptfbh19um3sm6/Daruma+Resource+PackOnly1-16-19.rar
If you add that and playsound "exploring", you should hear music.
Companion role in the 1.12.2 version of CustomNPCs, and when my
companion sat down to eat steak, the game crashed when he finished. Once
I re-entered the game, he disappeared and the only way I can spawn
another NPC is with the NPC Wand (Soulstones don't work.)
Here is the crash report:
---- Minecraft Crash Report ----
// You're mean.
Time: 6/8/19 9:05 PM
Description: Ticking entity
java.lang.ClassCastException: net.minecraft.item.ItemAir cannot be cast to net.minecraft.item.ItemFood
at noppes.npcs.roles.RoleCompanion.doEating(RoleCompanion.java:203)
at noppes.npcs.roles.RoleCompanion.aiUpdateTask(RoleCompanion.java:134)
at noppes.npcs.ai.EntityAIRole.func_75246_d(EntityAIRole.java:35)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:129)
at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:763)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2359)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:577)
at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:341)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2179)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:225)
at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:50)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at noppes.npcs.roles.RoleCompanion.doEating(RoleCompanion.java:203)
at noppes.npcs.roles.RoleCompanion.aiUpdateTask(RoleCompanion.java:134)
at noppes.npcs.ai.EntityAIRole.func_75246_d(EntityAIRole.java:35)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:129)
at net.minecraft.entity.EntityLiving.func_70626_be(EntityLiving.java:763)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:2359)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:577)
at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:341)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:2179)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:295)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:225)
at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:50)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)
-- Entity being ticked --
Details:
Entity Type: customnpcs:customnpc (noppes.npcs.entity.EntityCustomNpc)
Entity ID: 221
Entity Name: Dacks
Entity's Exact location: -7.50, 4.00, -226.50
Entity's Block location: World: (-8,4,-227), Chunk: (at 8,0,13 in
-1,-15; contains blocks -16,0,-240 to -1,255,-225), Region: (-1,-1;
contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Entity's Momentum: 0.00, -0.08, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
-- Affected level --
Details:
Level name: New World 4
All players: 1 total; [EntityPlayerMP['PolvonionSSJ'/220, l='New World 4', x=-9.27, y=4.00, z=-223.91]]
Chunk stats: ServerChunkCache: 737 Drop: 0
Level seed: -4937248722744632459
Level generator: ID 01 - flat, ver 0. Features enabled: true
Level generator options:
Level spawn location: World: (-32,4,-52), Chunk: (at 0,0,12 in -2,-4;
contains blocks -32,0,-64 to -17,255,-49), Region: (-1,-1; contains
chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)
Level time: 11673 game time, 11673 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 18557 (now: false), thunder time: 85716 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Mac OS X (x86_64) version 10.13.6
Java Version: 1.8.0_74, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 917094992 bytes (874 MB) / 1375731712 bytes (1312 MB) up to 5368709120 bytes (5120 MB)
JVM Flags: 7 total; -Xmx5G -XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20
-XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.5.2838 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' =
Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available
'D' = Disabled 'E' = Errored
| State | ID | Version | Source | Signature |
|:------ |:---------- |:------------ |:------------------------------ |:---------------------------------------- |
| LCHIJA | minecraft | 1.12.2 | minecraft.jar | None |
| LCHIJA | mcp | 9.42 | minecraft.jar | None |
| LCHIJA | FML | 8.0.99.99 | forge-1.12.2-14.23.5.2838.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | forge | 14.23.5.2838 | forge-1.12.2-14.23.5.2838.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | customnpcs | 1.12 | CustomNPCs_1.12.2(30Jan19).jar | None |
Loaded coremods (and transformers):
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
Profiler Position: N/A (disabled)
Player Count: 1 / 8; [EntityPlayerMP['PolvonionSSJ'/220, l='New World 4', x=-9.27, y=4.00, z=-223.91]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'
Here are my computer specs if you need them. I was also running the game at 5 GB of RAM maximum.
macOS High Sierra
Version 10.13.6
iMac - (21.5-inch, Late 2013)
Processor - 2.9 GHz Intel Core i5
Memory - 8 GB 1600 MHz DDR3
Startup Disk - Macintosh HD
Graphics - NVIDIA GeForce GT 750M 1024 MB
Serial Number - D25MH03FF8J3
Sorry if I sent any unnecessary information. This is my first time sending a crash report.
Thank you!
here is my review on the mod:1. it is wayyyy to complicated to create a npc 2. when i use url the skins only load in the first time i play and after that the url's dont work and revert back to steve 3. the realistic eye thing is just wrong and breaks many models 4.to download then you have to go through many unnecessary steps 5. the faq is useless and there are almost no tutorials for the mod DO NOT DOWNLOAD it is very stressful as well
i have a problem with 1.12.2 NONE OF THE EXTRA ITEMS WORK here is an example https://imgur.com/gallery/JHUynBk
i think i know what happened that when he finished eating he tried to eat the air that might explain part of it
thats happening to me to but i opened a archive and all the items are in the file it just doesn't register them them so its wasting space even with jei and nei it will not show them
Well, they don't start with customnpc id anymore, they start with variedcommodities since they were moved into a separate mod https://minecraft.curseforge.com/projects/varied-commodities
PLZ READ.
This mod is amazing, though I think you should consider making a parent feature. and by that I mean make it so that I can select an NPC and make the parent a vehicle such as a car, so that the npc's can sit inside a car with me while I drive.
Anyone have a sample of how to utilize this with InControl? We were discussing it on Discord a while ago and their were some samples posted but I lost them. As well as what it would look like to have them spawned in with Scripts active? I know the entity is singular for all NPCs and generally their data is stored within the NBT.
How do I Remove the Solid Headlayer on an NPC?
of an*
I am currently having trouble creating a "transform" feature for a custom Wither boss I'm making. I followed an online tutorial and the transformation itself works, but then afterwards when my boss gets to low enough HP it just does the transformation over and over and you can't actually kill it. Any help? Here is what I put, any help would be appreciated: (Using ECMAScript)
Your Boss has no way of knowing that it already transformed. You can add a simple variable for this like:
var phasetwo = 0
if(dmg >= 2000 && npc.getHealth() > 0 && phasetwo = 0){
[...]
phasetwo = 1
}
Here is a method of doing phase checks:
https://pastebin.com/U7WFHGMY
I tried it but it still kept transforming over and over again. After further testing I found out that the script knows the variable has changed, but despite that the transformation still happens again and again. Here is my code after adding a variable:
I changed some stuff in the code but although you can now kill the boss it still won't stop with the thunder strikes and the explosion particle, so unless people don't like being struck lots of thunder bolts and a fake explosion I guess it's fine now? I still want the thunder and particle to stop once it happens once though.
Is there a way to make the npcs allow players to choose a Pixelmon from the Pixelmon reforged mod?
Check my post above. I do the exact same thing to turn off my bosses explosion move. You can easily accomplish this by setting a variable to true when you want the move active and false when you don’t want it active. You can see I declare mine right at the start var explosionTrigger = false
Soo I just bumped into a problem when changing skins of NPC's. I downloaded a skin that I wanted to use and changed its name before saving it. When I went to choose it in-game, it was completely black with its arms purple. Then I downloaded the skin without changing the name, and it had no problem showing the actual skin.
Is this a Minecraft Skin thing or a mod specific problem? (Or am I missing somthing very important here...?)
Link to The Skin I wanted to use
Edit: I'm not using spaces or anything in the naming, I use the a-z 0-9 format.
.
Noppes! help!
I downloaded the mod for 1.12.2 and I didn't get the weapons or the items, only the NPC wand, etc. but no other things! like the coins. Why?
Am I using the wrong forge? 1.12.2-forge1.12.2-14.23.5.2768. please help I need this with ion a few days I have a huge series coming up!
~Epicjoedogg721,
They're in a new mod called Varied Commodities