Class ItemEntityHooks

java.lang.Object
dev.architectury.hooks.level.entity.ItemEntityHooks

public final class ItemEntityHooks extends Object
  • Method Details

    • lifespan

      public static IntValue lifespan(net.minecraft.world.entity.item.ItemEntity entity)
      The lifespan of an ItemEntity. Fabric: Since it doesn't have this, the value will be a readable-only value of 6000. Forge: Value of lifespan of the forge hook.