Interface Raider

    • Method Detail

      • getPatrolTarget

        @Nullable
        @Nullable Block getPatrolTarget()
        Gets the block the raider is targeting to patrol.
        Returns:
        target block or null
      • setPatrolTarget

        void setPatrolTarget​(@Nullable
                             @Nullable Block block)
        Sets the block the raider is targeting to patrol.
        Parameters:
        block - target block or null. Must be in same world as the entity
      • isPatrolLeader

        boolean isPatrolLeader()
        Gets whether this entity is a patrol leader.
        Returns:
        patrol leader status
      • setPatrolLeader

        void setPatrolLeader​(boolean leader)
        Sets whether this entity is a patrol leader.
        Parameters:
        leader - patrol leader status
      • isCanJoinRaid

        boolean isCanJoinRaid()
        Gets whether this mob can join an active raid.
        Returns:
        CanJoinRaid status
      • setCanJoinRaid

        void setCanJoinRaid​(boolean join)
        Sets whether this mob can join an active raid.
        Parameters:
        join - CanJoinRaid status