
Big_Bad_E
Members-
Posts
312 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Big_Bad_E
-
[1.12] Help with registering entity into game
Big_Bad_E replied to Big_Bad_E's topic in Modder Support
So Now I need to use the LoadEntityRenders method, but I don't know what the different arguments are. I have my renderManager working, and everything else is dandy, except for it. (I got a different method to work, but it crashed my game.) Client Proxy package Entity303.Proxy; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import Entity303.RegistryHandler; import Entity303.Entity.Entity303; import Entity303.Entity.ModelEntity303; import Entity303.Entity.RenderEntity303; public class ClientProxy extends CommonProxy { public void preInit(FMLPreInitializationEvent event) { super.preInit(event); } public void Init(FMLInitializationEvent event) { super.Init(event); RegistryHandler.Client(); } public void postInit(FMLPostInitializationEvent event) { super.postInit(event); } } Renderer Class package Entity303; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraftforge.fml.client.registry.RenderingRegistry; import Entity303.Entity.Entity303; import Entity303.Entity.ModelEntity303; import Entity303.Entity.RenderEntity303; public class RegistryHandler { public static void Client() { RenderManager renderManager = Minecraft.getMinecraft().getRenderManager(); renderManager.entityRenderMap.put(Entity303.class, new RenderEntity303(renderManager, new ModelEntity303(), 0)); } public static void Common() { } } Still won't summon -
[1.12] Help with registering entity into game
Big_Bad_E replied to Big_Bad_E's topic in Modder Support
Ok so I have been zipping around tutorials trying to figure out how to set up the mod, and did that. I will fix it, sorry I was so confused. -
[1.12] Help with registering entity into game
Big_Bad_E replied to Big_Bad_E's topic in Modder Support
I named it Entity303Registry not RegistryHandler, if I need a class called RegistryHandler, I didn't realize, but that is every class I have. -
Hey can you get the crash log from the .minecraft folder and put it on here?
-
I looked at this mod, and it uses a lot of old methods that aren't in 1.12, so you would need to entirely recode the mod to make it 1.12. Sorry!
-
ok all you have to do to help me help you is open your .minecraft file, crash-reports, open the top one and copy it, then paste it in a spoiler
-
[1.12] Help with registering entity into game
Big_Bad_E replied to Big_Bad_E's topic in Modder Support
#EntityRegisterClassIsAbove #Triggerd #DidSeeItComing -
So, I have just started 1.12 modding, and immediately I notice the lack of tutorials, and after about 15-30 minutes of searching, I couldn't find a single thing about making structures, not in the forge docs, not on youtube, google, etc... so I decided to try and make a tread because of the lack of available knowledge. I am pretty sure I need to implement IWorldGenerator, but have no idea on the needed methods. Other mods that did this were outdated, not on github, or super complex, so that was all I could get. I would appreciate any help : )
-
Can somone help me update a 1.7.10 mod to 1.12?
Big_Bad_E replied to Myrosb's topic in Modder Support
There probably is, I doubt that there is no way to do it, but there are 2 main problems. 1. You would need to have a lot of time and an advanced knowledge of Java and Forge. I am ok but not even close to that level. 2. Compatibility, most likely a mod like this would never work with any other mods, and in general this is a crazy mod .-. -
Can somone help me update a 1.7.10 mod to 1.12?
Big_Bad_E replied to Myrosb's topic in Modder Support
Yep, this is way too complicated, I have no idea what the original method is, more or less how to update it. I gotta abandon it. Sorry -
Can somone help me update a 1.7.10 mod to 1.12?
Big_Bad_E replied to Myrosb's topic in Modder Support
Oh... I found the problem... This mod uses Tessellator, which isn't in 1.12. I can try it without, but it probably won't wonk, as I can't use like Gl or WorldManager. I will try, but I won't focus too long on this mod. -
Can somone help me update a 1.7.10 mod to 1.12?
Big_Bad_E replied to Myrosb's topic in Modder Support
Since it is 1.12, I could probably try to update it, but in 1.12 you need to totally re render everything, and some methods have been removed, but I can try for you : ) -
[1.12] Help with registering entity into game
Big_Bad_E replied to Big_Bad_E's topic in Modder Support
Sorry, It got so long and annoying to post on, I just started a new one, didn't mean to be rude. I won't do this agian. package Entity303.Proxy; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import Entity303.RegistryHandler; import Entity303.Entity.Entity303; import Entity303.Entity.RenderEntity303; public class ClientProxy extends CommonProxy { public void registerRender(RenderManager rendermanager) { } public void preInit(FMLPreInitializationEvent event) { super.preInit(event); } public void Init(FMLInitializationEvent event) { super.Init(event); RegistryHandler.Client(); } public void postInit(FMLPostInitializationEvent event) { super.postInit(event); } } package Entity303.Proxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import Entity303.RegistryHandler; public class CommonProxy { public void preInit(FMLPreInitializationEvent event) { RegistryHandler.Common(); } public void Init(FMLInitializationEvent event) { } public void postInit(FMLPostInitializationEvent event) { } } There, you happy? I don't have anything in there, because like I said I haven't registered it in the proxy because the method that I know isn't for 1.12, as I stated in the post above. if you know the method, please tell me it. -
[1.12] Help with registering entity into game
Big_Bad_E replied to Big_Bad_E's topic in Modder Support
First of all, I included the main class just in case anyone needed it, but I didn't include the proxys because there was nothing there relevant, and the main class is, well the main class Second, I was trying to do that because I was out of ideas Third, I tried that and /summon Entity303, they are the same thing. You can do /summon without the mod id unless the names overlap. Fourth, it was a joke, my thread was already at the top, I posted this at like 9:30, there wasn't any need to bump it. Also, I am not looking to be told this thread is not a chat room, I came here looking for help and not how to post a tread -
[1.12] Help with registering entity into game
Big_Bad_E replied to Big_Bad_E's topic in Modder Support
Can some1 give me a medal 23 views and no comments. Is there a medal for no friends? -
Hello, I am working on a creepypasta mod in which there is a mob, but in 1.12 I can not seem to get my entity to render into the game, I do /summon Entity303 and it returns an error. /Summon Error My Classes Main package Entity303; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import Entity303.Proxy.CommonProxy; @Mod(modid = Referance.MODID, name = Referance.NAME, version = Referance.VERSION) public class entity303 { @SidedProxy(clientSide = Referance.CLIENTPROXY, serverSide = Referance.COMMONPROXY) public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent event) { proxy.preInit(event); } @EventHandler public void Init(FMLInitializationEvent event) { proxy.Init(event); } @EventHandler public void postInit(FMLPostInitializationEvent event) { proxy.postInit(event); } } Entity package Entity303.Entity; import net.minecraft.block.Block; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.EnumCreatureAttribute; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAIHurtByTarget; import net.minecraft.entity.ai.EntityAILookIdle; import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction; import net.minecraft.entity.ai.EntityAINearestAttackableTarget; import net.minecraft.entity.ai.EntityAISwimming; import net.minecraft.entity.ai.EntityAIWanderAvoidWater; import net.minecraft.entity.ai.EntityAIWatchClosest; import net.minecraft.entity.monster.EntityCreeper; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.monster.EntityPigZombie; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.init.SoundEvents; import net.minecraft.item.ItemStack; import net.minecraft.util.DamageSource; import net.minecraft.util.SoundEvent; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; public class Entity303 extends EntityMob { public Entity303(World worldIn) { super(worldIn); this.setSize(0.6F, 1.95F); } public void registerGlobalEntityID () { } protected void initEntityAI() { this.tasks.addTask(0, new EntityAISwimming(this)); this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D)); this.tasks.addTask(7, new EntityAIWanderAvoidWater(this, 1.0D)); this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); this.tasks.addTask(8, new EntityAILookIdle(this)); this.applyEntityAI(); } protected void applyEntityAI() { this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true, new Class[] {EntityPigZombie.class})); this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, true)); } protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(35.0D); this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.23000000417232513D); this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(3.0D); } protected void entityInit() { super.entityInit(); } protected int getExperiencePoints(EntityPlayer player) { this.experienceValue = (int)((float)this.experienceValue * 2.5F); return super.getExperiencePoints(player); } //Entity Update public void onLivingUpdate() { super.onLivingUpdate(); } //When attacked public boolean attackEntityFrom(DamageSource source, float amount) { if (super.attackEntityFrom(source, amount)) { EntityLivingBase entitylivingbase = this.getAttackTarget(); if (entitylivingbase == null && source.getTrueSource() instanceof EntityLivingBase) { entitylivingbase = (EntityLivingBase)source.getTrueSource(); } } else { return false; } return false; } protected SoundEvent getAmbientSound() { return SoundEvents.ENTITY_ZOMBIE_AMBIENT; } protected SoundEvent getHurtSound(DamageSource p_184601_1_) { return SoundEvents.ENTITY_ZOMBIE_HURT; } protected SoundEvent getDeathSound() { return SoundEvents.ENTITY_ZOMBIE_DEATH; } protected SoundEvent getStepSound() { return SoundEvents.ENTITY_ZOMBIE_STEP; } protected void playStepSound(BlockPos pos, Block blockIn) { this.playSound(this.getStepSound(), 0.15F, 1.0F); } /** * Get this Entity's EnumCreatureAttribute */ public EnumCreatureAttribute getCreatureAttribute() { return EnumCreatureAttribute.UNDEAD; } public void onDeath(DamageSource cause) { super.onDeath(cause); if (cause.getTrueSource() instanceof EntityPlayer) { EntityPlayer player = (EntityPlayer)cause.getTrueSource(); ItemStack itemstack = this.getSkullDrop(); } } protected ItemStack getSkullDrop() { return new ItemStack(Items.SKULL, 1, 2); } } Entity Render package Entity303.Entity; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.ResourceLocation; import Entity303.Referance; public class RenderEntity303 extends RenderLiving { protected ResourceLocation Entity303Texture; public RenderEntity303(RenderManager renderManager, ModelBase par1ModelBase, float parShadowSize) { super(renderManager, par1ModelBase, parShadowSize); setEntityTexture(); } @Override protected void preRenderCallback(EntityLivingBase entity, float f) { preRenderCallbackEntity303((Entity303) entity, f); } protected void preRenderCallbackEntity303(Entity303 entity, float f) { // some people do some G11 transformations or blends here, like you can do // GL11.glScalef(2F, 2F, 2F); to scale up the entity // which is used for Slime entities. I suggest having the entity cast to // your custom type to make it easier to access fields from your // custom entity, eg. GL11.glScalef(entity.scaleFactor, entity.scaleFactor, // entity.scaleFactor); } protected void setEntityTexture() { Entity303Texture = new ResourceLocation(Referance.MODID+":textures/entity/Entity303.png"); } /** * Returns the location of an entity's texture. Doesn't seem to be called * unless you call Render.bindEntityTexture. */ @Override protected ResourceLocation getEntityTexture(Entity par1Entity) { return Entity303Texture; } } Entity Model package Entity303.Entity; import net.minecraft.client.model.ModelBiped; import net.minecraft.entity.Entity; import net.minecraft.entity.monster.EntityZombie; import net.minecraft.util.math.MathHelper; public class ModelEntity303 extends ModelBiped { public ModelEntity303() { this(0.0F, false); } public ModelEntity303(float modelSize, boolean p_i1168_2_) { super(modelSize, 0.0F, 64, p_i1168_2_ ? 32 : 64); } /** * 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 limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn) { super.setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entityIn); boolean flag = entityIn instanceof EntityZombie && ((EntityZombie)entityIn).isArmsRaised(); float f = MathHelper.sin(this.swingProgress * (float)Math.PI); float f1 = MathHelper.sin((1.0F - (1.0F - this.swingProgress) * (1.0F - this.swingProgress)) * (float)Math.PI); this.bipedRightArm.rotateAngleZ = 0.0F; this.bipedLeftArm.rotateAngleZ = 0.0F; this.bipedRightArm.rotateAngleY = -(0.1F - f * 0.6F); this.bipedLeftArm.rotateAngleY = 0.1F - f * 0.6F; float f2 = -(float)Math.PI / (flag ? 1.5F : 2.25F); this.bipedRightArm.rotateAngleX = f2; this.bipedLeftArm.rotateAngleX = f2; this.bipedRightArm.rotateAngleX += f * 1.2F - f1 * 0.4F; this.bipedLeftArm.rotateAngleX += f * 1.2F - f1 * 0.4F; this.bipedRightArm.rotateAngleZ += MathHelper.cos(ageInTicks * 0.09F) * 0.05F + 0.05F; this.bipedLeftArm.rotateAngleZ -= MathHelper.cos(ageInTicks * 0.09F) * 0.05F + 0.05F; this.bipedRightArm.rotateAngleX += MathHelper.sin(ageInTicks * 0.067F) * 0.05F; this.bipedLeftArm.rotateAngleX -= MathHelper.sin(ageInTicks * 0.067F) * 0.05F; } } I have looked at Entity tutorials and couldn't find what is wrong. I believe there is multiple errors, so tell me all the ones you find. I may of messed up on giving the entity an ID, and I tried putting RenderingRegistry.registerEntityRenderingHandler(EntitySerpent.class, new RenderSerpent(new ModelSerpent(), 0.5F)); into my client proxy preInit but registerEntityRenderingHandler was crossed out and the new Render said it needed another argument. (I copied this out of a tutorial) Thank you for reading this!
-
Help! Don't Know What To Do?!?! Game Crash! 1.12!
Big_Bad_E replied to NeroInsania's topic in Support & Bug Reports
Or also if not check and see if you have a preview version of any of the mods, its most likely a Optifine preview your running -
Help! Don't Know What To Do?!?! Game Crash! 1.12!
Big_Bad_E replied to NeroInsania's topic in Support & Bug Reports
Go into your mods file and remove any duplicate folders. That is probably the reason. Please before posting at least click copy to clip board and paste it in google -
Help! Don't Know What To Do?!?! Game Crash! 1.12!
Big_Bad_E replied to NeroInsania's topic in Support & Bug Reports
Go into .minecraft > crash-reports and post that in a spoiler, your game log was posted weirdly. Also, try removing one mod at a time and if one of them when removed fixes it let me know of the problem mod -
Google.com Sorry for the sarcasm, but I have heard of this issue before but I literally looked it up
-
Your driver doesn't work with the forge loading screen. next time you get an issue, copy the first line (for yours it is java.lang.IllegalStateException: Splash thread for this one) and paste it into google, it works 90% of the time for me
-
OK you need to go the the splash.properties config file and disable the loading screen. Its in .minecraft > Config
-
Ok so since you'r new, I will explain this the best I can So, go into the Minecraft folder, into crash-reports, open the .txt file(Most recent one works best) and copy it, make a comment and click on the code button (looks like this --> <>) and paste it there. Also list any of the mods that you have installed (If any) and your version of forge (Did you click recomended or latest?) and what installer you picked. If you can't do some of those the first is the most important.
-
Still can't /summon the entity, don't know if I should make a separate thread because of the length Render Class package Entity303.Entity; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.ResourceLocation; import Entity303.Referance; public class RenderEntity303 extends RenderLiving { protected ResourceLocation Entity303Texture; public RenderEntity303(RenderManager renderManager, ModelBase par1ModelBase, float parShadowSize) { super(renderManager, par1ModelBase, parShadowSize); setEntityTexture(); } @Override protected void preRenderCallback(EntityLivingBase entity, float f) { preRenderCallbackEntity303((Entity303) entity, f); } protected void preRenderCallbackEntity303(Entity303 entity, float f) { // some people do some G11 transformations or blends here, like you can do // GL11.glScalef(2F, 2F, 2F); to scale up the entity // which is used for Slime entities. I suggest having the entity cast to // your custom type to make it easier to access fields from your // custom entity, eg. GL11.glScalef(entity.scaleFactor, entity.scaleFactor, // entity.scaleFactor); } protected void setEntityTexture() { Entity303Texture = new ResourceLocation(Referance.MODID+":textures/entity/Entity303.png"); } /** * Returns the location of an entity's texture. Doesn't seem to be called * unless you call Render.bindEntityTexture. */ @Override protected ResourceLocation getEntityTexture(Entity par1Entity) { return Entity303Texture; } } Entity Class package Entity303.Entity; import net.minecraft.block.Block; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.EnumCreatureAttribute; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAIHurtByTarget; import net.minecraft.entity.ai.EntityAILookIdle; import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction; import net.minecraft.entity.ai.EntityAINearestAttackableTarget; import net.minecraft.entity.ai.EntityAISwimming; import net.minecraft.entity.ai.EntityAIWanderAvoidWater; import net.minecraft.entity.ai.EntityAIWatchClosest; import net.minecraft.entity.monster.EntityCreeper; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.monster.EntityPigZombie; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.init.Items; import net.minecraft.init.SoundEvents; import net.minecraft.item.ItemStack; import net.minecraft.util.DamageSource; import net.minecraft.util.SoundEvent; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; public class Entity303 extends EntityMob { public Entity303(World worldIn) { super(worldIn); this.setSize(0.6F, 1.95F); } protected void initEntityAI() { this.tasks.addTask(0, new EntityAISwimming(this)); this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D)); this.tasks.addTask(7, new EntityAIWanderAvoidWater(this, 1.0D)); this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F)); this.tasks.addTask(8, new EntityAILookIdle(this)); this.applyEntityAI(); } protected void applyEntityAI() { this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true, new Class[] {EntityPigZombie.class})); this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, true)); } protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getEntityAttribute(SharedMonsterAttributes.FOLLOW_RANGE).setBaseValue(35.0D); this.getEntityAttribute(SharedMonsterAttributes.MOVEMENT_SPEED).setBaseValue(0.23000000417232513D); this.getEntityAttribute(SharedMonsterAttributes.ATTACK_DAMAGE).setBaseValue(3.0D); } protected void entityInit() { super.entityInit(); } protected int getExperiencePoints(EntityPlayer player) { this.experienceValue = (int)((float)this.experienceValue * 2.5F); return super.getExperiencePoints(player); } //Entity Update public void onLivingUpdate() { super.onLivingUpdate(); } //When attacked public boolean attackEntityFrom(DamageSource source, float amount) { if (super.attackEntityFrom(source, amount)) { EntityLivingBase entitylivingbase = this.getAttackTarget(); if (entitylivingbase == null && source.getTrueSource() instanceof EntityLivingBase) { entitylivingbase = (EntityLivingBase)source.getTrueSource(); } } else { return false; } return false; } protected SoundEvent getAmbientSound() { return SoundEvents.ENTITY_ZOMBIE_AMBIENT; } protected SoundEvent getHurtSound(DamageSource p_184601_1_) { return SoundEvents.ENTITY_ZOMBIE_HURT; } protected SoundEvent getDeathSound() { return SoundEvents.ENTITY_ZOMBIE_DEATH; } protected SoundEvent getStepSound() { return SoundEvents.ENTITY_ZOMBIE_STEP; } protected void playStepSound(BlockPos pos, Block blockIn) { this.playSound(this.getStepSound(), 0.15F, 1.0F); } /** * Get this Entity's EnumCreatureAttribute */ public EnumCreatureAttribute getCreatureAttribute() { return EnumCreatureAttribute.UNDEAD; } public void onDeath(DamageSource cause) { super.onDeath(cause); if (cause.getTrueSource() instanceof EntityPlayer) { EntityPlayer player = (EntityPlayer)cause.getTrueSource(); ItemStack itemstack = this.getSkullDrop(); } } protected ItemStack getSkullDrop() { return new ItemStack(Items.SKULL, 1, 2); } } Model Class package Entity303.Entity; import net.minecraft.client.model.ModelBiped; import net.minecraft.entity.Entity; import net.minecraft.entity.monster.EntityZombie; import net.minecraft.util.math.MathHelper; public class ModelEntity303 extends ModelBiped { public ModelEntity303() { this(0.0F, false); } public ModelEntity303(float modelSize, boolean p_i1168_2_) { super(modelSize, 0.0F, 64, p_i1168_2_ ? 32 : 64); } /** * 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 limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn) { super.setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entityIn); boolean flag = entityIn instanceof EntityZombie && ((EntityZombie)entityIn).isArmsRaised(); float f = MathHelper.sin(this.swingProgress * (float)Math.PI); float f1 = MathHelper.sin((1.0F - (1.0F - this.swingProgress) * (1.0F - this.swingProgress)) * (float)Math.PI); this.bipedRightArm.rotateAngleZ = 0.0F; this.bipedLeftArm.rotateAngleZ = 0.0F; this.bipedRightArm.rotateAngleY = -(0.1F - f * 0.6F); this.bipedLeftArm.rotateAngleY = 0.1F - f * 0.6F; float f2 = -(float)Math.PI / (flag ? 1.5F : 2.25F); this.bipedRightArm.rotateAngleX = f2; this.bipedLeftArm.rotateAngleX = f2; this.bipedRightArm.rotateAngleX += f * 1.2F - f1 * 0.4F; this.bipedLeftArm.rotateAngleX += f * 1.2F - f1 * 0.4F; this.bipedRightArm.rotateAngleZ += MathHelper.cos(ageInTicks * 0.09F) * 0.05F + 0.05F; this.bipedLeftArm.rotateAngleZ -= MathHelper.cos(ageInTicks * 0.09F) * 0.05F + 0.05F; this.bipedRightArm.rotateAngleX += MathHelper.sin(ageInTicks * 0.067F) * 0.05F; this.bipedLeftArm.rotateAngleX -= MathHelper.sin(ageInTicks * 0.067F) * 0.05F; } } Main Class package Entity303; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.SidedProxy; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import Entity303.Proxy.CommonProxy; @Mod(modid = Referance.MODID, name = Referance.NAME, version = Referance.VERSION) public class entity303 { @SidedProxy(clientSide = Referance.CLIENTPROXY, serverSide = Referance.COMMONPROXY) public static CommonProxy proxy; @EventHandler public void preInit(FMLPreInitializationEvent event) { proxy.preInit(event); } @EventHandler public void Init(FMLInitializationEvent event) { proxy.Init(event); } @EventHandler public void postInit(FMLPostInitializationEvent event) { proxy.postInit(event); } }
-
Found it, renamed a class and forgot to change it