Schnittstelle IPlaybackArea
- Alle bekannten Implementierungsklassen:
BoxPlaybackArea,EntityTypeRidingPlaybackArea,RadiusPlaybackArea,SpecificEntityRidingPlaybackArea
public interface IPlaybackArea
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleancanPlayForPlayer(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:
trueif the player matches the given criteria,falseotherwise.
-