Interface SafePetRunnable

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SafePetRunnable
Runnable that doesn't include the pet instance, so it can be executed when the player is not in a level.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(String entityValue, Field entityName, net.minecraft.world.entity.EntityType<?> entityType, Optional<PetSkin> entitySkin)