Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard

Popular Content

Showing content with the highest reputation on 11/17/20 in all areas

  1. Here is what I would do: override the canInteractWith() method in your custom container, and return false if the player is no longer holding your storage item.
    1 point
  2. Same with immersive engineering. Check for an update, as far as I know there is one.
    1 point
  3. You could perhaps store the buttons you want to change in an extra list, and then just iterate through that list and update the buttons when you want to perform the update.
    1 point
  4. You cannot have a global variable as a counter, since that will mess things up if several players use your item at the same time. I would recommend adding a capability, either to the player or to your custom item, which could hold your timer. You can read more about capabilities here.
    1 point
  5. What's the condition of changing the texts? If it's your own screen I think Screen#tick might be what are you looking for.
    1 point


  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.