1.7.10 handmadegunsとカスタムNPCmodのバグ

テクスチャやMODの導入に関する質問はこちらでどうぞ!
フォーラムルール
質問関連フォーラムで質問する時は、必ず次のトピックを一読/厳守お願い致します。
viewtopic.php?f=5&t=999
  • (PostNo.309784)

1.7.10 handmadegunsとカスタムNPCmodのバグ

投稿記事by コリブリ » 2017年11月01日(水) 00:49

1.7.10の環境でカスタムNPCで生成したNPCにhandmadegunsで追加される銃を持たせるとクラッシュしてしまいます。攻撃する瞬間にクラッシュすることが多いです。その時のNPCには銃とカスタムNPC本体で追加される鉄の弾を持たせてました。クラッシュする原因を教えてもらえないでしょうか?
以下クラッシュレポート
---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 17/11/01 0:40
Description: Ticking entity

java.lang.ClassCastException: noppes.npcs.entity.EntityCustomNpc cannot be cast to net.minecraft.entity.player.EntityPlayer
at handmadeguns.HMGItemGun_AR.onEntitySwing(HMGItemGun_AR.java:126)
at net.minecraft.entity.EntityLivingBase.func_71038_i(EntityLivingBase.java:1184)
at noppes.npcs.ai.EntityAIRangedAttack.func_75246_d(EntityAIRangedAttack.java:156)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:103)
at net.minecraft.entity.EntityLiving.func_70619_bc(EntityLiving.java:640)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1774)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:452)
at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:362)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1611)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:272)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:247)
at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:34)
at net.minecraft.world.World.func_72866_a(World.java:2070)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
at net.minecraft.world.World.func_72870_g(World.java:2034)
at WorldServerOF.func_72870_g(WorldServerOF.java:347)
at net.minecraft.world.World.func_72939_s(World.java:1887)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at handmadeguns.HMGItemGun_AR.onEntitySwing(HMGItemGun_AR.java:126)
at net.minecraft.entity.EntityLivingBase.func_71038_i(EntityLivingBase.java:1184)
at noppes.npcs.ai.EntityAIRangedAttack.func_75246_d(EntityAIRangedAttack.java:156)
at net.minecraft.entity.ai.EntityAITasks.func_75774_a(SourceFile:103)
at net.minecraft.entity.EntityLiving.func_70619_bc(EntityLiving.java:640)
at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1774)
at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:452)
at noppes.npcs.entity.EntityNPCInterface.func_70636_d(EntityNPCInterface.java:362)
at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1611)
at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:272)
at noppes.npcs.entity.EntityNPCInterface.func_70071_h_(EntityNPCInterface.java:247)
at noppes.npcs.entity.EntityCustomNpc.func_70071_h_(EntityCustomNpc.java:34)
at net.minecraft.world.World.func_72866_a(World.java:2070)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
at net.minecraft.world.World.func_72870_g(World.java:2034)
at WorldServerOF.func_72870_g(WorldServerOF.java:347)
at net.minecraft.world.World.func_72939_s(World.java:1887)

-- Entity being ticked --
Details:
Entity Type: customnpcs.CustomNpc (noppes.npcs.entity.EntityCustomNpc)
Entity ID: 479
Entity Name: テスト銃だけ
Entity's Exact location: 1846.40, 4.00, -1212.39
Entity's Block location: World: (1846,4,-1213), Chunk: (at 6,0,3 in 115,-76; contains blocks 1840,0,-1216 to 1855,255,-1201), Region: (3,-3; contains chunks 96,-96 to 127,-65, blocks 1536,0,-1536 to 2047,255,-1025)
Entity's Momentum: -0.04, -0.08, 0.03
Stacktrace:
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)

-- Affected level --
Details:
Level name: 000
All players: 1 total; [EntityPlayerMP['kurohamu61'/8, l='000', x=1847.49, y=4.00, z=-1217.16]]
Chunk stats: ServerChunkCache: 962 Drop: 0
Level seed: -6038939337093535225
Level generator: ID 01 - flat, ver 0. Features enabled: true
Level generator options:
Level spawn location: World: (1853,4,-1206), Chunk: (at 13,0,10 in 115,-76; contains blocks 1840,0,-1216 to 1855,255,-1201), Region: (3,-3; contains chunks 96,-96 to 127,-65, blocks 1536,0,-1536 to 2047,255,-1025)
Level time: 3926 game time, 3926 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 106883 (now: false), thunder time: 117246 (now: false)
Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 9258442896 bytes (8829 MB) / 10710614016 bytes (10214 MB) up to 13931839488 bytes (13286 MB)
JVM Flags: 7 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms10G -Xmx13G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn256M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 5, tallocated: 67
FML: MCP v9.05 FML v7.10.99.99 Minecraft Forge 10.13.4.1614 Optifine OptiFine_1.7.10_HD_U_D6 58 mods loaded, 58 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
UCHIJAAAA FML{7.10.99.99} [Forge Mod Loader] (forge-1.7.10-10.13.4.1614-1.7.10.jar)
UCHIJAAAA Forge{10.13.4.1614} [Minecraft Forge] (forge-1.7.10-10.13.4.1614-1.7.10.jar)
UCHIJAAAA CodeChickenCore{1.0.7.47} [CodeChicken Core] (minecraft.jar)
UCHIJAAAA intelliinput{2.5} [IntelliInput for 1.7.10] (minecraft.jar)
UCHIJAAAA NotEnoughItems{1.0.5.120} [Not Enough Items] (NotEnoughItems-1.7.10-1.0.5.120-universal.jar)
UCHIJAAAA OpenModsCore{0.10} [OpenModsCore] (minecraft.jar)
UCHIJAAAA <CoFH ASM>{000} [CoFH ASM] (minecraft.jar)
UCHIJAAAA FastCraft{1.23} [FastCraft] (fastcraft-1.23.jar)
UCHIJAAAA net.minecraft.storagebox.mod_StorageBox{3.0.5} [StorageBox] (%5B1.7.10%5D%5Bforge1180%5Dmod_StorageBox_v3.0.5.zip)
UCHIJAAAA net.minecraft.scalar.cutall.mod_CutAllSMP{2.5.0} [CutAllSMP] (%5B1.7.10%5D%5Bforge1291%5Dmod_CutAllSMP_v2.5.0.zip)
UCHIJAAAA net.minecraft.scalar.digall.mod_DigAllSMP{2.3.0} [DigAllSMP] (%5B1.7.10%5D%5Bforge1291%5Dmod_DigAllSMP_v2.3.0.zip)
UCHIJAAAA net.minecraft.scalar.mineall.mod_MineAllSMP{2.6.1} [MineAllSMP] (%5B1.7.10%5D%5Bforge1291%5Dmod_MineAllSMP_v2.6.1.zip)
UCHIJAAAA net.minecraft.scalar.pickupwidely.mod_PickupWidelySMP{1.2.3} [PickupWidelySMP] (%5B1.7.2%5D%5Bforge1033%5Dmod_PickupWidelySMP_v1.2.3.zip)
UCHIJAAAA ReisMinimap Original{v3.5(beta)} [ReisMinimap Original] (1.7.10-rei.jar)
UCHIJAAAA jammyfurniture{4.6} [Jammy Furniture Mod] (1.7.10_Jammy_Furniture_Mod_V4.6_RC1.jar)
UCHIJAAAA DamageIndicatorsMod{3.2.3} [Damage Indicators] ([1.7.10]DamageIndicatorsMod-3.2.3.jar)
UCHIJAAAA mod_ecru_MapleTree{1.1.33e} [MapleTree] ([1.7.10]MapleTree Forge v1.1.33e.jar)
UCHIJAAAA mod_ecru_Faucet_Forge{1.0.2a} [Faucet] ([1.7.x]Faucet Forge v1.0.2a.zip)
UCHIJAAAA BambooMod{Minecraft@MC_VERSION@ var@VERSION@} [BambooMod] (Bamboo-2.6.8.5.jar)
UCHIJAAAA BiblioCraft{1.11.5} [BiblioCraft] (BiblioCraft[v1.11.5][MC1.7.10].jar)
UCHIJAAAA chocolateQuest{1.0} [Chocolate Quest] (chocolateQuest-1.7.10-1.0.jar)
UCHIJAAAA ClearArmorMod{ver1.0.0} [Clear Armor Mod] (ClearArmorMod-1.0.0.zip)
UCHIJAAAA CoFHCore{1.7.10R3.1.4} [CoFH Core] (CoFH-Core-1.7.10.jar)
UCHIJAAAA kegare.craftingex{1.0.4} [Crafting EX] (CraftingEX_1.7.10-v1.0.4.jar)
UCHIJAAAA customnpcs{1.7.10d} [CustomNpcs] (CustomNPCs_1.7.10d(21feb16).jar)
UCHIJAAAA customrecipes{4.72} [Custom Recipes] (customrecipes-1.7.10-4.7.jar)
UCHIJAAAA DragonMounts{r41-1.7.10} [Dragon Mounts] (DragonMounts-r41-1.7.10.jar)
UCHIJAAAA ForgeMultipart{1.2.0.345} [Forge Multipart] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar)
UCHIJAAAA ExtraUtilities{1.2.12} [Extra Utilities] (extrautilities-1.2.12.jar)
UCHIJAAAA flansmod{4.10.0} [Flan's Mod] (Flans Mod Plus-1.7.10-4.10.0-1.0.3.jar)
UCHIJAAAA HandmadeArmors{1.7.x-srg-1} [HandmadeArmors] (handmadearmors)
UCHIJAAAA HandmadeGuns{1.7.x-srg-1} [HandmadeGuns] (handmadeguns)
UCHIJAAAA mod.ymt.air.HariboteAirCraft{172v3 hiten} [HariboteAirCraft] (HariboteAirCraft_172v3.zip)
UCHIJAAAA GVCEntity{1.7.x-srg-1} [GVCEntity] (HMG_GVCGunsReversion1.7.x.9.1.zip)
UCHIJAAAA GVCGuns{1.7.x-srg-1} [GVCGuns] (HMG_GVCGunsReversion1.7.x.9.1.zip)
UCHIJAAAA GVCMob{1.7.x-srg-1} [GVCMob] (HMG_GVCMobReversion1.7.x.9.zip)
UCHIJAAAA idChecker{1.7.10} [ID Checker] (IDChecker-1.7.10d.jar)
UCHIJAAAA mod_Invasion{1.1.5} [Invasion] (Invasion_1.1.5_1.7.10.jar)
UCHIJAAAA inventorytweaks{1.59-dev-152-cf6e263} [Inventory Tweaks] (InventoryTweaks-1.59-dev-152.jar)
UCHIJAAAA modJ_JointBlock{0.7.3} [JointBlock] (JointBlockAllInOne1710-0.7.3.jar)
UCHIJAAAA modJ_JBRobot{0.7.3} [JBRobotModel] (JointBlockAllInOne1710-0.7.3.jar)
UCHIJAAAA mcheli{1.0.4} [MC Helicopter] (mcheli)
UCHIJAAAA MoreInventoryMod{2.2.9} [MoreInventoryMod] (MoreInventoryMod - v2.2.9 for 1.7.10.jar)
UCHIJAAAA MultiPageChest{1.3.4} [Multi Page Chest] (MultiPageChest-1.3.4-MC1.7.10.jar)
UCHIJAAAA MultipleCamera{1.0.0} [Multiple Camera] (MultipleCamera-1.0.0.jar)
UCHIJAAAA OpenMods{0.10} [OpenMods] (OpenModsLib-1.7.10-0.10.jar)
UCHIJAAAA OpenBlocks{1.6} [OpenBlocks] (OpenBlocks-1.7.10-1.6.jar)
UCHIJAAAA chunkbase_slimemod_ssp{2.1} [Slime Mod (SSP)] (SlimeModSSP-1.7.10-2.1.jar)
UCHIJAAAA TwilightForest{2.3.7} [The Twilight Forest] (twilightforest-1.7.10-2.3.7.jar)
UCHIJAAAA chunkbase_villageinfo_ssp{2.1} [Village Info (SSP)] (VillageInfoSSP-1.7.10-2.1.jar)
UCHIJAAAA Waila{1.5.10} [Waila] (Waila-1.5.10_1.7.10.jar)
UCHIJAAAA McMultipart{1.2.0.345} [Minecraft Multipart Plugin] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar)
UCHIJAAAA ForgeRelocation{0.0.1.4} [ForgeRelocation] (ForgeRelocation-1.7.10.jar)
UCHIJAAAA MCFrames{1.0} [MCFrames] (ForgeRelocation-1.7.10.jar)
UCHIJAAAA RelocationFMP{0.0.1.2} [RelocationFMP] (ForgeRelocationFMP-1.7.10-0.0.1.2-universal.jar)
UCHIJAAAA MrTJPCoreMod{1.1.0.33} [MrTJPCore] (MrTJPCore-1.7.10.jar)
UCHIJAAAA ForgeMicroblock{1.2.0.345} [Forge Microblocks] (ForgeMultipart-1.7.10-1.2.0.345-universal.jar)
GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
OpenModsLib class transformers: [stencil_patches:FINISHED],[movement_callback:FINISHED],[player_damage_hook:FINISHED],[map_gen_fix:FINISHED],[gl_capabilities_hook:FINISHED],[player_render_hook:FINISHED]
Class transformer null safety: found misbehaving transformers: me.guichaguri.betterfps.transformers.MathTransformer(me.guichaguri.betterfps.transformers.MathTransformer@1b21d112) returned non-null result: 0,me.guichaguri.betterfps.transformers.EventTransformer(me.guichaguri.betterfps.transformers.EventTransformer@22fa18f3) returned non-null result: 0
CoFHCore: -[1.7.10]3.1.4-329
Stencil buffer state: Function set: GL30, pool: forge, bits: 8
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Player Count: 1 / 8; [EntityPlayerMP['kurohamu61'/8, l='000', x=1847.49, y=4.00, z=-1217.16]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

導入mod
mcp,Minecraft Coder Pack,9.05
FML,Forge Mod Loader,7.10.99.99
Forge,Minecraft Forge,10.13.4.1614
CodeChickenCore,CodeChicken Core,1.0.7.47
intelliinput,IntelliInput for 1.7.10,2.5
NotEnoughItems,Not Enough Items,1.0.5.120
OpenModsCore,OpenModsCore,0.10
<CoFH ASM>,CoFH ASM,000
FastCraft,FastCraft,1.23
net.minecraft.storagebox.mod_StorageBox,StorageBox,3.0.5
net.minecraft.scalar.cutall.mod_CutAllSMP,CutAllSMP,2.5.0
net.minecraft.scalar.digall.mod_DigAllSMP,DigAllSMP,2.3.0
net.minecraft.scalar.mineall.mod_MineAllSMP,MineAllSMP,2.6.1
net.minecraft.scalar.pickupwidely.mod_PickupWidelySMP,PickupWidelySMP,1.2.3
ReisMinimap Original,ReisMinimap Original,3.5
jammyfurniture,Jammy Furniture Mod,4.6
DamageIndicatorsMod,Damage Indicators,3.2.3
mod_ecru_MapleTree,MapleTree,1.1.33e
mod_ecru_Faucet_Forge,Faucet,1.0.2a
BambooMod,BambooMod,Minecraft1.7.10 ver2.6.8.5
BiblioCraft,BiblioCraft,1.11.5
chocolateQuest,Chocolate Quest,1.7.10-1.0
ClearArmorMod,Clear Armor Mod,Minecraft 1.7.10
CoFHCore,CoFH Core,3.1.4
kegare.craftingex,Crafting EX,1.0.4
customnpcs,CustomNpcs,1.7.10
customrecipes,Custom Recipes,4.72
DragonMounts,Dragon Mounts,r41-1.7.10
ForgeMultipart,Forge Multipart,1.2.0.345
ExtraUtilities,Extra Utilities,1.2.12
flansmod,Flan's Mod,4.10.0
HandmadeArmors,HandmadeArmors,1.7.x-srg-1
HandmadeGuns,HandmadeGuns,1.7.x-srg-1
mod.ymt.air.HariboteAirCraft,HariboteAirCraft,172v3 hiten
GVCEntity,GVCEntity,1.7.x-srg-1
GVCGuns,GVCGuns,1.7.x-srg-1
GVCMob,GVCMob,1.7.x-srg-1
idChecker,ID Checker,1.7.10
mod_Invasion,Invasion,1.1.5
inventorytweaks,Inventory Tweaks,1.59-dev-152-cf6e263
modJ_JointBlock,JointBlock,0.7.3
modJ_JBRobot,JBRobotModel,0.7.3
mcheli,MC Helicopter,1.0.4
MoreInventoryMod,MoreInventoryMod,2.2.9
MultiPageChest,Multi Page Chest,1.3.1
MultipleCamera,Multiple Camera,1.0.0
OpenMods,OpenMods,0.10
OpenBlocks,OpenBlocks,1.6
chunkbase_slimemod_ssp,Slime Mod (SSP),1.7.10-2.1
TwilightForest,The Twilight Forest,2.3.7
chunkbase_villageinfo_ssp,Village Info (SSP),1.7.10-2.1
Waila,Waila,1.5.10
McMultipart,Minecraft Multipart Plugin,1.2.0.345
ForgeRelocation,ForgeRelocation,0.0.1.4
MCFrames,MCFrames,1.0
RelocationFMP,RelocationFMP,0.0.1.2
MrTJPCoreMod,MrTJPCore,1.1.0.33
ForgeMicroblock,Forge Microblocks,1.2.0.345
コリブリ
ID:9d00c317
木を殴ってる
 
記事: 20
登録日時: 2017年5月01日(月) 23:54

Return to 質問:MOD/テクスチャ/その他ツール関係

x