-
Posts
403 -
Joined
-
Last visited
Everything posted by Kander16
-
Mod is COMPATIBLE for version 1.8! Enjoy!!
-
[1.8] Model definition for... not found? (Texture won't load)
Kander16 replied to Kander16's topic in Modder Support
Okay, I'll try. -
[1.8] Model definition for... not found? (Texture won't load)
Kander16 replied to Kander16's topic in Modder Support
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. -
[1.8] Model definition for... not found? (Texture won't load)
Kander16 replied to Kander16's topic in Modder Support
{ "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? -
[1.8] Model definition for... not found? (Texture won't load)
Kander16 replied to Kander16's topic in Modder Support
Ok, But I do not know how minecraft forge did that with reeds. (Sugar cane) -
[1.8] Model definition for... not found? (Texture won't load)
Kander16 replied to Kander16's topic in Modder Support
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. -
The Mod is ready for 1.8 is less than 5 days!!
-
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]
-
Thanks for helping.
-
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.
-
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
-
TileEntityCookFurnace: http://pastebin.com/KUyg6378
-
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.
-
[1.8] Custom furnace: Where do you define the furnace speed?
Kander16 replied to Kander16's topic in Modder Support
I found it, There was a method created, that was called 'func_..........'. So, I didn't know that was the speed of the furnace. -
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.
-
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!
-
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?
-
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.
-
[bug fix] No Salad seeds from salad.
-
Master Smith Stuff will be released today!
-
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.