Interface SoulboundFakePlayerCallback

All Superinterfaces:
Predicate<net.minecraft.server.level.ServerPlayer>

public interface SoulboundFakePlayerCallback extends Predicate<net.minecraft.server.level.ServerPlayer>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.fabricmc.fabric.api.event.Event<SoulboundFakePlayerCallback>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(net.minecraft.server.level.ServerPlayer player)
     

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Field Details

  • Method Details

    • test

      boolean test(net.minecraft.server.level.ServerPlayer player)
      Specified by:
      test in interface Predicate<net.minecraft.server.level.ServerPlayer>
      Returns:
      whether the player is a fake player and should not apply soulbound enchantment effects