
Everything posted by Kokkie
-
[1.12] Texture Issue. Please Help
Show your model registration code and the models itself
-
[1.8.9] How to render image in top left corner of screen?
I forgot he extended that...
-
[1.12] Can not register to a locked registry
It means a field/method etc. is static. You need to call using the variable as a parameter.
-
[1.8.9] How to render image in top left corner of screen?
That's because it isn't static, try Minecraft.getMinecraft().ingameGUI.
-
[1.8.9] How to render image in top left corner of screen?
Gui.drawString(...)
-
[1.8.9] How to render image in top left corner of screen?
Try using Gui.drawTexturedModalRect(...).
-
[1.12] Can not register to a locked registry
Sorry, didn't look well enough... And please don't talk about abusive... Sorry that was just.. Something...
-
[1.12] Can not register to a locked registry
Also, you tried to make an import static, nice java knowledge mate...
-
[1.12] Can not register to a locked registry
Do you know java?
-
[1.12] Send a command
How would I do it then?
-
[1.12] Send a command
I'm just playing around with key bindings and making it call the help command.
-
[1.12] Send a command
How can I obtain a GuiScreen to use? BTW I need to use it in the KeyInputEvent event...
-
[1.10.2] Jump on right click
Look at what EntityPlayer.jump()does.
-
[1.12] Send a command
Do you mean addChatMessage?
-
[1.12] Send a command
Hello, I want to let a player send a command, but can't get it working.. So how can I let a player send a command (the help command in this case)?
-
[1.12]The query whether a player has a Advancement
You'll have to look yourself, here's the AdvancementManager: Minecraft.getMinecraft().player.connection.getAdvancementManager().
- [1.12] Add crafting recipes
-
[1.12] Add crafting recipes
Forge checks if the block/item has a subitem, if it has it looks for the data you provided in the json file. If you didn't provide any data, instead of just passing 0 which would be logical to do, it ignores the whole file and throws an exception. But if you do provide the data it doesn't throw any exception and just continues, so it (obviously) doesn't show up in the logs/console. Anyway, great to see I could help.
-
[1.12] Add crafting recipes
I don't know what causes it, or if it is blocks only because for me, it works fine for vanilla items. Here's my json file... { "result": { "item": "am:line_button" }, "pattern": [ " s ", "sbs", "sss" ], "type": "minecraft:crafting_shaped", "key": { "s": { "item": "am:steel_ingot" }, "b": { "item": "minecraft:stone_button" } } } Let me try changing it to stone... Nope, doesn't work for stone... Maybe it has something to do with the block metadata? Because sand and stone both have other blocks using meta... Jup, that was it.. Actually looking at the code printing the error in the console that's exactly the thing... Take a look: if (item.getHasSubtypes() && !json.has("data")) throw new JsonParseException("Missing data for item '" + itemName + "'"); So, you need to add "data": 0 to your file.
-
[1.12] Registering for Dummies [Solved]
If you want you can change the title to: [1.12] Registering for Dummies [Solved] You don't have to. To change the title, edit the first post and change the title of the post.
-
[1.8.9]Optifine 1.8.9 install on Forge MDK
You've got a point there...
-
[1.8.9]Optifine 1.8.9 install on Forge MDK
It will probably work for 1.8.9 as well...
-
[1.8.9]Optifine 1.8.9 install on Forge MDK
http://lmgtfy.com/?q=optifine+source The first link...
-
[1.8.9]Optifine 1.8.9 install on Forge MDK
Hacked clients aren't supported on this forum.
-
GameRegistry.register problem(beginner)
You should use events to register instead of GameRegistry.register(...).
IPS spam blocked by CleanTalk.