-
Posts
169 -
Joined
-
Last visited
Posts posted by jordsta95
-
-
So if I use a strong reference it will be less laggy (according to that link)... so it's better to do that?
And then maybe release 2 versions 1 API compat and one not?
-
Pretend for a second that I know next to nothing about modding
But thanks for telling me it's possible
So, what exactly do I do?
Do I add all the API stuff into my src folder (not my mod's of course), and then reference it as I would my own but instead of MyModName.ClassFile it would be APIName.ClassFile ?
-
Hey there, I am wondering how to use API's, and how to have my mod use them.
Reason being I would like to make items in my mods have things such as Thaumcraft aspects. But I would want the mod to work without the player having the mods installed... dunno if that's possible.
Thanks for the help
-Jordan
-
PergGen is 512mb
Mod list:
IndustrialCraft 2
Equivalent Exchange 3
Project Bench
Advanced Solar Panels
Applied Energistics
Backpack
Bibliocraft
Buildcraft
ChickenChunks
Computercraft
Enderstorage
Everything and More
Extra Bees
Factorization
Forestry
GraviSuite
Greg Tech
immibis Core
IronChest
Magic Bees
Mine Factory Reloaded
MiscPeripherals
Mystcraft
neiaddons
neiplugins
obsidiplates
OmniTools
Plugins for Forestry
Soul Shards
RedLogic
Steves Carts 2
Tinkers Construct
Thaumcraft
Thermal Expansion
Twilight Forest
Core Mods:
CodChickenCore
CoFHCore
denLib
immibis microblocks
infinibows
InventoryTweaks
NotEnoughItems
Nucleum Omnium
PowerCrystals Core
-
Hey there, I am running a server with a few mods on it.
And every now and again, it will crash with the error "Out of PermGen Space", and this server is running with the max PermGen my server host can offer...
So, what I am looking for, if it exists, is a plugin which can solve this... I dunno how it would work, whether it would clear a cache, or something (I know nothing of PermGen). But something that could maybe stop, or make the crashes less frequent.
If there is a plugin that can do that, could you please link me it, because when searching through bukkit forums for PermGen I can only find people reporting crashes due to it.
Or if they're aren't any plugins, but there are fixes, that would also be great
Thanks a lot
-Jordan
P.s. I have already tried asking on the Bukkit forums about this issue, and they locked my threads because "they don't support mods"
-
Forget my idiocy, I forgot to add this:
oreRegistration();
-
I read the ore dictionary thing, and added 2 of my custom additions (Steel (item) and Bauxite (block)) and when I run it alongside other mods that use the 2 things in the OreDictionary:
ingotSteel and oreBauxite it doesn't allow me to use my items in the recipes... here is the code I added:
public static void oreRegistration()
{
OreDictionary.registerOre("ingotSteel", new ItemStack(Steel));
OreDictionary.registerOre("oreBauxite", new ItemStack(Bauxite));
}
which is exactly how the tutorial you linked me said (And yes this is in the @Init statement)
-
Hey there, to cut to the chase I would like to make my item (steel) compatible with Gregtech's steel, so people using my mod could use it for those recipes too (or other mods as well)
How do I make it possible to do that?
Thanks a lot
-Jordan
-
Doesn't matter, solved it. It was because I added VoxelMaps (which I didn't know was a continuation of Zans map) to the server mods file
-
-
Yes I have @Override above that
-
Thanks
Anyway... I don't know what I am doing wrong this is what I have:
Main class:
public void load( FMLServerStartingEvent event){
CommonProxy.registerRenderers();
}
CommonProxy:
public void registerRenderers(){
}
ClientProxy:
public void registerRenderers(){
RenderingRegistry.registerEntityRenderingHandler(EntityFatEnderman.class, new RenderFatEnderman(new ModelFatEnderman(), 1.0f));
RenderingRegistry.registerEntityRenderingHandler(EntityDireWolf.class, new RenderDireWolf(new ModelDireWolf(), 1.0f));
}
And then the mob spawns as a biped, not a wolf.
And when I tried to copy over all the stuff from the main class to do with the mob, it said the registerEntityEgg was invalid, so I put that back... but then I couldn't spawn the mob as the egg just said "Spawn" with no mob name
-
Main mod class:
package mods.EverythingAndMore; //Package directory
/*
* Basic importing
*/
import scala.collection.mutable.Map;
import net.minecraft.block.Block;
import net.minecraft.client.renderer.entity.RenderCreeper;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnumEnchantmentType;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityEggInfo;
import net.minecraft.entity.EntityList;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.item.EnumArmorMaterial;
import net.minecraft.item.EnumToolMaterial;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.src.ModLoader;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.EnumHelper;
import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.Init;
import cpw.mods.fml.common.Mod.Instance;
import cpw.mods.fml.common.Mod.PostInit;
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.network.NetworkMod;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
/*
* Basic needed forge stuff
*/
@Mod(modid="EverythingAndMoreMod",name="Everything And More",version="v0.3")
@NetworkMod(clientSideRequired=true,serverSideRequired=false)
public class Everything_and_More_Mod {
public static final String modid = "EverythingAndMoreMod";
@Instance("EAMMod")
public static Everything_and_More_Mod instance;
//Creative Mode Tabs
public static CreativeTabs EEMTab = new EEMTab("Everything And More");
public static CreativeTabs Ender = new Ender("Ender Items");
/*
* ToolMaterial
*/
//Telling forge that we are creating these
//Biomes
public BiomeGenBase CyanInfusedForest;
//items
public static Item Lovite;
public static Item Cyanitide;
public static Item RefinedHeart;
public static Item HeartWheat;
public static Item BakedWithLove;
public static Item GoldStick;
public static Item TaurinPick;
public static Item Vertide;
public static Item TaurinAxe;
public static Item TaurinShovel;
public static Item TaurinSword;
public static Item DragonScale;
public static Item DSHelmet;
public static Item DSBoots;
public static Item DSLegs;
public static Item DSBody;
public static Item Cape;
public static Item CyLoFragment;
public static Item CyLoShard;
public static Item LoveClump;
public static Item CyanClump;
public static Item LightBelt;
public static Item End1Pick;
public static Item End1Axe;
public static Item End1Shovel;
public static Item End1Sword;
public static Item EndDust;
public static Item EndIngot;
public static Item EndStick;
public static Item DOneHelm;
public static Item DOneChest;
public static Item DOneLegs;
public static Item DOneBoots;
public static Item ItemTier2EnderAxe;
public static Item ItemTier2EnderPick;
public static Item ItemTier2EnderShovel;
public static Item ItemTier2EnderSword;
public static Item DPEndIngot;
public static Item DragonEgg;
public static Item ItemEndShaxel;
public static Item WIEndIngot;
public static Item BaseWitherSword;
public static Item BaseWitherPick;
public static Item BaseWitherAxe;
public static Item BaseWitherShovel;
public static Item ItemEndCaptainSparklez;
//blocks
public static Block HeartStone;
public static Block CyOre;
public static Block LoveOre;
public static Block VertOre;
public static Block LoveLight;
public static Block Light;
public static Block DropLight;
public static Block TopSoil;
static int startEntityID = 300;
//EnumMaterials (Tools/Armour)
EnumArmorMaterial DRAGONSCALE;
EnumToolMaterial TAURIN;
EnumToolMaterial CYLO;
EnumToolMaterial ENDONE;
EnumToolMaterial ENDTWO;
EnumToolMaterial ENDFIRE;
EnumToolMaterial ENDTHREE;
EnumToolMaterial ENDPAXEL;
@SidedProxy(clientSide = "mods.EverythingAndMore.ClientProxy", serverSide = "mods.EverythingAndMore.CommonProxy")
public static mods.EverythingAndMore.CommonProxy CommonProxy;
//Declaring Init
@Init
public void load(FMLInitializationEvent event)
{
//Define material enums
DefineMaterials();
//Define items/blocks
DefineBlocksAndItems();
//Register the mod's world gen
GameRegistry.registerWorldGenerator(new OreGen());
GameRegistry.registerWorldGenerator(new TaurinGen());
//Add names to the registry
AddNames();
//Add mod related entities to the registry
AddEntities();
//Do minecraft forge related tasks
DoMinecraftForgeStuff();
//Add crafting and furnace recipes
AddCraftingRecipes();
}
//Get a unique entity ID
public int getUniqueEntityID()
{
do
{
startEntityID++;
}
while(EntityList.getStringFromID(startEntityID) != null);
return startEntityID;
}
//Register entity eggs for the mod
public void registerEntityEgg(Class <? extends Entity> entity, int primaryColor, int secondaryColor)
{
int id = getUniqueEntityID();
EntityList.IDtoClassMapping.put(id, entity);
EntityList.entityEggs.put(id, new EntityEggInfo(id, primaryColor, secondaryColor));
}
//Add all mod related names to registry
public void AddNames()
{
LanguageRegistry.addName(Lovite, "Lovite");
LanguageRegistry.addName(Cyanitide, "Cyanitide");
LanguageRegistry.addName(RefinedHeart, "Refined Heart");
LanguageRegistry.addName(HeartWheat, "Grown with Love");
LanguageRegistry.addName(BakedWithLove, "Baked with Love");
LanguageRegistry.addName(GoldStick, "Golden Stick");
LanguageRegistry.addName(TaurinPick, "Taurin Pickaxe");
LanguageRegistry.addName(Vertide, "Taurin");
LanguageRegistry.addName(TaurinAxe, "Taurin Axe");
LanguageRegistry.addName(TaurinShovel, "Taurin Shovel");
LanguageRegistry.addName(TaurinSword, "Taurin Sword");
LanguageRegistry.addName(DragonScale, "Dragon Scale");
LanguageRegistry.addName(DSHelmet, "DragonScale Helmet");
LanguageRegistry.addName(DSBody, "DragonScale Body");
LanguageRegistry.addName(DSLegs, "DragonScale Leggings");
LanguageRegistry.addName(DSBoots, "DragonScale Boots");
LanguageRegistry.addName(HeartStone, "Heart Stone");
LanguageRegistry.addName(CyOre, "Cyanitide Ore");
LanguageRegistry.addName(LoveOre, "Lovite Ore");
LanguageRegistry.addName(LoveLight, "Love Light");
LanguageRegistry.addName(VertOre, "Taurin Ore");
LanguageRegistry.addName(Light, "Illuminator");
LanguageRegistry.addName(CyLoFragment, "CyLoFragment");
LanguageRegistry.addName(CyLoShard, "CyLoShard");
LanguageRegistry.addName(LoveClump, "Love Clump");
LanguageRegistry.addName(CyanClump, "Cyan Clump");
LanguageRegistry.addName(LightBelt, "Light Belt");
LanguageRegistry.addName(DropLight, "Drop Light");
LanguageRegistry.addName(End1Pick, "Ender Pick");
LanguageRegistry.addName(End1Axe, "Ender Axe");
LanguageRegistry.addName(End1Shovel, "Ender Shovel");
LanguageRegistry.addName(End1Sword, "Ender Sword");
LanguageRegistry.addName(EndDust, "End Dust");
LanguageRegistry.addName(EndIngot, "End Ingot");
LanguageRegistry.addName(EndStick, "End Stick");
LanguageRegistry.addName(DOneHelm, "Ender Helmet");
LanguageRegistry.addName(DOneChest, "Ender Chestplate");
LanguageRegistry.addName(DOneLegs, "Ender Leggings");
LanguageRegistry.addName(DOneBoots, "Ender Booties");
LanguageRegistry.addName(ItemTier2EnderAxe, "Reinfored Ender Axe");
LanguageRegistry.addName(ItemTier2EnderPick, "Reinforced Ender Pickaxe");
LanguageRegistry.addName(ItemTier2EnderShovel, "Reinforced Ender Shovel");
LanguageRegistry.addName(ItemTier2EnderSword, "Reinforced Ender Sword");
LanguageRegistry.addName(DPEndIngot, "Reinforced End Ingot");
LanguageRegistry.addName(DragonEgg, "Dragon Packet");
LanguageRegistry.addName(Cape, "Cape");
LanguageRegistry.addName(TopSoil, "Top Soil");
LanguageRegistry.addName(ItemEndShaxel, "Ender Picksel");
LanguageRegistry.addName(WIEndIngot, "Wither Ingot");
LanguageRegistry.addName(BaseWitherSword, "Wither Sword");
LanguageRegistry.addName(BaseWitherPick, "Wither Pickaxe");
LanguageRegistry.addName(BaseWitherAxe, "Wither Axe");
LanguageRegistry.addName(BaseWitherShovel, "Wither Shovel");
LanguageRegistry.addName(ItemEndCaptainSparklez, "Creeper Staff");
LanguageRegistry.instance().addStringLocalization("itemGroup.Everything And More", "en_US", "Everything and More");
LanguageRegistry.instance().addStringLocalization("itemGroup.Ender Items", "en_US", "Ender Items");
}
//Define all blocks and items in the mod, registering each
public void DefineBlocksAndItems()
{
Lovite = new Lovite(4198).setUnlocalizedName("Lovite");
Cyanitide = new Cyanitide(4197).setUnlocalizedName("Cyanitide");
RefinedHeart = new RefinedHeart(4199).setUnlocalizedName("RefinedHeart");
HeartWheat = new HeartWheat(4200).setUnlocalizedName("HeartWheat");
BakedWithLove = new Bread(4201, 8, 6.5F, false).setUnlocalizedName("BakedWithLove");
GoldStick = new GoldStick(4202).setUnlocalizedName("GoldStick");
TaurinPick = new TaurinPick(4203, TAURIN).setUnlocalizedName("TaurinPick");
Vertide = new Vertide(4204).setUnlocalizedName("Vertide");
TaurinAxe = new TaurinAxe(4205, TAURIN).setUnlocalizedName("TaurinAxe");
TaurinShovel = new TaurinShovel(4206,TAURIN).setUnlocalizedName("TaurinShovel");
TaurinSword = new TaurinSword(4207, TAURIN).setUnlocalizedName("TaurinSword");
DragonScale = new DragonScale(4208).setUnlocalizedName("DragonScale");
DSHelmet = new DSHelmet(4209, DRAGONSCALE , ModLoader.addArmor("DSArmour"), 0).setUnlocalizedName("DSHelmet").setCreativeTab(CreativeTabs.tabCombat);
DSBody = new DSBody(4210, DRAGONSCALE , ModLoader.addArmor("DSArmour"), 1).setUnlocalizedName("DSBody").setCreativeTab(CreativeTabs.tabCombat);
DSLegs = new DSLegs(4211, DRAGONSCALE , ModLoader.addArmor("DSArmour"), 2).setUnlocalizedName("DSLegs").setCreativeTab(CreativeTabs.tabCombat);
DSBoots = new DSBoots(4212, DRAGONSCALE , ModLoader.addArmor("DSArmour"), 3).setUnlocalizedName("DSBoots").setCreativeTab(CreativeTabs.tabCombat);
CyLoFragment = new CyLoFragment(4213).setUnlocalizedName("CyLoFragment").setCreativeTab(Everything_and_More_Mod.EEMTab);
CyLoShard = new CyLoShard(4214).setUnlocalizedName("CyLoShard").setCreativeTab(Everything_and_More_Mod.EEMTab);
LoveClump = new LoveClump(4215).setUnlocalizedName("LoveClump").setCreativeTab(Everything_and_More_Mod.EEMTab);
CyanClump = new CyanClump(4216).setUnlocalizedName("CyanClump").setCreativeTab(Everything_and_More_Mod.EEMTab);
LightBelt = new LightBelt(4217).setUnlocalizedName("LightBelt").setCreativeTab(Everything_and_More_Mod.EEMTab);
End1Pick = new End1Pick(4218, ENDONE).setUnlocalizedName("End1Pick").setCreativeTab(Everything_and_More_Mod.Ender);
End1Axe = new End1Axe(4219, ENDONE).setUnlocalizedName("End1Axe").setCreativeTab(Everything_and_More_Mod.Ender);
End1Shovel = new End1Shovel(4220, ENDONE).setUnlocalizedName("End1Shovel").setCreativeTab(Everything_and_More_Mod.Ender);
End1Sword = new End1Sword(4221, ENDONE).setUnlocalizedName("End1Sword").setCreativeTab(Everything_and_More_Mod.Ender);
EndDust = new EndDust(4222).setUnlocalizedName("EndDust").setCreativeTab(Everything_and_More_Mod.Ender);
EndIngot = new EndIngot(4223).setUnlocalizedName("EndIngot").setCreativeTab(Everything_and_More_Mod.Ender);
EndStick = new EndStick(4224).setUnlocalizedName("EndStick").setCreativeTab(Everything_and_More_Mod.Ender);
DOneHelm = new EnderArmorHelm(4225, EnumArmorMaterial.DIAMOND, 1, 0).setUnlocalizedName("DOneHelm").setCreativeTab(CreativeTabs.tabCombat);
DOneChest = new EnderArmorChest(4226, EnumArmorMaterial.DIAMOND, 1, 1).setUnlocalizedName("DOneChest").setCreativeTab(CreativeTabs.tabCombat);
DOneLegs = new EnderArmorLegs(4227, EnumArmorMaterial.DIAMOND, 1, 2).setUnlocalizedName("DOneLegs").setCreativeTab(CreativeTabs.tabCombat);
DOneBoots = new EnderArmorBoots(4228, EnumArmorMaterial.DIAMOND, 1, 3).setUnlocalizedName("DOneBoots").setCreativeTab(CreativeTabs.tabCombat);
ItemTier2EnderAxe = new ItemTier2EnderAxe(4229, ENDTWO).setUnlocalizedName("ItemTier2EnderAxe").setCreativeTab(Everything_and_More_Mod.Ender);
ItemTier2EnderPick = new ItemTier2EnderPick(4230, ENDTWO).setUnlocalizedName("ItemTier2EnderPick").setCreativeTab(Everything_and_More_Mod.Ender);
ItemTier2EnderShovel = new ItemTier2EnderShovel(4231, ENDTWO).setUnlocalizedName("ItemTier2EnderShovel").setCreativeTab(Everything_and_More_Mod.Ender);
ItemTier2EnderSword = new ItemTier2EnderSword(4232, ENDTWO).setUnlocalizedName("ItemTier2EnderSword").setCreativeTab(Everything_and_More_Mod.Ender);
DPEndIngot = new DPEndIngot(4233).setUnlocalizedName("DPEndIngot").setCreativeTab(Everything_and_More_Mod.Ender);
DragonEgg = new DragonEgg(4234).setUnlocalizedName("DragonEgg").setCreativeTab(Everything_and_More_Mod.Ender);
Cape = new Cape(4235).setUnlocalizedName("Cape").setCreativeTab(Everything_and_More_Mod.EEMTab);
ItemEndShaxel = new ItemEndShaxel(4236, ENDPAXEL).setUnlocalizedName("ItemEndShaxel").setCreativeTab(Everything_and_More_Mod.Ender);
WIEndIngot = new WIEndIngot(4237).setUnlocalizedName("WIEndIngot").setCreativeTab(Everything_and_More_Mod.Ender);
BaseWitherSword = new BaseWitherSword (4238, ENDTHREE).setUnlocalizedName("BaseWitherSword").setCreativeTab(Everything_and_More_Mod.Ender);
BaseWitherPick = new BaseWitherPick(4239, ENDTHREE).setUnlocalizedName("BaseWitherPick").setCreativeTab(Everything_and_More_Mod.Ender);
BaseWitherAxe = new BaseWitherAxe(4240, ENDTHREE).setUnlocalizedName("BaseWitherAxe").setCreativeTab(Everything_and_More_Mod.Ender);
BaseWitherShovel = new BaseWitherShovel(4241, ENDTHREE).setUnlocalizedName("BaseWitherShovel").setCreativeTab(Everything_and_More_Mod.Ender);
ItemEndCaptainSparklez = new ItemEndCaptainSparklez(4242, ENDONE).setUnlocalizedName("ItemEndCaptainSparklez").setCreativeTab(Everything_and_More_Mod.Ender);
HeartStone= new HeartStone(2189, "HeartStone").setUnlocalizedName("HeartStone").setHardness(3.5F).setStepSound(Block.soundStoneFootstep).setResistance(10.0F).setCreativeTab(Everything_and_More_Mod.EEMTab);
GameRegistry.registerBlock(HeartStone, "HeartStone");
CyOre= new CyanOre(2188, "CyanOre").setUnlocalizedName("CyanOre").setHardness(3.5F).setStepSound(Block.soundStoneFootstep).setResistance(10.0F);
GameRegistry.registerBlock(CyOre, "CyanOre");
MinecraftForge.setBlockHarvestLevel(CyOre, "pickaxe", 1);
LoveOre= new LoviteOre(2187, "LoviteOre").setUnlocalizedName("LoviteOre").setHardness(3.5F).setStepSound(Block.soundStoneFootstep).setResistance(10.0F);
GameRegistry.registerBlock(LoveOre, "LoveOre");
MinecraftForge.setBlockHarvestLevel(LoveOre, "pickaxe", 1);
LoveLight= new LoveLight(2190, "LoveLight").setUnlocalizedName("LoveLight").setHardness(1.0F).setStepSound(Block.soundGlassFootstep).setResistance(3.0F).setLightValue(0.9F);
GameRegistry.registerBlock(LoveLight, "LoveLight");
VertOre= new VertOre(2191, "VertOre").setUnlocalizedName("VertOre").setHardness(4.0F).setStepSound(Block.soundStoneFootstep).setResistance(10.0F);
GameRegistry.registerBlock(VertOre, "VertOre");
MinecraftForge.setBlockHarvestLevel(VertOre, "pickaxe", 3);
Light= new Light(2192, "Light").setUnlocalizedName("Light").setHardness(1.0F).setStepSound(Block.soundGlassFootstep).setResistance(3.0F).setLightValue(1.0F);
GameRegistry.registerBlock(Light, "Light");
DropLight = new DropLight(2193, "DropLight").setUnlocalizedName("DropLight").setHardness(0.8F).setStepSound(Block.soundSandFootstep).setResistance(3.0F).setLightValue(1.0F).setCreativeTab(Everything_and_More_Mod.EEMTab);
GameRegistry.registerBlock(DropLight, "DropLight");
TopSoil = new TopSoil(2194, "TopSoil").setUnlocalizedName("TopSoil").setHardness(0.8F).setStepSound(Block.soundGrassFootstep).setResistance(3.0F).setCreativeTab(Everything_and_More_Mod.EEMTab);
GameRegistry.registerBlock(TopSoil, "TopSoil");
GameRegistry.registerItem(TaurinPick, "Taurin Pickaxe");
GameRegistry.registerItem(TaurinAxe, "Taurin Axe");
GameRegistry.registerItem(TaurinShovel, "Taurin Shovel");
CyanInfusedForest = new CyanInfusedForest(67).setBiomeName("CyanInfusedForest").setMinMaxHeight(0.47F, 0.22F);
GameRegistry.addBiome(CyanInfusedForest);
}
//Define material enums
public void DefineMaterials()
{
DRAGONSCALE = EnumHelper.addArmorMaterial("DRAGONSCALE", 50, new int[]{4, 8, 6, 2}, 30);
TAURIN = EnumHelper.addToolMaterial("TAURIN", 3, 3210, 14.0F, 7, 20);
CYLO = EnumHelper.addToolMaterial("CYLO", 3, 100, 5.0F, 7, 20);
ENDONE = EnumHelper.addToolMaterial("ENDONE", 2, 1248, 7.0F, 5, 10);
ENDTWO = EnumHelper.addToolMaterial("ENDTWO", 3, 2790, 14.0F, 7, 10);
ENDFIRE = EnumHelper.addToolMaterial("ENDFIRE", 3, 2790, 10.0F, 7, 10);
ENDTHREE = EnumHelper.addToolMaterial("ENDTHREE", 4, -1, 30.0F, 13, 10);
ENDPAXEL = EnumHelper.addToolMaterial("ENDPAXEL", 4, -1, 70.0F, 13, 10);
}
//Add all crafting and furnace recipes to the registry
public void AddCraftingRecipes()
{
GameRegistry.addRecipe(new ItemStack(HeartStone,1), new Object[]{
"LSL","SLS","LSL",'L',Lovite,'S',Block.stone
});
GameRegistry.addRecipe(new ItemStack(LoveLight,1), new Object[]{
"LGL","LGL","LLL",'L',Lovite,'G',Item.lightStoneDust
});
GameRegistry.addShapelessRecipe(new ItemStack(HeartWheat,1), new Object[]{
RefinedHeart, Item.wheat
});
GameRegistry.addShapelessRecipe(new ItemStack(EndDust,2), new Object[]{
Item.enderPearl
});
GameRegistry.addShapelessRecipe(new ItemStack(DragonEgg, 64), new Object[]{
Block.dragonEgg, Item.diamond, EndIngot
});
GameRegistry.addShapelessRecipe(new ItemStack(DragonScale, 6), new Object[]{
DragonEgg
});
GameRegistry.addRecipe(new ItemStack(GoldStick,1), new Object[]{
"I","S","N",'I',Item.ingotGold,'S',Item.stick,'N',Item.goldNugget
});
GameRegistry.addRecipe(new ItemStack(TaurinPick,1), new Object[]{
"TTT"," S "," S ",'T',Vertide,'S',GoldStick
});
GameRegistry.addRecipe(new ItemStack(TaurinAxe,1), new Object[]{
"TT ","TS "," S ",'T',Vertide,'S',GoldStick
});
GameRegistry.addRecipe(new ItemStack(TaurinAxe,1), new Object[]{
" TT"," ST"," S ",'T',Vertide,'S',GoldStick
});
GameRegistry.addRecipe(new ItemStack(TaurinShovel,1), new Object[]{
"T","S","S",'T',Vertide,'S',GoldStick
});
GameRegistry.addRecipe(new ItemStack(TaurinSword,1), new Object[]{
"T","T","S",'T',Vertide,'S',GoldStick
});
GameRegistry.addRecipe(new ItemStack(CyanClump, 1), new Object[]{
"CC","CC",'C',Cyanitide
});
GameRegistry.addRecipe(new ItemStack(LoveClump, 1), new Object[]{
"LL","LL",'L',Lovite
});
GameRegistry.addRecipe(new ItemStack(CyLoFragment, 1), new Object[]{
"CC","LL",'C',CyanClump,'L',LoveClump
});
GameRegistry.addRecipe(new ItemStack(CyLoFragment, 1), new Object[]{
"LL","CC",'C',CyanClump,'L',LoveClump
});
GameRegistry.addRecipe(new ItemStack(LightBelt, 2), new Object[]{
" G ","LGL"," G ",'G',Item.lightStoneDust,'L',Item.leather
});
GameRegistry.addRecipe(new ItemStack(DropLight, 1), new Object[]{
"SSS","BBB","SSS",'S',Block.sand,'B',LightBelt
});
GameRegistry.addRecipe(new ItemStack(CyLoShard, 1), new Object[]{
"FF","FF",'F',CyLoFragment
});
GameRegistry.addRecipe(new ItemStack(Light, 1), new Object[]{
"G G"," G ","G G",'G',Block.glowStone
});
GameRegistry.addRecipe(new ItemStack(EndStick, 1), new Object[]{
"D","S",'S',Item.stick,'D',EndDust
});
GameRegistry.addRecipe(new ItemStack(End1Sword, 1), new Object[]{
"I","I","S",'I',EndIngot,'S',EndStick
});
GameRegistry.addRecipe(new ItemStack(End1Shovel, 1), new Object[]{
"I","S","S",'I',EndIngot,'S',EndStick
});
GameRegistry.addRecipe(new ItemStack(End1Axe, 1), new Object[]{
"II ","IS "," S ",'I',EndIngot,'S',EndStick
});
GameRegistry.addRecipe(new ItemStack(End1Axe, 1), new Object[]{
" II"," SI"," S ",'I',EndIngot,'S',EndStick
});
GameRegistry.addRecipe(new ItemStack(End1Pick, 1), new Object[]{
"III"," S "," S ",'I',EndIngot,'S',EndStick
});
GameRegistry.addRecipe(new ItemStack(DPEndIngot, 1), new Object[]{
"SDS","DID","SDS",'S',DragonScale,'D',Item.diamond,'I',EndIngot
});
GameRegistry.addRecipe(new ItemStack(ItemTier2EnderSword), new Object[]{
"I","I","S",'I',DPEndIngot,'S',End1Sword
});
GameRegistry.addRecipe(new ItemStack(ItemTier2EnderShovel), new Object[]{
"I","E","S",'I',DPEndIngot,'S',End1Shovel,'E',EndStick
});
GameRegistry.addRecipe(new ItemStack(ItemTier2EnderPick), new Object[]{
"III"," E "," S ",'I',DPEndIngot,'S',End1Pick,'E',EndStick
});
GameRegistry.addRecipe(new ItemStack(ItemTier2EnderAxe), new Object[]{
"II","IE"," S",'I',DPEndIngot,'E',End1Axe,'S',EndStick
});
GameRegistry.addRecipe(new ItemStack(DSHelmet), new Object[]{
"SSS","S S",'S',DragonScale
});
GameRegistry.addRecipe(new ItemStack(DSBody), new Object[]{
"SCS","SSS","SSS",'S',DragonScale,'C',Cape
});
GameRegistry.addRecipe(new ItemStack(DSLegs), new Object[]{
"SSS","S S","S S",'S',DragonScale
});
GameRegistry.addRecipe(new ItemStack(DSBoots), new Object[]{
"S S","S S",'S',DragonScale
});
GameRegistry.addRecipe(new ItemStack(Cape), new Object[]{
"N "," W "," W",'N',Item.goldNugget,'W',Block.cloth
});
GameRegistry.addRecipe(new ItemStack(WIEndIngot, 3), new Object[]{
" S ","NNN","EEE",'S', new ItemStack(Item.skull, 1, 1),'N',Item.netherStar,'E',DPEndIngot
});
GameRegistry.addRecipe(new ItemStack(BaseWitherSword), new Object[]{
"I","I","S",'I',WIEndIngot,'S',ItemTier2EnderSword
});
GameRegistry.addRecipe(new ItemStack(BaseWitherPick), new Object[]{
"III"," S "," P ",'I',WIEndIngot,'P',ItemTier2EnderPick,'S',End1Pick
});
GameRegistry.addRecipe(new ItemStack(BaseWitherAxe), new Object[]{
"II","IS"," P",'I',WIEndIngot,'P',ItemTier2EnderAxe,'S',End1Axe
});
GameRegistry.addRecipe(new ItemStack(BaseWitherShovel), new Object[]{
"I","S","P",'I',WIEndIngot,'P',ItemTier2EnderShovel,'S',End1Shovel
});
GameRegistry.addSmelting(Lovite.itemID, new ItemStack(RefinedHeart, 1), 1F);
GameRegistry.addSmelting(HeartWheat.itemID, new ItemStack(BakedWithLove, 1), 1F);
GameRegistry.addSmelting(EndDust.itemID, new ItemStack(EndIngot, 1), 1F);
}
//Add all entities, rendering included
public void AddEntities()
{
//DireWolf
EntityRegistry.registerModEntity(EntityDireWolf.class, "DireWolf", 234, this, 80, 3, true);
EntityRegistry.addSpawn(EntityDireWolf.class, 1, 1, 1, EnumCreatureType.monster, BiomeGenBase.desertHills, BiomeGenBase.extremeHills, BiomeGenBase.forestHills, BiomeGenBase.iceMountains, BiomeGenBase.jungleHills, BiomeGenBase.taigaHills);
LanguageRegistry.instance().addStringLocalization("entity.EverythingAndMoreMod.DireWolf.name", "DireWolf");
registerEntityEgg(EntityDireWolf.class, 0x070708, 0xE1DCE6);
RenderingRegistry.registerEntityRenderingHandler(EntityDireWolf.class, new RenderDireWolf(new ModelDireWolf(), 1.0f));
//FatEnderman
EntityRegistry.registerModEntity(EntityFatEnderman.class, "FatEnderman", 235, this, 80, 3, true);
EntityRegistry.addSpawn(EntityFatEnderman.class, 1, 1, 1, EnumCreatureType.monster, BiomeGenBase.desertHills, BiomeGenBase.extremeHills, BiomeGenBase.forestHills, BiomeGenBase.iceMountains, BiomeGenBase.jungleHills, BiomeGenBase.taigaHills);
LanguageRegistry.instance().addStringLocalization("entity.EverythingAndMoreMod.FatEnderman.name", "Ender Golem");
registerEntityEgg(EntityFatEnderman.class, 0x070008, 0xE4CCD2);
RenderingRegistry.registerEntityRenderingHandler(EntityFatEnderman.class, new RenderFatEnderman(new ModelFatEnderman(), 1.0f));
}
//Does minecraft forge related tasks such as setting tool classes, etc.
public void DoMinecraftForgeStuff()
{
MinecraftForge.setToolClass(TaurinPick, "pickaxe", 3);
MinecraftForge.setToolClass(TaurinAxe, "axe", 3);
MinecraftForge.setToolClass(TaurinShovel, "shovel", 3);
MinecraftForge.setBlockHarvestLevel(VertOre, "pickaxe", 3);
}
@PostInit
public static void postInit(FMLPostInitializationEvent evt)
{
}
}
Common Proxy:
package mods.EverythingAndMore;
public class CommonProxy {
public void registerRenders(){
}
public int addArmor(String Armor) {
return 0;
}
}
Client Proxy:
package mods.EverythingAndMore;
import cpw.mods.fml.client.registry.RenderingRegistry;
import net.minecraftforge.client.MinecraftForgeClient;
public class ClientProxy extends CommonProxy{
@Override
public void registerRenders(){
}
public int addArmor(String Armor){
return RenderingRegistry.addNewArmourRendererPrefix(Armor);
}
}
Wolf model:
package mods.EverythingAndMore;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.passive.EntityWolf;
import net.minecraft.util.MathHelper;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class ModelDireWolf extends ModelBase
{
/** main box for the wolf head */
public ModelRenderer wolfHeadMain;
/** The wolf's body */
public ModelRenderer wolfBody;
/** Wolf'se first leg */
public ModelRenderer wolfLeg1;
/** Wolf's second leg */
public ModelRenderer wolfLeg2;
/** Wolf's third leg */
public ModelRenderer wolfLeg3;
/** Wolf's fourth leg */
public ModelRenderer wolfLeg4;
/** The wolf's tail */
ModelRenderer wolfTail;
/** The wolf's mane */
ModelRenderer wolfMane;
public ModelDireWolf()
{
float var1 = 0.0F;
float var2 = 13.5F;
this.wolfHeadMain = new ModelRenderer(this, 0, 0);
this.wolfHeadMain.addBox(-3.0F, -3.0F, -2.0F, 6, 6, 4, var1);
this.wolfHeadMain.setRotationPoint(-1.0F, var2, -7.0F);
this.wolfBody = new ModelRenderer(this, 18, 14);
this.wolfBody.addBox(-4.0F, -2.0F, -3.0F, 6, 9, 6, var1);
this.wolfBody.setRotationPoint(0.0F, 14.0F, 2.0F);
this.wolfMane = new ModelRenderer(this, 21, 0);
this.wolfMane.addBox(-4.0F, -3.0F, -3.0F, 8, 6, 7, var1);
this.wolfMane.setRotationPoint(-1.0F, 14.0F, 2.0F);
this.wolfLeg1 = new ModelRenderer(this, 0, 18);
this.wolfLeg1.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfLeg1.setRotationPoint(-2.5F, 16.0F, 7.0F);
this.wolfLeg2 = new ModelRenderer(this, 0, 18);
this.wolfLeg2.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfLeg2.setRotationPoint(0.5F, 16.0F, 7.0F);
this.wolfLeg3 = new ModelRenderer(this, 0, 18);
this.wolfLeg3.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfLeg3.setRotationPoint(-2.5F, 16.0F, -4.0F);
this.wolfLeg4 = new ModelRenderer(this, 0, 18);
this.wolfLeg4.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfLeg4.setRotationPoint(0.5F, 16.0F, -4.0F);
this.wolfTail = new ModelRenderer(this, 9, 18);
this.wolfTail.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfTail.setRotationPoint(-1.0F, 12.0F, 8.0F);
this.wolfHeadMain.setTextureOffset(16, 14).addBox(-3.0F, -5.0F, 0.0F, 2, 2, 1, var1);
this.wolfHeadMain.setTextureOffset(16, 14).addBox(1.0F, -5.0F, 0.0F, 2, 2, 1, var1);
this.wolfHeadMain.setTextureOffset(0, 10).addBox(-1.5F, 0.0F, -5.0F, 3, 3, 4, var1);
}
/**
* Sets the models various rotation angles then renders the model.
*/
public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7)
{
super.render(par1Entity, par2, par3, par4, par5, par6, par7);
this.setRotationAngles(par2, par3, par4, par5, par6, par7, par1Entity);
if (this.isChild)
{
float var8 = 2.0F;
GL11.glPushMatrix();
GL11.glTranslatef(0.0F, 5.0F * par7, 2.0F * par7);
this.wolfHeadMain.renderWithRotation(par7);
GL11.glPopMatrix();
GL11.glPushMatrix();
GL11.glScalef(1.0F / var8, 1.0F / var8, 1.0F / var8);
GL11.glTranslatef(0.0F, 24.0F * par7, 0.0F);
this.wolfBody.render(par7);
this.wolfLeg1.render(par7);
this.wolfLeg2.render(par7);
this.wolfLeg3.render(par7);
this.wolfLeg4.render(par7);
this.wolfTail.renderWithRotation(par7);
this.wolfMane.render(par7);
GL11.glPopMatrix();
}
else
{
this.wolfHeadMain.renderWithRotation(par7);
this.wolfBody.render(par7);
this.wolfLeg1.render(par7);
this.wolfLeg2.render(par7);
this.wolfLeg3.render(par7);
this.wolfLeg4.render(par7);
this.wolfTail.renderWithRotation(par7);
this.wolfMane.render(par7);
}
}
/**
* Used for easily adding entity-dependent animations. The second and third float params here are the same second
* and third as in the setRotationAngles method.
*/
public void setLivingAnimations(EntityLiving par1EntityLiving, float par2, float par3, float par4)
{
EntityDireWolf var5 = (EntityDireWolf)par1EntityLiving;
if (var5.isAngry())
{
this.wolfTail.rotateAngleY = 0.0F;
}
else
{
this.wolfTail.rotateAngleY = MathHelper.cos(par2 * 0.6662F) * 1.4F * par3;
}
if (var5.isSitting())
{
this.wolfMane.setRotationPoint(-1.0F, 16.0F, -3.0F);
this.wolfMane.rotateAngleX = ((float)Math.PI * 2F / 5F);
this.wolfMane.rotateAngleY = 0.0F;
this.wolfBody.setRotationPoint(0.0F, 18.0F, 0.0F);
this.wolfBody.rotateAngleX = ((float)Math.PI / 4F);
this.wolfTail.setRotationPoint(-1.0F, 21.0F, 6.0F);
this.wolfLeg1.setRotationPoint(-2.5F, 22.0F, 2.0F);
this.wolfLeg1.rotateAngleX = ((float)Math.PI * 3F / 2F);
this.wolfLeg2.setRotationPoint(0.5F, 22.0F, 2.0F);
this.wolfLeg2.rotateAngleX = ((float)Math.PI * 3F / 2F);
this.wolfLeg3.rotateAngleX = 5.811947F;
this.wolfLeg3.setRotationPoint(-2.49F, 17.0F, -4.0F);
this.wolfLeg4.rotateAngleX = 5.811947F;
this.wolfLeg4.setRotationPoint(0.51F, 17.0F, -4.0F);
}
else
{
this.wolfBody.setRotationPoint(0.0F, 14.0F, 2.0F);
this.wolfBody.rotateAngleX = ((float)Math.PI / 2F);
this.wolfMane.setRotationPoint(-1.0F, 14.0F, -3.0F);
this.wolfMane.rotateAngleX = this.wolfBody.rotateAngleX;
this.wolfTail.setRotationPoint(-1.0F, 12.0F, 8.0F);
this.wolfLeg1.setRotationPoint(-2.5F, 16.0F, 7.0F);
this.wolfLeg2.setRotationPoint(0.5F, 16.0F, 7.0F);
this.wolfLeg3.setRotationPoint(-2.5F, 16.0F, -4.0F);
this.wolfLeg4.setRotationPoint(0.5F, 16.0F, -4.0F);
this.wolfLeg1.rotateAngleX = MathHelper.cos(par2 * 0.6662F) * 1.4F * par3;
this.wolfLeg2.rotateAngleX = MathHelper.cos(par2 * 0.6662F + (float)Math.PI) * 1.4F * par3;
this.wolfLeg3.rotateAngleX = MathHelper.cos(par2 * 0.6662F + (float)Math.PI) * 1.4F * par3;
this.wolfLeg4.rotateAngleX = MathHelper.cos(par2 * 0.6662F) * 1.4F * par3;
}
this.wolfHeadMain.rotateAngleZ = var5.getInterestedAngle(par4) + var5.getShakeAngle(par4, 0.0F);
this.wolfMane.rotateAngleZ = var5.getShakeAngle(par4, -0.08F);
this.wolfBody.rotateAngleZ = var5.getShakeAngle(par4, -0.16F);
this.wolfTail.rotateAngleZ = var5.getShakeAngle(par4, -0.2F);
}
/**
* Sets the model's various rotation angles. For bipeds, par1 and par2 are used for animating the movement of arms
* and legs, where par1 represents the time(so that arms and legs swing back and forth) and par2 represents how
* "far" arms and legs can swing at most.
*/
public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity)
{
super.setRotationAngles(par1, par2, par3, par4, par5, par6, par7Entity);
this.wolfHeadMain.rotateAngleX = par5 / (180F / (float)Math.PI);
this.wolfHeadMain.rotateAngleY = par4 / (180F / (float)Math.PI);
this.wolfTail.rotateAngleX = par3;
}
}
Wolf Entity:
package mods.EverythingAndMore;
import net.minecraft.block.BlockCloth;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIControlledByPlayer;
import net.minecraft.entity.ai.EntityAIFollowOwner;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILeapAtTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMate;
import net.minecraft.entity.ai.EntityAIOwnerHurtByTarget;
import net.minecraft.entity.ai.EntityAIOwnerHurtTarget;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITargetNonTamed;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.passive.EntitySheep;
import net.minecraft.entity.passive.EntityTameable;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityArrow;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.pathfinding.PathEntity;
import net.minecraft.potion.Potion;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.DamageSource;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class EntityDireWolf extends EntityTameable
{
private final EntityAIControlledByPlayer aiControlledByPlayer;
private float field_70926_e;
private float field_70924_f;
/** true is the wolf is wet else false */
private boolean isShaking;
private boolean field_70928_h;
/**
* This time increases while wolf is shaking and emitting water particles.
*/
private float timeWolfIsShaking;
private float prevTimeWolfIsShaking;
public EntityDireWolf(World par1World)
{
super(par1World);
this.texture = "/mods/EverythingAndMore/textures/mob/EnderWolf1.png";
this.setSize(0.6F, 0.8F);
this.moveSpeed = 0.3F;
this.getNavigator().setAvoidsWater(true);
this.tasks.addTask(1, new EntityAISwimming(this));
this.tasks.addTask(2, this.aiSit);
this.tasks.addTask(3, new EntityAILeapAtTarget(this, 0.4F));
this.tasks.addTask(4, new EntityAIAttackOnCollide(this, this.moveSpeed, true));
this.tasks.addTask(5, new EntityAIFollowOwner(this, this.moveSpeed, 10.0F, 2.0F));
this.tasks.addTask(6, new EntityAIMate(this, this.moveSpeed));
this.tasks.addTask(7, new EntityAIWander(this, this.moveSpeed));
this.tasks.addTask(9, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.tasks.addTask(9, new EntityAILookIdle(this));
this.tasks.addTask(10, this.aiControlledByPlayer = new EntityAIControlledByPlayer(this, 0.34F));
this.targetTasks.addTask(1, new EntityAIOwnerHurtByTarget(this));
this.targetTasks.addTask(2, new EntityAIOwnerHurtTarget(this));
this.targetTasks.addTask(3, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(4, new EntityAITargetNonTamed(this, EntitySheep.class, 16.0F, 200, false));
}
/**
* Returns true if the newer Entity AI code should be run
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Sets the active target the Task system uses for tracking
*/
public void setAttackTarget(EntityLiving par1EntityLiving)
{
super.setAttackTarget(par1EntityLiving);
if (par1EntityLiving instanceof EntityPlayer)
{
this.setAngry(false);
}
}
/**
* main AI tick function, replaces updateEntityActionState
*/
protected void updateAITick()
{
this.dataWatcher.updateObject(18, Integer.valueOf(this.getHealth()));
}
public int getMaxHealth()
{
return this.isTamed() ? 40 : 20;
}
protected void entityInit()
{
super.entityInit();
this.dataWatcher.addObject(18, new Integer(this.getHealth()));
this.dataWatcher.addObject(19, new Byte((byte)0));
this.dataWatcher.addObject(20, new Byte((byte)BlockCloth.getBlockFromDye(1)));
}
/**
* Plays step sound at given x, y, z for the entity
*/
protected void playStepSound(int par1, int par2, int par3, int par4)
{
this.playSound("mob.wolf.step", 0.15F, 1.0F);
}
@SideOnly(Side.CLIENT)
/**
* Returns the texture's file path as a String.
*/
public String getTexture()
{
return this.isTamed() ? "/mods/EverythingAndMore/textures/mob/EnderWolf1.png" : (this.isAngry() ? "/mob/wolf_angry.png" : super.getTexture());
}
/**
* (abstract) Protected helper method to write subclass entity data to NBT.
*/
public void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
{
super.writeEntityToNBT(par1NBTTagCompound);
par1NBTTagCompound.setBoolean("Angry", this.isAngry());
par1NBTTagCompound.setByte("CollarColor", (byte)this.getCollarColor());
}
/**
* (abstract) Protected helper method to read subclass entity data from NBT.
*/
public void readEntityFromNBT(NBTTagCompound par1NBTTagCompound)
{
super.readEntityFromNBT(par1NBTTagCompound);
this.setAngry(par1NBTTagCompound.getBoolean("Angry"));
if (par1NBTTagCompound.hasKey("CollarColor"))
{
this.setCollarColor(par1NBTTagCompound.getByte("CollarColor"));
}
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return this.isAngry();
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return this.isAngry() ? "mob.wolf.growl" : (this.rand.nextInt(3) == 0 ? (this.isTamed() && this.dataWatcher.getWatchableObjectInt(18) < 10 ? "mob.wolf.whine" : "mob.wolf.panting") : "mob.wolf.bark");
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "mob.wolf.hurt";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "mob.wolf.death";
}
/**
* Returns the volume for the sounds this mob makes.
*/
protected float getSoundVolume()
{
return 0.4F;
}
/**
* Returns the item ID for the item the mob drops on death.
*/
protected int getDropItemId()
{
return -1;
}
/**
* Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons
* use this to react to sunlight and start to burn.
*/
public void onLivingUpdate()
{
super.onLivingUpdate();
if (!this.worldObj.isRemote && this.isShaking && !this.field_70928_h && !this.hasPath() && this.onGround)
{
this.field_70928_h = true;
this.timeWolfIsShaking = 0.0F;
this.prevTimeWolfIsShaking = 0.0F;
this.worldObj.setEntityState(this, (byte)
;
}
}
/**
* Called to update the entity's position/logic.
*/
public void onUpdate()
{
super.onUpdate();
this.field_70924_f = this.field_70926_e;
if (this.func_70922_bv())
{
this.field_70926_e += (1.0F - this.field_70926_e) * 0.4F;
}
else
{
this.field_70926_e += (0.0F - this.field_70926_e) * 0.4F;
}
if (this.func_70922_bv())
{
this.numTicksToChaseTarget = 10;
}
if (this.isWet())
{
this.isShaking = true;
this.field_70928_h = false;
this.timeWolfIsShaking = 0.0F;
this.prevTimeWolfIsShaking = 0.0F;
}
else if ((this.isShaking || this.field_70928_h) && this.field_70928_h)
{
if (this.timeWolfIsShaking == 0.0F)
{
this.playSound("mob.wolf.shake", this.getSoundVolume(), (this.rand.nextFloat() - this.rand.nextFloat()) * 0.2F + 1.0F);
}
this.prevTimeWolfIsShaking = this.timeWolfIsShaking;
this.timeWolfIsShaking += 0.05F;
if (this.prevTimeWolfIsShaking >= 2.0F)
{
this.isShaking = false;
this.field_70928_h = false;
this.prevTimeWolfIsShaking = 0.0F;
this.timeWolfIsShaking = 0.0F;
}
if (this.timeWolfIsShaking > 0.4F)
{
float var1 = (float)this.boundingBox.minY;
int var2 = (int)(MathHelper.sin((this.timeWolfIsShaking - 0.4F) * (float)Math.PI) * 7.0F);
for (int var3 = 0; var3 < var2; ++var3)
{
float var4 = (this.rand.nextFloat() * 2.0F - 1.0F) * this.width * 0.5F;
float var5 = (this.rand.nextFloat() * 2.0F - 1.0F) * this.width * 0.5F;
this.worldObj.spawnParticle("splash", this.posX + (double)var4, (double)(var1 + 0.8F), this.posZ + (double)var5, this.motionX, this.motionY, this.motionZ);
}
}
}
}
@SideOnly(Side.CLIENT)
public boolean getWolfShaking()
{
return this.isShaking;
}
@SideOnly(Side.CLIENT)
/**
* Used when calculating the amount of shading to apply while the wolf is shaking.
*/
public float getShadingWhileShaking(float par1)
{
return 0.75F + (this.prevTimeWolfIsShaking + (this.timeWolfIsShaking - this.prevTimeWolfIsShaking) * par1) / 2.0F * 0.25F;
}
@SideOnly(Side.CLIENT)
public float getShakeAngle(float par1, float par2)
{
float var3 = (this.prevTimeWolfIsShaking + (this.timeWolfIsShaking - this.prevTimeWolfIsShaking) * par1 + par2) / 1.8F;
if (var3 < 0.0F)
{
var3 = 0.0F;
}
else if (var3 > 1.0F)
{
var3 = 1.0F;
}
return MathHelper.sin(var3 * (float)Math.PI) * MathHelper.sin(var3 * (float)Math.PI * 11.0F) * 0.15F * (float)Math.PI;
}
@SideOnly(Side.CLIENT)
public float getInterestedAngle(float par1)
{
return (this.field_70924_f + (this.field_70926_e - this.field_70924_f) * par1) * 0.15F * (float)Math.PI;
}
public float getEyeHeight()
{
return this.height * 0.8F;
}
/**
* The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently
* use in wolves.
*/
public int getVerticalFaceSpeed()
{
return this.isSitting() ? 20 : super.getVerticalFaceSpeed();
}
/**
* Called when the entity is attacked.
*/
public boolean attackEntityFrom(DamageSource par1DamageSource, int par2)
{
if (this.isEntityInvulnerable())
{
return false;
}
else
{
Entity var3 = par1DamageSource.getEntity();
this.aiSit.setSitting(false);
if (var3 != null && !(var3 instanceof EntityPlayer) && !(var3 instanceof EntityArrow))
{
par2 = (par2 + 1) / 2;
}
return super.attackEntityFrom(par1DamageSource, par2);
}
}
public boolean attackEntityAsMob(Entity par1Entity)
{
((EntityLiving)par1Entity).addPotionEffect(new PotionEffect(Potion.wither.id, 20 * 120, 2));
return true;
}
/**
* Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.
*/
public boolean interact(EntityPlayer par1EntityPlayer)
{
ItemStack var2 = par1EntityPlayer.inventory.getCurrentItem();
if (this.isTamed())
{
if (var2 != null)
{
if (Item.itemsList[var2.itemID] instanceof ItemFood)
{
ItemFood var3 = (ItemFood)Item.itemsList[var2.itemID];
if (var3.isWolfsFavoriteMeat() && this.dataWatcher.getWatchableObjectInt(18) < 20)
{
if (!par1EntityPlayer.capabilities.isCreativeMode)
{
--var2.stackSize;
}
this.heal(var3.getHealAmount());
if (var2.stackSize <= 0)
{
par1EntityPlayer.inventory.setInventorySlotContents(par1EntityPlayer.inventory.currentItem, (ItemStack)null);
}
return true;
}
}
if (this.worldObj.isRemote && (this.riddenByEntity == null || this.riddenByEntity == par1EntityPlayer))// || Item.itemsList[var2.itemID] instanceof ItemFood))
{
par1EntityPlayer.mountEntity(this);
return true;
}
else if (var2.itemID == Item.dyePowder.itemID)
{
int var4 = BlockCloth.getBlockFromDye(var2.getItemDamage());
if (var4 != this.getCollarColor())
{
this.setCollarColor(var4);
if (!par1EntityPlayer.capabilities.isCreativeMode && --var2.stackSize <= 0)
{
par1EntityPlayer.inventory.setInventorySlotContents(par1EntityPlayer.inventory.currentItem, (ItemStack)null);
}
return true;
}
}
}
if (par1EntityPlayer.username.equalsIgnoreCase(this.getOwnerName()) && !this.worldObj.isRemote && !this.isBreedingItem(var2))
{
this.aiSit.setSitting(!this.isSitting());
this.isJumping = false;
this.setPathToEntity((PathEntity)null);
}
}
else if (var2 != null && var2.itemID == Item.enderPearl.itemID && !this.isAngry())
{
if (!par1EntityPlayer.capabilities.isCreativeMode)
{
--var2.stackSize;
}
if (var2.stackSize <= 0)
{
par1EntityPlayer.inventory.setInventorySlotContents(par1EntityPlayer.inventory.currentItem, (ItemStack)null);
}
if (!this.worldObj.isRemote)
{
if (this.rand.nextInt(3) == 0)
{
this.setTamed(true);
this.setPathToEntity((PathEntity)null);
this.setAttackTarget((EntityLiving)null);
this.aiSit.setSitting(true);
this.setEntityHealth(20);
this.setOwner(par1EntityPlayer.username);
this.playTameEffect(true);
this.worldObj.setEntityState(this, (byte)7);
}
else
{
this.playTameEffect(false);
this.worldObj.setEntityState(this, (byte)6);
}
}
return true;
}
return super.interact(par1EntityPlayer);
}
@SideOnly(Side.CLIENT)
public void handleHealthUpdate(byte par1)
{
if (par1 ==
{
this.field_70928_h = true;
this.timeWolfIsShaking = 0.0F;
this.prevTimeWolfIsShaking = 0.0F;
}
else
{
super.handleHealthUpdate(par1);
}
}
@SideOnly(Side.CLIENT)
public float getTailRotation()
{
return this.isAngry() ? 1.5393804F : (this.isTamed() ? (0.55F - (float)(20 - this.dataWatcher.getWatchableObjectInt(18)) * 0.02F) * (float)Math.PI : ((float)Math.PI / 5F));
}
/**
* Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on
* the animal type)
*/
public boolean isBreedingItem(ItemStack par1ItemStack)
{
return par1ItemStack == null ? false : (!(Item.itemsList[par1ItemStack.itemID] instanceof ItemFood) ? false : ((ItemFood)Item.itemsList[par1ItemStack.itemID]).isWolfsFavoriteMeat());
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 8;
}
/**
* Determines whether this wolf is angry or not.
*/
public boolean isAngry()
{
return (this.dataWatcher.getWatchableObjectByte(16) & 2) != 0;
}
/**
* Sets whether this wolf is angry or not.
*/
public void setAngry(boolean par1)
{
byte var2 = this.dataWatcher.getWatchableObjectByte(16);
if (par1)
{
this.dataWatcher.updateObject(16, Byte.valueOf((byte)(var2 | 2)));
}
else
{
this.dataWatcher.updateObject(16, Byte.valueOf((byte)(var2 & -3)));
}
}
/**
* Return this wolf's collar color.
*/
public int getCollarColor()
{
return this.dataWatcher.getWatchableObjectByte(20) & 15;
}
/**
* Set this wolf's collar color.
*/
public void setCollarColor(int par1)
{
this.dataWatcher.updateObject(20, Byte.valueOf((byte)(par1 & 15)));
}
/**
* This function is used when two same-species animals in 'love mode' breed to generate the new baby animal.
*/
public EntityDireWolf spawnBabyAnimal(EntityAgeable par1EntityAgeable)
{
EntityDireWolf var2 = new EntityDireWolf(this.worldObj);
String var3 = this.getOwnerName();
if (var3 != null && var3.trim().length() > 0)
{
var2.setOwner(var3);
var2.setTamed(true);
}
return var2;
}
public void func_70918_i(boolean par1)
{
byte var2 = this.dataWatcher.getWatchableObjectByte(19);
if (par1)
{
this.dataWatcher.updateObject(19, Byte.valueOf((byte)1));
}
else
{
this.dataWatcher.updateObject(19, Byte.valueOf((byte)0));
}
}
/**
* Returns true if the mob is currently able to mate with the specified mob.
*/
public boolean canMateWith(EntityAnimal par1EntityAnimal)
{
if (par1EntityAnimal == this)
{
return false;
}
else if (!this.isTamed())
{
return false;
}
else if (!(par1EntityAnimal instanceof EntityDireWolf))
{
return false;
}
else
{
EntityDireWolf var2 = (EntityDireWolf)par1EntityAnimal;
return !var2.isTamed() ? false : (var2.isSitting() ? false : this.isInLove() && var2.isInLove());
}
}
public EntityAIControlledByPlayer getAIControlledByPlayer()
{
return this.aiControlledByPlayer;
}
public boolean func_70922_bv()
{
return this.dataWatcher.getWatchableObjectByte(19) == 1;
}
public EntityAgeable createChild(EntityAgeable par1EntityAgeable)
{
return this.spawnBabyAnimal(par1EntityAgeable);
}
}
Wolf Render:
package mods.EverythingAndMore;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.passive.EntitySheep;
import net.minecraft.entity.passive.EntityWolf;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class RenderDireWolf extends RenderLiving
{
public RenderDireWolf(ModelBase par1ModelBase, float par3)
{
super(par1ModelBase, par3);
this.setRenderPassModel(par1ModelBase);
}
protected float getTailRotation(EntityDireWolf par1EntityWolf, float par2)
{
return par1EntityWolf.getTailRotation();
}
protected int func_82447_a(EntityDireWolf par1EntityWolf, int par2, float par3)
{
float var4;
if (par2 == 0 && par1EntityWolf.getWolfShaking())
{
var4 = par1EntityWolf.getBrightness(par3) * par1EntityWolf.getShadingWhileShaking(par3);
this.loadTexture(par1EntityWolf.getTexture());
GL11.glColor3f(var4, var4, var4);
return 1;
}
else if (par2 == 1 && par1EntityWolf.isTamed())
{
this.loadTexture("/mob/wolf_collar.png");
var4 = 1.0F;
int var5 = par1EntityWolf.getCollarColor();
GL11.glColor3f(var4 * EntitySheep.fleeceColorTable[var5][0], var4 * EntitySheep.fleeceColorTable[var5][1], var4 * EntitySheep.fleeceColorTable[var5][2]);
return 1;
}
else
{
return -1;
}
}
/**
* Queries whether should render the specified pass or not.
*/
protected int shouldRenderPass(EntityLiving par1EntityLiving, int par2, float par3)
{
return this.func_82447_a((EntityDireWolf)par1EntityLiving, par2, par3);
}
/**
* Defines what float the third param in setRotationAngles of ModelBase is
*/
protected float handleRotationFloat(EntityLiving par1EntityLiving, float par2)
{
return this.getTailRotation((EntityDireWolf)par1EntityLiving, par2);
}
}
-
Alright, it said that the import you suggested doesn't exist. So I deleted it, and changed extends from modelbase to modelwolf (because it is a wolf anyway, so it wouldn't matter) and the same error occured:
Exception in server tick loop
java.lang.NoClassDefFoundError: mods/EverythingAndMore/ModelDireWolf
-
So add this:
@SideOnly(Side.CLIENT)
Before everything in the model file?
If that is so, then it is already there
-
You sir, have done more than help
THANK YOU SO MUCH...
I think you earned it:
-
Hey there, unless I am mistaken when I try to run the server thing in eclipse it crashes due to a model of a mob (DireWolf)
Here is the server crashlog:
2013-06-28 16:00:38 [iNFO] [ForgeModLoader] Forge Mod Loader version 5.2.2.684 for Minecraft 1.5.2 loading
2013-06-28 16:00:38 [iNFO] [ForgeModLoader] Java is Java HotSpot 64-Bit Server VM, version 1.7.0_21, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
2013-06-28 16:00:38 [FINE] [ForgeModLoader] Java classpath at launch is C:\Users\UKGC\Desktop\Mod\MCP\eclipse\Minecraft\bin;C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\jinput.jar;C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\lwjgl_util.jar;C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\lwjgl.jar;C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\minecraft.jar;C:\Users\UKGC\Desktop\Mod\MCP\lib\argo-3.2-src.jar;C:\Users\UKGC\Desktop\Mod\MCP\lib\bcprov-debug-jdk15on-148.jar;C:\Users\UKGC\Desktop\Mod\MCP\lib\asm-debug-all-4.1.jar;C:\Users\UKGC\Desktop\Mod\MCP\lib\guava-14.0-rc3.jar;C:\Users\UKGC\Desktop\Mod\MCP\lib\scala-library.jar
2013-06-28 16:00:38 [FINE] [ForgeModLoader] Java library path at launch is C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\natives;C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\natives;C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\natives
2013-06-28 16:00:38 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-06-28 16:00:45 [iNFO] [sTDOUT] 229 recipes
2013-06-28 16:00:45 [iNFO] [sTDOUT] 27 achievements
2013-06-28 16:00:46 [iNFO] [Minecraft-Server] Starting minecraft server version 1.5.2
2013-06-28 16:00:46 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-06-28 16:00:46 [iNFO] [sTDOUT] MinecraftForge v7.8.0.684 Initialized
2013-06-28 16:00:46 [iNFO] [ForgeModLoader] MinecraftForge v7.8.0.684 Initialized
2013-06-28 16:00:46 [iNFO] [sTDOUT] Replaced 85 ore recipies
2013-06-28 16:00:46 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-06-28 16:00:46 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\UKGC\Desktop\Mod\MCP\jars\config\logging.properties
2013-06-28 16:00:46 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Found a minecraft related directory at C:\Users\UKGC\Desktop\Mod\MCP\eclipse\Minecraft\bin, examining for mod candidates
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\jinput.jar
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\lwjgl_util.jar
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\lwjgl.jar
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\UKGC\Desktop\Mod\MCP\jars\bin\minecraft.jar, examining for mod candidates
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\UKGC\Desktop\Mod\MCP\lib\argo-3.2-src.jar, examining for mod candidates
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\UKGC\Desktop\Mod\MCP\lib\bcprov-debug-jdk15on-148.jar, examining for mod candidates
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\UKGC\Desktop\Mod\MCP\lib\asm-debug-all-4.1.jar, examining for mod candidates
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\lib\guava-14.0-rc3.jar
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\lib\scala-library.jar
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\jars\lib\argo-small-3.2.jar
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\jars\lib\guava-14.0-rc3.jar
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\jars\lib\asm-all-4.1.jar
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\jars\lib\bcprov-jdk15on-148.jar
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\jars\lib\deobfuscation_data_1.5.2.zip
2013-06-28 16:00:47 [FINER] [ForgeModLoader] Skipping known library file C:\Users\UKGC\Desktop\Mod\MCP\jars\lib\scala-library.jar
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully
2013-06-28 16:00:47 [iNFO] [ForgeModLoader] Searching C:\Users\UKGC\Desktop\Mod\MCP\jars\mods for mods
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Examining directory bin for potential mods
2013-06-28 16:00:47 [FINE] [ForgeModLoader] No mcmod.info file found in directory bin
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.modloader
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.registry
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm.transformers
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm.transformers.deobf
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery.asm
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.event
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.functions
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.modloader
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.network
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.registry
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.toposort
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.versioning
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.relauncher
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.server
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package ibxm
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package jordsta95
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package mods
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package mods.EverythingAndMore
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package mods.EverythingAndMore.client
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package mods.EverythingAndMore.common
2013-06-28 16:00:47 [FINE] [ForgeModLoader] Identified an FMLMod type mod mods.EverythingAndMore.Everything_and_More_Mod
2013-06-28 16:00:47 [FINEST] [EverythingAndMoreMod] Parsed dependency info : [] [] []
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package mods.EverythingAndMore.textures
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package mods.EverythingAndMore.textures.armor
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package mods.EverythingAndMore.textures.blocks
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package mods.EverythingAndMore.textures.items
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package mods.EverythingAndMore.textures.mob
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraft
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.block
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.block.material
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.audio
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.entity
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.entity.render
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.gui
2013-06-28 16:00:47 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.gui.achievement
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.gui.inventory
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.mco
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.model
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.multiplayer
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.particle
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer.culling
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer.entity
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer.texture
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.renderer.tileentity
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.settings
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.stats
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client.texturepacks
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.command
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.crash
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.creativetab
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.dispenser
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.enchantment
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.ai
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.boss
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.effect
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.item
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.monster
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.passive
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.player
2013-06-28 16:00:48 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.entity.projectile
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.inventory
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.item
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.item.crafting
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.logging
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.nbt
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.network
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.network.packet
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.network.rcon
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.pathfinding
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.potion
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.profiler
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.scoreboard
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server.dedicated
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server.gui
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server.integrated
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server.management
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.src
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.stats
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.tileentity
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.util
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.village
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.biome
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.chunk
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.chunk.storage
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.demo
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.gen
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.gen.feature
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.gen.layer
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.gen.structure
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.world.storage
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.classloading
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event.sound
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.model
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.model.obj
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.common
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.brewing
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.item
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.living
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.minecart
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.player
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.terraingen
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.world
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.liquids
2013-06-28 16:00:49 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.oredict
2013-06-28 16:00:50 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.transformers
2013-06-28 16:00:50 [FINEST] [ForgeModLoader] Recursing into package paulscode
2013-06-28 16:00:50 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound
2013-06-28 16:00:50 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound.codecs
2013-06-28 16:00:50 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods
2013-06-28 16:00:50 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file
2013-06-28 16:00:50 [FINE] [ForgeModLoader] Examining file argo-3.2-src.jar for potential mods
2013-06-28 16:00:50 [FINE] [ForgeModLoader] The mod container argo-3.2-src.jar appears to be missing an mcmod.info file
2013-06-28 16:00:50 [FINE] [ForgeModLoader] Examining file bcprov-debug-jdk15on-148.jar for potential mods
2013-06-28 16:00:50 [FINE] [ForgeModLoader] The mod container bcprov-debug-jdk15on-148.jar appears to be missing an mcmod.info file
2013-06-28 16:00:50 [FINE] [ForgeModLoader] Examining file asm-debug-all-4.1.jar for potential mods
2013-06-28 16:00:50 [FINE] [ForgeModLoader] The mod container asm-debug-all-4.1.jar appears to be missing an mcmod.info file
2013-06-28 16:00:50 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2013-06-28 16:00:50 [FINER] [ForgeModLoader] Received a system property request ''
2013-06-28 16:00:50 [FINER] [ForgeModLoader] System property request managing the state of 0 mods
2013-06-28 16:00:50 [FINE] [ForgeModLoader] After merging, found state information for 0 mods
2013-06-28 16:00:50 [FINE] [ForgeModLoader] Reloading logging properties from C:\Users\UKGC\Desktop\Mod\MCP\jars\config\logging.properties
2013-06-28 16:00:50 [FINE] [ForgeModLoader] Reloaded logging properties
2013-06-28 16:00:50 [FINE] [mcp] Mod Logging channel mcp configured at default level.
2013-06-28 16:00:50 [iNFO] [mcp] Activating mod mcp
2013-06-28 16:00:50 [FINE] [FML] Mod Logging channel FML configured at default level.
2013-06-28 16:00:50 [iNFO] [FML] Activating mod FML
2013-06-28 16:00:50 [FINE] [Forge] Mod Logging channel Forge configured at default level.
2013-06-28 16:00:50 [iNFO] [Forge] Activating mod Forge
2013-06-28 16:00:50 [FINE] [EverythingAndMoreMod] Enabling mod EverythingAndMoreMod
2013-06-28 16:00:50 [FINE] [EverythingAndMoreMod] Mod Logging channel EverythingAndMoreMod configured at default level.
2013-06-28 16:00:50 [iNFO] [EverythingAndMoreMod] Activating mod EverythingAndMoreMod
2013-06-28 16:00:50 [FINER] [ForgeModLoader] Verifying mod requirements are satisfied
2013-06-28 16:00:50 [FINER] [ForgeModLoader] All mod requirements are satisfied
2013-06-28 16:00:50 [FINER] [ForgeModLoader] Sorting mods into an ordered list
2013-06-28 16:00:50 [FINER] [ForgeModLoader] Mod sorting completed successfully
2013-06-28 16:00:50 [FINE] [ForgeModLoader] Mod sorting data
2013-06-28 16:00:50 [FINE] [ForgeModLoader] EverythingAndMoreMod(Everything And More:v0.3): bin ()
2013-06-28 16:00:50 [FINEST] [mcp] Sending event FMLConstructionEvent to mod mcp
2013-06-28 16:00:50 [FINEST] [mcp] Sent event FMLConstructionEvent to mod mcp
2013-06-28 16:00:50 [FINEST] [FML] Sending event FMLConstructionEvent to mod FML
2013-06-28 16:00:50 [FINEST] [FML] Sent event FMLConstructionEvent to mod FML
2013-06-28 16:00:50 [FINEST] [Forge] Sending event FMLConstructionEvent to mod Forge
2013-06-28 16:00:50 [FINEST] [Forge] Sent event FMLConstructionEvent to mod Forge
2013-06-28 16:00:50 [FINEST] [EverythingAndMoreMod] Sending event FMLConstructionEvent to mod EverythingAndMoreMod
2013-06-28 16:00:50 [iNFO] [sTDERR] java.lang.NoClassDefFoundError: mods/EverythingAndMore/ModelDireWolf
2013-06-28 16:00:50 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method)
2013-06-28 16:00:50 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source)
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:425)
2013-06-28 16:00:50 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-06-28 16:00:50 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-06-28 16:00:50 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-06-28 16:00:50 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
2013-06-28 16:00:50 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-06-28 16:00:50 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-06-28 16:00:50 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-06-28 16:00:50 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-06-28 16:00:50 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:503)
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:85)
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
2013-06-28 16:00:50 [iNFO] [sTDERR] at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:69)
2013-06-28 16:00:50 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:430)
2013-06-28 16:00:50 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-06-28 16:00:50 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: mods.EverythingAndMore.ModelDireWolf
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238)
2013-06-28 16:00:50 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)
2013-06-28 16:00:50 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)
2013-06-28 16:00:50 [iNFO] [sTDERR] ... 29 more
2013-06-28 16:00:50 [iNFO] [sTDERR] Caused by: java.lang.RuntimeException: Attempted to load class mods/EverythingAndMore/ModelDireWolf for invalid side SERVER
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:352)
2013-06-28 16:00:50 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:225)
2013-06-28 16:00:50 [iNFO] [sTDERR] ... 31 more
2013-06-28 16:00:50 [sEVERE] [Minecraft-Server] Encountered an unexpected exception NoClassDefFoundError
java.lang.NoClassDefFoundError: mods/EverythingAndMore/ModelDireWolf
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:425)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:503)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:85)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:69)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:430)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.ClassNotFoundException: mods.EverythingAndMore.ModelDireWolf
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 29 more
Caused by: java.lang.RuntimeException: Attempted to load class mods/EverythingAndMore/ModelDireWolf for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:352)
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:225)
... 31 more
2013-06-28 16:00:51 [sEVERE] [Minecraft-Server] This crash report has been saved to: C:\Users\UKGC\Desktop\Mod\MCP\jars\.\crash-reports\crash-2013-06-28_16.00.51-server.txt
2013-06-28 16:02:22 [iNFO] [Minecraft-Server] Stopping server
2013-06-28 16:02:22 [iNFO] [Minecraft-Server] Saving worlds
2013-06-28 16:02:22 [iNFO] [sTDERR] java.lang.NullPointerException
2013-06-28 16:02:22 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:330)
2013-06-28 16:02:22 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:378)
2013-06-28 16:02:22 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:522)
2013-06-28 16:02:22 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-06-28 16:02:22 [FINEST] [mcp] Sending event FMLServerStoppedEvent to mod mcp
2013-06-28 16:02:22 [FINEST] [mcp] Sent event FMLServerStoppedEvent to mod mcp
2013-06-28 16:02:22 [FINEST] [FML] Sending event FMLServerStoppedEvent to mod FML
2013-06-28 16:02:22 [FINEST] [FML] Sent event FMLServerStoppedEvent to mod FML
2013-06-28 16:02:22 [FINEST] [Forge] Sending event FMLServerStoppedEvent to mod Forge
2013-06-28 16:02:22 [FINEST] [Forge] Sent event FMLServerStoppedEvent to mod Forge
2013-06-28 16:02:22 [FINEST] [EverythingAndMoreMod] Sending event FMLServerStoppedEvent to mod EverythingAndMoreMod
2013-06-28 16:02:22 [FINEST] [EverythingAndMoreMod] Sent event FMLServerStoppedEvent to mod EverythingAndMoreMod
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to SERVER_STOPPED. Loading cannot continue
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader]
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Available
FML{5.2.2.684} [Forge Mod Loader] (coremods) Unloaded->Constructed->Available
Forge{7.8.0.684} [Minecraft Forge] (coremods) Unloaded->Constructed->Available
EverythingAndMoreMod{v0.3} [Everything And More] (bin) Unloaded->Errored
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader] Caught exception from EverythingAndMoreMod
java.lang.NoClassDefFoundError: mods/EverythingAndMore/ModelDireWolf
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:425)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:503)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:85)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:69)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:430)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.ClassNotFoundException: mods.EverythingAndMore.ModelDireWolf
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 29 more
Caused by: java.lang.RuntimeException: Attempted to load class mods/EverythingAndMore/ModelDireWolf for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:352)
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:225)
... 31 more
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader] Caught exception from EverythingAndMoreMod
java.lang.NullPointerException
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:491)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.serverStopped(Loader.java:797)
at cpw.mods.fml.common.FMLCommonHandler.handleServerStopped(FMLCommonHandler.java:468)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:531)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from SERVER_STOPPED to AVAILABLE. Loading cannot continue
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader]
mcp{7.44} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Available
FML{5.2.2.684} [Forge Mod Loader] (coremods) Unloaded->Constructed->Available
Forge{7.8.0.684} [Minecraft Forge] (coremods) Unloaded->Constructed->Available
EverythingAndMoreMod{v0.3} [Everything And More] (bin) Unloaded->Errored
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader] Caught exception from EverythingAndMoreMod
java.lang.NoClassDefFoundError: mods/EverythingAndMore/ModelDireWolf
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:425)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:503)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:85)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:69)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:430)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
Caused by: java.lang.ClassNotFoundException: mods.EverythingAndMore.ModelDireWolf
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 29 more
Caused by: java.lang.RuntimeException: Attempted to load class mods/EverythingAndMore/ModelDireWolf for invalid side SERVER
at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:352)
at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:225)
... 31 more
2013-06-28 16:02:22 [sEVERE] [ForgeModLoader] Caught exception from EverythingAndMoreMod
java.lang.NullPointerException
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:491)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
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.EventHandler.handleEvent(EventHandler.java:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
at cpw.mods.fml.common.Loader.serverStopped(Loader.java:797)
at cpw.mods.fml.common.FMLCommonHandler.handleServerStopped(FMLCommonHandler.java:468)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:531)
at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-06-28 16:02:22 [iNFO] [sTDERR] Exception in thread "Server thread" cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: mods/EverythingAndMore/ModelDireWolf
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.transition(LoadController.java:142)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.serverStopped(Loader.java:807)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLCommonHandler.handleServerStopped(FMLCommonHandler.java:468)
2013-06-28 16:02:22 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:531)
2013-06-28 16:02:22 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16)
2013-06-28 16:02:22 [iNFO] [sTDERR] Caused by: java.lang.NoClassDefFoundError: mods/EverythingAndMore/ModelDireWolf
2013-06-28 16:02:22 [iNFO] [sTDERR] at java.lang.Class.forName0(Native Method)
2013-06-28 16:02:22 [iNFO] [sTDERR] at java.lang.Class.forName(Unknown Source)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:425)
2013-06-28 16:02:22 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-06-28 16:02:22 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-06-28 16:02:22 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-06-28 16:02:22 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
2013-06-28 16:02:22 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-06-28 16:02:22 [iNFO] [sTDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-06-28 16:02:22 [iNFO] [sTDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-06-28 16:02:22 [iNFO] [sTDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-06-28 16:02:22 [iNFO] [sTDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:503)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:85)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:350)
2013-06-28 16:02:22 [iNFO] [sTDERR] at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:69)
2013-06-28 16:02:22 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:430)
2013-06-28 16:02:22 [iNFO] [sTDERR] ... 1 more
2013-06-28 16:02:22 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: mods.EverythingAndMore.ModelDireWolf
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:238)
2013-06-28 16:02:22 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)
2013-06-28 16:02:22 [iNFO] [sTDERR] at java.lang.ClassLoader.loadClass(Unknown Source)
2013-06-28 16:02:22 [iNFO] [sTDERR] ... 29 more
2013-06-28 16:02:22 [iNFO] [sTDERR] Caused by: java.lang.RuntimeException: Attempted to load class mods/EverythingAndMore/ModelDireWolf for invalid side SERVER
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:50)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:352)
2013-06-28 16:02:22 [iNFO] [sTDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:225)
2013-06-28 16:02:22 [iNFO] [sTDERR] ... 31 more
Any ideas on why this may be crashing the server?
Here is the ModelDireWolf code:
package mods.EverythingAndMore;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.passive.EntityWolf;
import net.minecraft.util.MathHelper;
import org.lwjgl.opengl.GL11;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
@SideOnly(Side.CLIENT)
public class ModelDireWolf extends ModelBase
{
/** main box for the wolf head */
public ModelRenderer wolfHeadMain;
/** The wolf's body */
public ModelRenderer wolfBody;
/** Wolf'se first leg */
public ModelRenderer wolfLeg1;
/** Wolf's second leg */
public ModelRenderer wolfLeg2;
/** Wolf's third leg */
public ModelRenderer wolfLeg3;
/** Wolf's fourth leg */
public ModelRenderer wolfLeg4;
/** The wolf's tail */
ModelRenderer wolfTail;
/** The wolf's mane */
ModelRenderer wolfMane;
public ModelDireWolf()
{
float var1 = 0.0F;
float var2 = 13.5F;
this.wolfHeadMain = new ModelRenderer(this, 0, 0);
this.wolfHeadMain.addBox(-3.0F, -3.0F, -2.0F, 6, 6, 4, var1);
this.wolfHeadMain.setRotationPoint(-1.0F, var2, -7.0F);
this.wolfBody = new ModelRenderer(this, 18, 14);
this.wolfBody.addBox(-4.0F, -2.0F, -3.0F, 6, 9, 6, var1);
this.wolfBody.setRotationPoint(0.0F, 14.0F, 2.0F);
this.wolfMane = new ModelRenderer(this, 21, 0);
this.wolfMane.addBox(-4.0F, -3.0F, -3.0F, 8, 6, 7, var1);
this.wolfMane.setRotationPoint(-1.0F, 14.0F, 2.0F);
this.wolfLeg1 = new ModelRenderer(this, 0, 18);
this.wolfLeg1.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfLeg1.setRotationPoint(-2.5F, 16.0F, 7.0F);
this.wolfLeg2 = new ModelRenderer(this, 0, 18);
this.wolfLeg2.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfLeg2.setRotationPoint(0.5F, 16.0F, 7.0F);
this.wolfLeg3 = new ModelRenderer(this, 0, 18);
this.wolfLeg3.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfLeg3.setRotationPoint(-2.5F, 16.0F, -4.0F);
this.wolfLeg4 = new ModelRenderer(this, 0, 18);
this.wolfLeg4.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfLeg4.setRotationPoint(0.5F, 16.0F, -4.0F);
this.wolfTail = new ModelRenderer(this, 9, 18);
this.wolfTail.addBox(-1.0F, 0.0F, -1.0F, 2, 8, 2, var1);
this.wolfTail.setRotationPoint(-1.0F, 12.0F, 8.0F);
this.wolfHeadMain.setTextureOffset(16, 14).addBox(-3.0F, -5.0F, 0.0F, 2, 2, 1, var1);
this.wolfHeadMain.setTextureOffset(16, 14).addBox(1.0F, -5.0F, 0.0F, 2, 2, 1, var1);
this.wolfHeadMain.setTextureOffset(0, 10).addBox(-1.5F, 0.0F, -5.0F, 3, 3, 4, var1);
}
/**
* Sets the models various rotation angles then renders the model.
*/
public void render(Entity par1Entity, float par2, float par3, float par4, float par5, float par6, float par7)
{
super.render(par1Entity, par2, par3, par4, par5, par6, par7);
this.setRotationAngles(par2, par3, par4, par5, par6, par7, par1Entity);
if (this.isChild)
{
float var8 = 2.0F;
GL11.glPushMatrix();
GL11.glTranslatef(0.0F, 5.0F * par7, 2.0F * par7);
this.wolfHeadMain.renderWithRotation(par7);
GL11.glPopMatrix();
GL11.glPushMatrix();
GL11.glScalef(1.0F / var8, 1.0F / var8, 1.0F / var8);
GL11.glTranslatef(0.0F, 24.0F * par7, 0.0F);
this.wolfBody.render(par7);
this.wolfLeg1.render(par7);
this.wolfLeg2.render(par7);
this.wolfLeg3.render(par7);
this.wolfLeg4.render(par7);
this.wolfTail.renderWithRotation(par7);
this.wolfMane.render(par7);
GL11.glPopMatrix();
}
else
{
this.wolfHeadMain.renderWithRotation(par7);
this.wolfBody.render(par7);
this.wolfLeg1.render(par7);
this.wolfLeg2.render(par7);
this.wolfLeg3.render(par7);
this.wolfLeg4.render(par7);
this.wolfTail.renderWithRotation(par7);
this.wolfMane.render(par7);
}
}
/**
* Used for easily adding entity-dependent animations. The second and third float params here are the same second
* and third as in the setRotationAngles method.
*/
public void setLivingAnimations(EntityLiving par1EntityLiving, float par2, float par3, float par4)
{
EntityDireWolf var5 = (EntityDireWolf)par1EntityLiving;
if (var5.isAngry())
{
this.wolfTail.rotateAngleY = 0.0F;
}
else
{
this.wolfTail.rotateAngleY = MathHelper.cos(par2 * 0.6662F) * 1.4F * par3;
}
if (var5.isSitting())
{
this.wolfMane.setRotationPoint(-1.0F, 16.0F, -3.0F);
this.wolfMane.rotateAngleX = ((float)Math.PI * 2F / 5F);
this.wolfMane.rotateAngleY = 0.0F;
this.wolfBody.setRotationPoint(0.0F, 18.0F, 0.0F);
this.wolfBody.rotateAngleX = ((float)Math.PI / 4F);
this.wolfTail.setRotationPoint(-1.0F, 21.0F, 6.0F);
this.wolfLeg1.setRotationPoint(-2.5F, 22.0F, 2.0F);
this.wolfLeg1.rotateAngleX = ((float)Math.PI * 3F / 2F);
this.wolfLeg2.setRotationPoint(0.5F, 22.0F, 2.0F);
this.wolfLeg2.rotateAngleX = ((float)Math.PI * 3F / 2F);
this.wolfLeg3.rotateAngleX = 5.811947F;
this.wolfLeg3.setRotationPoint(-2.49F, 17.0F, -4.0F);
this.wolfLeg4.rotateAngleX = 5.811947F;
this.wolfLeg4.setRotationPoint(0.51F, 17.0F, -4.0F);
}
else
{
this.wolfBody.setRotationPoint(0.0F, 14.0F, 2.0F);
this.wolfBody.rotateAngleX = ((float)Math.PI / 2F);
this.wolfMane.setRotationPoint(-1.0F, 14.0F, -3.0F);
this.wolfMane.rotateAngleX = this.wolfBody.rotateAngleX;
this.wolfTail.setRotationPoint(-1.0F, 12.0F, 8.0F);
this.wolfLeg1.setRotationPoint(-2.5F, 16.0F, 7.0F);
this.wolfLeg2.setRotationPoint(0.5F, 16.0F, 7.0F);
this.wolfLeg3.setRotationPoint(-2.5F, 16.0F, -4.0F);
this.wolfLeg4.setRotationPoint(0.5F, 16.0F, -4.0F);
this.wolfLeg1.rotateAngleX = MathHelper.cos(par2 * 0.6662F) * 1.4F * par3;
this.wolfLeg2.rotateAngleX = MathHelper.cos(par2 * 0.6662F + (float)Math.PI) * 1.4F * par3;
this.wolfLeg3.rotateAngleX = MathHelper.cos(par2 * 0.6662F + (float)Math.PI) * 1.4F * par3;
this.wolfLeg4.rotateAngleX = MathHelper.cos(par2 * 0.6662F) * 1.4F * par3;
}
this.wolfHeadMain.rotateAngleZ = var5.getInterestedAngle(par4) + var5.getShakeAngle(par4, 0.0F);
this.wolfMane.rotateAngleZ = var5.getShakeAngle(par4, -0.08F);
this.wolfBody.rotateAngleZ = var5.getShakeAngle(par4, -0.16F);
this.wolfTail.rotateAngleZ = var5.getShakeAngle(par4, -0.2F);
}
/**
* Sets the model's various rotation angles. For bipeds, par1 and par2 are used for animating the movement of arms
* and legs, where par1 represents the time(so that arms and legs swing back and forth) and par2 represents how
* "far" arms and legs can swing at most.
*/
public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6, Entity par7Entity)
{
super.setRotationAngles(par1, par2, par3, par4, par5, par6, par7Entity);
this.wolfHeadMain.rotateAngleX = par5 / (180F / (float)Math.PI);
this.wolfHeadMain.rotateAngleY = par4 / (180F / (float)Math.PI);
this.wolfTail.rotateAngleX = par3;
}
}
-Jordan
-
Alright I searched through all the item files, and the only thing I could find that I thought may have worked was a bit of code in the Item.skull which was .makeWither...
But obviously when I tried to add: Item.skull.makeWither into the crafting recipe it didn't work....
-
Nope, it says Item.skull_1 does not exist
-
When I tried using the item ID minecraft crashed, and also when trying to add :1 to 144 it was saying the the : was not supposed to be there
(I have never used Item ID's or MetaData to craft
)
-
Hey there, there are a few things I would like to craft using Wither skulls and Creeper Skulls...
This has me baffled because when I try to find it (using Item. and then scrolling through the list) all that appears is Item.skull which is a skeleton skull... And when I try skull_wither or skull_creeper it does not work
Thanks for your help
-Jordan
-
Yeah the stuff on google makes no sense to me, seeing as all the links are people asking for help, with no answers...
Also, I have no idea how to use them.
-
It may be helpful if you were to post a picture/C+P a bit of the generation code for the biome, so people may be able to see what is wrong.
If we can't see it, we can't really help you.
All I can suggest without seeing it is maybe you have the wrong "reference" for the top block (I dunno, I am not good with biomes)
-
Hey there, it's a simple question which I know the code for (I think, unless I am mistaken)....
Ok here is what I would like to do, I would like to make a stack of a custom item "DragonScale" by crafting the dragon egg, a diamond and a custom item "EndIngot"... but get the dragon egg back after crafting the DragonScales...
So I have used the normal shapeless crafting recipe, but added in (what I think is) the code for keeping the dragon egg... but eclipse is giving me an error... so I am guessing it is either in the wrong place, or it is the wrong code.
GameRegistry.addShapelessRecipe(new ItemStack(DragonScale, 64), new Object[]{
Block.dragonEgg, Item.diamond, EndIngot
}); Block.dragonEgg.setContaineritem(Block.dragonEgg);
I looked on the wiki, but there is no tutorial on how to keep the item, so I was hoping you would be able to tell me where I have gone wrong
Thanks
-Jordan
Using API's?
in Modder Support
Posted
What do you mean setup?