Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/05/23 in all areas

  1. You should be using Java 17; this says you are using Java 20.
    1 point
  2. a method checkDespawn will fire. override it and see yourself. this one is useful if you want to do some checks and decide whether to keep the entity or remove it. for simple cases maybe just override isPersistenceRequired and finito.
    1 point
  3. I copied the Totem of Undying event for my coin charm, and as you can see in line 113 it has the method removeAllEffects in there, so if you're building a similar event, simply don't add the method to prevent it from removing effects. https://github.com/toadie-odie/TodeCoins/blob/1.3.2/src/main/java/net/warrentode/todecoins/event/ModEvents.java
    1 point
×
×
  • Create New...

Important Information

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