MCPcopy Create free account

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

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

↓ 3 callersMethodhasTeleportedRecently
Determines if this {@link User} has recently teleported. This includes ender pearls as well as respawns, world changes and ordinary teleports. @param
src/main/java/de/photon/anticheataddition/user/User.java:313
↓ 3 callersMethodincrementAndGet
()
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:113
↓ 3 callersMethodisFlyingWithElytra
Determines if a {@link LivingEntity} is gliding (i.e. flying with an elytra)
src/main/java/de/photon/anticheataddition/util/minecraft/world/entity/EntityUtil.java:17
↓ 3 callersMethodisInLiquids
Checks if the {@link User} is currently in any liquid.
src/main/java/de/photon/anticheataddition/user/User.java:212
↓ 3 callersMethoditerator
()
src/main/java/de/photon/anticheataddition/util/mathematics/Hitbox.java:155
↓ 3 callersMethodkeySet
()
src/main/java/de/photon/anticheataddition/modules/ModuleMap.java:39
↓ 3 callersMethodmockDistinctPlayers
This mocks a certain amount of {@link Player}s. <p> The method guarantees that all returned {@link Player}s are distinct.
src/test/java/de/photon/anticheataddition/Dummy.java:121
↓ 3 callersMethodofLegacy
(final String legacyName)
src/main/java/de/photon/anticheataddition/util/pluginmessage/MessageChannel.java:47
↓ 3 callersMethodonForget
Callback invoked when an element is overwritten/forgotten. <p> Subclasses can override this to handle removal events.
src/main/java/de/photon/anticheataddition/util/datastructure/buffer/RingBuffer.java:88
↓ 3 callersMethodparsePlayer
Gets a {@link Player} from their name and sends a not found message if the {@link Player} could not be found.
src/main/java/de/photon/anticheataddition/commands/InternalCommand.java:48
↓ 3 callersMethodpostVlUpdate
Call this method if a {@link Player}'s vl changes.
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationManagement.java:64
↓ 3 callersMethodprocessBatch
This method represents the actual computation done on the batch.
src/main/java/de/photon/anticheataddition/util/datastructure/batch/BatchProcessor.java:39
↓ 3 callersMethodreadVarInt
(ByteBuf input)
src/main/java/de/photon/anticheataddition/util/pluginmessage/ByteBufUtil.java:87
↓ 3 callersMethodreducePairToDoubleStatistics
This method allows for the reduction from a {@link List} of {@link Pair}s to an {@link Pair} of {@link DoubleStatistics}, which is often used in {@lin
src/main/java/de/photon/anticheataddition/util/datastructure/batch/BatchPreprocessors.java:54
↓ 3 callersMethodregister
Registers a listener. The listener is called with a {@link Player} each time the vl updates.
src/main/java/de/photon/anticheataddition/util/violationlevels/ViolationManagement.java:56
↓ 3 callersMethodrunApplicableActions
This method will execute the runnables when applicable. @param oldVl The vl of the player before this flag. The method will add the vl of this {@link
src/main/java/de/photon/anticheataddition/util/violationlevels/Flag.java:92
↓ 3 callersMethodsendLabyModMessage
Send a message to LabyMod @param player Minecraft Client @param key LabyMod message key @param messageContent json object content
src/main/java/de/photon/anticheataddition/util/pluginmessage/labymod/LabyProtocolUtil.java:61
↓ 3 callersMethodsmallDistance
Determines if the distance to the last clicked slot is small. @param user The user performing the click. @param event The inventory click event. @r
src/main/java/de/photon/anticheataddition/modules/checks/inventory/InventoryMultiInteraction.java:54
↓ 3 callersMethodsumWithCompensation
Incorporate a new double value using Kahan summation / compensated summation.
src/main/java/de/photon/anticheataddition/util/datastructure/statistics/DoubleStatistics.java:67
↓ 3 callersMethodtestStringList
(List<String> expected, String pathToLoad)
src/test/java/de/photon/anticheataddition/util/config/ConfigUtilTest.java:32
↓ 3 callersMethodtickUntil
(Predicate<MovementSimulator> condition, int maxTicks)
src/main/java/de/photon/anticheataddition/util/minecraft/movement/MovementSimulator.java:27
↓ 3 callersMethodtimeOffset
(@NotNull TowerBlockPlace other)
src/main/java/de/photon/anticheataddition/user/data/batch/TowerBatch.java:31
↓ 3 callersMethodtoUnit
(TimeUnit resultUnit, long ticks)
src/main/java/de/photon/anticheataddition/util/mathematics/TimeUtil.java:15
↓ 3 callersMethodwriteVarInt
Writes a variable int to the given byte buffer @param output the byte buffer the int should be written to @param value the int that should be writte
src/main/java/de/photon/anticheataddition/util/pluginmessage/ByteBufUtil.java:122
↓ 2 callersMethodactivate
()
src/main/java/de/photon/anticheataddition/modules/Module.java:52
↓ 2 callersMethodaddChildCommands
Directly sets the command help.
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:132
↓ 2 callersMethodaddModule
(T module)
src/main/java/de/photon/anticheataddition/modules/ModuleMap.java:28
↓ 2 callersMethodaddWatchedPlayerToTablistPacket
Sends the observing {@link Player} a packet to add the watched {@link Player} to the tablist.
src/main/java/de/photon/anticheataddition/util/visibility/PlayerInformationHider.java:123
↓ 2 callersMethodapplyAirResistance
Applies the drag of Minecraft's air resistance system ( = 0.98) to a {@link Vector}. @param input the input vector (will not be cloned) @return the
src/main/java/de/photon/anticheataddition/util/minecraft/movement/Movement.java:30
↓ 2 callersMethodareLocationsInRange
Simple method to know if a {@link Location} is close to another {@link Location} @param firstLocation the first {@link Location} @param secondLocati
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:125
↓ 2 callersMethodatLeastTPS
Checks if the current TPS are higher than min.
src/main/java/de/photon/anticheataddition/util/minecraft/tps/TPSProvider.java:15
↓ 2 callersMethodautoToolFlag
(User user, int vl, @Nullable Cancellable eventToCancel)
src/main/java/de/photon/anticheataddition/modules/checks/autotool/AutoTool.java:224
↓ 2 callersMethodbuild
()
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:125
↓ 2 callersMethodcall
()
src/main/java/de/photon/anticheataddition/events/ModulePlayerEvent.java:36
↓ 2 callersMethodcancelAction
(User user, PlayerMoveEvent event)
src/main/java/de/photon/anticheataddition/modules/checks/inventory/InventoryMove.java:55
↓ 2 callersMethodcheckConsistency
(TimeKey key, User user, PlayerFishEvent event)
src/main/java/de/photon/anticheataddition/modules/checks/autofish/AutoFishConsistency.java:34
↓ 2 callersMethodcheckForFastRefill
(Player player)
src/main/java/de/photon/anticheataddition/modules/checks/autototem/AutoTotem.java:54
↓ 2 callersMethodcheckForPlugin
(String pluginName, Metrics metrics)
src/main/java/de/photon/anticheataddition/AntiCheatAddition.java:82
↓ 2 callersMethodcheckPatterns
Checks the pattern of rotation changes and flags suspicious rotations. @param user The user under check. @param rotationDiff The rotation dif
src/main/java/de/photon/anticheataddition/modules/checks/packetanalysis/PacketAnalysisPerfectRotation.java:69
↓ 2 callersMethodclear
()
src/main/java/de/photon/anticheataddition/util/datastructure/buffer/RingBuffer.java:72
↓ 2 callersMethodcontainsAny
Searches for an occurrence of any element of searchFor in toBeSearched.
src/main/java/de/photon/anticheataddition/util/datastructure/SetUtil.java:27
↓ 2 callersMethodcreateTestView
Tries to create a test {@link InventoryView} for a {@link User}. If the server version is too old, the InventoryView will only be the internal craftin
src/main/java/de/photon/anticheataddition/util/inventoryview/InventoryViewUtil.java:21
↓ 2 callersMethoddisable
()
src/main/java/de/photon/anticheataddition/modules/Module.java:84
↓ 2 callersMethoddistance
(SlotLocation other)
src/main/java/de/photon/anticheataddition/util/inventory/InventoryUtil.java:109
↓ 2 callersMethodensureMockedUsers
(int amount)
src/test/java/de/photon/anticheataddition/Dummy.java:95
↓ 2 callersMethodespHitboxLocationOf
(Player player)
src/main/java/de/photon/anticheataddition/util/mathematics/Hitbox.java:45
↓ 2 callersMethodexecuteCommandList
This executes the commands of this {@link Threshold}.
src/main/java/de/photon/anticheataddition/util/violationlevels/threshold/Threshold.java:27
↓ 2 callersMethodexpectZero
(Timestamp timestamp)
src/test/java/de/photon/anticheataddition/user/TimestampTest.java:9
↓ 2 callersMethodfrom
(Class<?> clazz)
src/main/java/de/photon/anticheataddition/util/reflection/Reflect.java:17
↓ 2 callersMethodgetAvailablePotionTypes
This returns all {@link PotionEffectType}s that exist on the active {@link ServerVersion}.
src/main/java/de/photon/anticheataddition/util/minecraft/world/entity/InternalPotion.java:212
↓ 2 callersMethodgetBlocksAround
This gets 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 {@link
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:69
↓ 2 callersMethodgetCameraDistance
(final Location eyeLocation, final Vector direction)
src/main/java/de/photon/anticheataddition/modules/additions/esp/ThirdPersonCameraCanSee.java:15
↓ 2 callersMethodgetChildCommand
Gets the child command of the given name or null if no such command exists.
src/main/java/de/photon/anticheataddition/commands/InternalCommand.java:120
↓ 2 callersMethodgetDeclaredField
(Class<?> cls, String fieldName)
src/main/java/de/photon/anticheataddition/util/reflection/ClassReflect.java:25
↓ 2 callersMethodgetEspLocations
()
src/main/java/de/photon/anticheataddition/util/mathematics/Hitbox.java:57
↓ 2 callersMethodgetFreeSpaceContainers
()
src/main/java/de/photon/anticheataddition/util/minecraft/world/material/MaterialUtil.java:29
↓ 2 callersMethodgetHandContents
Gets the content of the main hand for version 1.8.8 or the content of both hands in higher versions. @return an {@link List} which contains all the {
src/main/java/de/photon/anticheataddition/util/inventory/InventoryUtil.java:66
↓ 2 callersMethodgetMax
Returns the maximum recorded value, {@code Double.NaN} if any recorded value was NaN or {@code Double.NEGATIVE_INFINITY} if no values were recorded. U
src/main/java/de/photon/anticheataddition/util/datastructure/statistics/DoubleStatistics.java:147
↓ 2 callersMethodgetPartiallyIncludedLocations
()
src/main/java/de/photon/anticheataddition/util/mathematics/Hitbox.java:138
↓ 2 callersMethodgetPartiallyIncludedMaterials
Gets all the {@link Material}s that this {@link HitboxLocation} is partially inside.
src/main/java/de/photon/anticheataddition/util/mathematics/Hitbox.java:124
↓ 2 callersMethodgetSlotType
(int slot)
src/main/java/de/photon/anticheataddition/util/inventoryview/ModernInventoryViewUtil.java:86
↓ 2 callersMethodgetSupportedVersions
(Predicate<ServerVersion> filter)
src/main/java/de/photon/anticheataddition/ServerVersion.java:152
↓ 2 callersMethodgetTabPossibilities
Calculates the currently possible tabs while accounting for the partialArgument. @param partialArgument the argument the player has started typing.
src/main/java/de/photon/anticheataddition/commands/TabCompleteSupplier.java:34
↓ 2 callersMethodgetType
()
src/main/java/de/photon/anticheataddition/util/inventoryview/ModernInventoryViewUtil.java:40
↓ 2 callersMethodhandleEqualRotationExpectedInteraction
(Player player)
src/main/java/de/photon/anticheataddition/modules/checks/packetanalysis/PacketAnalysisEqualRotation.java:89
↓ 2 callersMethodhasCommandHelp
()
src/main/java/de/photon/anticheataddition/commands/CommandAttributes.java:53
↓ 2 callersMethodhasDebug
Gets the debug state (determines whether an {@link User} gets debug messages).
src/main/java/de/photon/anticheataddition/user/User.java:341
↓ 2 callersMethodhasJumpedRecently
Checks if this {@link User} has jumped recently @param milliseconds the amount of time in milliseconds that should be considered. @return true if th
src/main/java/de/photon/anticheataddition/user/User.java:300
↓ 2 callersMethodinRange
Shortcut for number >= min && number <= max
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:44
↓ 2 callersMethodinSameWorld
(Location locationOne, Location locationTwo)
src/main/java/de/photon/anticheataddition/util/minecraft/world/ModernWorldUtil.java:63
↓ 2 callersMethodisAimStep
(double deltaOne, double deltaTwo)
src/main/java/de/photon/anticheataddition/modules/checks/packetanalysis/PacketAnalysisAimStep.java:47
↓ 2 callersMethodisAvailable
Checks if this PotionEffectType is already available on this ServerVersion.
src/main/java/de/photon/anticheataddition/util/minecraft/world/entity/InternalPotion.java:222
↓ 2 callersMethodisChunkLoaded
Checks if the chunk at a certain {@link Location} is loaded. @return True if the chunk is loaded, else false.
src/main/java/de/photon/anticheataddition/util/minecraft/world/WorldUtil.java:94
↓ 2 callersMethodisCorrectTool
Determines whether the given tool is correct for mining the specified material. Includes a special-case for shears. @param tool the ItemStac
src/main/java/de/photon/anticheataddition/modules/checks/autotool/AutoTool.java:210
↓ 2 callersMethodisIllegalBookMeta
(BookMeta meta)
src/main/java/de/photon/anticheataddition/modules/sentinel/exploits/BookPageSentinel.java:50
↓ 2 callersMethodisIllegalStack
(@NotNull ItemStack stack)
src/main/java/de/photon/anticheataddition/modules/sentinel/exploits/IllegalItemSentinel.java:82
↓ 2 callersMethodisIntegerMultiple
Checks if the second value is an integer multiple of the first. @param reference The reference value. @param d The value to check. @return T
src/main/java/de/photon/anticheataddition/modules/checks/packetanalysis/PacketAnalysisPerfectRotation.java:42
↓ 2 callersMethodisInventoryEmpty
Checks if an {@link Inventory} is empty.
src/main/java/de/photon/anticheataddition/util/inventory/InventoryUtil.java:43
↓ 2 callersMethodisNearlyEqual
(double reference, double d)
src/main/java/de/photon/anticheataddition/modules/checks/packetanalysis/PacketAnalysisPerfectRotation.java:29
↓ 2 callersMethodisOccludingLocation
(final Location location)
src/main/java/de/photon/anticheataddition/util/minecraft/world/OcclusionUtil.java:72
↓ 2 callersMethodisRayOccluded
(final Location from, final Location to)
src/main/java/de/photon/anticheataddition/util/minecraft/world/OcclusionUtil.java:77
↓ 2 callersMethoditerator
()
src/main/java/de/photon/anticheataddition/util/datastructure/dummy/DummyInventory.java:204
↓ 2 callersMethodload
Tries to load the referenced {@link Module}. @return <code>true</code> if the {@link Module} has been loaded and <code>false</code> if it could not b
src/main/java/de/photon/anticheataddition/modules/ModuleLoader.java:60
↓ 2 callersMethodloadString
(String substring, String def)
src/main/java/de/photon/anticheataddition/modules/ConfigLoading.java:38
↓ 2 callersMethodmockEnvironment
This method ensures that the mock environment is set up. This only allocates the environment once, any further calls do not cause any further performa
src/test/java/de/photon/anticheataddition/Dummy.java:58
↓ 2 callersMethodmul
(int integer)
src/main/java/de/photon/anticheataddition/util/mathematics/ModularInteger.java:94
↓ 2 callersMethodnormalizeYaw
Normalizes the yaw to the range [-180, 180]. @param yaw the yaw angle in degrees @return the normalized yaw angle in degrees
src/main/java/de/photon/anticheataddition/util/mathematics/MathUtil.java:140
↓ 2 callersMethodonSending
(BiConsumer<PacketSendEvent, User> onSending)
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:89
↓ 2 callersMethodonSendingRaw
This method does not guarantee a valid {@link User} exists and needs to be used for server join protocols.
src/main/java/de/photon/anticheataddition/util/protocol/PacketAdapterBuilder.java:107
↓ 2 callersMethodparseIntElseSend
Tries to parse an integer. If the integer could not be parsed, send the message to the recipient. @return null if the string was not a valid integer,
src/main/java/de/photon/anticheataddition/commands/InternalCommand.java:92
↓ 2 callersMethodparseUser
Gets a {@link User} from their name and sends a not found message if the {@link User} could not be found.
src/main/java/de/photon/anticheataddition/commands/InternalCommand.java:64
↓ 2 callersMethodprocessPlaceholders
(@NotNull String original, @Nullable Player player, World world)
src/main/java/de/photon/anticheataddition/util/execute/Placeholders.java:71
↓ 2 callersMethodrTreeEntryFromPlayer
Creates an {@link Entry} of the {@link Player} and their location. This is a convenience method for RTree operations.
src/main/java/de/photon/anticheataddition/user/User.java:171
↓ 2 callersMethodreadString
Reads a string from the given byte buffer @param buf the byte buffer the string should be read from @return the string read
src/main/java/de/photon/anticheataddition/util/pluginmessage/ByteBufUtil.java:29
↓ 2 callersMethodregisterIncomingChannel
Registers the incoming channel for a certain {@link PluginMessageListener}
src/main/java/de/photon/anticheataddition/util/pluginmessage/MessageChannel.java:61
↓ 2 callersMethodresetToBase
()
src/main/java/de/photon/anticheataddition/util/mathematics/ResetLocation.java:33
↓ 2 callersMethodsendEquipment
(Player observer, Player watched, List<Equipment> equipment)
src/main/java/de/photon/anticheataddition/util/visibility/legacy/LegacyPlayerEquipmentHider.java:62
↓ 2 callersMethodsendServerBanner
Send a tablist server banner to LabyMod. @param player Minecraft Client @param imageUrl the url of the image that shall be displayed on the client'
src/main/java/de/photon/anticheataddition/util/pluginmessage/labymod/LabyProtocolUtil.java:23
↓ 2 callersMethodsetBrand
(String brand)
src/main/java/de/photon/anticheataddition/modules/additions/BrandHider.java:38
↓ 2 callersMethodsetEventNotCancelledAction
This is used to set an action that will only be run if the event caused by the flag has not been cancelled.
src/main/java/de/photon/anticheataddition/util/violationlevels/Flag.java:72
← previousnext →201–300 of 1,097, ranked by callers