Jump to content

Kander16

Members
  • Posts

    403
  • Joined

  • Last visited

Everything posted by Kander16

  1. Mod is COMPATIBLE for version 1.8! Enjoy!!
  2. Yes, the problem is: I'ts not really a crop, it is a plant that grows like sugar cane. (placing a block upon another block and so on). I copy the json file from blockstates into my own blowkstates file, and I change the name of the model I change { "variants": { "normal": { "model": "reeds" } } } [/Code] To [Code]{ "variants": { "normal": { "model": "chef:corn_block" } } } [/Code] And in assets/chef/models/block I've a corn_block json file. But whenever I run minecraft, and see if the texture is loaded or not, it just does not load the texture (purple black rectangles). And when I look at the console, it gives me this error:7 [Code][12:00:19] [Client thread/ERROR] [FML]: Model definition for location chef:corns#age=0 not found[/Code] So on until age 15... But it just needs only one texture, and this does not load because he wants a model for every age. But the minecraft "Reeds" does not need that.
  3. { "variants": { "age=0": { "model": "chef:corn_block" }, "age=1": { "model": "chef:corn_block" }, "age=2": { "model": "chef:corn_block" }, "age=3": { "model": "chef:corn_block" }, "age=4": { "model": "chef:corn_block" }, "age=5": { "model": "chef:corn_block" }, "age=6": { "model": "chef:corn_block" }, "age=7": { "model": "chef:corn_block" }, "age=8": { "model": "chef:corn_block" }, "age=9": { "model": "chef:corn_block" }, "age=10": { "model": "chef:corn_block" }, "age=11": { "model": "chef:corn_block" }, "age=12": { "model": "chef:corn_block" }, "age=13": { "model": "chef:corn_block" }, "age=14": { "model": "chef:corn_block" }, "age=15": { "model": "chef:corn_block" } } } [/Code] Something like this?
  4. Ok, But I do not know how minecraft forge did that with reeds. (Sugar cane)
  5. I have a "json" text file, in 'blockstates'. This is how it looks: { "variants": { "normal": { "model": "chef:corn_block" } } } [/Code] - My corn keeps saying model definition for location... Please help.
  6. Hi, I've a sort of crop that actually grows like sugar-cane. And everytime I start up the game, the log says: [12:00:19] [Client thread/ERROR] [FML]: Model definition for location chef:corns#age=0 --> 15 not found[/Code] When I place my block, it does not render the corn. How do I fix this? Thanks.
  7. Hi, I have a problem with the biome specific generation, my blocks spawn in every biome. And I've set that if it is in this biome, we run that code. So, I did something wrong. Thanks for helping. My Bush-generation: http://pastebin.com/safY4zJ5 My boolean generate: http://pastebin.com/631VkySH
  8. The Mod is ready for 1.8 is less than 5 days!!
  9. Hi, I am updating my mod to minecraft 1.8. I have got a BlockDrops class, where an event add's drops to a block. I do not know how to update this. I think it's very simple to fix. (Just replace something I guess.) Thanks for helping. Code: package com.chef.mod.event; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import net.minecraftforge.event.world.BlockEvent.HarvestDropsEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import com.chef.mod.init.MyItems; public class BlockDrops { public static double rand; public Random r = new Random(); @SubscribeEvent public void onBlockDestroyed(HarvestDropsEvent event) { if (event.state == Blocks.ice) { event.drops.add(new ItemStack (MyItems.ice_shard, 2+r.nextInt(4))); } else if (event.state == Blocks.packed_ice) { event.drops.add(new ItemStack (MyItems.ice_shard, 1+r.nextInt()); } } }[/Code] I've registered it as well, with: [Code] MinecraftForge.EVENT_BUS.register(new MobDrops());[/Code]
  10. Thanks for helping.
  11. Didn't see that:-). Sorry, but I don't know how to work with the BlockPos. The public boolean onBlockActivated has no int x, int y & int z. But the playerIn.openGui needs that. How do I do this? Thanks.
  12. Ok, This is my TileEntity: http://pastebin.com/cQtLh2Re This is my Gui: http://pastebin.com/c31rYiX5 This is my Container: http://pastebin.com/pZE1XisK This is my GuiHandler: http://pastebin.com/p0sBtVC9 The Block Class: http://pastebin.com/Mf0QLSR7 A picture of my cooking furnace (Gui): http://minetronic.be/GuiCookFurnace
  13. TileEntityCookFurnace: http://pastebin.com/KUyg6378
  14. Hi, I've a problem with my Gui, it does not load. I know that the problem is with getGuiId, but what do I do with this? Thanks.
  15. I found it, There was a method created, that was called 'func_..........'. So, I didn't know that was the speed of the furnace.
  16. Hi, I am trying to update my mod from 1.7.10 --> 1.8. I have a custom furnace, and I want to set the speed. Only, I don't know where the furnace speed is defined, therefore it was public static final int furnaceSpeed = yournumber[/Code] But I don't know where I defines it now, any help? Thanks.
  17. Caramelized Apple texture improved. Caramelized Apple now gives a stick after eaten. I do not think that you actually eat the stick! :-P. You now have the Caramelized Apple in your hand just like a tool. (3th person). Corn block texture now looks more yellow then green. There was a little problem with my code.
  18. I am very happy to say that my mod is almost ready for minecraft version: 1.8! Hold on you guys, just a little bit more. Go and check this mod every day! Thanks for downloading!
  19. Never mind! I found a solution: - I've deleted getRenderType 1. In my salads_stage0 -> 3.json file, I've replaced block/crop ---> block/tallgrass and below I've replaced "crop": ---> "cross": This is the correct way I guess?
  20. Hi, I am updating my mod for minecraft version 1.8, I have a crop, but that crop uses "getRenderType: 1". And my minecraft crashes when I place that crop. I don't know how to let it render like tall-grass instead of a normal crop with version 1.8. How do I fix this? Thanks for helping.
  21. [bug fix] No Salad seeds from salad.
  22. Hi, Go ahead and download this awesome mod! All info down below. http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2352539-master-smith-stuff-mod-v1-0-for-1-7-10-glowing Thanks for downloading, hope you like it! By Kander18
  23. Master Smith Stuff will be released today!
  24. Hi, I have a custom furnace, and I want it to have it return always one item back to that slot. Because I have a water bucket, and when you place it, it disappears. Because I need to remove the container item from the water bucket. So, is there a way that when you place Any item into that fuel slot, it replaces it into another item. Thanks.
×
×
  • Create New...

Important Information

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