---- Minecraft Crash Report ----
// There are four lights!
Time: 04.01.17 22:55
Description: Exception in server tick loop
net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from CustomNPCs (customnpcs)
Caused by: java.lang.ClassCastException: net.minecraft.item.ItemAir cannot be cast to noppes.npcs.items.ItemNpcBlock
at noppes.npcs.CustomItems.load(CustomItems.java:399)
at noppes.npcs.CustomNpcs.load(CustomNpcs.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:635)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:243)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:221)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:145)
at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:626)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:329)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:121)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:442)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.11
Operating System: Windows Server 2012 R2 (amd64) version 6.3
Java Version: 1.8.0_111, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1865463336 bytes (1779 MB) / 2058354688 bytes (1963 MB) up to 2058354688 bytes (1963 MB)
JVM Flags: 2 total; -Xmx2048M -Xms2048M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.35 Powered by Forge 13.19.1.2199 10 mods loaded, 10 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCH minecraft{1.11} [Minecraft] (minecraft.jar)
UCH mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UCH FML{8.0.99.99} [Forge Mod Loader] (forge-1.11-13.19.1.2199-universal.jar)
UCH forge{13.19.1.2199} [Minecraft Forge] (forge-1.11-13.19.1.2199-universal.jar)
UCH chiselsandbits{13.6} [Chisels & Bits] (chiselsandbits-13.6.jar)
UCE customnpcs{1.11.0} [CustomNPCs] (CustomNPCs_1.11.0_beta(03dec16).jar)
UCH flatcoloredblocks{mc1.11-5.1} [Flat Colored Blocks] (flatcoloredblocks-mc1.11-5.1.jar)
UCH jei{4.1.1.208} [Just Enough Items] (jei_1.11-4.1.1.208.jar)
UCH moreplayermodels{1.11.0} [MorePlayerModels] (MorePlayerModels_1.11.0(03dec16).jar)
UCH persistentbits{1.0.6} [Persistent Bits] (PersistentBits-1.11-1.0.6.jar)
Loaded coremods (and transformers):
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)
This is the Server Error Log
Thanks.
Ah yes sadly its the bug i mentioned:
Caused by: java.lang.ClassCastException: net.minecraft.item.ItemAir cannot be cast to noppes.npcs.items.ItemNpcBlock
Here's the copy. I faced a problem with it however. The dodge often made the NPC teleport into walls, where it would be stuck until I mined it out again.
How about changing it so that it teleports behind the thing it's attacking?
i=200;
do {
check_block = world.getBlock(npc.getBlockX() + xdirX,i,npc.getBlockZ()+zdirZ);
i--;
if (check_block != null) {
y_pos = i+2;
i =0;
}
}
while (i > 0);
//
npc.setPosition(npc.getBlockX() + xdirX, y_pos, npc.getBlockZ() + zdirZ);
Just figured out how you put things into the code block. Neat trick!
I still thing you should keep some kind of place for all the scripts you make so people can use them.
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.
Howdy all I got a quick question, I have been using custom npcs for a long time now and I decided to add my own music to the mod and it shows up as a sound I can have my bard play yet when I select it to its just silent. The files are .ogg and in the json file. Weird huh?
Howdy all I got a quick question, I have been using custom npcs for a long time now and I decided to add my own music to the mod and it shows up as a sound I can have my bard play yet when I select it to its just silent. The files are .ogg and in the json file. Weird huh?
No - no its not weird.
What version?
Where exactly are you putting the sounds? and sound json?
I am using 1.7.10d, here is just a copy and paste of the songs I am using in the json. The json is in the custom npcs assets folder and the songs are in the songs folder of the assets.
I am using 1.7.10d, here is just a copy and paste of the songs I am using in the json. The json is in the custom npcs assets folder and the songs are in the songs folder of the assets.
OK if that is Exactly where they are - - try putting you json in:
\.minecraft\customnpcs\assets\customnpcs
and you songs folder should be in this directory:
\.minecraft\customnpcs\assets\customnpcs\sounds
if these folder are not there - create them
I have 1.7.10 I want a song to play when a npc attacks me. I looked in advanced but I didnt see anything like that. I tried angry but when I go to survival so he'll attack me it doesnt play.
HELP!. I Add skins to my custom NPC file (As i have done previously without any problem) and then the world does not detect the mod installed and there is no NPC Help!
Forget my last post, i realized what was wrong. But, on the other hand i am too dissapointed with the spawner job, it just does not work. Not only the npc´s name you select does not show up, but also it does not spawn the NPC. I am using the latest 1.7.10 version, but i wanted to use this job...
Noppes will start work on 1.11.2 when 1.11 is finished.
Rollback Post to RevisionRollBack
If you require aid with Custom NPC's give me a shout (In the thread, not PM's). I can read a bit of error reports, know most of the NPC workings (I'm attempting to work on scripting) and have been using it since its 1.0 version. Otherwise I'll help with any questions or problems I can.
Hi, is it possible to make an NPC disappear once the player has interacted with them through dialogue? If not, can the NPC at least go invisible? Also, on that note, is it also possible to make an NPC appear or at least become visible after completing a quest or interacting with a NPC beforehand?
Hi, is it possible to make an NPC disappear once the player has interacted with them through dialogue? If not, can the NPC at least go invisible? Also, on that note, is it also possible to make an NPC appear or at least become visible after completing a quest or interacting with a NPC beforehand?
Any help would be greatly appreciated
seems like this was talked about and solved a few pages back -- hmmm maybe not?
i make a quest where if you kill a npc called "Mega orok" you got 50 gold coins. Ok i make the dialog, the quest. The dialog work but when i press yes (the button for start the quest) the quest don't start. I use 1.7.10, please help!
Thanks.
Ah yes sadly its the bug i mentioned:
Caused by: java.lang.ClassCastException: net.minecraft.item.ItemAir cannot be cast to noppes.npcs.items.ItemNpcBlock
Noppes is looking into this. Thats all i know
Here's the copy. I faced a problem with it however. The dodge often made the NPC teleport into walls, where it would be stuck until I mined it out again.
How about changing it so that it teleports behind the thing it's attacking?
Just figured out how you put things into the code block. Neat trick!
I still thing you should keep some kind of place for all the scripts you make so people can use them.
Goodbye, Minecraft forums. If any of ya'll future people persons need to contact me for whatever dumb reason, my discord is EnderDude124#8340 as of 6/8/2019. Send me a message, I like a good chat.
Howdy all I got a quick question, I have been using custom npcs for a long time now and I decided to add my own music to the mod and it shows up as a sound I can have my bard play yet when I select it to its just silent. The files are .ogg and in the json file. Weird huh?
No - no its not weird.
What version?
Where exactly are you putting the sounds? and sound json?
I am using 1.7.10d, here is just a copy and paste of the songs I am using in the json. The json is in the custom npcs assets folder and the songs are in the songs folder of the assets.
},
"songs.excalibur": {
"category": "player",
"sounds": [{"name": "songs/Failboat103 - Excalibuuur", "stream": true}]
},
"songs.kyleb_7by8": {
"category": "player",
"sounds": [{"name": "songs/TheKyleb - 7 by 8", "stream": true}]
},
"songs.kyleb_bard": {
"category": "player",
"sounds": [{"name": "songs/TheKyleb - Bard", "stream": true}]
},
"songs.Aftermath": {
"category": "player",
"sounds": [{"name": "songs/Aftermath", "stream": true}]
},
"songs.CryingHeart": {
"category": "player",
"sounds": [{"name": "songs/CryingHeart", "stream": true}]
},
"songs.LandORiches": {
"category": "player",
"sounds": [{"name": "songs/LandORiches", "stream": true}]
},
"songs.LeavingHome": {
"category": "player",
"sounds": [{"name": "songs/LeavingHome", "stream": true}]
},
"songs.ToTheDeath": {
"category": "player",
"sounds": [{"name": "songs/ToTheDeath", "stream": true}]
},
"songs.TownLife": {
"category": "player",
"sounds": [{"name": "songs/ToTheDeath", "stream": true}]
},
"songs.Unforgotten": {
"category": "player",
"sounds": [{"name": "songs/Unforgotten", "stream": true}]
},
"songs.WeAre#1": {
"category": "player",
"sounds": [{"name": "songs/WeAre#1", "stream": true}]
OK if that is Exactly where they are - - try putting you json in:
\.minecraft\customnpcs\assets\customnpcs
and you songs folder should be in this directory:
\.minecraft\customnpcs\assets\customnpcs\sounds
if these folder are not there - create them
I have 1.7.10 I want a song to play when a npc attacks me. I looked in advanced but I didnt see anything like that. I tried angry but when I go to survival so he'll attack me it doesnt play.
Can you please make for 1.11.2?
HELP!. I Add skins to my custom NPC file (As i have done previously without any problem) and then the world does not detect the mod installed and there is no NPC Help!
Forget my last post, i realized what was wrong. But, on the other hand i am too dissapointed with the spawner job, it just does not work. Not only the npc´s name you select does not show up, but also it does not spawn the NPC. I am using the latest 1.7.10 version, but i wanted to use this job...
Noppes will start work on 1.11.2 when 1.11 is finished.
Actually mod1.11 is compatible with mc 1.11.2 client side at least..
Hi, is it possible to make an NPC disappear once the player has interacted with them through dialogue? If not, can the NPC at least go invisible? Also, on that note, is it also possible to make an NPC appear or at least become visible after completing a quest or interacting with a NPC beforehand?
Any help would be greatly appreciated
Update PLEASE Custom npc 1.11
before 1.7.10 PLEASEEEE!!!!!!![/pre]Quote from tobbiusness»
Noppes will start work on 1.11.2 when 1.11 is finished.
want that Custom npc updated version of 1.7.10, For in 1.11 few mods[/pre]
I write! across google translate
There wil sadly be no update for 1.7.10 anymore
I was also wondering how do i install it I have forge but it isnt letting me download it and i really like it (p.s i have a mac)
seems like this was talked about and solved a few pages back -- hmmm maybe not?
need more information
well you need to download it try http://www.kodevelopment.nl/minecraft/animalbikes/downloads