Everything posted by Draco18s
-
Really Simple Code Issue
Go here: http://files.minecraftforge.net/ Click on a version that's newer. Download the latest MDK for that version. Everything else will pretty much be the same. There will be some alterations in how some things are done, but it's all available on the forums.
-
Really Simple Code Issue
You should update to at least 1.8.9, ideally 1.10.2 or even 1.11 at this point.
-
[1.8.9] Extending the Chat Character limit to 256
I don't know, then.
-
[1.8.9] Extending the Chat Character limit to 256
Well yes. Because that value is not static and a new GuiChat screen is created every time the chat is opened. So you will have to wait for it to be open, then change it. You can't do it in the mod initialization phases.
-
[1.8.9] Extending the Chat Character limit to 256
You are running this code client side only yes?
-
[1.8.9] Extending the Chat Character limit to 256
Oh jesus fucking christ. I even GAVE you an example of how to use it. It gives you back a typed object that has all the publicly accessible objects you'd want for an object of that type. Stop casting it to Object.
-
[1.8.9] Extending the Chat Character limit to 256
Sorry, it's called "get" Alternatively you can use the ReflectionHelper class. Although I do advise referencing things by name (which means you'll have to use MCPBot to get the SRG name as well) rather than by index. The index might change unexpectedly. For example: DamageSource damage = ReflectionHelper.getPrivateValue(LootContext.class, context, "damageSource","field_186503_f");
-
[1.8.9] Extending the Chat Character limit to 256
More reflection. Specifically getValue . And if the method you need to invoke is also private, you'll have to use invoke
-
[1.10.2] See-through glass-like block acts as an x-ray, help needed
public boolean isOpaqueCube(IBlockState state) { return false; }
-
How to add food (1.10.2)
extend ItemFood
-
[1.8.9] Extending the Chat Character limit to 256
Is it a variable? Access it with reflection. Is it a hard coded value? Tough luck, can't do it.
-
Issues giving a custom item a name
Sorry, thought they were.
-
Issues giving a custom item a name
*Cough*
-
[1.8.9] Weird Problems with custom Dimension [SOLVED]
Ah, yes, you are correct. I had assumed that if the entity wasn't null, then that method was probably safe.
-
[1.8.9] Weird Problems with custom Dimension [SOLVED]
So it errors on d6 = (double)(blockpattern$patternhelper.func_181117_a().getY() + 1) - entityIn.func_181014_aG().yCoord * (double)blockpattern$patternhelper.func_181119_e(); ? And I mean that line exactly. Because if so, there's literally nothing there that could be null: every object referenced on that line has already been referenced on a previous line.
-
Issues giving a custom item a name
Your lang file does not contain an entry for cheese: https://bitbucket.org/kitsushadow/forgecraft/src/0c6cb00316b3d00b05a01a68c11c7a3ec042e8f9/1.10.2/src/main/resources/assets/forgecraft/lang/en_US.lang?at=master&fileviewer=file-view-default This asset directory is wrongly named and nothing inside it will be used: https://bitbucket.org/kitsushadow/forgecraft/src/0c6cb00316b3d00b05a01a68c11c7a3ec042e8f9/1.10.2/src/main/resources/assets.forgecraft/?at=master
-
1.11 custom mob is invisible
No where did you register a renderer. That only tells the game "I am a thing that exists." It doesn't magically know about your fox.png file or what to do with it.
-
[1.11] ModelLoader Exception.
Show your registration code.
-
Block texture not working (1.10.2) [Solved]
Caused by: java.io.FileNotFoundException: ftl:models/item/gooseberry.json
-
[1.8.9] Entity creates lag in game and walks into blocks
Shift F3
-
[1.8.9] Weird Problems with custom Dimension [SOLVED]
...and which line of that stupidly large method is line 158? Look at that line. Find the thing that is null. Figure out why.
-
[1.10.2]TileEntity not Working properly (page 2)
If its not syncing with the server, you need to make it sync with the server. Usually involves packets.
-
[1.10.2]TileEntity not Working properly (page 2)
- Texture not loading in minecraft
1.7.10 is no longer supported by Forge- Odd Eclipse Error. Textures wont render and I get [TEXTURE ERROR]
intellicraft:items/titaniumingot != intellicraft:item/titaniumingot - Texture not loading in minecraft
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.