Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/06/19 in all areas

  1. You can cache the BufferBuilder results by doing the same thing that RenderChunk does. I’ll write you some example code in a bit because it’s relatively complicated and I have lots of experience but the basic idea is: 1) Render your data to your own BufferBuilder 2) Render your BufferBuilder from the event 3) Update the BufferBuilder when your data changes
    1 point
  2. Hi there! Looks like you're not actually drawing your background anywhere, just binding the texture. Try calling Gui#drawTexturedModalRect(...) in the drawScreen method .
    1 point
  3. If you're trying to do something that changes at a constant rate over time, you can do it using timestamps. What exactly is the goal?
    1 point
  4. Mojang uses "depreciated" in the Block class (and only in the block class) to mean "invoke this from a BlockState, however overriding this is fine"
    1 point
  5. 1. You might want to try looking at the vanilla bed and see how it handles it (manually sets and breaks adjacent bed block). 2. These indicate that you are not familiar with basic java. Please learn java before making a mod.
    0 points
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.