Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Kander16

Members
  • Joined

  • Last visited

Everything posted by Kander16

  1. The Master Chef mod adds: - 261 items - 23 blocks: including 6 furnaces, 1 milk barrel, 1 butter churn and 10 pizzas. - 11 new crops - 3 new trees. This mod is all about food, cooking and making new items/tools! Including a sickle and a stamper (for the butter churn). It also adds 9 new custom furnaces to make your new food! All info at http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2346438-master-chef-mod-v4-0-for-1-7-10-adds-tons-of-more. Thanks for downloading! ~~~~~~~~~~~~~~ Made by The Minetronic Team. ~~~~~~~~~~~~~~
  2. How do I register it? My boat just is a white block. Also, my boat keeps sinks in water and burns on lava, I wanted to have my boat floating on lava. Thanks. Here is the code: Main mod: http://pastebin.com/ySWBx4GN MyItems: http://pastebin.com/HAmPnuai EntityObsidianBoat: http://pastebin.com/x8V7Wnej RenderObsidianBoat: http://pastebin.com/KSrEFCFT ModelObsidianBoat: http://pastebin.com/ACct2v93
  3. Thanks. There are also other classes which has to to with the boat, I've found: EntityBoat, ModelBoat, ItemBoat. There are more, right?
  4. Where do they register the EntityBoat?
  5. Hi, I don't know how to create a new boat, cause I do not find the class file. Where do I look for? Thanks.
  6. Damn, Damn damn! Always looking for a solution, and in the end, you forgot one tiny little thing. (forgotten to register tileentity in the base class.) Solved. Thanks for the effort.
  7. This doesn't work eather :-/. New code: http://pastebin.com/wgP7LWVW
  8. Hi, I have a problem with my custom furnace (which has dual inputs), When I lo;g out and log back in, My items in the slot of my custom furnace just disappear. I have ReadfromNBT and WritetoNBT. Could someone please look and see what the problem could be? Cause I don't know how to fix this. Here is my tile entity: http://pastebin.com/gjHWF3qV Here is the block itself: http://pastebin.com/Uw3zkKVN Here is the container: http://pastebin.com/7yCSupx0 Thanks.
  9. Hi, I've found another way to do this. I've changed something in the gui class. And yes, I should not have wanted that you are losing fuel. Here is the file of the gui if you want to see what I did: Old gui code: http://pastebin.com/mFktZAWf New gui code: http://pastebin.com/1NLY9JV9 But still thank you Jacky2611!
  10. Hi, Could you please give me more info on what to do? Cause I think I don't really get you. Maybe you could give me an example? It isn't nessesary. Thanks.
  11. Hi, When I am trying to add fuel in my fuel storage, the fuel bar goes up and up till it reached the max. But when I use it to make a new item and try to refill the storage to the max, it always stay 1 px from the edge of the max storage. It's cause I've set that my "Ice shard" (fuel) add's 50 each time, the max fuel is 10 000. And when I use it, it counts down. But then my fuel is for example 9958, not 9950 or 1000 or something else ending on a "50". And when I try to add a new Ice shard to my storage, it cannot take another Ice shard because it has a value of 50. So, can't go to the max fuel storage (10 000). And only when it's at 10 000, the texture of the storage is complete. What is my idea to fix this: Change the amount when it reaches the texture of "complete" So, like this needs 9950 before you see it's fully loaded, not 10 000. But I really don't know how to do this. Thanks for helping. Code: Tileentity: http://pastebin.com/dAUtk7HU
  12. Hi, Could somebody please explain what the Transferstackinslot method does? Because I cannot put fuel in my fuel slot when shift clicking. I also can't place items in the output slot with dragging, but I can when I shift click. TransferStackInSlot: http://pastebin.com/MPSVUcNx Especially this code I do not understand well: if (!this.mergeItemStack(itemstack1, 3, 39, true)) Thanks.
  13. Thank you very much Diesieben07.
  14. Hello, I don't know how to set that you can not put an item in the output slot, or you can only put an item in the custom furnace slot when it is fuel. For now, I can place in every slot every item. Could someone put me in the right direction? Thanks.
  15. Hello, What does the "modgenerationweight" do when you want to register a world generation. GameRegistry.registerWorldGenerator(new OreGeneration(), 0); (IWorldGenerator generator, int modGenerationWeight) Thanks.
  16. O, now I see. It was a bit of stupidness actually. What I did was, world.getBiomeGenForCoords(chunkX, chunkZ) BUT, chunkX and chunkZ was never determined. It just was int chunkX and int chunkZ. But what number is chunkX, chunkZ actually? We don't know that. So what i've changed: world.getBiomeGenForCoords(xRand, zRand) And since xRand, zRand is a chunk ( int xRand = chunkX * 16 + random.nextInt(16); ) It now have the coordinates. Thanks anyway.
  17. Sorry, It works perfectly in the "OreGeneration" class, it just doesn't work in my "BushGeneration" class. So this could not be the problem. Thanks.
  18. Hi, I have created a new block (salt) that should generate in specific biomes. This works without problems. But, I have another few blocks created that should do the same. Only, this does not work. When I take the code out of the class file, that checks in what specific biomes it should generates, it generates like as normal. Only without the specific biomes. When I undo this, and take the code back, It just does not generate. Code of the bush: http://pastebin.com/BbBD1zrc Code of my salt & stuff: http://pastebin.com/MryBjXXW Thanks for helping.
  19. Hello, I want to create an ore generation in only a few biomes, I don't know how, but it does not work. Please, take a look at it. This is the block I wanted to generate. generateOreSand(Chef.oreSeaSaltOre, world, rand, x, z, 4, 8, 80, 50, 100, Blocks.sand); This is my code that should generate an ore in a few biomes. public void generateOreSand(Block block, World world, Random random, int chunkX, int chunkZ, int minVienSize, int maxVienSize, int chance, int minY, int maxY, Block generateIn) { int vienSize = minVienSize + random.nextInt(maxVienSize - minVienSize); int heightRange = maxY - minY; WorldGenMinableSand gen = new WorldGenMinableSand(block, vienSize, generateIn); BiomeGenBase biome = world.getWorldChunkManager().getBiomeGenAt(chunkX, chunkZ); if(biome instanceof BiomeGenOcean || biome instanceof BiomeGenRiver || biome instanceof BiomeGenBeach) { for (int i = 0; i < chance; i++) { int xRand = chunkX * 16 + random.nextInt(16); int yRand = random.nextInt(heightRange) + minY; int zRand = chunkZ * 16 + random.nextInt(16); gen.generate(world, random, xRand, yRand, zRand); } } } If needed, this is the FULL java file. http://pastebin.com/M7mfjGPA
  20. Wait, I can't do this yet, so I've come with another Idea. Does red sand only spawn in the mesa biome? If so, then I maybe could add something that says: It spawns in all biomes except the mesa biome. Then the problem is solved also. Thanks.
  21. Ok, so could you tell me what to do? How do I create a new custom WorldGenMinable that also compares the metadata? The MyWorldGenMinable.java is just a Copy of the WorldGenMinable.class With a few pieces of code added. Thanks.
  22. Thanks. It still does not work, I have looked how the ItemStack did this but that doesn't work actually. I think I do not understand how I compare the metadata with my block, so it does not go looking for the Block ID of it. Please, could you tell me what to do? This is my "MyWorldGenMinable" java file. http://pastebin.com/8KZN7ZpW and This is my "OreGeneration" java file. http://pastebin.com/2jvAYmrW
  23. Ok, but how do I do this then? Where do I need to put this "0"?
  24. Hi, I have a new block that is generated into everywhere there is sand. So what I did is: //world, rand, x, z, Minimal blocks to spawn, Maximal blocks to spawn, Chance to spawn, Minimal height to spawn, Maximal height to spawn, Block to spawn in[/Code] [Code]generateOre(Chef.oreSeaSaltOre, world, rand, x, z, 4, 8, 80, 50, 100, Blocks.sand);[/Code] But I actually want that this spawns into normal sand only, not into red sand. What do I do? Thanks for helping.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.