-
[!SOLVED!] [1.8] Getting localized block name
sorry, i forgot that i had a block instance already. Now, it works perfectly!
-
[!SOLVED!] [1.8] Getting localized block name
I am trying it now. But it gives me another error Non-static method 'getPickBlock(net.minecraft.util.MovingObjectPosition, net.minecraft.world.World, net.minecraft.util.BlockPos)' cannot be referenced from a static context
-
[!SOLVED!] [1.8] Getting localized block name
How can i properly get the localized block name? I used StatCollector.translateToLocal() but it didn't work (shows up as tile.stone. used substring but some blocks have weird names (oreIron instead of Iron Ore). And also, it isn't localized). Now, i'm trying to use getLocalizedName(). It works, with an exception of stone. Here is a gfy of what i am talking about: http://gfycat.com/MarriedIndelibleJanenschia And here is my code. https://github.com/Admicos/mcguimod/blob/master/java/cf/admicos/guimod/gui/InGameCustomGuiOverlay.java#L64
-
[1.8] Basic Ingame Gui
"Helpful stuff like FPS, Coordinates etc. Will be avaliable to you without a keypress!" Please note that this is my first-ish PUBLICLY AVAILABLE mod. I am not experienced with modding (nor English. I probably have some typos.) This mod is a Basic ingame gui. It shows FPS (colored!), Player position, current biome, position of the current block you're looking and the block you're looking. You can configure it to disable some elements, enable dark text (or remove color from fps. For some random reason) Screenshot: You can download this mod here or check out the source code here!
-
[1.6.2][Solved]Error on Register Block
uh! Maybe i am say Thanks in wrong comment Thanks!
-
[1.6.2][Solved]Error on Register Block
Thanks!
-
[1.6.2][Solved]Error on Register Block
Please give the correct code? Because im Understanding English very bad.
-
[1.6.2][Solved]Error on Register Block
You are not. Block ids are a byte + a nibble which is 4096 distinct values => 4095 is the max. id one can use. @ecbercnl: Your last error says you are trying to use an ItemId of 300456. ItemIds can be 32000 max. but im using 3000,3001 ... not 300000 EDIT: (well i dont see the id Really) but not solved Log 2:
-
[1.6.2][Solved]Error on Register Block
I am changed ids Again and i added functions in one class And error is not solved Heres My Code - http://gw.minecraftforge.net/V6Qi Heres My Func.java (GameRegister.blockRegister is here and i using function ) -http://gw.minecraftforge.net/hdSw Heres Block java - http://gw.minecraftforge.net/lN3x Heres error:
-
[1.6.2][Solved]Error on Register Block
I Changed ids but have a error again...
-
[1.6.2][Solved]Error on Register Block
(Sorry for bad English!) Hello! This is my first post... But i have an error in my mod. Here the codes and log from Eclipse! The Code: Main Class - http://gw.minecraftforge.net/Jw8u Block Class - http://gw.minecraftforge.net/Np3U The Error: (the eccore is only for server support)
IPS spam blocked by CleanTalk.