Schnittstelle IPlaybackArea

Alle bekannten Implementierungsklassen:
BoxPlaybackArea, EntityTypeRidingPlaybackArea, RadiusPlaybackArea, SpecificEntityRidingPlaybackArea

public interface IPlaybackArea
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    canPlayForPlayer(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player)
    Check if the player matches the criteria.
  • Methodendetails

    • canPlayForPlayer

      boolean canPlayForPlayer(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player)
      Check if the player matches the criteria.
      Parameter:
      level - The current world level.
      player - The player to check.
      Gibt zurück:
      true if the player matches the given criteria, false otherwise.