Interface EntitySubPredicate

All Known Implementing Classes:
EntitySubPredicates.EntityHolderVariantPredicateType.Instance, EntitySubPredicates.EntityVariantPredicateType.Instance, FishingHookPredicate, LightningBoltPredicate, PiglinNeutralArmorEntityPredicate, PlayerPredicate, RaiderPredicate, SlimePredicate

public interface EntitySubPredicate
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<EntitySubPredicate>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.mojang.serialization.MapCodec<? extends EntitySubPredicate>
     
    boolean
    matches(Entity p_218828_, ServerLevel p_218829_, Vec3 p_218830_)