So if I do it in a resource pack, can I overwrite the sounds from other mods (I don't want to overlay the vanilla sounds, but I'm fine for other mods.)
So if I do it in a resource pack, can I overlay the sound files from other mods?
I know this is an older post and hasn't had an answer but the answer is yes to some mods. I don't think it works for certain mods but others do as long as you reproduce the exact soundfile name and sound.json call corectly.
I have a huge problem: I'm on 1.7.10 and used custom npc to spawn random mobs using "natural spawn". I chose a model from my clones but something went wrong and now they are spawning overload!
I tried deleting their "natural spawn" but they still spawn in the world. Is there a command that I can use to kill off all of thse spawns?
I'm a huge fan of your mod, but I have a big issue with it : its performance.
You see, it was one of the first mods I've installed into my server, but 10, 20 or 30 mods added later, I still have the same issue : this mod make the server lags a lot. I don't know why. But even creating a small island with 10 npcs makes the server spam "Can't keep up" messages into the console.
@Yellow768: For some reason, old way with folder and new way with resourcepack just don't work for me.
When i add sounds directly to jar, they are working just fine and i don't know, why.
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:
299
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:
So if I do it in a resource pack, can I overwrite the sounds from other mods (I don't want to overlay the vanilla sounds, but I'm fine for other mods.)
So if I do it in a resource pack, can I overlay the sound files from other mods?
I know this is an older post and hasn't had an answer but the answer is yes to some mods. I don't think it works for certain mods but others do as long as you reproduce the exact soundfile name and sound.json call corectly.
Heya,
I have a huge problem: I'm on 1.7.10 and used custom npc to spawn random mobs using "natural spawn". I chose a model from my clones but something went wrong and now they are spawning overload!
I tried deleting their "natural spawn" but they still spawn in the world. Is there a command that I can use to kill off all of thse spawns?
Hi,
I'm a huge fan of your mod, but I have a big issue with it : its performance.
You see, it was one of the first mods I've installed into my server, but 10, 20 or 30 mods added later, I still have the same issue : this mod make the server lags a lot. I don't know why. But even creating a small island with 10 npcs makes the server spam "Can't keep up" messages into the console.
any idea of what I could do to help this ?
Hi my Name ist Alexander!
And i got a Big question how to i download the Custom Npcs Items? or Blocks Weapons
I really need help because i only got the Custom Npcs
@Yellow768: For some reason, old way with folder and new way with resourcepack just don't work for me.
When i add sounds directly to jar, they are working just fine and i don't know, why.
@imizockt_yt: You need "Varied Commodities" addon from @Noppes.
You can find it on "Curse" here: https://minecraft.curseforge.com/projects/varied-commodities
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
}