Everything posted by Draco18s
-
Capability not load to GUI when restart game
You need to use packets to synchronize the value (known on the server) to the client (so your gui knows what it is)
-
Changing the texture of an already existing block
Is it your block? Use block states
-
[1.12.2] When is block tinting updated?
Any block update that also tells the client to re-render the block (not all block updates do)
-
[1.12.2] When is block tinting updated?
Whenever the chunk needs a rerender. Note that I don't mean a render frame, but when the chunk "model" itself is out of date and needs to be refreshed.
-
[1.12.2] Blockstate with item transforms doesn't load
The "transform" tag applies to models. Blockstate files are not models.
-
Capabilities
That second line runs immediately after the first. What do you expect to happen?
- Capabilities
-
[1.12.2][GUI] Popup text element when hovered over a GUI location
https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/industry/client/gui/GuiContainerFilter.java#L165 Take a look at what I did
-
Minecraft 1.10 make the face of a custom block solid
Look at slabs and fence posts. isTopSolid and isSideSolid
-
[1.12.2][GUI] Popup text element when hovered over a GUI location
Buttons do this already. Just make that area a button.
-
[1.12.2][GUI] Popup text element when hovered over a GUI location
drawHoveringText
-
[solved][eclipse] Reloading code during debug
Happens automatically unless a method or class signature changes.
-
NoSuchMethodError: Minecraft.getMinecraft()
Ok, fair point
-
Adding Custom SpawnListEntry Object
Ok fine It's also used for the summon command Which is a string And strings is how you serialize things Also, the summon command uses JSON format. So no, you're still wrong.
-
[1.10.2] Checking the received damage from the item
http://mcforge.readthedocs.io/en/latest/events/intro/
-
Adding Custom SpawnListEntry Object
No its not. NBT is for serializing to disk. It's like JSON but more compressed. Stop using NBT.
-
[Solved] Compiling FML
Don't bother. You can run the game in Eclipse and you don't need to validate the "compiled jar." And there's a reason OptiFine is not compatible with Forge.
-
NoSuchMethodError: Minecraft.getMinecraft()
Or use EntityPlayer.openGui
-
[1.12.2] Unable to Store my Items in the Item Handler Capability [SOLVED]
Remove the List<ItemStack> Make it gone. You do not need it. Take it out. The ItemStackHandler contains its own List
-
[1.10.2] Loot pool #addPool --
Not sure off the top of my head.
-
[1.10.2] Loot pool #addPool --
Your loot table load event if-check will (just about) always be true. You're checking if(not-A || is-B)
-
[1.10.2] Custom Repair Item
When is init called relative to your item constructors? If you answer "I don't know" then you're doing everything wrong.
-
[Solved] Compiling FML
Ok, so the process goes like this: Fork Download your fork (use a proper git program, GitHub desktop works, but is not the greatest) Setup Write code GenPatches Push (the patches only!) to your fork. If you correctly forked and downloaded, Git will see the correct files that have been modified. Create Pull Request I have no idea what you are looking at. Not a clue. I also don't know what you mean by "your changes have no effect." No effect where?
-
[1.10.2] Loot pool #addPool --
Show your usage code.
-
[SOLVED] [1.12] Make certain players pass through block.
From what I remember doing something similar, essentially instantly. I created a "minecart rail bridge" block that wasn't solid unless the player was crouching. That would change from solid to not instantaneously when you stopped crouching.
IPS spam blocked by CleanTalk.