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. Hi, I want to know how to check how many days you have been playing on a minecraft world. How do I do this? Thanks.
  2. Hi, I want something to happen every tick in the world. Is there any event for this? Thanks.
  3. Can I see the whole class?
  4. Ok, but that doesn't solve the problem?
  5. Hi, I am wondering why some of my world generated trees float 1 or 2 blocks above the surface (mostly above a tall grass block) Thanks for helping. TreeGeneration: http://pastebin.com/szPPpw49 WorldGenMangoTree: http://pastebin.com/fkMc8jPX
  6. Hi, I have a block, and I want to see if it is raining on that block, or if the block gets sunlight. How do I do this?
  7. Oh, damn! Sorry, I think a was pretty tired at that moment. I've downloaded the latest version of forge at: http://files.minecraftforge.net/fml/1.8.
  8. Could you tell me where the livingDropsEvent.java is located?
  9. Yes, like 'LivingDropsEvent' (that class does not exists anymore). MinecraftForge.EVENT_BUS.register(new BlockDrops());[/Code] Does not exists as well.
  10. Hi, since forge 1.8 has updated to the new version (8.0.81.1079), I've errors in my java project. I used events (when you break a block, when you kill a mob,...) but that does not work anymore. Also MinecraftForge.EVENT_BUS.register(new BlockDrops());[/Code] does not work. I don't know how to do that in the new forge version, can anyone help me out? Thanks for helping.
  11. My bad. http://pastebin.com/v7JiAFPA
  12. Ok, there you go. http://pastebin.com/uhwzD3P2 We'll continue tomorrow, I am leaving now :-).
  13. Done that. Do you need the code?
  14. Hi, I have some problems with my TileEntity and changing the States of the block: -- 1 -- I have a problem where my amount of ice (kind of fuel here) alternates between the actual value and a previous value. I put several debug.console statements in my code to try to find where the previous value comes from. But if I open the gui of the icemaker, the values in de console stops alternating. Then it will show the right values. When It shows the right values, and you go out of the GUI, it will remain the right values. -- 2 -- The block does not update to the active state when it is running. Its just the 'off' state of the block. The block does not updates to another state when I put more ice inside of the block. It should change the state, depending on how much Ice there's in the machine. --------------- I don't know what I am doing wrong. I've searched for hours to find a solution, but nothing works. I hope someone can help me. Thanks. Block class: http://pastebin.com/JM2xFED7 TileEntity: http://pastebin.com/rbzsYTLa Console: http://pastebin.com/RacE28G9
  15. Store the data in a TileEntity. Can you explain this a little bit more please?
  16. At the moment? - Are they gonna change the metadata? - Is there no other way to do this?
  17. Post your code of the ItemMask class again.
  18. Hi, After reading https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/java/minecraftbyexample/mbe03_block_variants/BlockVariants.java#L212 I still have problems understanding how to use/write getMetadataFromState and getStateFromMetadata. I want to have my block updated on the outside depending on how much fuel (in my case, ice) is left, actually I want to show kind of a progress bar on the outside of my block by using different textures. At the moment I am using JSON blockstate files with variants: 'facing=north,ice=ice2',... But I don't get it to work. Does anyone know how to do this or has any tips to get started again? Thanks in advance. JSON blockstate file: http://pastebin.com/1TQH21mm IceCreamMaker.java: (Block class) http://pastebin.com/3QDhFwsK
  19. Hi, When minecraft starts, the console gives an error: [12:21:40] [Client thread/WARN]: Unable to load definition chef:ice_cream_maker#facing=north,ice=ice2 java.lang.RuntimeException: Encountered an exception when loading model definition of 'chef:ice_cream_maker#facing=north,ice=ice2' from: 'chef:blockstates/ice_cream_maker.json' in resourcepack: 'FMLFileResourcePack:Master Chef'[/Code] I don't know why, but the block-texture does not load. I think the JSON is correct. JSON blockstate: http://pastebin.com/NxsmS7bX Block Class: http://pastebin.com/11k2W3ww Thanks.
  20. - Ok. - No, I will take a look at that.
  21. This tutorial will also show you how to do this. It is for 1.7, but It works fine with 1.8 (If you change a few things). And yes, you should have googled that first: At 10.37
  22. What version of forge are you using?
  23. Hi, Do you have registered the TileEntity in the main class -> preInit? Copy paste this to register your TileEntity class if you do not have registered it yet. GameRegistry.registerTileEntity(TileEntityMelter.class, "Melter");[/Code] Hope this helps.

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.