MCPcopy Create free account

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

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

↓ 8 callersMethodincrementCompareThreshold
Checks if the counter, incremented by 1, is greater or equal to the threshold.
src/main/java/de/photon/anticheataddition/user/data/ViolationCounter.java:48
↓ 8 callersMethodmockAntiCheatAddition
()
src/test/java/de/photon/anticheataddition/Dummy.java:63
↓ 8 callersMethodremoveOutliers
Removes the specified number of farthest int elements (outliers) from the mean. <p> Converts the array to a stream, sorts by distance from the mean, a
src/main/java/de/photon/anticheataddition/util/mathematics/DataUtil.java:181
↓ 8 callersMethodrunPacketReceiveEventBiConsumer
(PacketReceiveEvent event, BiConsumer<PacketReceiveEvent, User> biConsumer)
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:113
↓ 8 callersMethodrunPacketSendEventBiConsumer
(PacketSendEvent event, BiConsumer<PacketSendEvent, User> biConsumer)
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:119
↓ 8 callersMethodsquareSum
Returns the sum of all parameters squared.
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:87
↓ 7 callersMethodactiveIsEarlierOrEqual
Checks if the active server version is equal to or earlier than this version.
src/main/java/de/photon/anticheataddition/ServerVersion.java:100
↓ 7 callersMethodactiveIsLaterOrEqual
Checks if the active server version is equal to or later than this version.
src/main/java/de/photon/anticheataddition/ServerVersion.java:108
↓ 7 callersMethodcontainsActive
Checks whether the current server version is included in a set of supported server versions. @param supportedServerVersions the {@link Set} of suppor
src/main/java/de/photon/anticheataddition/ServerVersion.java:139
↓ 7 callersMethoddecrement
Fast decrementation mod n that will avoid a modulo operation. <p> This method assumes that integer is already a valid representation of x mod n and is
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:52
↓ 7 callersMethodgetAndIncrement
()
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:123
↓ 7 callersMethodhasMovedRecently
Checks if this {@link User} has moved recently. @param movementType what movement should be checked @param milliseconds the amount of time in millise
src/main/java/de/photon/anticheataddition/user/User.java:261
↓ 7 callersMethodmaxArguments
The maximum arguments of the command that should be enforced.
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:96
↓ 7 callersMethodminArguments
The minimum arguments of the command that should be enforced.
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:86
↓ 6 callersMethodaddDataPoint
This will add a datapoint to the {@link Batch}.
src/main/java/de/photon/anticheataddition/util/datastructure/batch/Batch.java:36
↓ 6 callersMethodaddIncomingMessageChannel
(MessageChannel channel)
src/main/java/de/photon/anticheataddition/modules/ModuleLoader.java:159
↓ 6 callersMethodcountBlocksAround
This counts the {@link Block}s around the given block if they are not air/empty. @param block the block that faces should be checked for other {@li
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:55
↓ 6 callersMethodgetByProtocolVersionNumber
Gets the respective {@link ServerVersion} for a version number returned by the {@link com.viaversion.viaversion.api.ViaAPI}.
src/main/java/de/photon/anticheataddition/ServerVersion.java:147
↓ 6 callersMethodgetJumpYMotion
Gets the vertical motion (Y-axis) of a {@link org.bukkit.entity.Player} when jumping, taking into account any Jump Boost effects. This method is copie
src/main/java/de/photon/anticheataddition/util/minecraft/movement/Movement.java:69
↓ 6 callersMethodgetVL
(@NotNull UUID uuid)
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationAggregation.java:32
↓ 6 callersMethodgreaterOrEqualToThreshold
Checks if the counter is greater or equal to the threshold.
src/main/java/de/photon/anticheataddition/user/data/ViolationCounter.java:32
↓ 6 callersMethodincrement
Fast incrementation mod n that will avoid a modulo operation. <p> This method assumes that integer is already a valid representation of x mod n and is
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:41
↓ 6 callersMethodloadCommands
(String configPath)
src/main/java/de/photon/anticheataddition/util/violationlevels/threshold/ThresholdManagement.java:39
↓ 6 callersMethodloadStringList
(String substring)
src/main/java/de/photon/anticheataddition/modules/ConfigLoading.java:43
↓ 6 callersMethodmockUser
Mock a {@link User}. <p> Please note that there is no guarantee that two consecutive calls to this method will return two different users. Use {@link
src/test/java/de/photon/anticheataddition/Dummy.java:133
↓ 6 callersMethodresetToBase
()
src/main/java/de/photon/anticheataddition/util/mathematics/ResetVector.java:27
↓ 6 callersMethodsetPermission
Sets the permission of the command.
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:114
↓ 6 callersMethodsetVL
(@NotNull Player player, int newVl)
src/main/java/de/photon/anticheataddition/util/violationlevels/DetectionManagement.java:46
↓ 6 callersMethodsignificanceTest
<strong>Decision helper:</strong>returns {@code true} if the null hypothesis of the distribution <em>cannot</em> be rejected at the given significance
src/main/java/de/photon/anticheataddition/util/mathematics/KolmogorovSmirnov.java:69
↓ 6 callersMethodsmallerThanThreshold
Checks if the counter is smaller than the threshold.
src/main/java/de/photon/anticheataddition/user/data/ViolationCounter.java:40
↓ 6 callersMethodsquare
Fast squaring for streams.
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:71
↓ 6 callersMethoduniformTest
Full result (D and p) for doubles.
src/main/java/de/photon/anticheataddition/util/mathematics/KolmogorovSmirnov.java:27
↓ 6 callersMethodzipOffsetOne
This will zip neighboring elements of the list. This returns (0, 1), (1, 2), (2, 3) ... Therefore, elements can appear multiple times in the list! <p>
src/main/java/de/photon/anticheataddition/util/datastructure/batch/BatchPreprocessors.java:45
↓ 5 callersMethodadd
This method adds a new datapoint to the floating sum and average. Long overflows are not detected by this method!
src/main/java/de/photon/anticheataddition/util/datastructure/statistics/MovingLongStatistics.java:42
↓ 5 callersMethodadd
This method adds a new datapoint to the floating sum and average.
src/main/java/de/photon/anticheataddition/util/datastructure/statistics/MovingDoubleStatistics.java:42
↓ 5 callersMethodaddOutgoingMessageChannel
(MessageChannel channel)
src/main/java/de/photon/anticheataddition/modules/ModuleLoader.java:165
↓ 5 callersMethodapplyGravitation
Applies the gravitational force of this entity type to a {@link Vector}. @param input the input vector (will not be cloned) @return the modified vec
src/main/java/de/photon/anticheataddition/util/minecraft/movement/Movement.java:42
↓ 5 callersMethodapplyGravitationAndAirResistance
Applies both the gravitational force and air resistance of this entity type to a {@link Vector}. @param input the input vector (will not be cloned)
src/main/java/de/photon/anticheataddition/util/minecraft/movement/Movement.java:54
↓ 5 callersMethodclear
Clears the {@link Batch} by setting the write-index to 0. This will make any newly added data-points overwrite the currently present data.
src/main/java/de/photon/anticheataddition/util/datastructure/batch/Batch.java:64
↓ 5 callersMethodexactArguments
Shortcut for setting both the minimum and maximum arguments to the same value.
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:106
↓ 5 callersMethodfirst
(@NotNull Material material)
src/main/java/de/photon/anticheataddition/util/datastructure/dummy/DummyInventory.java:135
↓ 5 callersMethodgetChannel
Gets the channel for the current {@link ServerVersion} or an empty {@link String} if it doesn't support the current {@link ServerVersion}
src/main/java/de/photon/anticheataddition/util/pluginmessage/MessageChannel.java:56
↓ 5 callersMethodgetDirection
Generates the direction - vector from yaw and pitch, basically a copy of {@link Location#getDirection()}
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:148
↓ 5 callersMethodhasOpenInventory
Determines whether the {@link User} has a currently opened {@link Inventory} according to {@link AntiCheatAddition}s internal data.
src/main/java/de/photon/anticheataddition/user/User.java:224
↓ 5 callersMethodis18
Shorthand for activeServerVersion == MC18. Checks if the current ServerVersion is Minecraft 1.8.8.
src/main/java/de/photon/anticheataddition/ServerVersion.java:128
↓ 5 callersMethodmockPlayer
Mock a {@link Player}. <p> Please note that there is no guarantee that two consecutive calls to this method will return two different players. Use {@l
src/test/java/de/photon/anticheataddition/Dummy.java:110
↓ 5 callersMethodnotRecentlyOpenedInventory
Determines if this {@link User} has not had an open inventory for some amount of time. @param milliseconds the amount of time in milliseconds that th
src/main/java/de/photon/anticheataddition/user/User.java:235
↓ 5 callersMethodnotRecentlyUpdated
Opposite of {@link #recentlyUpdated(long)}
src/main/java/de/photon/anticheataddition/user/data/Timestamp.java:67
↓ 5 callersMethodonReceiving
(BiConsumer<PacketReceiveEvent, User> onReceiving)
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:83
↓ 5 callersMethodparentOf
(String configString, ViolationModule... children)
src/main/java/de/photon/anticheataddition/modules/ViolationModule.java:27
↓ 5 callersMethodpriority
(PacketListenerPriority priority)
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:76
↓ 5 callersMethodtick
()
src/main/java/de/photon/anticheataddition/util/minecraft/movement/MovementSimulator.java:33
↓ 5 callersMethodtoString
()
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationManagement.java:89
↓ 5 callersMethodzipReduceToDoubleStatistics
(List<T> input, ToDoubleBiFunction<T, T>... mappers)
src/main/java/de/photon/anticheataddition/util/datastructure/batch/BatchPreprocessors.java:73
↓ 5 callersMethodzipToPairs
This will zip neighboring elements of the list. This returns (0, 1), (2, 3), (4, 5) ... Therefore, every element is at most in one pair. <p> The last
src/main/java/de/photon/anticheataddition/util/datastructure/batch/BatchPreprocessors.java:24
↓ 4 callersMethodallPlayers
This will make all players show up in the tab-complete suggestions.
src/main/java/de/photon/anticheataddition/commands/TabCompleteSupplier.java:70
↓ 4 callersMethodasList
(Class<T> clazz)
src/main/java/de/photon/anticheataddition/util/reflection/FieldReflect.java:45
↓ 4 callersMethodatMostMaxPing
Checks if a player's ping is at most maxPing or the maxPing is negative. @param maxPing the maximum ping a player may have to make this method return
src/main/java/de/photon/anticheataddition/util/minecraft/ping/PingProvider.java:25
↓ 4 callersMethodaverage
Computes the arithmetic mean (average) of the given int values. @param data the ints to average @return the mean value as a double @throws Arithmet
src/main/java/de/photon/anticheataddition/util/mathematics/DataUtil.java:70
↓ 4 callersMethodbatchProcessor
(BatchProcessor<?> batchProcessor)
src/main/java/de/photon/anticheataddition/modules/ModuleLoader.java:178
↓ 4 callersMethodcompareTo
(@NotNull Module o)
src/main/java/de/photon/anticheataddition/modules/Module.java:71
↓ 4 callersMethodconstants
This will make certain constants show up in the tab-complete suggestions.
src/main/java/de/photon/anticheataddition/commands/TabCompleteSupplier.java:79
↓ 4 callersMethodfastHypot
Uses the standard {@link Math#sqrt(double)} call to calculate the hypot of two numbers. Make sure that the absolute value of both numbers are sufficie
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:63
↓ 4 callersMethodget
()
src/main/java/de/photon/anticheataddition/util/reflection/FieldReflect.java:55
↓ 4 callersMethodgetPing
Reflects the real ping of a {@link Player} from the CraftPlayer class or uses the .getPing() method on newer versions. @param player the {@link Playe
src/main/java/de/photon/anticheataddition/util/minecraft/ping/PingProvider.java:17
↓ 4 callersMethodgetPotionEffect
Gets a {@link PotionEffect} of a {@link LivingEntity}. @param livingEntity the {@link LivingEntity} which should be tested @return the {@link PotionE
src/main/java/de/photon/anticheataddition/util/minecraft/world/entity/InternalPotion.java:245
↓ 4 callersMethodgetSize
()
src/main/java/de/photon/anticheataddition/util/datastructure/dummy/DummyInventory.java:20
↓ 4 callersMethodhandlePlayerEvent
(Cancellable event, UUID uuid, ItemStack stack, Consumer<User> detection)
src/main/java/de/photon/anticheataddition/modules/sentinel/exploits/IllegalItemSentinel.java:34
↓ 4 callersMethodhasPermission
(Permissible permissible)
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:58
↓ 4 callersMethodhasSneakedRecently
Checks if this {@link User} has sneaked recently @param milliseconds the amount of time in milliseconds that should be considered. @return true if t
src/main/java/de/photon/anticheataddition/user/User.java:288
↓ 4 callersMethodisAir
(Material material)
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:78
↓ 4 callersMethodlimitChars
(String str, int limit)
src/main/java/de/photon/anticheataddition/util/execute/Placeholders.java:148
↓ 4 callersMethodloadKeys
Tries to load all keys from a path in the config. @param sectionPath the given path to the section which keys should be loaded. @return a {@link Set
src/main/java/de/photon/anticheataddition/util/config/ConfigUtil.java:50
↓ 4 callersMethodloadLong
(String substring, long def)
src/main/java/de/photon/anticheataddition/modules/ConfigLoading.java:28
↓ 4 callersMethodlog
(Level level, String message, Exception e)
src/main/java/de/photon/anticheataddition/util/log/Log.java:27
↓ 4 callersMethodpeekLastAdded
This will return the most recently added element. As a {@link Batch} is always initialized with a non-null dummy element, this method will always retu
src/main/java/de/photon/anticheataddition/util/datastructure/batch/Batch.java:54
↓ 4 callersMethodpunishPlayer
Used to execute the commands that are defined in the config section CHECK_NAME.thresholds @param player the {@link Player} that should be punished an
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationManagement.java:83
↓ 4 callersMethodsum
Calculates the sum of the given int values. @param data the ints to sum @return the total sum of the provided values
src/main/java/de/photon/anticheataddition/util/mathematics/DataUtil.java:26
↓ 4 callersMethodtoChunkCoordinate
(double coordinate)
src/main/java/de/photon/anticheataddition/util/minecraft/world/ModernWorldUtil.java:87
↓ 4 callersMethodwriteString
(ByteBuf buf, String s)
src/main/java/de/photon/anticheataddition/util/pluginmessage/ByteBufUtil.java:13
↓ 3 callersMethodbuild
()
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationLevelManagement.java:129
↓ 3 callersMethodcanSee
(Player observer, Player watched)
src/main/java/de/photon/anticheataddition/modules/additions/esp/CanSee.java:13
↓ 3 callersMethodcheckNotNullElseSend
This checks if an object is null. If it is, it will send the message to the recipient, else nothing will happen. @return <code>true</code> when the o
src/main/java/de/photon/anticheataddition/commands/InternalCommand.java:79
↓ 3 callersMethodcombineTwoObjectsToEnd
<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:109
↓ 3 callersMethodcreateBrandPayload
(final String brand)
src/main/java/de/photon/anticheataddition/modules/additions/BrandHider.java:56
↓ 3 callersMethoddecrement
Decrements the counter by 1.
src/main/java/de/photon/anticheataddition/user/data/ViolationCounter.java:86
↓ 3 callersMethoddecrementAndGet
()
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:118
↓ 3 callersMethoddifference
This computes the difference of two {@link Set}s. Compared to {@link com.google.common.collect.Sets#difference(Set, Set)} this actually computes the {
src/main/java/de/photon/anticheataddition/util/datastructure/SetUtil.java:38
↓ 3 callersMethodenable
()
src/main/java/de/photon/anticheataddition/modules/Module.java:82
↓ 3 callersMethodensureMockedPlayers
(int amount)
src/test/java/de/photon/anticheataddition/Dummy.java:80
↓ 3 callersMethodformat
(LogRecord logRecord)
src/main/java/de/photon/anticheataddition/util/log/LogFileHandler.java:33
↓ 3 callersMethodgetAndDecrement
()
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:130
↓ 3 callersMethodgetBounceMaterials
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:22
↓ 3 callersMethodgetConfigLevel
(String path)
src/main/java/de/photon/anticheataddition/util/log/Log.java:20
↓ 3 callersMethodgetCount
Return the count of values recorded. @return the count of values
src/main/java/de/photon/anticheataddition/util/datastructure/statistics/DoubleStatistics.java:80
↓ 3 callersMethodgetDetectionManagement
()
src/test/java/de/photon/anticheataddition/util/violationlevels/DetectionManagementTest.java:20
↓ 3 callersMethodgetEntityType
Gets the EntityType from a valid entityId of a living entity.
src/main/java/de/photon/anticheataddition/util/protocol/LivingEntityIdLookup.java:84
↓ 3 callersMethodgetHitboxLocation
This determines and returns the correct {@link Hitbox} for this {@link User}. @return {@link Hitbox#SNEAKING_PLAYER} or {@link Hitbox#PLAYER}.
src/main/java/de/photon/anticheataddition/user/User.java:204
↓ 3 callersMethodgetRotationFromEvent
Extracts the rotation (yaw and pitch) from a packet receive event. @param event the packet receive event @return a Rotation object containing the ya
src/main/java/de/photon/anticheataddition/util/protocol/PacketEventUtils.java:22
↓ 3 callersMethodgetThresholds
Used for testing the threshold loading.
src/main/java/de/photon/anticheataddition/util/violationlevels/threshold/ThresholdManagement.java:56
← previousnext →101–200 of 1,097, ranked by callers