Everything posted by Draco18s
-
[1.12.2] New Tool Crashing Game on Startup
Use the constructor that takes 2 floats.
-
[1.12.1] NBT Reading Problem
Tile Entities, when reconstructed from the save file on disk, are created using a zero-argument constructor (which yours does not have). This means that it is skipping the storage = new MEnergyStorage(capacity, transferSpeed); line, thus storage is null.
-
[1.12.1] NBT Reading Problem
>> No code posted > No help available
-
[1.12.2] Storing unique integer for custom entities?
You need to synchronize the capability from the server to the client yourself.
-
[Solved] [1.12] Tile entity inventory not syncing from server to client
I'm not 100% sure. Item stacks can't be null. Use ItemStack.EMPTY
-
[Solved] [1.12] Tile entity inventory not syncing from server to client
The block only needs to be updated if the TE data effects rendering (my block changes model states based on TE information, such as inventory).
-
1.12.2 missing tooltips in container gui
- [Solved] [1.12] Tile entity inventory not syncing from server to client
1) You may want to override getUpdateTag as well. 2) You need to call these whenever the server should send updates to the client.- How do i fix my tooltip thing?
You don't need that empty string between GRAY and ITALIC. Also, I18n.format() is a thing. I don't know why you're using your own localize function.- Help with directional blocks [1.12]
If you're doing log-y things, you might be interested in extending BlockLogsBase (IIRC).- 1.8 How to hide (forge) on F3?
Why?- [1.11.2] [SOLVED] TileEntity with inventory
Oh no. A custom class. The horror! https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/ores/entities/capabilities/MillableItemsHandler.java- Weird character when formatting in colours
Yep, you're doing it wrong. The TextFormatting enum is a thing. https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/flowers/item/ItemOreFlower1.java#L55- Weird character when formatting in colours
Show your code. You're probably doing it wrong.- 1.8 How to hide (forge) on F3?
Doing that would be Bad.- [1.11.2] [SOLVED] TileEntity with inventory
Custom ItemHandler classes.- problem using the middle button to copy a block into inventory
One of the following is true - The itemstack returned by getPickBlock is incorrect - The item model for the itemstack returned by getPickBlock has not been registered- 1.12.2 no more substitution aliases?
Unfixable. You shouldn't have to, and it's because you've set its unlocalized name wrong. See how it says "item.item"?- [1.12] Get harvest level of Tinker Tool?
- Chest Render
I'm not sure, its not something I've tried to do.- Chest Render
models/item is the inventory model, not the model used in the world. Anyway, you should be able to register the existing chest renderer for your own block.- [SOLVED] [1.12] Gui not showing tool tips.
https://github.com/Draco18s/ReasonableRealism/commit/76730b3dd6035c646b8e3b2868e60796fe97a372#diff-ecd6aa9809a7f09399baad4b9a0c314f- Chest Render
"It's not working" because chests don't use the JSON model system. They have an animated TESR model.- [1.12] Get harvest level of Tinker Tool?
...you don't know what that first parameter is for do you? Or why its important for things like Tinkers.- Question about a method
Use an ArrayList. - [Solved] [1.12] Tile entity inventory not syncing from server to client
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.