Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/01/20 in all areas

  1. So your slots cover 0-44, player inventory is 45-71, and hotbar 72-80. Your transfer method override only checks if index is storage, move to storage, else try and merge to storage. So you don't have any logic to move into the player inventory.
    1 point
  2. You have to override canBreatheUnderwater and make it return true always. Anyway if you are making a fish like entity, why not taking a look at how vanilla implements water mobs? You can find useful information in the classes: AbstractFishEntity, WaterMobEntity and GuardianEntity
    1 point
  3. In addition, you could store the supplier in a Lazy. What they essentially do is use the supplier once to grab the item and then keep the first accessed result. This makes the result deterministic and unchangeable (which is pretty much what you're going for).
    1 point
  4. Use a Supplier<Item>, same way you would for TabGroups.
    1 point
  5. If you're using IDE RunConfigs, or running the Gradle tasks in two separate terminal instances, I think so
    1 point
  6. 1 point
×
×
  • Create New...

Important Information

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