Everything posted by Kander16
-
[1.8] How to check what the minecraft world date is?
Thanks.
-
[1.8] How to check what the minecraft world date is?
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.
-
[1.8] onWorldTick?
Hi, I want something to happen every tick in the world. Is there any event for this? Thanks.
-
[1.8] Missunderstanding setHarvestLevel
Can I see the whole class?
-
Why does some of my trees floats 1 or 2 blocks above ground?
Ok, but that doesn't solve the problem?
-
Why does some of my trees floats 1 or 2 blocks above ground?
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
-
[1.8] Check if a block gets hit by rain/has sun light
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?
-
[1.8] Events, where are they?
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.
-
[1.8] Events, where are they?
Could you tell me where the livingDropsEvent.java is located?
-
[1.8] Events, where are they?
Yes, like 'LivingDropsEvent' (that class does not exists anymore). MinecraftForge.EVENT_BUS.register(new BlockDrops());[/Code] Does not exists as well.
-
[1.8] Events, where are they?
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.
-
[1.8] TileEntity & Blockstate problems
My bad. http://pastebin.com/v7JiAFPA
-
[1.8] TileEntity & Blockstate problems
Ok, there you go. http://pastebin.com/uhwzD3P2 We'll continue tomorrow, I am leaving now :-).
-
[1.8] TileEntity & Blockstate problems
Done that. Do you need the code?
-
[1.8] TileEntity & Blockstate problems
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
-
[1.8] getMetadataFromState & getStateFromMetadata is confusing me.
Thanks.
-
[1.8] getMetadataFromState & getStateFromMetadata is confusing me.
Store the data in a TileEntity. Can you explain this a little bit more please?
-
[1.8] getMetadataFromState & getStateFromMetadata is confusing me.
At the moment? - Are they gonna change the metadata? - Is there no other way to do this?
-
[1.8] Armor won't repair
Post your code of the ItemMask class again.
-
[1.8] getMetadataFromState & getStateFromMetadata is confusing me.
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
-
[1.8] Unable to load definition
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.
-
[1.8] Unable to play unknown soundEvent
- Ok. - No, I will take a look at that.
-
[1.8]Melter GUI wont show anything
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
-
Export/build Error
What version of forge are you using?
-
[1.8]Melter GUI wont show anything
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.
IPS spam blocked by CleanTalk.