Class GeyserPlayerManager

java.lang.Object
java.util.AbstractMap<org.geysermc.geyser.session.GeyserSession,ac.boar.anticheat.player.BoarPlayer>
java.util.concurrent.ConcurrentHashMap<org.geysermc.geyser.session.GeyserSession,ac.boar.anticheat.player.BoarPlayer>
ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
ac.boar.geyser.player.GeyserPlayerManager
All Implemented Interfaces:
Serializable, ConcurrentMap<org.geysermc.geyser.session.GeyserSession,ac.boar.anticheat.player.BoarPlayer>, Map<org.geysermc.geyser.session.GeyserSession,ac.boar.anticheat.player.BoarPlayer>

public class GeyserPlayerManager extends ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
See Also:
  • Constructor Details

    • GeyserPlayerManager

      public GeyserPlayerManager()
  • Method Details

    • createNetworkSession

      protected ac.boar.api.anticheat.model.NetworkSession createNetworkSession(org.geysermc.geyser.session.GeyserSession session)
      Specified by:
      createNetworkSession in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
    • getConnection

      protected ac.boar.protocol.BoarConnection getConnection(org.geysermc.geyser.session.GeyserSession connection)
      Specified by:
      getConnection in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
    • getPlayerEntity

      protected ac.boar.mappings.entity.Entity getPlayerEntity(org.geysermc.geyser.session.GeyserSession session)
      Specified by:
      getPlayerEntity in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
    • getMappingInfo

      protected ac.boar.anticheat.player.data.BlockMappingInfo getMappingInfo(org.geysermc.geyser.session.GeyserSession session)
      Specified by:
      getMappingInfo in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
    • createWorldAccessor

      protected ac.boar.anticheat.player.accessor.WorldAccessor createWorldAccessor(org.geysermc.geyser.session.GeyserSession session)
      Specified by:
      createWorldAccessor in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
    • createEntityAccessor

      protected ac.boar.anticheat.player.accessor.EntityAccessor createEntityAccessor(org.geysermc.geyser.session.GeyserSession session)
      Specified by:
      createEntityAccessor in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
    • createInventoryAccessor

      protected ac.boar.anticheat.player.accessor.InventoryAccessor createInventoryAccessor(org.geysermc.geyser.session.GeyserSession session)
      Specified by:
      createInventoryAccessor in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
    • createDefaultAttributes

      protected Map<String,ac.boar.anticheat.data.vanilla.AttributeInstance> createDefaultAttributes()
      Specified by:
      createDefaultAttributes in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
    • createAckTransport

      protected ac.boar.anticheat.ack.BoarAcknowledgmentTransport createAckTransport(ac.boar.anticheat.player.BoarPlayer player)
      Specified by:
      createAckTransport in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>
    • beginTicking

      protected ScheduledFuture<?> beginTicking(org.geysermc.geyser.session.GeyserSession session, Runnable ticker)
      Specified by:
      beginTicking in class ac.boar.anticheat.player.BoarPlayerManager<org.geysermc.geyser.session.GeyserSession>