Interface AfterAssigningTraitSolver

All Known Subinterfaces:
IPlatformHelper

public interface AfterAssigningTraitSolver
Called after assigning traits to a living entity.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    solveAfterAssigningTrait(net.minecraft.world.entity.LivingEntity livingEntity, Map<net.minecraft.core.Holder<TraitType>,net.minecraft.core.Holder<Trait>> map, Predicate<net.minecraft.core.Holder<Trait>> hasTrait)
     
  • Method Details

    • solveAfterAssigningTrait

      void solveAfterAssigningTrait(net.minecraft.world.entity.LivingEntity livingEntity, Map<net.minecraft.core.Holder<TraitType>,net.minecraft.core.Holder<Trait>> map, Predicate<net.minecraft.core.Holder<Trait>> hasTrait)
      Parameters:
      livingEntity - the living entity
      map - the trait map
      hasTrait - whether the living entity has the trait