MCPcopy Create free account

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

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

↓ 209 callersMethodgetPlayer
()
src/main/java/de/photon/anticheataddition/util/inventoryview/ModernInventoryViewUtil.java:33
↓ 120 callersMethodof
(final String channel)
src/main/java/de/photon/anticheataddition/util/pluginmessage/MessageChannel.java:20
↓ 101 callersMethodat
(TimeKey key)
src/main/java/de/photon/anticheataddition/user/data/TimestampMap.java:14
↓ 75 callersMethodcontains
(@NotNull Material material)
src/main/java/de/photon/anticheataddition/util/datastructure/dummy/DummyInventory.java:91
↓ 70 callersMethodbuild
()
src/main/java/de/photon/anticheataddition/modules/ModuleLoader.java:184
↓ 69 callersMethodget
Gets the value of the underlying integer.
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:60
↓ 59 callersMethodopOf
(double x, double y)
src/main/java/de/photon/anticheataddition/util/inventory/InventoryUtil.java:104
↓ 53 callersMethodgetType
()
src/main/java/de/photon/anticheataddition/util/datastructure/dummy/DummyInventory.java:190
↓ 52 callersMethodgetUser
(PacketReceiveEvent event)
src/main/java/de/photon/anticheataddition/user/User.java:93
↓ 51 callersMethodadd
(int integer)
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:84
↓ 46 callersMethodisUserInvalid
This checks if this {@link User} still exists and should be checked. @param user the {@link User} to be checked. @param module the module which byp
src/main/java/de/photon/anticheataddition/user/User.java:138
↓ 44 callersMethodupdate
Updates this {@link Timestamp} to the current time as given by {@link System#currentTimeMillis()}.
src/main/java/de/photon/anticheataddition/user/data/Timestamp.java:19
↓ 42 callersMethodequals
(Object o)
src/main/java/de/photon/anticheataddition/util/mathematics/AxisAlignedBB.java:360
↓ 42 callersMethodfiner
(Supplier<String> message)
src/main/java/de/photon/anticheataddition/util/log/Log.java:42
↓ 37 callersMethodbuilder
(Module module)
src/main/java/de/photon/anticheataddition/modules/ModuleLoader.java:50
↓ 36 callersMethodbuilder
(ViolationModule module)
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationLevelManagement.java:35
↓ 36 callersMethodof
Creates a new flag concerning a {@link Player}
src/main/java/de/photon/anticheataddition/util/violationlevels/Flag.java:32
↓ 35 callersMethodflag
Flags a {@link Player} according to the options set in the {@link Flag}.
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationManagement.java:35
↓ 35 callersMethodisEmpty
()
src/main/java/de/photon/anticheataddition/util/datastructure/dummy/DummyInventory.java:153
↓ 33 callersMethodsetAddedVl
This method defines how many vls are added to the score of the {@link Player}s defined in the constructors.
src/main/java/de/photon/anticheataddition/util/violationlevels/Flag.java:48
↓ 31 callersMethodvalues
()
src/main/java/de/photon/anticheataddition/modules/ModuleMap.java:44
↓ 30 callersMethodloadInt
(String substring, int def)
src/main/java/de/photon/anticheataddition/modules/ConfigLoading.java:23
↓ 30 callersMethodwithDecay
Allows defining decay. Not calling this method indicates no decay.
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationLevelManagement.java:120
↓ 29 callersMethodgetLocation
()
src/main/java/de/photon/anticheataddition/util/datastructure/dummy/DummyInventory.java:218
↓ 29 callersMethodrecentlyUpdated
Checks if this {@link Timestamp} has a value that is at most the specified time ago. @param time the time which has passed at most for this method to
src/main/java/de/photon/anticheataddition/user/data/Timestamp.java:59
↓ 28 callersMethodofTags
(Tag<Material>... tags)
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:101
↓ 28 callersMethodsendMessage
Sends a message with the AntiCheatAddition prefix to a single recipient.
src/main/java/de/photon/anticheataddition/util/messaging/ChatMessage.java:14
↓ 27 callersMethodfine
(Supplier<String> message)
src/main/java/de/photon/anticheataddition/util/log/Log.java:47
↓ 27 callersMethodloadBoolean
(String substring, boolean def)
src/main/java/de/photon/anticheataddition/modules/ConfigLoading.java:18
↓ 26 callersMethodemptyThresholdManagement
This will set the {@link ThresholdManagement} to {@link ThresholdManagement#EMPTY}
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationLevelManagement.java:94
↓ 26 callersMethodgetCounter
Gets the current count
src/main/java/de/photon/anticheataddition/user/data/ViolationCounter.java:24
↓ 25 callersMethodgetSum
Returns the sum of values recorded, or zero if no values have been recorded. <p> If any recorded value is a NaN or the sum is at any point a NaN then
src/main/java/de/photon/anticheataddition/util/datastructure/statistics/DoubleStatistics.java:108
↓ 25 callersMethodsetDebug
Sets the debug state (determines whether an {@link User} gets debug messages).
src/main/java/de/photon/anticheataddition/user/User.java:349
↓ 25 callersMethodyawDistance
Computes the absolute shortest angular distance between two angles in the range [-180, 180]. This applies for example to the Minecraft yaw angles. @p
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:113
↓ 24 callersMethodabsDiff
Simple method to calculate the absolute offset of two numbers. @return the absolute offset, always positive or 0 if the numbers are equal.
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:15
↓ 24 callersMethodadd
(T elem)
src/main/java/de/photon/anticheataddition/util/datastructure/buffer/RingBuffer.java:52
↓ 24 callersMethodgetAverage
Returns the arithmetic mean of values recorded, or zero if no values have been recorded. <p> If any recorded value is a NaN or the sum is at any point
src/main/java/de/photon/anticheataddition/util/datastructure/statistics/DoubleStatistics.java:171
↓ 23 callersMethodaccept
Records another value into the summary information. @param value the input value
src/main/java/de/photon/anticheataddition/util/datastructure/statistics/DoubleStatistics.java:35
↓ 22 callersMethodgetInventory
(int rawSlot)
src/main/java/de/photon/anticheataddition/util/inventoryview/ModernInventoryViewUtil.java:73
↓ 22 callersMethodlowerInventoryLocation
Helper method for locateSlot. This calculates a slot location in the lower (player inventory) part of the screen, as that is always the same, but with
src/main/java/de/photon/anticheataddition/util/inventory/InventoryUtil.java:27
↓ 22 callersMethodsetCancelled
(final boolean b)
src/main/java/de/photon/anticheataddition/events/ModulePlayerEvent.java:42
↓ 21 callersMethodsize
()
src/main/java/de/photon/anticheataddition/modules/ModuleMap.java:34
↓ 20 callersMethodsetVL
Sets the vl of a player. @param player the {@link Player} whose vl should be set @param newVl the new vl of the player.
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationManagement.java:50
↓ 18 callersMethodgetVL
Used to get the ViolationLevel of a player. @param uuid the {@link UUID} of the player who should be looked up @param moduleId the check that sho
src/main/java/de/photon/anticheataddition/api/AntiCheatAdditionApi.java:36
↓ 18 callersMethodinfo
(Supplier<String> message)
src/main/java/de/photon/anticheataddition/util/log/Log.java:52
↓ 18 callersMethodpassedTime
This determines and returns the time which has passed since the {@link Timestamp} was updated the last time. @return the passed time in milliseconds.
src/main/java/de/photon/anticheataddition/user/data/Timestamp.java:45
↓ 18 callersMethodremove
(@NotNull Material material)
src/main/java/de/photon/anticheataddition/util/datastructure/dummy/DummyInventory.java:159
↓ 17 callersMethodconditionallyIncDec
This method calls {@link #incrementCompareThreshold()} if the condition is true, else {@link #decrementAboveZero()}. @return true if the condition is
src/main/java/de/photon/anticheataddition/user/data/ViolationCounter.java:66
↓ 17 callersMethodsetCancelAction
This method defines what action should be taken once a certain vl is surpassed to cancel a flagged action. @param cancelVl the vl needed to trigger t
src/main/java/de/photon/anticheataddition/util/violationlevels/Flag.java:61
↓ 17 callersMethodtoArray
(ByteBuf buf)
src/main/java/de/photon/anticheataddition/util/pluginmessage/ByteBufUtil.java:50
↓ 15 callersMethodapply
(double variable)
src/main/java/de/photon/anticheataddition/util/mathematics/Polynomial.java:30
↓ 15 callersMethodbuild
(Player player, String moduleId)
src/main/java/de/photon/anticheataddition/events/SentinelEvent.java:22
↓ 15 callersMethodbuilder
()
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:30
↓ 15 callersMethodgetItem
(int index)
src/main/java/de/photon/anticheataddition/util/datastructure/dummy/DummyInventory.java:38
↓ 15 callersMethodincrement
Increments the counter by 1.
src/main/java/de/photon/anticheataddition/user/data/ViolationCounter.java:78
↓ 15 callersMethodof
(E first, F second)
src/main/java/de/photon/anticheataddition/util/datastructure/Pair.java:8
↓ 14 callersMethodaddVL
Adds an {@link Integer} to the vl of a player. The number can be negative, this will decrease the vl then. @param player the {@link Player} whose vl
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationManagement.java:75
↓ 14 callersMethodfinest
(Supplier<String> message)
src/main/java/de/photon/anticheataddition/util/log/Log.java:37
↓ 14 callersMethodgetModule
(String moduleId)
src/main/java/de/photon/anticheataddition/modules/ModuleMap.java:22
↓ 13 callersMethodargumentsOutOfRange
Checks if the given argument count is valid by the attributes. @param arguments the argument count. @param errorMessageReceiver the receiv
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:43
↓ 13 callersMethodclone
()
src/main/java/de/photon/anticheataddition/util/mathematics/AxisAlignedBB.java:349
↓ 13 callersMethodreplacePlaceholders
Applies a placeholder to a {@link String}. @param original the original {@link String} containing all placeholders @return original with the placehol
src/main/java/de/photon/anticheataddition/util/execute/Placeholders.java:48
↓ 13 callersMethodsetAllowedServerVersions
(Collection<ServerVersion> serverVersions)
src/main/java/de/photon/anticheataddition/modules/ModuleLoader.java:171
↓ 13 callersMethodsetToZero
Sets this {@link Timestamp} to 0.
src/main/java/de/photon/anticheataddition/user/data/Timestamp.java:27
↓ 12 callersMethodgetEntityId
(PacketSendEvent event)
src/main/java/de/photon/anticheataddition/util/visibility/PacketInformationHider.java:88
↓ 12 callersMethodloadThresholds
(ViolationModule module)
src/main/java/de/photon/anticheataddition/util/violationlevels/threshold/ThresholdManagement.java:19
↓ 12 callersMethodset
A general calculation of what integer should be after mod n. The method will handle negative values automatically and will correctly assign them to n
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:29
↓ 12 callersMethodsevere
(Supplier<String> message)
src/main/java/de/photon/anticheataddition/util/log/Log.java:62
↓ 11 callersMethodgetReplacement
(@Nullable World world)
src/main/java/de/photon/anticheataddition/util/execute/Placeholders.java:125
↓ 11 callersMethodisConfigComment
Determines whether a string (config line) is a comment in a YAML-config.
src/main/java/de/photon/anticheataddition/util/config/ConfigUtil.java:60
↓ 11 callersMethodmockViolationModule
(String configString)
src/test/java/de/photon/anticheataddition/Dummy.java:150
↓ 11 callersMethodregisterListener
Registers a new {@link Listener} for AntiCheatAddition. @param listener the {@link Listener} which should be registered in the {@link org.bukkit.plug
src/main/java/de/photon/anticheataddition/AntiCheatAddition.java:70
↓ 11 callersMethoduserUpdate
(UUID uuid, TimeKey... update)
src/main/java/de/photon/anticheataddition/user/data/DataUpdaterEvents.java:44
↓ 10 callersMethodcombineToImmutable
Combines two Sets of Materials to an immutable enum set. @param materialOne The first set of materials. Will be MODIFIED. @param materialTwo The seco
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:115
↓ 10 callersMethoddetection
Used to signal the detection of a player. This checks if the player has bypass permissions.
src/main/java/de/photon/anticheataddition/modules/sentinel/SentinelModule.java:29
↓ 10 callersMethodhasMinTPS
()
src/main/java/de/photon/anticheataddition/modules/checks/inventory/Inventory.java:48
↓ 10 callersMethodsize
()
src/main/java/de/photon/anticheataddition/util/datastructure/buffer/RingBuffer.java:121
↓ 10 callersMethodsyncUpdateInventory
This schedules an {@link Inventory} update to be executed synchronously in the next server tick @param player the {@link Player} who's {@link Invento
src/main/java/de/photon/anticheataddition/util/inventory/InventoryUtil.java:56
↓ 10 callersMethodtoImmutableEnumSet
Directly collects a stream to an immutable EnumSet. Guavas {@link Sets#toImmutableEnumSet()} cannot be used as minecraft 1.8's guava is very old.
src/main/java/de/photon/anticheataddition/util/datastructure/SetUtil.java:18
↓ 9 callersMethodaddCommandHelp
Directly sets the command help.
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:123
↓ 9 callersMethodgetConfigString
The base {@link String} the values are loaded from.
src/main/java/de/photon/anticheataddition/modules/ConfigLoading.java:16
↓ 9 callersMethodgetMaterialsEndingWith
(String... ends)
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:96
↓ 9 callersMethodgetVl
(User user, BlockPlaceEvent event)
src/main/java/de/photon/anticheataddition/modules/checks/scaffold/ScaffoldFace.java:20
↓ 9 callersMethodinAdventureOrSurvivalMode
Checks if the {@link Player} is in {@link GameMode#ADVENTURE} or {@link GameMode#SURVIVAL}
src/main/java/de/photon/anticheataddition/user/User.java:159
↓ 9 callersMethodloadThresholdsToManagement
()
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationLevelManagement.java:110
↓ 9 callersMethodnormalize
Normalise arbitrary doubles to [0,1] and sort ascending.
src/main/java/de/photon/anticheataddition/util/mathematics/KolmogorovSmirnov.java:79
↓ 9 callersMethodof
(@NotNull Module module, @NotNull PacketTypeCommon... types)
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:64
↓ 9 callersMethodreplacePlaceholdersSafely
(@NotNull String original)
src/main/java/de/photon/anticheataddition/util/execute/Placeholders.java:23
↓ 9 callersMethodtoMillis
(long ticks)
src/main/java/de/photon/anticheataddition/util/mathematics/TimeUtil.java:10
↓ 9 callersMethodtoTicks
(long millis)
src/main/java/de/photon/anticheataddition/util/mathematics/TimeUtil.java:20
↓ 9 callersMethodvariance
Computes the squared error between a reference and a given value. <p> This is effectively the variance contribution of a single observation. @param r
src/main/java/de/photon/anticheataddition/util/mathematics/DataUtil.java:116
↓ 8 callersMethodaddPacketListeners
(PacketListenerCommon... packetListeners)
src/main/java/de/photon/anticheataddition/modules/ModuleLoader.java:141
↓ 8 callersMethodbuild
()
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:147
↓ 8 callersMethodbuilder
()
src/main/java/de/photon/anticheataddition/commands/TabCompleteSupplier.java:24
↓ 8 callersMethoddecrementAboveZero
Decrements the counter by 1 unless the counter is zero or negative.
src/main/java/de/photon/anticheataddition/user/data/ViolationCounter.java:94
↓ 8 callersMethoddepth
Counts the leading whitespaces of a {@link String} @return the amount of leading whitespaces.
src/main/java/de/photon/anticheataddition/util/config/ConfigUtil.java:71
↓ 8 callersMethoderror
(String message, Throwable thrown)
src/main/java/de/photon/anticheataddition/util/log/Log.java:67
↓ 8 callersMethodget
(int index)
src/main/java/de/photon/anticheataddition/util/datastructure/buffer/RingBuffer.java:64
↓ 8 callersMethodgetLiquids
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:31
↓ 8 callersMethodgetTime
()
src/main/java/de/photon/anticheataddition/user/data/Timestamp.java:11
next →1–100 of 1,097, ranked by callers