Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Crashing minecraft because of MCForge


FatHipo
 Share

Recommended Posts

My minecraft was  warking alright but when I installed MCF it started crashing with this reason :

---- Minecraft Crash Report ----

// There are four lights!

 

Time: 26.12.2012 14:07

Description: Exception while adding particle

 

java.lang.NullPointerException

at com.pclewis.mcpatcher.mod.ColorMap.colorize(ColorMap.java:74)

at com.pclewis.mcpatcher.mod.Colorizer.colorizeBiome(Colorizer.java:191)

at azz.<init>(SourceFile:11)

at bav.b(RenderGlobal.java:1932)

at bav.a(RenderGlobal.java:1863)

at yc.a(World.java:1492)

at akx.a(BlockFluid.java:385)

at ayp.G(WorldClient.java:369)

at net.minecraft.client.Minecraft.l(Minecraft.java:1896)

at net.minecraft.client.Minecraft.J(Minecraft.java:846)

at net.minecraft.client.Minecraft.run(Minecraft.java:771)

at java.lang.Thread.run(Unknown Source)

 

 

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

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at com.pclewis.mcpatcher.mod.ColorMap.colorize(ColorMap.java:74)

at com.pclewis.mcpatcher.mod.Colorizer.colorizeBiome(Colorizer.java:191)

at azz.<init>(SourceFile:11)

at bav.b(RenderGlobal.java:1932)

 

-- Particle being added --

Details:

Name: suspended

Position: 206,09,71,17,137,16 - World: (206,71,137), Chunk: (at 14,4,9 in 12,8; contains blocks 192,0,128 to 207,255,143), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Stacktrace:

at bav.a(RenderGlobal.java:1863)

at yc.a(World.java:1492)

at akx.a(BlockFluid.java:385)

at ayp.G(WorldClient.java:369)

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [ays['xXxFlyingBirdxXx'/1100, l='MpServer', x=212,75, y=73,62, z=123,88]]

Chunk stats: MultiplayerChunkCache: 441

Level seed: 0

Level generator: ID 00 - default, ver 1. Features enabled: false

Level generator options:

Level spawn location: World: (216,64,232), Chunk: (at 8,4,8 in 13,14; contains blocks 208,0,224 to 223,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)

Level time: 244116 game time, 347881 day time

Level dimension: 0

Level storage version: 0x00000 - Unknown?

Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false

Forced entities: 122 total; [ays['xXxFlyingBirdxXx'/1100, l='MpServer', x=212,75, y=73,62, z=123,88], qc['Creeper'/881, l='MpServer', x=166,50, y=15,00, z=93,50], qn['Skeleton'/880, l='MpServer', x=166,50, y=15,00, z=90,50], qr['Zombie'/883, l='MpServer', x=166,50, y=28,00, z=94,06], ow['Bat'/882, l='MpServer', x=166,53, y=15,10, z=94,59], ow['Bat'/885, l='MpServer', x=162,75, y=32,10, z=86,69], qr['Zombie'/884, l='MpServer', x=166,50, y=44,00, z=94,50], qn['Skeleton'/887, l='MpServer', x=166,50, y=31,00, z=96,25], qp['Spider'/886, l='MpServer', x=167,09, y=20,00, z=96,38], qr['Zombie'/889, l='MpServer', x=162,50, y=33,00, z=98,50], qc['Creeper'/888, l='MpServer', x=171,00, y=35,00, z=104,44], qn['Skeleton'/891, l='MpServer', x=162,13, y=44,00, z=99,50], qc['Creeper'/890, l='MpServer', x=161,13, y=33,00, z=98,50], qr['Zombie'/893, l='MpServer', x=168,50, y=45,00, z=120,50], pe['Sheep'/892, l='MpServer', x=156,16, y=62,37, z=106,19], ow['Bat'/895, l='MpServer', x=170,23, y=51,96, z=121,07], qr['Zombie'/894, l='MpServer', x=168,53, y=47,00, z=130,16], qn['Skeleton'/864, l='MpServer', x=149,41, y=14,00, z=94,88], ow['Bat'/865, l='MpServer', x=152,47, y=19,51, z=94,32], ow['Bat'/866, l='MpServer', x=169,94, y=17,00, z=89,16], qp['Spider'/867, l='MpServer', x=154,25, y=44,00, z=93,56], oy['Chicken'/868, l='MpServer', x=159,44, y=62,05, z=87,44], ow['Bat'/869, l='MpServer', x=143,66, y=15,10, z=99,72], qn['Skeleton'/870, l='MpServer', x=150,06, y=44,00, z=101,56], qp['Spider'/871, l='MpServer', x=156,63, y=33,00, z=99,28], ow['Bat'/872, l='MpServer', x=153,85, y=31,62, z=95,51], oy['Chicken'/873, l='MpServer', x=148,56, y=62,55, z=114,44], px['item.item.egg'/875, l='MpServer', x=153,09, y=56,13, z=126,09], pe['Sheep'/876, l='MpServer', x=159,19, y=63,00, z=132,25], oy['Chicken'/877, l='MpServer', x=147,59, y=62,41, z=133,44], qr['Zombie'/861, l='MpServer', x=143,50, y=44,00, z=95,50], qc['Creeper'/957, l='MpServer', x=232,96, y=35,00, z=92,59], qr['Zombie'/958, l='MpServer', x=232,50, y=43,00, z=94,50], qc['Creeper'/959, l='MpServer', x=238,50, y=41,00, z=90,69], qc['Creeper'/952, l='MpServer', x=213,50, y=33,00, z=118,50], qc['Creeper'/953, l='MpServer', x=213,50, y=33,00, z=117,50], qn['Skeleton'/954, l='MpServer', x=218,04, y=62,00, z=115,59], ph['Squid'/948, l='MpServer', x=208,47, y=59,38, z=74,53], qn['Skeleton'/949, l='MpServer', x=214,69, y=32,00, z=91,28], ph['Squid'/950, l='MpServer', x=204,97, y=57,38, z=84,38], qc['Creeper'/951, l='MpServer', x=217,50, y=34,00, z=97,50], ph['Squid'/946, l='MpServer', x=224,94, y=54,81, z=80,94], ph['Squid'/947, l='MpServer', x=218,41, y=56,38, z=77,53], qn['Skeleton'/940, l='MpServer', x=192,50, y=13,00, z=201,50], oy['Chicken'/937, l='MpServer', x=197,47, y=73,00, z=113,22], oy['Chicken'/936, l='MpServer', x=198,47, y=73,00, z=107,78], oy['Chicken'/939, l='MpServer', x=196,78, y=73,00, z=112,53], oy['Chicken'/938, l='MpServer', x=198,47, y=73,00, z=113,22], oy['Chicken'/933, l='MpServer', x=197,69, y=73,00, z=108,59], oy['Chicken'/932, l='MpServer', x=196,78, y=73,00, z=111,53], oy['Chicken'/935, l='MpServer', x=196,78, y=73,00, z=108,50], oy['Chicken'/934, l='MpServer', x=197,47, y=73,00, z=107,78], qc['Creeper'/929, l='MpServer', x=193,91, y=27,00, z=108,69], qr['Zombie'/928, l='MpServer', x=204,50, y=31,00, z=96,50], qc['Creeper'/931, l='MpServer', x=201,00, y=32,00, z=96,44], qc['Creeper'/930, l='MpServer', x=192,99, y=27,00, z=109,66], ph['Squid'/926, l='MpServer', x=208,50, y=56,22, z=75,22], qr['Zombie'/927, l='MpServer', x=194,00, y=30,00, z=91,56], ph['Squid'/924, l='MpServer', x=191,75, y=49,28, z=60,91], ph['Squid'/925, l='MpServer', x=209,78, y=58,88, z=75,41], ph['Squid'/923, l='MpServer', x=200,31, y=45,25, z=63,69], px['item.item.egg'/918, l='MpServer', x=185,13, y=65,13, z=184,69], qr['Zombie'/916, l='MpServer', x=187,13, y=23,00, z=168,38], oy['Chicken'/917, l='MpServer', x=186,44, y=65,00, z=185,56], qr['Zombie'/914, l='MpServer', x=185,98, y=45,00, z=117,53], qr['Zombie'/915, l='MpServer', x=186,31, y=23,00, z=168,59], pe['Sheep'/912, l='MpServer', x=180,16, y=64,00, z=96,28], qc['Creeper'/913, l='MpServer', x=186,44, y=27,00, z=112,44], ph['Squid'/911, l='MpServer', x=182,22, y=47,38, z=69,50], ow['Bat'/910, l='MpServer', x=153,75, y=21,18, z=94,34], ph['Squid'/909, l='MpServer', x=184,03, y=46,34, z=62,84], oy['Chicken'/904, l='MpServer', x=169,59, y=62,47, z=191,59], ow['Bat'/903, l='MpServer', x=193,60, y=37,87, z=166,52], ow['Bat'/902, l='MpServer', x=168,67, y=37,49, z=169,84], pe['Sheep'/901, l='MpServer', x=160,44, y=65,00, z=133,34], qc['Creeper'/900, l='MpServer', x=173,50, y=55,00, z=133,50], ow['Bat'/899, l='MpServer', x=168,29, y=46,00, z=123,28], ow['Bat'/898, l='MpServer', x=171,07, y=47,49, z=134,68], qr['Zombie'/897, l='MpServer', x=165,97, y=46,00, z=137,59], qr['Zombie'/896, l='MpServer', x=165,47, y=45,00, z=141,06], oy['Chicken'/1008, l='MpServer', x=276,59, y=66,00, z=65,59], oy['Chicken'/1009, l='MpServer', x=282,41, y=66,00, z=56,62], qn['Skeleton'/1010, l='MpServer', x=272,28, y=56,00, z=139,16], oy['Chicken'/1015, l='MpServer', x=294,47, y=66,00, z=126,47], oy['Chicken'/1007, l='MpServer', x=269,59, y=67,00, z=60,53], qn['Skeleton'/993, l='MpServer', x=262,31, y=12,00, z=55,56], qn['Skeleton'/992, l='MpServer', x=260,09, y=34,00, z=47,50], qn['Skeleton'/995, l='MpServer', x=257,50, y=22,00, z=67,50], ow['Bat'/994, l='MpServer', x=260,17, y=23,00, z=57,58], ow['Bat'/997, l='MpServer', x=267,40, y=25,11, z=102,81], oy['Chicken'/996, l='MpServer', x=267,53, y=64,00, z=75,41], qn['Skeleton'/999, l='MpServer', x=272,53, y=51,00, z=114,99], qn['Skeleton'/998, l='MpServer', x=269,00, y=50,00, z=119,50], ow['Bat'/986, l='MpServer', x=240,72, y=22,10, z=120,25], qc['Creeper'/987, l='MpServer', x=251,78, y=28,00, z=125,16], qr['Zombie'/984, l='MpServer', x=255,07, y=22,00, z=69,10], qn['Skeleton'/985, l='MpServer', x=244,56, y=25,00, z=67,91], qn['Skeleton'/990, l='MpServer', x=250,13, y=51,00, z=129,47], qc['Creeper'/988, l='MpServer', x=245,50, y=58,00, z=123,50], qc['Creeper'/989, l='MpServer', x=236,88, y=55,00, z=119,28], qr['Zombie'/979, l='MpServer', x=250,50, y=34,00, z=53,03], qc['Creeper'/976, l='MpServer', x=227,50, y=58,00, z=198,50], qr['Zombie'/982, l='MpServer', x=248,53, y=33,00, z=48,97], qn['Skeleton'/983, l='MpServer', x=245,16, y=30,00, z=77,56], qn['Skeleton'/980, l='MpServer', x=251,50, y=33,00, z=49,50], qn['Skeleton'/981, l='MpServer', x=250,59, y=33,00, z=52,16], qc['Creeper'/971, l='MpServer', x=236,09, y=55,00, z=118,09], qr['Zombie'/970, l='MpServer', x=224,63, y=44,00, z=127,09], pe['Sheep'/969, l='MpServer', x=229,88, y=65,00, z=101,06], qc['Creeper'/968, l='MpServer', x=234,50, y=34,00, z=104,50], qc['Creeper'/975, l='MpServer', x=239,22, y=24,00, z=201,47], ow['Bat'/974, l='MpServer', x=231,63, y=24,10, z=201,94], qd['Enderman'/973, l='MpServer', x=222,50, y=15,00, z=202,41], qc['Creeper'/972, l='MpServer', x=235,31, y=55,00, z=117,31], qc['Creeper'/963, l='MpServer', x=230,97, y=25,00, z=108,50], qr['Zombie'/962, l='MpServer', x=228,75, y=25,00, z=105,75], qr['Zombie'/961, l='MpServer', x=228,31, y=25,00, z=106,69], qc['Creeper'/960, l='MpServer', x=236,88, y=44,00, z=98,04], qc['Creeper'/967, l='MpServer', x=239,47, y=37,00, z=103,05], qr['Zombie'/966, l='MpServer', x=233,53, y=35,00, z=94,03], qn['Skeleton'/965, l='MpServer', x=230,69, y=25,00, z=105,47], qc['Creeper'/964, l='MpServer', x=229,69, y=25,00, z=104,91]]

Retry entities: 0 total; []

Stacktrace:

at ayp.a(WorldClient.java:440)

at net.minecraft.client.Minecraft.b(Minecraft.java:2401)

at net.minecraft.client.Minecraft.run(Minecraft.java:787)

at java.lang.Thread.run(Unknown Source)

 

-- System Details --

Details:

Minecraft Version: 1.4.6

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_04, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 281680280 bytes (268 MB) / 630325248 bytes (601 MB) up to 954466304 bytes (910 MB)

JVM Flags: 2 total; -Xms512m -Xmx1024m

AABB Pool Size: 14249 (797944 bytes; 0 MB) allocated, 1504 (84224 bytes; 0 MB) used

Suspicious classes: FML and Forge are installed

IntCache: cache: 0, tcache: 0, allocated: 1, tallocated: 63

FML: MCP v7.25 FML v4.6.12.511 Minecraft Forge 6.5.0.467 5 mods loaded, 5 mods active

mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available

FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available

Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available

mod_TooManyItems [mod_TooManyItems] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available

Backpack [backpack] (backpack-1.5.4-1.4.6.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available

LWJGL: 2.4.2

OpenGL: ATI Radeon HD 4600 Series GL version 3.3.11631 Compatibility Profile Context, ATI Technologies Inc.

Is Modded: Definitely; Client brand changed to 'forge,fml'

Type: Client (map_client.txt)

Texture Pack: Default

Profiler Position: N/A (disabled)

Vec3 Pool Size: 8901 (498456 bytes; 0 MB) allocated, 954 (53424 bytes; 0 MB) used

 

 

But when I uninstal MCF it works properly again....

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • I think the error comes from this java class even though it dosen't show any error -  package com.mahidhoni123.forgemod.items; import net.minecraft.core.BlockSource; import net.minecraft.core.Direction; import net.minecraft.core.dispenser.DefaultDispenseItemBehavior; import net.minecraft.nbt.CompoundTag; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.MobSpawnType; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.SpawnEggItem; import net.minecraft.world.level.block.DispenserBlock; import net.minecraftforge.common.util.Lazy; import net.minecraftforge.fml.util.ObfuscationReflectionHelper; import net.minecraftforge.fmllegacy.RegistryObject; import java.util.ArrayList; import java.util.List; import java.util.Map; public class ModSpawnEggItem extends SpawnEggItem { protected static final List<ModSpawnEggItem> UNADDED_EGGS = new ArrayList<>(); private final Lazy<? extends EntityType<?>> entityTypeSupplier; public ModSpawnEggItem(final RegistryObject<? extends EntityType<?>> entityTypeSupplier, int p_43208_, int p_43209_, Properties p_43210_) { super(null, p_43208_, p_43209_, p_43210_); this.entityTypeSupplier = Lazy.of(entityTypeSupplier::get); UNADDED_EGGS.add(this); } public static void initSpawnEggs(){ final Map<EntityType<?>, SpawnEggItem> EGGS = ObfuscationReflectionHelper.getPrivateValue(SpawnEggItem.class, null, "field_195987_b"); DefaultDispenseItemBehavior dispenseBehavior = new DefaultDispenseItemBehavior() { @Override protected ItemStack execute(BlockSource p_123385_, ItemStack p_123386_) { Direction direction = p_123385_ .getBlockState().getValue(DispenserBlock.FACING); EntityType<?> type = ((SpawnEggItem) p_123386_.getItem()).getType(p_123386_.getTag()); type.spawn(p_123385_.getLevel(), p_123386_, null, p_123385_.getPos(), MobSpawnType.DISPENSER, direction != Direction.UP, false); p_123386_.shrink(1); return p_123386_; } }; for (final SpawnEggItem spawnEgg : UNADDED_EGGS) { EGGS.put(spawnEgg.getType(null ), spawnEgg); DispenserBlock.registerBehavior(spawnEgg, dispenseBehavior); } UNADDED_EGGS.clear(); } @Override public EntityType<?> getType(CompoundTag nbt) { return this.entityTypeSupplier.get(); } }  
    • First off, what's the error? Second, can you show your ModSpawnEggItem class?  And third, is that class really needed? Forge provides a spawn egg class, you don't need a custom one unless you want additional behavior.
    • I tried this code but I got an error while making custom spawn egg for a skeleton(this skeleton is a vanilla minecraft entity) I think I know why this error is coming, but I don't know how to solve it, can you please help, I am sharing the code -  package com.anirudh.forgemod.init; import com.anirudh.forgemod.ForgeMod; import com.anirudh.forgemod.items.ItemBase; import com.anirudh.forgemod.items.ModSpawnEggItem; import com.anirudh.forgemod.items.StrongestApple; import com.anirudh.forgemod.util.enums.ModArmorMaterial; import net.minecraft.world.entity.EntityType; import net.minecraft.world.entity.EquipmentSlot; import net.minecraft.world.item.ArmorItem; import net.minecraft.world.item.CreativeModeTab; import net.minecraft.world.item.Item; import net.minecraftforge.fmllegacy.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class ModItems { public static DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, ForgeMod.MOD_ID); //Items public static final RegistryObject<Item> RUBY = ITEMS.register("ruby", ItemBase::new); public static final RegistryObject<StrongestApple> POISON_APPLE = ITEMS.register("strongest_apple", StrongestApple::new); public static final RegistryObject<ModSpawnEggItem> SKELETON_SPAWN_EGG = ITEMS.register("skeleton_spawn_egg", () -> new ModSpawnEggItem(EntityType.SKELETON, 0x00FFA8, 0x326D59, new Item.Properties().tab(CreativeModeTab.TAB_MATERIALS))); //Armor public static final RegistryObject<ArmorItem> RUBY_HELMET = ITEMS.register("ruby_helmet", () -> new ArmorItem(ModArmorMaterial.RUBY, EquipmentSlot.HEAD, new Item.Properties().tab(CreativeModeTab.TAB_COMBAT))); public static final RegistryObject<ArmorItem> RUBY_CHESTPLATE = ITEMS.register("ruby_chestplate", () -> new ArmorItem(ModArmorMaterial.RUBY, EquipmentSlot.CHEST, new Item.Properties().tab(CreativeModeTab.TAB_COMBAT))); public static final RegistryObject<ArmorItem> RUBY_LEGGINGS = ITEMS.register("ruby_leggings", () -> new ArmorItem(ModArmorMaterial.RUBY, EquipmentSlot.LEGS, new Item.Properties().tab(CreativeModeTab.TAB_COMBAT))); public static final RegistryObject<ArmorItem> RUBY_BOOTS = ITEMS.register("ruby_boots", () -> new ArmorItem(ModArmorMaterial.RUBY, EquipmentSlot.FEET, new Item.Properties().tab(CreativeModeTab.TAB_COMBAT))); }  
    • Depends entirely on the context. As it stands those are two words that you can look up in a dictionary.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.