Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Photon-GitHub/AntiCheatAddition
/ functions
Functions
1,097 in github.com/Photon-GitHub/AntiCheatAddition
⨍
Functions
1,097
◇
Types & classes
266
↓ 2 callers
Method
setHidden
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 callers
Method
setHiddenEntities
Hides entities from a {@link Player}. This method is thread-safe.
src/main/java/de/photon/anticheataddition/util/visibility/PlayerInformationHider.java:101
↓ 2 callers
Method
setToFuture
Sets this {@link Timestamp} to a time in the future.
src/main/java/de/photon/anticheataddition/user/data/Timestamp.java:35
↓ 2 callers
Method
shouldSpoof
(EntityType entityType)
src/main/java/de/photon/anticheataddition/modules/additions/DamageIndicator.java:98
↓ 2 callers
Method
sub
(int integer)
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:89
↓ 2 callers
Method
swiftSneakLevel
(Player player)
src/main/java/de/photon/anticheataddition/user/data/batch/ScaffoldBatch.java:59
↓ 2 callers
Method
teleportOrWorldChangeBypassed
(User user)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/Inventory.java:42
↓ 2 callers
Method
testSortedNormalized
(double[] sortedNorm)
src/main/java/de/photon/anticheataddition/util/mathematics/KolmogorovSmirnov.java:110
↓ 2 callers
Method
updateBrand
(final Player player)
src/main/java/de/photon/anticheataddition/modules/additions/BrandHider.java:49
↓ 1 callers
Method
accumulate
Accumulates {@code other} into {@code this}.
src/main/java/de/photon/anticheataddition/user/data/subdata/LookPacketData.java:125
↓ 1 callers
Method
add
(E element)
src/main/java/de/photon/anticheataddition/util/datastructure/SetUtil.java:63
↓ 1 callers
Method
addBrandChannelMessage
(String message)
src/main/java/de/photon/anticheataddition/user/data/subdata/BrandChannelData.java:18
↓ 1 callers
Method
addChildCommand
Add a single line to the command help.
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:141
↓ 1 callers
Method
addExternalModule
(final Module externalModule)
src/main/java/de/photon/anticheataddition/modules/ModuleManager.java:113
↓ 1 callers
Method
addVL
(@NotNull Player player, int vl)
src/main/java/de/photon/anticheataddition/util/violationlevels/DetectionManagement.java:61
↓ 1 callers
Method
addVL
(@NotNull Player player, int vl)
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationAggregation.java:54
↓ 1 callers
Method
addVL
(@NotNull Player player, int vl)
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationLevelManagement.java:70
↓ 1 callers
Method
areChunksLoadedBetweenLocations
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 callers
Method
averageMultiplier
(double averageTicks)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/AverageHeuristicBatchProcessor.java:92
↓ 1 callers
Method
breakingTime
(User user)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/InventoryMove.java:64
↓ 1 callers
Method
build
(Player player, String moduleId, int vl)
src/main/java/de/photon/anticheataddition/events/ViolationEvent.java:27
↓ 1 callers
Method
bukkitSetup
()
src/main/java/de/photon/anticheataddition/util/log/Log.java:82
↓ 1 callers
Method
cacheEntity
(LivingEntity entity)
src/main/java/de/photon/anticheataddition/util/protocol/LivingEntityIdLookup.java:58
↓ 1 callers
Method
cacheEntityId
(int entityId, EntityType entityType)
src/main/java/de/photon/anticheataddition/util/protocol/LivingEntityIdLookup.java:71
↓ 1 callers
Method
calculateDelay
Calculates the time needed to place one block.
src/main/java/de/photon/anticheataddition/modules/checks/tower/TowerBatchProcessor.java:63
↓ 1 callers
Method
calculateMinExpectedDelay
(ScaffoldBatch.ScaffoldBlockPlace old, ScaffoldBatch.ScaffoldBlockPlace current, boolean moonwalk)
src/main/java/de/photon/anticheataddition/modules/checks/scaffold/ScaffoldAverageBatchProcessor.java:75
↓ 1 callers
Method
calculateRecentAngleStatistics
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 callers
Method
canBeLegit
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 callers
Method
changedHitboxMaterialsPresent
(User user)
src/main/java/de/photon/anticheataddition/modules/checks/packetanalysis/PacketAnalysisEqualRotation.java:35
↓ 1 callers
Method
checkSync
(@NotNull Callable<Boolean> task)
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:35
↓ 1 callers
Method
close
()
src/main/java/de/photon/anticheataddition/util/log/Log.java:109
↓ 1 callers
Method
combineTwoObjectsToStart
<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 callers
Method
correctToolType
(Material material, Material tool)
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:69
↓ 1 callers
Method
createModuleLoader
()
src/main/java/de/photon/anticheataddition/modules/Module.java:77
↓ 1 callers
Method
createViolationManagement
()
src/main/java/de/photon/anticheataddition/modules/ViolationModule.java:33
↓ 1 callers
Method
deactivate
()
src/main/java/de/photon/anticheataddition/modules/Module.java:63
↓ 1 callers
Method
deleteLines
(final List<String> lines, int startPosition, int lineCount)
src/main/java/de/photon/anticheataddition/util/config/ConfigurationRepresentation.java:25
↓ 1 callers
Method
disableVoiceChat
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 callers
Method
distanceBetweenSlots
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 callers
Method
distanceToLastClickedSlot
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 callers
Method
evaluateSuspicion
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 callers
Method
execute
(CommandSender sender, Queue<String> arguments)
src/main/java/de/photon/anticheataddition/commands/MainCommand.java:54
↓ 1 callers
Method
execute
This contains the code that is actually executed if everything is correct.
src/main/java/de/photon/anticheataddition/commands/InternalCommand.java:165
↓ 1 callers
Method
executeThresholds
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 callers
Method
finishedSwap
()
src/main/java/de/photon/anticheataddition/modules/checks/autotool/AutoTool.java:74
↓ 1 callers
Method
format
(LogRecord logRecord)
src/main/java/de/photon/anticheataddition/util/log/ConsoleLogHandler.java:14
↓ 1 callers
Method
format
(LogRecord logRecord)
src/main/java/de/photon/anticheataddition/util/log/DebugUserLogHandler.java:14
↓ 1 callers
Method
fromClickEvent
(final InventoryClickEvent event)
src/main/java/de/photon/anticheataddition/user/data/batch/InventoryBatch.java:28
↓ 1 callers
Method
fromEvent
(PlayerInteractEvent e)
src/main/java/de/photon/anticheataddition/modules/checks/autotool/AutoTool.java:57
↓ 1 callers
Method
fromOBC
(String classPath)
src/main/java/de/photon/anticheataddition/util/reflection/Reflect.java:38
↓ 1 callers
Method
gaussianSumFormulaTo
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 callers
Method
generateConfig
()
src/main/java/de/photon/anticheataddition/AntiCheatAddition.java:75
↓ 1 callers
Method
generatePermissionsJson
()
src/main/java/de/photon/anticheataddition/util/pluginmessage/labymod/LabyModPermission.java:33
↓ 1 callers
Method
getAngleBetweenRotations
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 callers
Method
getAutoStepMaterials
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:20
↓ 1 callers
Method
getBytesToSend
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 callers
Method
getCameraLocations
(final Player player)
src/main/java/de/photon/anticheataddition/modules/additions/esp/ThirdPersonCameraCanSee.java:21
↓ 1 callers
Method
getChangedHitboxMaterials
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:24
↓ 1 callers
Method
getCursor
()
src/main/java/de/photon/anticheataddition/util/inventoryview/ModernInventoryViewUtil.java:66
↓ 1 callers
Method
getCustomPotionEffects
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 callers
Method
getDebugUsers
()
src/main/java/de/photon/anticheataddition/user/User.java:125
↓ 1 callers
Method
getDiagonalSneakDelay
(double yaw)
src/main/java/de/photon/anticheataddition/modules/checks/scaffold/ScaffoldAverageBatchProcessor.java:90
↓ 1 callers
Method
getDistanceToFirstIntersectionWithBlock
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 callers
Method
getExpBottle
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:59
↓ 1 callers
Method
getHandlers
()
src/main/java/de/photon/anticheataddition/events/SentinelEvent.java:35
↓ 1 callers
Method
getLivingEntitiesAroundEntity
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 callers
Method
getMin
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 callers
Method
getNonOpenableInventories
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:33
↓ 1 callers
Method
getPartiallyIncludedBlocks
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 callers
Method
getPassengers
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 callers
Method
getSupportedVersions
()
src/main/java/de/photon/anticheataddition/util/visibility/PlayerInformationHider.java:69
↓ 1 callers
Method
getSupportedVersions
()
src/main/java/de/photon/anticheataddition/util/visibility/legacy/LegacyPlayerHider.java:32
↓ 1 callers
Method
getTPS
Gets the current TPS of the server.
src/main/java/de/photon/anticheataddition/util/minecraft/tps/TPSProvider.java:10
↓ 1 callers
Method
getVL
(@NotNull UUID uuid)
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationLevelManagement.java:51
↓ 1 callers
Method
getVl
(ViolationCounter misClickCounter, double variance, double averageMillis)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/AverageHeuristicBatchProcessor.java:76
↓ 1 callers
Method
handleHorizontalChecks
(BlockPlaceEvent event, User user, BlockFace face)
src/main/java/de/photon/anticheataddition/modules/checks/scaffold/Scaffold.java:113
↓ 1 callers
Method
handleJump
(User user, PlayerMoveEvent event)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/InventoryMove.java:147
↓ 1 callers
Method
handleLog
(final long currentTime)
src/main/java/de/photon/anticheataddition/modules/additions/LogBot.java:60
↓ 1 callers
Method
handleSentSkinMask
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 callers
Method
hasChangedWorldsRecently
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 callers
Method
hasClickedInventoryRecently
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 callers
Method
hasPermission
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 callers
Method
hasSprintedRecently
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 callers
Method
heuristicScalars
(final double distance)
src/main/java/de/photon/anticheataddition/util/minecraft/world/OcclusionUtil.java:98
↓ 1 callers
Method
hideInformation
(User user, WrapperPlayServerEntityEquipment wrapper, int entityId, ItemStack item)
src/main/java/de/photon/anticheataddition/modules/additions/informationhider/InformationHiderModule.java:44
↓ 1 callers
Method
hitboxLocationOf
(Player player)
src/main/java/de/photon/anticheataddition/util/mathematics/Hitbox.java:50
↓ 1 callers
Method
inSameWorld
Checks if two entities are in the same {@link World}.
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:75
↓ 1 callers
Method
invoke
(Object obj, Object... args)
src/main/java/de/photon/anticheataddition/util/reflection/MethodReflect.java:10
↓ 1 callers
Method
invokeCommand
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 callers
Method
isBypassed
Determines whether a {@link Player} bypasses a certain module.
src/main/java/de/photon/anticheataddition/user/User.java:180
↓ 1 callers
Method
isChunkLoaded
(Location location)
src/main/java/de/photon/anticheataddition/util/minecraft/world/ModernWorldUtil.java:72
↓ 1 callers
Method
isFloodgate
()
src/main/java/de/photon/anticheataddition/user/User.java:186
↓ 1 callers
Method
isInsideRegion
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 callers
Method
isInventoryOpenable
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 callers
Method
isLiquid
(Material material)
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:83
↓ 1 callers
Method
isNext
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 callers
Method
isReallyOccluding
Fix for Spigot's broken occluding method.
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:91
↓ 1 callers
Method
isVectorInside
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 callers
Method
ksPValue
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 callers
Method
ksStatistic
Two‑sided D = sup|Fₙ(x)‑x|.
src/main/java/de/photon/anticheataddition/util/mathematics/KolmogorovSmirnov.java:122
← previous
next →
301–400 of 1,097, ranked by callers