MCPcopy Create free account

hub / github.com/Photon-GitHub/AntiCheatAddition / functions

Functions1,097 in github.com/Photon-GitHub/AntiCheatAddition

↓ 2 callersMethodsetHidden
Sets fully and equip hidden {@link Player}s for a {@link Player}. Can be called asynchronously.
src/main/java/de/photon/anticheataddition/util/visibility/PlayerVisibility.java:15
↓ 2 callersMethodsetHiddenEntities
Hides entities from a {@link Player}. This method is thread-safe.
src/main/java/de/photon/anticheataddition/util/visibility/PlayerInformationHider.java:101
↓ 2 callersMethodsetToFuture
Sets this {@link Timestamp} to a time in the future.
src/main/java/de/photon/anticheataddition/user/data/Timestamp.java:35
↓ 2 callersMethodshouldSpoof
(EntityType entityType)
src/main/java/de/photon/anticheataddition/modules/additions/DamageIndicator.java:98
↓ 2 callersMethodsub
(int integer)
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:89
↓ 2 callersMethodswiftSneakLevel
(Player player)
src/main/java/de/photon/anticheataddition/user/data/batch/ScaffoldBatch.java:59
↓ 2 callersMethodteleportOrWorldChangeBypassed
(User user)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/Inventory.java:42
↓ 2 callersMethodtestSortedNormalized
(double[] sortedNorm)
src/main/java/de/photon/anticheataddition/util/mathematics/KolmogorovSmirnov.java:110
↓ 2 callersMethodupdateBrand
(final Player player)
src/main/java/de/photon/anticheataddition/modules/additions/BrandHider.java:49
↓ 1 callersMethodaccumulate
Accumulates {@code other} into {@code this}.
src/main/java/de/photon/anticheataddition/user/data/subdata/LookPacketData.java:125
↓ 1 callersMethodadd
(E element)
src/main/java/de/photon/anticheataddition/util/datastructure/SetUtil.java:63
↓ 1 callersMethodaddBrandChannelMessage
(String message)
src/main/java/de/photon/anticheataddition/user/data/subdata/BrandChannelData.java:18
↓ 1 callersMethodaddChildCommand
Add a single line to the command help.
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:141
↓ 1 callersMethodaddExternalModule
(final Module externalModule)
src/main/java/de/photon/anticheataddition/modules/ModuleManager.java:113
↓ 1 callersMethodaddVL
(@NotNull Player player, int vl)
src/main/java/de/photon/anticheataddition/util/violationlevels/DetectionManagement.java:61
↓ 1 callersMethodaddVL
(@NotNull Player player, int vl)
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationAggregation.java:54
↓ 1 callersMethodaddVL
(@NotNull Player player, int vl)
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationLevelManagement.java:70
↓ 1 callersMethodareChunksLoadedBetweenLocations
Checks if the chunks between two locations are loaded without trying to load them. This method should be used to see if a calculation is safe for asyn
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:113
↓ 1 callersMethodaverageMultiplier
(double averageTicks)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/AverageHeuristicBatchProcessor.java:92
↓ 1 callersMethodbreakingTime
(User user)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/InventoryMove.java:64
↓ 1 callersMethodbuild
(Player player, String moduleId, int vl)
src/main/java/de/photon/anticheataddition/events/ViolationEvent.java:27
↓ 1 callersMethodbukkitSetup
()
src/main/java/de/photon/anticheataddition/util/log/Log.java:82
↓ 1 callersMethodcacheEntity
(LivingEntity entity)
src/main/java/de/photon/anticheataddition/util/protocol/LivingEntityIdLookup.java:58
↓ 1 callersMethodcacheEntityId
(int entityId, EntityType entityType)
src/main/java/de/photon/anticheataddition/util/protocol/LivingEntityIdLookup.java:71
↓ 1 callersMethodcalculateDelay
Calculates the time needed to place one block.
src/main/java/de/photon/anticheataddition/modules/checks/tower/TowerBatchProcessor.java:63
↓ 1 callersMethodcalculateMinExpectedDelay
(ScaffoldBatch.ScaffoldBlockPlace old, ScaffoldBatch.ScaffoldBlockPlace current, boolean moonwalk)
src/main/java/de/photon/anticheataddition/modules/checks/scaffold/ScaffoldAverageBatchProcessor.java:75
↓ 1 callersMethodcalculateRecentAngleStatistics
Computes aggregated statistics (sum, variance, list) of all rotation magnitudes that occurred within the configured time‑window.
src/main/java/de/photon/anticheataddition/user/data/subdata/LookPacketData.java:75
↓ 1 callersMethodcanBeLegit
Used to acknowledge if somebody can be legit. I.e. that players can scroll very fast, but then the neighbor slot is always the one that gets called ne
src/main/java/de/photon/anticheataddition/modules/checks/fastswitch/Fastswitch.java:34
↓ 1 callersMethodchangedHitboxMaterialsPresent
(User user)
src/main/java/de/photon/anticheataddition/modules/checks/packetanalysis/PacketAnalysisEqualRotation.java:35
↓ 1 callersMethodcheckSync
(@NotNull Callable<Boolean> task)
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:35
↓ 1 callersMethodclose
()
src/main/java/de/photon/anticheataddition/util/log/Log.java:109
↓ 1 callersMethodcombineTwoObjectsToStart
<p>Combines two element according to a BiFunction.</p> <p>This will take combine n elements to n-1 elements.</p> <p>It will call the combiner functio
src/main/java/de/photon/anticheataddition/util/datastructure/batch/BatchPreprocessors.java:139
↓ 1 callersMethodcorrectToolType
(Material material, Material tool)
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:69
↓ 1 callersMethodcreateModuleLoader
()
src/main/java/de/photon/anticheataddition/modules/Module.java:77
↓ 1 callersMethodcreateViolationManagement
()
src/main/java/de/photon/anticheataddition/modules/ViolationModule.java:33
↓ 1 callersMethoddeactivate
()
src/main/java/de/photon/anticheataddition/modules/Module.java:63
↓ 1 callersMethoddeleteLines
(final List<String> lines, int startPosition, int lineCount)
src/main/java/de/photon/anticheataddition/util/config/ConfigurationRepresentation.java:25
↓ 1 callersMethoddisableVoiceChat
Just send this packet if the player joins the server to disallow the voice chat for the entire server.
src/main/java/de/photon/anticheataddition/util/pluginmessage/labymod/LabyProtocolUtil.java:43
↓ 1 callersMethoddistanceBetweenSlots
Calculates the distance between two raw slots. @param rawSlotOne the first (raw) slot @param rawSlotTwo the second (raw) slot @param inventory the i
src/main/java/de/photon/anticheataddition/util/inventory/InventoryUtil.java:77
↓ 1 callersMethoddistanceToLastClickedSlot
Calculates the distance between the last clicked slot and the current clicked slot. @param user The user performing the click. @param event The inve
src/main/java/de/photon/anticheataddition/modules/checks/inventory/InventoryMultiInteraction.java:40
↓ 1 callersMethodevaluateSuspicion
Analyzes a swap action's context to determine if it is suspicious. Flags violations based on tool correctness, delay thresholds, ping, and streaks. @
src/main/java/de/photon/anticheataddition/modules/checks/autotool/AutoTool.java:161
↓ 1 callersMethodexecute
(CommandSender sender, Queue<String> arguments)
src/main/java/de/photon/anticheataddition/commands/MainCommand.java:54
↓ 1 callersMethodexecute
This contains the code that is actually executed if everything is correct.
src/main/java/de/photon/anticheataddition/commands/InternalCommand.java:165
↓ 1 callersMethodexecuteThresholds
Used to execute the commands of the {@link Threshold}s in this {@link MultiThresholds}.
src/main/java/de/photon/anticheataddition/util/violationlevels/threshold/ThresholdManagement.java:51
↓ 1 callersMethodfinishedSwap
()
src/main/java/de/photon/anticheataddition/modules/checks/autotool/AutoTool.java:74
↓ 1 callersMethodformat
(LogRecord logRecord)
src/main/java/de/photon/anticheataddition/util/log/ConsoleLogHandler.java:14
↓ 1 callersMethodformat
(LogRecord logRecord)
src/main/java/de/photon/anticheataddition/util/log/DebugUserLogHandler.java:14
↓ 1 callersMethodfromClickEvent
(final InventoryClickEvent event)
src/main/java/de/photon/anticheataddition/user/data/batch/InventoryBatch.java:28
↓ 1 callersMethodfromEvent
(PlayerInteractEvent e)
src/main/java/de/photon/anticheataddition/modules/checks/autotool/AutoTool.java:57
↓ 1 callersMethodfromOBC
(String classPath)
src/main/java/de/photon/anticheataddition/util/reflection/Reflect.java:38
↓ 1 callersMethodgaussianSumFormulaTo
Calculates the sum of the elements from 0 to n. @param n the maximum number to sum to (0, 1, 2, 3, 4, ..., n)
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:54
↓ 1 callersMethodgenerateConfig
()
src/main/java/de/photon/anticheataddition/AntiCheatAddition.java:75
↓ 1 callersMethodgeneratePermissionsJson
()
src/main/java/de/photon/anticheataddition/util/pluginmessage/labymod/LabyModPermission.java:33
↓ 1 callersMethodgetAngleBetweenRotations
Calculates the angle between two rotations using {@link Vector}s. @return The angle between the two rotations in degrees.
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:171
↓ 1 callersMethodgetAutoStepMaterials
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:20
↓ 1 callersMethodgetBytesToSend
Gets the bytes that are required to send the given message @param messageKey the message's key @param messageContents the message's contents @r
src/main/java/de/photon/anticheataddition/util/pluginmessage/labymod/LabyProtocolUtil.java:76
↓ 1 callersMethodgetCameraLocations
(final Player player)
src/main/java/de/photon/anticheataddition/modules/additions/esp/ThirdPersonCameraCanSee.java:21
↓ 1 callersMethodgetChangedHitboxMaterials
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:24
↓ 1 callersMethodgetCursor
()
src/main/java/de/photon/anticheataddition/util/inventoryview/ModernInventoryViewUtil.java:66
↓ 1 callersMethodgetCustomPotionEffects
This method will get the {@link PotionEffect}s from an {@link ItemStack}. It checks whether the {@link ItemStack} is any potion ({@link Material#POTIO
src/main/java/de/photon/anticheataddition/modules/sentinel/exploits/IllegalPotionSentinel.java:29
↓ 1 callersMethodgetDebugUsers
()
src/main/java/de/photon/anticheataddition/user/User.java:125
↓ 1 callersMethodgetDiagonalSneakDelay
(double yaw)
src/main/java/de/photon/anticheataddition/modules/checks/scaffold/ScaffoldAverageBatchProcessor.java:90
↓ 1 callersMethodgetDistanceToFirstIntersectionWithBlock
Get to know where the {@link Vector} intersects with a {@link org.bukkit.block.Block}. Non-Occluding {@link Block}s as defined in {@link MaterialUtil#
src/main/java/de/photon/anticheataddition/util/minecraft/world/OcclusionUtil.java:51
↓ 1 callersMethodgetExpBottle
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:59
↓ 1 callersMethodgetHandlers
()
src/main/java/de/photon/anticheataddition/events/SentinelEvent.java:35
↓ 1 callersMethodgetLivingEntitiesAroundEntity
Gets all {@link LivingEntity}s around an {@link Entity} @param entity the entity from which the distance is measured @param hitbox the {@link Hitbox}
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:144
↓ 1 callersMethodgetMin
Returns the minimum recorded value, {@code Double.NaN} if any recorded value was NaN or {@code Double.POSITIVE_INFINITY} if no values were recorded. U
src/main/java/de/photon/anticheataddition/util/datastructure/statistics/DoubleStatistics.java:132
↓ 1 callersMethodgetNonOpenableInventories
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:33
↓ 1 callersMethodgetPartiallyIncludedBlocks
Gets all the {@link Block}s that this {@link HitboxLocation} is partially inside.
src/main/java/de/photon/anticheataddition/util/mathematics/Hitbox.java:132
↓ 1 callersMethodgetPassengers
Gets the passengers of an entity. This method solves the compatibility issues of the newer APIs with server version 1.8.8
src/main/java/de/photon/anticheataddition/util/minecraft/world/entity/EntityUtil.java:23
↓ 1 callersMethodgetSupportedVersions
()
src/main/java/de/photon/anticheataddition/util/visibility/PlayerInformationHider.java:69
↓ 1 callersMethodgetSupportedVersions
()
src/main/java/de/photon/anticheataddition/util/visibility/legacy/LegacyPlayerHider.java:32
↓ 1 callersMethodgetTPS
Gets the current TPS of the server.
src/main/java/de/photon/anticheataddition/util/minecraft/tps/TPSProvider.java:10
↓ 1 callersMethodgetVL
(@NotNull UUID uuid)
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationLevelManagement.java:51
↓ 1 callersMethodgetVl
(ViolationCounter misClickCounter, double variance, double averageMillis)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/AverageHeuristicBatchProcessor.java:76
↓ 1 callersMethodhandleHorizontalChecks
(BlockPlaceEvent event, User user, BlockFace face)
src/main/java/de/photon/anticheataddition/modules/checks/scaffold/Scaffold.java:113
↓ 1 callersMethodhandleJump
(User user, PlayerMoveEvent event)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/InventoryMove.java:147
↓ 1 callersMethodhandleLog
(final long currentTime)
src/main/java/de/photon/anticheataddition/modules/additions/LogBot.java:60
↓ 1 callersMethodhandleSentSkinMask
Updates the saved skin components. @return true if there was already a skin mask saved before, and it differs from the new skin mask.
src/main/java/de/photon/anticheataddition/modules/checks/skinblinker/SkinBlinkerSprinting.java:52
↓ 1 callersMethodhasChangedWorldsRecently
Determines if this {@link User} has recently changed worlds. @param milliseconds the amount of time in milliseconds that should be considered.
src/main/java/de/photon/anticheataddition/user/User.java:323
↓ 1 callersMethodhasClickedInventoryRecently
Determines if this {@link User} has recently clicked in an {@link Inventory}. @param milliseconds the amount of time in milliseconds in which the {@l
src/main/java/de/photon/anticheataddition/user/User.java:245
↓ 1 callersMethodhasPermission
This checks if a {@link Permissible} has a certain permission. @param permissible the {@link Permissible} who should be checked @param permission th
src/main/java/de/photon/anticheataddition/InternalPermission.java:31
↓ 1 callersMethodhasSprintedRecently
Checks if this {@link User} has sprinted recently @param milliseconds the amount of time in milliseconds that should be considered. @return true if
src/main/java/de/photon/anticheataddition/user/User.java:276
↓ 1 callersMethodheuristicScalars
(final double distance)
src/main/java/de/photon/anticheataddition/util/minecraft/world/OcclusionUtil.java:98
↓ 1 callersMethodhideInformation
(User user, WrapperPlayServerEntityEquipment wrapper, int entityId, ItemStack item)
src/main/java/de/photon/anticheataddition/modules/additions/informationhider/InformationHiderModule.java:44
↓ 1 callersMethodhitboxLocationOf
(Player player)
src/main/java/de/photon/anticheataddition/util/mathematics/Hitbox.java:50
↓ 1 callersMethodinSameWorld
Checks if two entities are in the same {@link World}.
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:75
↓ 1 callersMethodinvoke
(Object obj, Object... args)
src/main/java/de/photon/anticheataddition/util/reflection/MethodReflect.java:10
↓ 1 callersMethodinvokeCommand
Handle a command with certain arguments. @param sender the {@link CommandSender} that originally sent the command. @param arguments a {@link Queue
src/main/java/de/photon/anticheataddition/commands/InternalCommand.java:131
↓ 1 callersMethodisBypassed
Determines whether a {@link Player} bypasses a certain module.
src/main/java/de/photon/anticheataddition/user/User.java:180
↓ 1 callersMethodisChunkLoaded
(Location location)
src/main/java/de/photon/anticheataddition/util/minecraft/world/ModernWorldUtil.java:72
↓ 1 callersMethodisFloodgate
()
src/main/java/de/photon/anticheataddition/user/User.java:186
↓ 1 callersMethodisInsideRegion
Determines whether a {@link Location} is inside this {@link Region} @param location the {@link Location} that should be checked if it lies inside thi
src/main/java/de/photon/anticheataddition/util/minecraft/world/region/Region.java:51
↓ 1 callersMethodisInventoryOpenable
This determines if an inventory can be opened by interacting with the {@link Block}. This might fail due to various reasons, e.g. obstruction of the {
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:132
↓ 1 callersMethodisLiquid
(Material material)
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:83
↓ 1 callersMethodisNext
Checks whether two {@link Block}s are next to each other defined by the given {@link BlockFace}s. @param a the first {@link Block} @param b t
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:42
↓ 1 callersMethodisReallyOccluding
Fix for Spigot's broken occluding method.
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:91
↓ 1 callersMethodisVectorInside
Check if the given Vector lies within this Bounding Box @param vector the vector which may or may not be in this Bounding Box @return true when the
src/main/java/de/photon/anticheataddition/util/mathematics/AxisAlignedBB.java:332
↓ 1 callersMethodksPValue
Tail probability Q<sub>KS</sub>(λ)=2Σ<sub>j=1…∞</sub>(‑1)<sup>j‑1</sup>e<sup>‑2j²λ²</sup>. <p>The loop stops when the next term would change the sum b
src/main/java/de/photon/anticheataddition/util/mathematics/KolmogorovSmirnov.java:141
↓ 1 callersMethodksStatistic
Two‑sided D = sup|Fₙ(x)‑x|.
src/main/java/de/photon/anticheataddition/util/mathematics/KolmogorovSmirnov.java:122
← previousnext →301–400 of 1,097, ranked by callers