Everything posted by Draco18s
-
MC 1.12.2 Slabs not rendering in inventory [SOLVED]
You want your block to display in the inventory? It needs an inventory variant. QED
-
MC 1.12.2 Slabs not rendering in inventory [SOLVED]
You don't have an inventory or normal variant in your blockstate file.
-
MC 1.12.2 Slabs not rendering in inventory [SOLVED]
Yes. Read your error:
-
[1.12.2] Registering Items and Blocks?
Yes
-
[1.12.2] Registering Items and Blocks?
Well, that's wrong, obviously. You want to register with events? Write an event handler. http://mcforge.readthedocs.io/en/latest/concepts/registries/#registering-things
-
[1.12.2] Checking a Specific Container for Items
You're tracking a total amount of dust found, but you're returning it before every slot has been checked (or if a slot is the wrong item, returning 0).
-
[1.12.2] Issues with getting the player in HarvestDropsEvent
What was the value of state.getBlock() and the value of blockIn?
-
[1.12.2] Issues with getting the player in HarvestDropsEvent
Sooo...examine the variables at that point. Is the block the desired block? Is the event silk touch (or not)?
-
[1.12.2] Issues with getting the player in HarvestDropsEvent
Set a breakpoint somewhere else, like at the top of the event handler method. Your goal is to get the program to halt and let you examine why it is NOT going into a specific path, not put the break inside the path you want and then complain on the forums that it didn't go there. We already knew that.
-
[1.12.2] How to create a custom RendererLivingEntity client side
Yeah, the name changed. At least twice. EnumChatFormatting is the only one I remember.
-
Creating a library mod along with my main mod
Ah, yes, you can do it that way too. I did things the way I did things because it worked for me. I wanted to treat my codebase as "one mod" as they were all related to each other, but distribute as separate mods, so people could pick and choose. You should be able to, but I don't know how.
-
[1.12.2] Checking a Specific Container for Items
Ah, yes. You're correct. I saw the first return and missed that one
-
[1.12.2] Checking a Specific Container for Items
First item in the backpack is a rock. Not reagent item. Next! Second item in the backpack is a reagent item. int total = 0 + stack size. Return total! All done! (Hey...what about the 3rd, 4th, and 5th items?)
-
[1.12.2] Checking a Specific Container for Items
Pretty much. getSlots() tells you how many slots there are (0-indexed) and getStackInSlot(index) gets the stack in that slot.
- Creating a library mod along with my main mod
- Creating a library mod along with my main mod
- Creating a library mod along with my main mod
-
[Forge 1.12.2] Some explainations about Tessellator and VertexBuffer?
There's a lot of functions. They do things. To make it easier to perform OGL commands. You want to know HOW they work, you're going to have to open the class up and read...
- Creating a library mod along with my main mod
-
[1.12] ItemStack NBT data synchronised in SP but not MP?
It exists, but it will be overwritten without notice.
-
Creating a library mod along with my main mod
- [1.12] ItemStack NBT data synchronised in SP but not MP?
All data is server side, the client merely maintains a copy. You want to change the data...? Change it on the server.- Creating a library mod along with my main mod
- [Forge 1.12.2] Some explainations about Tessellator and VertexBuffer?
Its a wrapper around OpenGL commands. That's it.- [1.12.2] How to create a custom RendererLivingEntity client side
§c can be replaced with EnumChatFormatting.RED - [1.12] ItemStack NBT data synchronised in SP but not MP?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.