Interface IPlaybackArea
- All Known Implementing Classes:
BoxPlaybackArea
,EntityTypeRidingPlaybackArea
,RadiusPlaybackArea
,SpecificEntityRidingPlaybackArea
public interface IPlaybackArea
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canPlayForPlayer
(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player) Check if the player matches the criteria.
-
Method Details
-
canPlayForPlayer
boolean canPlayForPlayer(net.minecraft.world.level.Level level, net.minecraft.world.entity.player.Player player) Check if the player matches the criteria.- Parameters:
level
- The current world level.player
- The player to check.- Returns:
true
if the player matches the given criteria,false
otherwise.
-