Jump to content

DaryBob

Members
  • Posts

    70
  • Joined

  • Last visited

Everything posted by DaryBob

  1. Hm I was looking at the src of Twilight Forest. He uses a TickHandler.. there he checks the entityItem (i think). Then he calld the method createPortal.. Couldnt understand much of it because it was not deobfuscated.
  2. So should I make a boolean method to check if the custom blocks are there? And in the method where it will check the contact with lava I will first write an if-Statement and check if the boolean method returns true. If it returns true, I will replace the lava with the portal block..
  3. Like the twilight forest portal with the flowers. In this case, the flowers are my custom blocks and the water is the lava. The item to summon the portal is the nether star.
  4. Hey guys! I am trying to make a portal. There are 3 custom blocks on each side and in the middle, one block down, there is the a 9x9 hole filled with lava (Kinda like the end-portal in the stronghold). And I can't figure out how to turn the lava blocks to a portal block if the player throws (Q-Button) a netherstar in the lava. I thought maybe I can check the entityitem's position to locate if there is lava or not.. But I never did stuff with EntityItem's or something so maybe someone can help me? thanks for your support!
  5. I fixed it after two years ! Go to your registry (just search regedit on your computer) Then open HKEY_LOCAL_MACHINE then SOFTWARE and delete your JAVASOFT! Hope it helps others with this problem!
  6. I think it has something to do with the registry, because it said the paths in the registry is nonexistent.
  7. Hey I downloaded the latest Forge Update (.exe) and it says that Launch4j can't find the path for JRE. So I looked for my java paths, but it doesn't seem like it is false! So I did everything the internet said, I reinstalled the whole java thing, deleted JavaSoft, changed the variables of Path but nothing seems to work. However, I can open Minecraft and Eclipse, but I can't open other Java-Files.. And I installed the .jar version of the forge update to, but it also does not work! I have the feeling that the Java-Files are opening the old paths of Java and not those who are in the Path thingy. (Launcher's like TechnicLauncher, ATLauncher and FTB gives me this Launch4J also). JAVA_HOME: C:\Program Files\Java\jdk1.7.0_79 CLASSPATH: %JAVA_HOME%\bin Path: C:\Program Files\Java\jdk1.7.0_79\bin;C:\Program Files\Java\jre7\bin I had this problem since some months, and I try'd to fix it for weeks! Can someone help me, it's really frustrating! Thanks for all replies!
  8. Ok I will try that, thanks. Your the delevoper from Realms of Chaos right? I like your mod
  9. Hey guy's, I have a custom dimension where I want to spawn my structure. But it does not work. I have another structure that spawns in the surface world and it works. Whats wrong with the other structure? The structure is the "Pumpkin Dungeon". Can you help me? Here all my codes: https://github.com/DaryBob/LidlMelonRPG
  10. Hey Guy's, I have two mobs in my mod. The Pumpkin Monster and the Pumpkin Mutant. The Mutant Mob I created is a boss. I made an own Handler for him. So I made a BossHandler.class. Now I have the problem that the boss has the model from the PumpkinMonster. Yes I made a model for him too. But it still renders the same model from the pumpkin monster. I checked anything out but I didn't wrote everywhere that the Mutant should have the model from the Monster. Main Class: package com.netcrafter.mod; import com.netcrafter.mod.blocks.*; import com.netcrafter.mod.entity.EntityPumpkinMonster; import com.netcrafter.mod.entity.EntityPumpkinMutant; import com.netcrafter.mod.handler.BossHandler; import com.netcrafter.mod.handler.CraftingHandler; import com.netcrafter.mod.handler.EntityHandler; import com.netcrafter.mod.handler.FuelHandler; import com.netcrafter.mod.items.*; import com.netcrafter.mod.model.ModelPumpkinMonster; import com.netcrafter.mod.model.ModelPumpkinMutant; import com.netcrafter.mod.proxy.CommonProxy; import com.netcrafter.mod.renderer.RenderPumpkinMonster; import com.netcrafter.mod.renderer.RenderPumpkinMutant; import com.netcrafter.mod.weapons.*; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.Minecraft; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.Item.ToolMaterial; import net.minecraftforge.common.util.EnumHelper; import net.minecraftforge.oredict.OreDictionary; import cpw.mods.fml.client.registry.RenderingRegistry; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.event.FMLStateEvent; import cpw.mods.fml.common.registry.EntityRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @Mod(modid = LidlMelonRPG.modid, version = LidlMelonRPG.version) public class LidlMelonRPG { public static final String modid = "LidlMelonRPG"; public static final String version = "Alpha v.01"; //Creative Tabs public static CreativeTabs rpgMaterialTab; public static CreativeTabs rpgWeaponsTab; //Material public static ToolMaterial ModMaterial = EnumHelper.addToolMaterial("ModMaterial", 2, 4000, 10.0F, 10.0F, 10); public static ToolMaterial CheatMaterial = EnumHelper.addToolMaterial("CheatMaterial", 0, 59, 2.0F, 1.0F, 20); public static ToolMaterial GriefMaterial = EnumHelper.addToolMaterial("GriefMaterial", 2, 4000, 10.0F, 7.0F, 20); public static ToolMaterial HomoMaterial = EnumHelper.addToolMaterial("HomoMaterial", 2, 4000, 10.0F, 16.0F, 40); public static ToolMaterial NinjaMaterial = EnumHelper.addToolMaterial("NinjaMaterial", 2, 4000, 10.0F, 4.0F, 20); public static ToolMaterial UltraNinjaMaterial = EnumHelper.addToolMaterial("UltraNinjaMaterial", 10, 8000, 40.0F, 40.0F, 50); public static ToolMaterial Furzblade = EnumHelper.addToolMaterial("Furzblade", 10, 8000, 40.0F, 96.0F, 50); public static ToolMaterial Generation = EnumHelper.addToolMaterial("Generation", 18, 8000, 40.0F, 440.0F, 80); public static ToolMaterial NinjaMelon = EnumHelper.addToolMaterial("NinjaMelon", 20, 8000, 496.0F, 496.0F, 100); public static ToolMaterial Ultimate = EnumHelper.addToolMaterial("Ultimate", 30, 10000, 4440.0F, 4440.0F, 500); @Instance(modid) public static LidlMelonRPG instance; //Weapons public static Item itemModBlade; public static Item itemCheaterSword; public static Item itemGrieferSword; public static Item itemHomoSword; public static Item itemNinjaKatana; public static Item itemUltraNinja; public static Item itemRevolution; public static Item itemPreGeneration; public static Item itemFurzblade; public static Item itemGeneration; public static Item itemNinjaMelon; public static Item itemUltimate; //Blocks public static Block blockMelonShard; public static Block blockLidl; public static Block blockGrief; public static Block blockTroll; public static Block blockYTroll; public static Block blockLucky; public static Block blockRoman; public static Block blockFurzPortal; public static Block blockFurz; public static Block blockKKBlock; public static Block blockUCSBlock; //Items public static Item itemMelonShard; public static Item itemPumpkinBlood; public static Item itemActionFigur; public static Item itemPlastik; public static Item itemLidlIngot; public static Item itemGrieferIngot; public static Item itemGayIngot; public static Item itemObsidianIngot; public static Item itemRomanDeath; public static Item itemChaosNugget; public static Item itemLuckyIngot; public static Item itemRomanIngot; public static Item itemFurzShard; public static Item itemHardenedFart; public static Item itemStolenMelons; public static Item itemJBCD; public static Item itemNGPShard; public static Item itemBieberSpawnegg; public static Item itemChaosShard; public static Item itemUCShard; public static Item itemNGPKnife; public static Item itemHalfIron; @SidedProxy(clientSide = "com.netcrafter.mod.proxy.ClientProxy", serverSide = "com.netcrafter.mod.proxy.CommonProxy") public static CommonProxy proxy; @EventHandler public void PreInit(FMLPreInitializationEvent preEvent){ //CreativeTabs rpgMaterialTab = new CreativeTabs("rpgMaterial") { @SideOnly(Side.CLIENT) public Item getTabIconItem() { return Item.getItemFromBlock(LidlMelonRPG.blockMelonShard); } }; rpgWeaponsTab = new CreativeTabs("rpgWeapons") { @SideOnly(Side.CLIENT) public Item getTabIconItem() { return Item.getItemFromBlock(LidlMelonRPG.blockMelonShard); } }; //Weapons itemModBlade = new Weapons(ModMaterial).setUnlocalizedName("ModBlade"); itemCheaterSword = new Weapons(CheatMaterial).setUnlocalizedName("CheaterSword"); itemGrieferSword = new Weapons(GriefMaterial).setUnlocalizedName("GrieferSword"); itemHomoSword = new Weapons(HomoMaterial).setUnlocalizedName("HomoSword"); itemNinjaKatana = new Weapons(NinjaMaterial).setUnlocalizedName("NinjaKatana"); itemUltraNinja = new Weapons(UltraNinjaMaterial).setUnlocalizedName("UltraNinja"); itemRevolution = new Weapons(UltraNinjaMaterial).setUnlocalizedName("Revolution"); itemPreGeneration = new Weapons(Furzblade).setUnlocalizedName("PreGeneration"); itemFurzblade = new Weapons(Furzblade).setUnlocalizedName("Furzblade"); itemGeneration = new Weapons(Generation).setUnlocalizedName("Generation"); itemNinjaMelon = new Weapons(NinjaMelon).setUnlocalizedName("NinjaMelon"); itemUltimate = new Weapons(Ultimate).setUnlocalizedName("Ultimate"); //Blocks blockMelonShard = new RPGBlocks(Material.clay).setBlockName("MelonShardBlock"); blockGrief = new RPGBlocks(Material.rock).setBlockName("Grief"); blockLidl = new RPGBlocks(Material.rock).setBlockName("Lidl"); blockTroll = new RPGBlocks(Material.rock).setBlockName("Troll"); blockYTroll = new RPGBlocks(Material.rock).setBlockName("YTroll"); blockLucky = new RPGBlocks(Material.rock).setBlockName("Lucky"); blockRoman = new RPGBlocks(Material.rock).setBlockName("Roman"); blockFurzPortal = new RPGBlocks(Material.rock).setBlockName("FurzPortal"); blockFurz = new RPGBlocks(Material.rock).setBlockName("Furz"); blockKKBlock = new RPGBlocks(Material.rock).setBlockName("KKBlock"); blockUCSBlock = new RPGBlocks(Material.rock).setBlockName("UCSBlock"); //Items itemNGPKnife = new DurableItems().setUnlocalizedName("NGPKnife"); itemHalfIron = new RPGItems().setUnlocalizedName("HalfIron"); itemMelonShard = new RPGItems().setUnlocalizedName("MelonShard"); itemPumpkinBlood = new RPGItems().setUnlocalizedName("PumpkinBlood"); itemActionFigur = new RPGItems().setUnlocalizedName("ActionFigur"); itemPlastik = new RPGItems().setUnlocalizedName("Plastik"); itemLidlIngot = new RPGItems().setUnlocalizedName("LidlIngot"); itemGrieferIngot = new RPGItems().setUnlocalizedName("GrieferIngot"); itemGayIngot = new RPGItems().setUnlocalizedName("GayIngot"); itemObsidianIngot = new RPGItems().setUnlocalizedName("ObsidianIngot"); itemRomanDeath = new RPGItems().setUnlocalizedName("RomanDeath"); itemChaosNugget = new RPGItems().setUnlocalizedName("ChaosNugget"); itemLuckyIngot = new RPGItems().setUnlocalizedName("LuckyIngot"); itemRomanIngot = new RPGItems().setUnlocalizedName("RomanIngot"); itemFurzShard = new RPGItems().setUnlocalizedName("FurzShard"); itemHardenedFart = new RPGItems().setUnlocalizedName("HardenedFart"); itemStolenMelons = new RPGItems().setUnlocalizedName("StolenMelons"); itemJBCD = new RPGItems().setUnlocalizedName("JBCD"); itemNGPShard = new RPGItems().setUnlocalizedName("NGPShard"); itemBieberSpawnegg = new RPGItems().setUnlocalizedName("BieberSpawnegg"); itemChaosShard = new RPGItems().setUnlocalizedName("ChaosShard"); itemUCShard = new RPGItems().setUnlocalizedName("UCShard"); //Weapon Registry GameRegistry.registerItem(itemModBlade, "ModBlade"); GameRegistry.registerItem(itemCheaterSword, "CheaterSword"); GameRegistry.registerItem(itemGrieferSword, "GrieferSword"); GameRegistry.registerItem(itemHomoSword, "HomoSword"); GameRegistry.registerItem(itemNinjaKatana, "NinjaKatana"); GameRegistry.registerItem(itemUltraNinja, "UltraNinja"); GameRegistry.registerItem(itemRevolution, "Revolution"); GameRegistry.registerItem(itemPreGeneration, "PreGeneration"); GameRegistry.registerItem(itemFurzblade, "Furzblade"); GameRegistry.registerItem(itemGeneration, "Generation"); GameRegistry.registerItem(itemNinjaMelon, "NinjaMelon"); GameRegistry.registerItem(itemUltimate, "Ultimate"); //Block Registry GameRegistry.registerBlock(blockMelonShard, "MelonShardBlock"); GameRegistry.registerBlock(blockGrief, "Grief"); GameRegistry.registerBlock(blockLidl, "Lidl"); GameRegistry.registerBlock(blockTroll, "Troll"); GameRegistry.registerBlock(blockYTroll, "YTroll"); GameRegistry.registerBlock(blockLucky, "Lucky"); GameRegistry.registerBlock(blockRoman, "Roman"); GameRegistry.registerBlock(blockFurzPortal, "FurzPortal"); GameRegistry.registerBlock(blockFurz, "Furz"); GameRegistry.registerBlock(blockKKBlock, "KKBlock"); GameRegistry.registerBlock(blockUCSBlock, "UCSBlock"); //Item Registry GameRegistry.registerItem(itemHalfIron, "HalfIron"); GameRegistry.registerItem(itemNGPKnife, "NGPKnife"); GameRegistry.registerItem(itemMelonShard, "MelonShard"); GameRegistry.registerItem(itemPumpkinBlood, "PumpkinBlood"); GameRegistry.registerItem(itemActionFigur, "ActionFigur"); GameRegistry.registerItem(itemPlastik, "Plastik"); GameRegistry.registerItem(itemLidlIngot, "LidlIngot"); GameRegistry.registerItem(itemGrieferIngot, "GrieferIngot"); GameRegistry.registerItem(itemGayIngot, "GayIngot"); GameRegistry.registerItem(itemObsidianIngot, "ObsidianIngot"); GameRegistry.registerItem(itemRomanDeath, "RomanDeath"); GameRegistry.registerItem(itemChaosNugget, "ChaosNugget"); GameRegistry.registerItem(itemLuckyIngot, "LuckyIngot"); GameRegistry.registerItem(itemRomanIngot, "RomanIngot"); GameRegistry.registerItem(itemFurzShard, "FurzShard"); GameRegistry.registerItem(itemHardenedFart, "HardenedFart"); GameRegistry.registerItem(itemStolenMelons, "StolenMelons"); GameRegistry.registerItem(itemJBCD, "JBCD"); GameRegistry.registerItem(itemNGPShard, "NGPShard"); GameRegistry.registerItem(itemBieberSpawnegg, "BieberSpawnegg"); GameRegistry.registerItem(itemChaosShard, "ChaosShard"); GameRegistry.registerItem(itemUCShard, "UCShard"); //Entity Registry EntityRegistry.registerGlobalEntityID(EntityPumpkinMonster.class, "PumpkinMonster", 106, 0, 0); EntityRegistry.registerGlobalEntityID(EntityPumpkinMutant.class, "PumpkinMutant", 107, 0, 1); //Rendering Registry RenderingRegistry.registerEntityRenderingHandler(EntityPumpkinMonster.class, new RenderPumpkinMonster(new ModelPumpkinMonster(), 0.3F)); RenderingRegistry.registerEntityRenderingHandler(EntityPumpkinMutant.class, new RenderPumpkinMutant(new ModelPumpkinMutant(), 0.4F)); } @EventHandler public void Init(FMLInitializationEvent event){ FMLCommonHandler.instance().bus().register(new CraftingHandler()); //Recipes GameRegistry.addShapelessRecipe(new ItemStack(itemHalfIron, 2), new Object[]{new ItemStack(itemNGPKnife, 1, OreDictionary.WILDCARD_VALUE), Items.iron_ingot}); GameRegistry.addRecipe(new ItemStack(itemNGPKnife), new Object[]{" I ", " I ", " N ", 'I', Items.iron_sword, 'N', itemNGPShard}); GameRegistry.addRecipe(new ItemStack(blockMelonShard), new Object[]{" ", " MM", " MM", 'M', itemMelonShard}); GameRegistry.addRecipe(new ItemStack(blockRoman), new Object[]{" ", " MM", " MM", 'M', itemRomanIngot}); GameRegistry.addRecipe(new ItemStack(blockFurz), new Object[]{" ", " MM", " MM", 'M', itemHardenedFart}); GameRegistry.addRecipe(new ItemStack(blockUCSBlock), new Object[]{" ", " MM", " MM", 'M', itemUCShard}); GameRegistry.addRecipe(new ItemStack(blockGrief), new Object[]{"OXO", "XOX", "OXO", 'O', itemGrieferIngot, 'X', itemGayIngot}); GameRegistry.addRecipe(new ItemStack(itemMelonShard), new Object[]{"GMG", "MDM", "OOO", 'G', Items.ghast_tear, 'D', Items.diamond, 'M', Items.melon, 'O', Blocks.obsidian}); GameRegistry.addRecipe(new ItemStack(itemChaosShard), new Object[]{"COC", "DCD", "MMM", 'C', itemChaosNugget, 'D', Items.diamond, 'M', itemMelonShard, 'O', Blocks.obsidian}); GameRegistry.addRecipe(new ItemStack(blockKKBlock), new Object[]{"FKF", "KOK", "FKF", 'F', itemHardenedFart, 'K', Blocks.pumpkin, 'O', Blocks.obsidian}); GameRegistry.addRecipe(new ItemStack(blockLidl), new Object[]{"LLL", "LLL", "LLL", 'L', blockLidl}); //Smelting GameRegistry.addSmelting(itemPlastik, new ItemStack(itemLidlIngot, 16), 16); GameRegistry.addSmelting(Blocks.obsidian, new ItemStack(itemObsidianIngot), 16); GameRegistry.addSmelting(blockGrief, new ItemStack(blockTroll), 16); GameRegistry.addSmelting(blockLucky, new ItemStack(itemLuckyIngot, 4), 16); GameRegistry.addSmelting(itemRomanDeath, new ItemStack(itemRomanIngot, 64), 16); GameRegistry.addSmelting(blockRoman, new ItemStack(blockFurzPortal), 16); GameRegistry.addSmelting(itemFurzShard, new ItemStack(itemHardenedFart), 16); GameRegistry.addSmelting(itemStolenMelons, new ItemStack(itemMelonShard), 16); GameRegistry.addSmelting(itemJBCD, new ItemStack(itemBieberSpawnegg), 16); //Handler GameRegistry.registerFuelHandler(new FuelHandler()); //Entities EntityHandler.registerMonsters(EntityPumpkinMonster.class, "PumpkinMonster"); //Bosses BossHandler.registerBosses(EntityPumpkinMutant.class, "PumpkinMutant"); } @EventHandler public void PostInit(FMLPostInitializationEvent postEvent){ } } EntityPumpkinMonster: package com.netcrafter.mod.entity; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAIAttackOnCollide; import net.minecraft.entity.ai.EntityAIHurtByTarget; import net.minecraft.entity.ai.EntityAILookIdle; import net.minecraft.entity.ai.EntityAIMoveThroughVillage; import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction; import net.minecraft.entity.ai.EntityAINearestAttackableTarget; import net.minecraft.entity.ai.EntityAISwimming; import net.minecraft.entity.ai.EntityAIWander; import net.minecraft.entity.ai.EntityAIWatchClosest; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.passive.EntityVillager; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; import net.minecraftforge.common.ForgeModContainer; public class EntityPumpkinMonster extends EntityMob { public EntityPumpkinMonster(World world) { super(world); this.getNavigator().setBreakDoors(true); this.tasks.addTask(0, new EntityAISwimming(this)); this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, true)); this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true)); this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D)); this.tasks.addTask(6, new EntityAIMoveThroughVillage(this, 1.0D, true)); this.tasks.addTask(7, new EntityAIWander(this, 1.0D)); this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); this.tasks.addTask(8, new EntityAILookIdle(this)); this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true)); this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true)); this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, true)); this.setSize(0.6F, 1.8F); } protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(40.0D); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.23000000417232513D); this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(3.0D); this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(20.0D); this.getEntityAttribute(SharedMonsterAttributes.knockbackResistance).setBaseValue(20.0D); } protected boolean isAIEnabled() { return true; } } EntityPumpkinMutant: package com.netcrafter.mod.entity; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAIAttackOnCollide; import net.minecraft.entity.ai.EntityAIHurtByTarget; import net.minecraft.entity.ai.EntityAILookIdle; import net.minecraft.entity.ai.EntityAIMoveThroughVillage; import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction; import net.minecraft.entity.ai.EntityAINearestAttackableTarget; import net.minecraft.entity.ai.EntityAISwimming; import net.minecraft.entity.ai.EntityAIWander; import net.minecraft.entity.ai.EntityAIWatchClosest; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.passive.EntityVillager; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; import net.minecraftforge.common.ForgeModContainer; public class EntityPumpkinMutant extends EntityMob { public EntityPumpkinMutant(World world) { super(world); this.getNavigator().setBreakDoors(true); this.tasks.addTask(0, new EntityAISwimming(this)); this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.0D, true)); this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.0D, true)); this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D)); this.tasks.addTask(6, new EntityAIMoveThroughVillage(this, 1.0D, true)); this.tasks.addTask(7, new EntityAIWander(this, 1.0D)); this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); this.tasks.addTask(8, new EntityAILookIdle(this)); this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true)); this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true)); this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, true)); this.setSize(0.6F, 1.8F); } protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(40.0D); this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.23000000417232513D); this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(3.0D); this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(20.0D); } protected boolean isAIEnabled() { return true; } } BossHandler: package com.netcrafter.mod.handler; import java.util.Random; import net.minecraft.entity.EntityList; import net.minecraft.entity.EnumCreatureType; import net.minecraft.world.biome.BiomeGenBase; import com.netcrafter.mod.LidlMelonRPG; import cpw.mods.fml.common.registry.EntityRegistry; public class BossHandler { public static void registerBosses(Class bossClass, String name) { int entityId = EntityRegistry.findGlobalUniqueEntityId(); long x = name.hashCode(); Random random = new Random(x); int mainColor = random.nextInt() * 16777216; int subColor = random.nextInt() * 16777216; EntityRegistry.registerGlobalEntityID(bossClass, name, entityId); EntityRegistry.addSpawn(bossClass, 50, 2, 4, EnumCreatureType.monster); EntityRegistry.registerModEntity(bossClass, name, entityId, LidlMelonRPG.instance, 64, 1, true); EntityList.entityEggs.put(Integer.valueOf(entityId), new EntityList.EntityEggInfo(entityId, mainColor, subColor)); } } EntityHandler: package com.netcrafter.mod.handler; import java.util.Random; import net.minecraft.entity.EntityList; import net.minecraft.entity.EnumCreatureType; import net.minecraft.world.biome.BiomeGenBase; import com.netcrafter.mod.LidlMelonRPG; import cpw.mods.fml.common.registry.EntityRegistry; public class EntityHandler { public static void registerMonsters(Class entityClass, String name) { int entityId = EntityRegistry.findGlobalUniqueEntityId(); long x = name.hashCode(); Random random = new Random(x); int mainColor = random.nextInt() * 16777215; int subColor = random.nextInt() * 16777215; EntityRegistry.registerGlobalEntityID(entityClass, name, entityId); EntityRegistry.addSpawn(entityClass, 50, 2, 4, EnumCreatureType.monster, BiomeGenBase.beach, BiomeGenBase.desert, BiomeGenBase.forest); EntityRegistry.registerModEntity(entityClass, name, entityId, LidlMelonRPG.instance, 64, 1, true); EntityList.entityEggs.put(Integer.valueOf(entityId), new EntityList.EntityEggInfo(entityId, mainColor, subColor)); } } ModelPumpkinMonster: package com.netcrafter.mod.model; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelPumpkinMonster extends ModelBase { ModelRenderer Body; ModelRenderer Neck; ModelRenderer Head; public ModelPumpkinMonster() { textureWidth = 64; textureHeight = 32; Body = new ModelRenderer(this, 0, 12); Body.addBox(0F, 0F, 0F, 12, 8, 12); Body.setRotationPoint(-6F, 16F, -6F); Body.setTextureSize(64, 32); Body.mirror = true; setRotation(Body, 0F, 0F, 0F); Neck = new ModelRenderer(this, 0, 0); Neck.addBox(0F, 0F, 0F, 8, 4, ; Neck.setRotationPoint(-4F, 12F, -4F); Neck.setTextureSize(64, 32); Neck.mirror = true; setRotation(Neck, 0F, 0F, 0F); Head = new ModelRenderer(this, 48, 24); Head.addBox(0F, 0F, 0F, 4, 4, 4); Head.setRotationPoint(-2F, 8F, -2F); Head.setTextureSize(64, 32); Head.mirror = true; setRotation(Head, 0F, 0F, 0F); } public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); setRotationAngles(f, f1, f2, f3, f4, f5, entity); Body.render(f5); Neck.render(f5); Head.render(f5); } private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z; } public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); this.Body.render(f5); } } ModelPumpkinMutant: package com.netcrafter.mod.model; import net.minecraft.client.model.ModelBiped; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelPumpkinMutant extends ModelBiped { ModelRenderer head; ModelRenderer body; ModelRenderer rightarm; ModelRenderer leftarm; ModelRenderer rightleg; ModelRenderer leftleg; public ModelPumpkinMutant() { textureWidth = 64; textureHeight = 64; head = new ModelRenderer(this, 0, 0); head.addBox(-4F, -8F, -4F, 8, 8, ; head.setRotationPoint(0F, 0F, 0F); head.setTextureSize(64, 32); head.mirror = true; setRotation(head, 0F, 0F, 0F); body = new ModelRenderer(this, 16, 16); body.addBox(-4F, 0F, -2F, 8, 12, 4); body.setRotationPoint(0F, 0F, 0F); body.setTextureSize(64, 32); body.mirror = true; setRotation(body, 0F, 0F, 0F); rightarm = new ModelRenderer(this, 40, 16); rightarm.addBox(-3F, -2F, -2F, 4, 12, 4); rightarm.setRotationPoint(-5F, 2F, 0F); rightarm.setTextureSize(64, 32); rightarm.mirror = true; setRotation(rightarm, 0F, 0F, 0F); leftarm = new ModelRenderer(this, 40, 16); leftarm.addBox(-1F, -2F, -2F, 4, 12, 4); leftarm.setRotationPoint(5F, 2F, 0F); leftarm.setTextureSize(64, 32); leftarm.mirror = true; setRotation(leftarm, 0F, 0F, 0F); rightleg = new ModelRenderer(this, 0, 16); rightleg.addBox(-2F, 0F, -2F, 4, 12, 4); rightleg.setRotationPoint(-2F, 12F, 0F); rightleg.setTextureSize(64, 32); rightleg.mirror = true; setRotation(rightleg, 0F, 0F, 0F); leftleg = new ModelRenderer(this, 0, 16); leftleg.addBox(-2F, 0F, -2F, 4, 12, 4); leftleg.setRotationPoint(2F, 12F, 0F); leftleg.setTextureSize(64, 32); leftleg.mirror = true; setRotation(leftleg, 0F, 0F, 0F); } public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) { super.render(entity, f, f1, f2, f3, f4, f5); setRotationAngles(f, f1, f2, f3, f4, f5, entity); head.render(f5); body.render(f5); rightarm.render(f5); leftarm.render(f5); rightleg.render(f5); leftleg.render(f5); } private void setRotation(ModelRenderer model, float x, float y, float z) { model.rotateAngleX = x; model.rotateAngleY = y; model.rotateAngleZ = z; } public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity) { super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); } } ClientProxy: package com.netcrafter.mod.proxy; import com.netcrafter.mod.entity.EntityPumpkinMonster; import com.netcrafter.mod.entity.EntityPumpkinMutant; import com.netcrafter.mod.model.ModelPumpkinMonster; import com.netcrafter.mod.model.ModelPumpkinMutant; import com.netcrafter.mod.renderer.RenderPumpkinMonster; import com.netcrafter.mod.renderer.RenderPumpkinMutant; import cpw.mods.fml.client.registry.RenderingRegistry; public class ClientProxy extends CommonProxy { public void registerRenderThings() { //TileEntities //nothing //Entities RenderingRegistry.registerEntityRenderingHandler(EntityPumpkinMonster.class, new RenderPumpkinMonster(new ModelPumpkinMonster(), 0.3F)); RenderingRegistry.registerEntityRenderingHandler(EntityPumpkinMutant.class, new RenderPumpkinMutant(new ModelPumpkinMutant(), 0.4F)); } } CommonProxy: package com.netcrafter.mod.proxy; public class CommonProxy { public void registerRenderThings() { } } RenderPumpkinMonster: package com.netcrafter.mod.renderer; import com.netcrafter.mod.entity.EntityPumpkinMonster; import com.netcrafter.mod.model.ModelPumpkinMonster; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.util.ResourceLocation; public class RenderPumpkinMonster extends RenderLiving { public static final ResourceLocation texture = new ResourceLocation("netcrafter:textures/model/PumpkinMonster.png"); protected ModelPumpkinMonster modelEntity; public RenderPumpkinMonster(ModelBase par1ModelBase, float par2) { super(par1ModelBase, par2); modelEntity = ((ModelPumpkinMonster) mainModel); } public void renderPumpkinMonster(EntityPumpkinMonster entity, double x, double y, double z, float u, float v) { super.doRender(entity, x, y, z, u, v); } public void doRenderLiving(EntityLiving entityLiving, double x, double y, double z, float u, float v) { renderPumpkinMonster((EntityPumpkinMonster)entityLiving, x, y, z, u, v); } public void doRender(Entity entity, double x, double y, double z, float u, float v) { renderPumpkinMonster((EntityPumpkinMonster)entity, x, y, z, u, v); } @Override protected ResourceLocation getEntityTexture(Entity var1) { return texture; } } RenderPumpkinMutant: package com.netcrafter.mod.renderer; import com.netcrafter.mod.entity.EntityPumpkinMutant; import com.netcrafter.mod.model.ModelPumpkinMutant; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.Render; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.util.ResourceLocation; public class RenderPumpkinMutant extends RenderLiving { public static final ResourceLocation texture = new ResourceLocation("netcrafter:textures/model/PumpkinMutant.png"); protected ModelPumpkinMutant modelEntity; public RenderPumpkinMutant(ModelBase par1ModelBase, float par2) { super(par1ModelBase, par2); modelEntity = ((ModelPumpkinMutant) mainModel); } public void renderPumpkinMutant(EntityPumpkinMutant entity, double x, double y, double z, float u, float v) { super.doRender(entity, x, y, z, u, v); } public void doRenderLiving(EntityLiving entityLiving, double x, double y, double z, float u, float v) { renderPumpkinMutant((EntityPumpkinMutant)entityLiving, x, y, z, u, v); } public void doRender(Entity entity, double x, double y, double z, float u, float v) { renderPumpkinMutant((EntityPumpkinMutant)entity, x, y, z, u, v); } @Override protected ResourceLocation getEntityTexture(Entity var1) { return texture; } } Hope you can help me. And yeah theres another spawn egg with the ID 3, I didn't made an entity with the ID 3 so I don't know. And that ID doesen't spawn anything. If I try spawn the ID 3 then it ignores it.
  11. Hey guy's! I made a modpack with 51 mods but i've got a problem. I can't start the game. It keeps saying something like: The coremod ic2.core.coremod.IC2core does not have a MCVersion annotation, it may cause issues with this version of Minecraft I will post you the log maybe someone can help me [17:20:09] [main/INFO] [FML/]: Forge Mod Loader version 7.2.217.1147 for Minecraft 1.7.2 loading [17:20:09] [main/INFO] [FML/]: Java is Java HotSpot Client VM, version 1.8.0_20, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre1.8.0_20 [17:20:09] [main/DEBUG] [FML/]: Java classpath at launch is C:\Users\moor\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.7.2-10.12.2.1147\forge-1.7.2-10.12.2.1147.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\net\minecraft\launchwrapper\1.9\launchwrapper-1.9.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\org\ow2\asm\asm-all\4.1\asm-all-4.1.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-library\2.10.2\scala-library-2.10.2.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\org\scala-lang\scala-compiler\2.10.2\scala-compiler-2.10.2.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.3.1\vecmath-1.3.1.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\lzma\lzma\0.0.1\lzma-0.0.1.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.10.Final\netty-all-4.0.10.Final.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\15.0\guava-15.0.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.3\authlib-1.3.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar;C:\Users\moor\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar;C:\Users\moor\AppData\Roaming\.minecraft\versions\1.7.2-Forge10.12.2.1147\1.7.2-Forge10.12.2.1147.jar [17:20:09] [main/DEBUG] [FML/]: Java library path at launch is C:\Users\moor\AppData\Roaming\.minecraft\versions\1.7.2-Forge10.12.2.1147\1.7.2-Forge10.12.2.1147-natives-2279188154070 [17:20:09] [main/DEBUG] [FML/]: Enabling runtime deobfuscation [17:20:09] [main/DEBUG] [FML/]: Instantiating coremod class FMLCorePlugin [17:20:09] [main/DEBUG] [FML/]: Added access transformer class cpw.mods.fml.common.asm.transformers.AccessTransformer to enqueued access transformers [17:20:09] [main/DEBUG] [FML/]: Enqueued coremod FMLCorePlugin [17:20:09] [main/DEBUG] [FML/]: Instantiating coremod class FMLForgePlugin [17:20:09] [main/DEBUG] [FML/]: Added access transformer class net.minecraftforge.transformers.ForgeAccessTransformer to enqueued access transformers [17:20:09] [main/DEBUG] [FML/]: Enqueued coremod FMLForgePlugin [17:20:09] [main/DEBUG] [FML/]: All fundamental core mods are successfully located [17:20:09] [main/DEBUG] [FML/]: Discovering coremods [17:20:09] [main/DEBUG] [FML/]: Examining for coremod candidacy 1.7.2-MB_Battlegear2-Bullseye-1.0.5.5.jar [17:20:09] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in 1.7.2-MB_Battlegear2-Bullseye-1.0.5.5.jar, it will be examined later for regular @Mod instances [17:20:09] [main/DEBUG] [FML/]: Instantiating coremod class BattlegearLoadingPlugin [17:20:09] [main/TRACE] [FML/]: coremod named Mine and Blade: Battlegear2 is loading [17:20:09] [main/WARN] [FML/]: The coremod mods.battlegear2.coremod.BattlegearLoadingPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [17:20:09] [main/DEBUG] [FML/]: Added access transformer class mods.battlegear2.coremod.transformers.BattlegearAccessTransformer to enqueued access transformers [17:20:09] [main/DEBUG] [FML/]: Enqueued coremod Mine and Blade: Battlegear2 [17:20:09] [main/DEBUG] [FML/]: Examining for coremod candidacy [1.7.2-10.12.1.1098][3.0.0-1.7.2] AIRI.jar [17:20:09] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in [1.7.2-10.12.1.1098][3.0.0-1.7.2] AIRI.jar, it will be examined later for regular @Mod instances [17:20:09] [main/DEBUG] [FML/]: Instantiating coremod class AIRIFMLPlugin [17:20:09] [main/WARN] [FML/]: The coremod com.arisux.airi.AIRIFMLPlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [17:20:09] [main/DEBUG] [FML/]: Added access transformer class com.arisux.airi.AIRIAccessTransformer to enqueued access transformers [17:20:09] [main/DEBUG] [FML/]: Enqueued coremod AIRIFMLPlugin [17:20:09] [main/DEBUG] [FML/]: Examining for coremod candidacy [1.7.2-10.12.1.1098][3.9.14-1.7.2] AliensVsPredator.jar [17:20:09] [main/DEBUG] [FML/]: Not found coremod data in [1.7.2-10.12.1.1098][3.9.14-1.7.2] AliensVsPredator.jar [17:20:09] [main/DEBUG] [FML/]: Examining for coremod candidacy Artifacts-1.0.5.jar [17:20:09] [main/DEBUG] [FML/]: Not found coremod data in Artifacts-1.0.5.jar [17:20:09] [main/DEBUG] [FML/]: Examining for coremod candidacy backpack-2.0.0-1.7.x.jar [17:20:09] [main/DEBUG] [FML/]: Not found coremod data in backpack-2.0.0-1.7.x.jar [17:20:09] [main/DEBUG] [FML/]: Examining for coremod candidacy BattleTowers-1.7.2.jar [17:20:09] [main/DEBUG] [FML/]: Not found coremod data in BattleTowers-1.7.2.jar [17:20:09] [main/DEBUG] [FML/]: Examining for coremod candidacy Baubles-1.7.2-1.0.0.13.jar [17:20:09] [main/DEBUG] [FML/]: Not found coremod data in Baubles-1.7.2-1.0.0.13.jar [17:20:09] [main/DEBUG] [FML/]: Examining for coremod candidacy Botania r1.2-127.jar [17:20:09] [main/DEBUG] [FML/]: Not found coremod data in Botania r1.2-127.jar [17:20:09] [main/DEBUG] [FML/]: Examining for coremod candidacy CodeChickenCore-1.7.2-1.0.2.12-universal.jar [17:20:09] [main/TRACE] [FML/]: Adding CodeChickenCore-1.7.2-1.0.2.12-universal.jar to the list of known coremods, it will not be examined again [17:20:09] [main/DEBUG] [FML/]: Instantiating coremod class CodeChickenCorePlugin [17:20:09] [main/WARN] [FML/]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [17:20:10] [main/DEBUG] [FML/]: Added access transformer class codechicken.core.asm.CodeChickenAccessTransformer to enqueued access transformers [17:20:10] [main/DEBUG] [FML/]: Enqueued coremod CodeChickenCorePlugin [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy CodeChickenLib-1.7.2-1.1.1.92-universal.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in CodeChickenLib-1.7.2-1.1.1.92-universal.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy commons-codec-1.9.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in commons-codec-1.9.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy CustomStuff2-0.11.8-MC1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in CustomStuff2-0.11.8-MC1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy DoomlikeDungeons-1.4.0-MC1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in DoomlikeDungeons-1.4.0-MC1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy farlanders-1.7.2-v1.2b.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in farlanders-1.7.2-v1.2b.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy FoodPlus-1.7.2-3.0rS.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in FoodPlus-1.7.2-3.0rS.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Galacticraft-Planets-BETA-1.7-3.0.0.149.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in Galacticraft-Planets-BETA-1.7-3.0.0.149.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy GalacticraftCore-BETA-1.7-3.0.0.149.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in GalacticraftCore-BETA-1.7-3.0.0.149.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Goblins and Giants 1.7.10-1.0.4.1.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in Goblins and Giants 1.7.10-1.0.4.1.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Industrial-Craft-2-Mod-Experimental-1.7.2.jar [17:20:10] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in Industrial-Craft-2-Mod-Experimental-1.7.2.jar, it will be examined later for regular @Mod instances [17:20:10] [main/DEBUG] [FML/]: Instantiating coremod class IC2core [17:20:10] [main/WARN] [FML/]: The coremod ic2.core.coremod.IC2core does not have a MCVersion annotation, it may cause issues with this version of Minecraft [17:20:10] [main/DEBUG] [FML/]: Enqueued coremod IC2core [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy ironchest-1.7.2-6.0.14.719-universal.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in ironchest-1.7.2-6.0.14.719-universal.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Lots of Food-1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in Lots of Food-1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy LycanitesMobsComplete 1.6.4c [1.7.2].jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in LycanitesMobsComplete 1.6.4c [1.7.2].jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy magicalcrops-1.7.2-0.11.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in magicalcrops-1.7.2-0.11.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Mantle-1.7.2-0.2.8.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in Mantle-1.7.2-0.2.8.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Metallurgy-1.7.2-4.0.2.8.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in Metallurgy-1.7.2-4.0.2.8.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy MicdoodleCore-BETA-1.7-3.0.0.149.jar [17:20:10] [main/TRACE] [FML/]: Adding MicdoodleCore-BETA-1.7-3.0.0.149.jar to the list of known coremods, it will not be examined again [17:20:10] [main/DEBUG] [FML/]: Instantiating coremod class MicdoodlePlugin [17:20:10] [main/WARN] [FML/]: The coremod micdoodle8.mods.miccore.MicdoodlePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [17:20:10] [main/DEBUG] [FML/]: Added access transformer class micdoodle8.mods.miccore.MicdoodleAccessTransformer to enqueued access transformers [17:20:10] [main/DEBUG] [FML/]: Enqueued coremod MicdoodlePlugin [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Mini-Bosses_1_2_PRE.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in Mini-Bosses_1_2_PRE.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy MoreFurnaces-1.3.8-MC1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in MoreFurnaces-1.3.8-MC1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy MultiPageChest-1.3.1-MC1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in MultiPageChest-1.3.1-MC1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy mystcraft-1.7.2-0.10.15.00.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in mystcraft-1.7.2-0.10.15.00.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy natura-1.7.2-2.2.0a3.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in natura-1.7.2-2.2.0a3.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Necromancy-1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in Necromancy-1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy NotEnoughItems-1.7.2-1.0.2.34-universal.jar [17:20:10] [main/TRACE] [FML/]: Adding NotEnoughItems-1.7.2-1.0.2.34-universal.jar to the list of known coremods, it will not be examined again [17:20:10] [main/DEBUG] [FML/]: Instantiating coremod class NEICorePlugin [17:20:10] [main/WARN] [FML/]: The coremod codechicken.nei.asm.NEICorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft [17:20:10] [main/DEBUG] [FML/]: Enqueued coremod NEICorePlugin [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy PandorasBoxMod1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in PandorasBoxMod1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy PunMod 1.7.2-1.5.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in PunMod 1.7.2-1.5.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy RioV-API - v2.0.0.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in RioV-API - v2.0.0.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy RpgInventory-1.7.2_1.12.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy SkyrimMC-1.7.2-Alpha_2.2.0.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in SkyrimMC-1.7.2-Alpha_2.2.0.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Thaumcraft-1.7.2-4.1.1.14.jar [17:20:10] [main/TRACE] [FML/]: Found FMLCorePluginContainsFMLMod marker in Thaumcraft-1.7.2-4.1.1.14.jar, it will be examined later for regular @Mod instances [17:20:10] [main/DEBUG] [FML/]: Instantiating coremod class DepLoader [17:20:10] [main/DEBUG] [FML/]: The coremod thaumcraft.codechicken.core.launch.DepLoader requested minecraft version 1.7.2 and minecraft is 1.7.2. It will be loaded. [17:20:10] [main/DEBUG] [FML/]: Enqueued coremod DepLoader [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy The Mists of RioV - v2.4.0.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in The Mists of RioV - v2.4.0.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy twilightforest-1.7.2-2.2.3.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in twilightforest-1.7.2-2.2.3.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy Waila-1.5.2a_1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in Waila-1.5.2a_1.7.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy warp-book-1.7.2-1.0.35.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in warp-book-1.7.2-1.0.35.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy weaponmod-1.14.2.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in weaponmod-1.14.2.jar [17:20:10] [main/DEBUG] [FML/]: Examining for coremod candidacy witchery-1.7.2-0.20.5.jar [17:20:10] [main/DEBUG] [FML/]: Not found coremod data in witchery-1.7.2-0.20.5.jar [17:20:10] [main/INFO] [LaunchWrapper/]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:20:10] [main/INFO] [LaunchWrapper/]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [17:20:10] [main/INFO] [LaunchWrapper/]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:20:10] [main/ERROR] [LaunchWrapper/]: Unable to launch java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(Unknown Source) ~[?:1.8.0_20] at java.util.ArrayList$Itr.remove(Unknown Source) ~[?:1.8.0_20] at net.minecraft.launchwrapper.Launch.launch(Launch.java:117) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]
  12. Oh, thanks lol, these little things..
  13. I started it with the client and not the server..
  14. My container class because it say's it can't resolve it: package com.netcrafter.mod.container; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.inventory.Container; import net.minecraft.inventory.ICrafting; import net.minecraft.inventory.Slot; import net.minecraft.inventory.SlotFurnace; import com.netcrafter.mod.tileentity.TileEntityDookieFurnace; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class ContainerDookieFurnace extends Container { private TileEntityDookieFurnace dookieFurnace; public int lastBurnTime; public int lastCurrentItemBurnTime; public int lastCookTime; public ContainerDookieFurnace(InventoryPlayer inventory, TileEntityDookieFurnace tileentity) { this.dookieFurnace = tileentity; this.addSlotToContainer(new Slot(tileentity, 0, 56, 35)); this.addSlotToContainer(new Slot(tileentity, 1, 8, 62)); this.addSlotToContainer(new SlotFurnace(inventory.player, tileentity, 2, 116, 35)); for(int i = 0; i < 3; i++) { for(int j = 0; j < 9; j++) { this.addSlotToContainer(new Slot(inventory, j + i * 9 + 9, 8 + j * 18, 84 + i * 18)); } } for(int i = 0; i < 9; i++) { this.addSlotToContainer(new Slot(inventory, i, 8 + i * 18, 142)); } } public void addCraftingToCrafters (ICrafting icrafting) { super.addCraftingToCrafters(icrafting); icrafting.sendProgressBarUpdate(this, 0, this.dookieFurnace.cookTime); icrafting.sendProgressBarUpdate(this, 1, this.dookieFurnace.burnTime); icrafting.sendProgressBarUpdate(this, 2, this.dookieFurnace.currentItemBurnTime); } public void detectAndSendChanges() { super.detectAndSendChanges(); for(int i = 0; i < this.crafters.size(); i++) { ICrafting icrafting = (ICrafting) this.crafters.get(i); if(this.lastCookTime != this.dookieFurnace.cookTime) { icrafting.sendProgressBarUpdate(this, 0, this.dookieFurnace.cookTime); } if(this.lastBurnTime != this.dookieFurnace.burnTime) { icrafting.sendProgressBarUpdate(this, 1, this.dookieFurnace.burnTime); } if(this.lastCurrentItemBurnTime != this.dookieFurnace.currentItemBurnTime) { icrafting.sendProgressBarUpdate(this, 2, this.dookieFurnace.currentItemBurnTime); } } this.lastCookTime = this.dookieFurnace.cookTime; this.lastBurnTime = this.dookieFurnace.burnTime; this.lastCurrentItemBurnTime = this.dookieFurnace.currentItemBurnTime; } @SideOnly(Side.CLIENT) public void updateProgressBar (int slot, int newValue) { } @Override public boolean canInteractWith(EntityPlayer var1) { return true; } }
  15. My error log: ---- Minecraft Crash Report ---- // Oops. Time: 03.09.14 13:51 Description: Exception in server tick loop java.lang.Error: Unresolved compilation problem: ContainerDookieFurnace cannot be resolved to a type at com.netcrafter.mod.handler.GuiHandler.getServerGuiElement(GuiHandler.java:22) at cpw.mods.fml.common.network.NetworkRegistry.getRemoteGuiContainer(NetworkRegistry.java:241) at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:75) at com.netcrafter.mod.blocks.DookieFurnace.onBlockActivated(DookieFurnace.java:94) at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:405) at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:588) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:232) at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:720) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:608) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:746) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.8.0_05, Oracle Corporation Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation Memory: 893079800 bytes (851 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 4725 (264600 bytes; 0 MB) allocated, 4061 (227416 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94 FML: MCP v9.03 FML v7.2.211.1121 Minecraft Forge 10.12.2.1121 4 mods loaded, 4 mods active mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available FML{7.2.211.1121} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available Forge{10.12.2.1121} [Minecraft Forge] (forgeSrc-1.7.2-10.12.2.1121.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available DookieMod{Alpha v0.1} [DookieMod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available->Available->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 1672 (93632 bytes; 0 MB) allocated, 1484 (83104 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['Player903'/666, l='DookieMod Test 02 [WorldGen]', x=125.75, y=68.00, z=252.71]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge'
  16. My MC crashes now if I want to open the GUI...
  17. Nvm fixed it. I forget the "!" at "if(!world.isRemote) {} " public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { if(!world.isRemote) { FMLNetworkHandler.openGui(player, DookieMod.instance, DookieMod.guiIDDookieFurnace, world, x, y, z); } return true; }
  18. Hello, Modder's! I have a custom furnace made. The GUI works perfectly but theres one bug.. I can't take the items or blocks that I have in my inventory. It puts them back to they slot! Do you know what the problem is? I will post the codes if i'll need too. - DaryBob EDIT: Now my MC crashes if I open the GUI...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.