
SkillCakey
Members-
Posts
38 -
Joined
-
Last visited
Everything posted by SkillCakey
-
Nvm... It started working when i removed one extra FMLInitializationEvent. Now it works perfectly.
-
I set my custom filler and top blocks, but they are air. And is there a way to change how often the biome is generated?
-
Oh... Could you try to find out how to get this to work and paste the code?
-
I'm actually starting minecraft modding tutorials tomorrow, so i'm sure i'll make a tutorial of it, if it works. EDIT: Didn't work.
-
I feel like a pro now. I got it working!! No errors at the moment. Haven't just found my biome yet though and the generating is pretty laggy. I gotta leave for school now, but when i come back home I'll check if the biome is working and if it is, i can post the solution here and someone can make it even better.
-
Yes, but i though if there was another way.
-
Or is there actually a way to make a new biome in 1.7 without using GameRegistry.addBiome???
-
I guess i can't make my biome with my Java coding skills then.
-
Thanks. 1 More errors fixed. The last error: GameRegistry.addBiome(ShroomBiome); What i'm gonna do to fix that?
-
I know right...
-
Yup. Noticed it. My bad. But this doesn't work either: public static BiomeGenBase ShroomBiome = new ShroomBiome(58).setBiomeName("ShroomBiome").setMinMaxHeight(0.2F, 1F); It gives an error at "setMinMaxHeight"
-
What can i use instead of public static BiomeGenBase ShroomBiome(58).setBiomeName("ShroomBiome").setMinMaxHeight(0.2F, 1F);
-
I tried taking my biome from 1.6 to 1.7, but got some errors with it. Here are the lines with errors: CakeyMod.java: public static BiomeGenBase ShroomBiome(58).setBiomeName("ShroomBiome").setMinMaxHeight(0.2F, 1F); GameRegistry.addBiome(ShroomBiome); ShroomBiome.java: topBlock = (byte)CakeyMod.ShroomGrass.blockID; fillerBlock = (byte)CakeyMod.ShroomGrass.blockID; (I have got the ShroomGrass block working, so it can't be causing the errors in ShroomBiome.java.
-
Thanks. Gotta try that.
-
How can i add my own ogg sound files for my mobs?
-
Nvm. I had imported the wrong entity in modelCutey.class.
-
I can hear the mob sounds, see the shadow and hit the mob, but i can't see the mob. Here's my RenderCutey.java file: package com.skillcakey.cakeymod.mobs.render; import com.skillcakey.cakeymod.mobs.Cutey; import com.skillcakey.cakeymod.mobs.entity.EntityCutey; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.util.ResourceLocation; public class RenderCutey extends RenderLiving{ public static final ResourceLocation EntityTexture = new ResourceLocation("cakeymod:textures/mobs/cutey.png"); protected Cutey model; public RenderCutey(ModelBase par1ModelBase, float par2) { super(par1ModelBase, par2); model = ((Cutey)mainModel); } public void renderCutey(EntityCutey entity, double par2, double par4, double par6, float par8, float par9) { super.doRender(entity, par2, par4, par6, par8, par9); } public void doRenderLiving(EntityLiving par1EntityLiving, double par2, double par4, double par6, float par8, float par9) { renderCutey((EntityCutey)par1EntityLiving, par2, par4, par6, par8, par9); } public void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9) { renderCutey((EntityCutey)par1Entity, par2, par4, par6, par8, par9); } @Override protected ResourceLocation getEntityTexture(Entity entity) { return EntityTexture; } }
-
Thanks. Just remembered this topic when i was adding chilli textures to my mod.
-
Found it. Thank you!
-
But how can i use it with metadata?
-
Oh... I though like that, but didn't think of the fact it would need all in different recipes. Anyways, how can i use FurnaceRecipes.addSmelting? I want to test it anyways, but i couldn't get it work with tools(and i didn't really test it with blocks)...
-
Yeah, but you said it isn't possible in the current version of Forge?
-
Well, i was going to make recipes for three different damage values.