Order

An obfuscator that generates short names based on the order of appearance.

Since

1.15.2

Properties

Link copied to clipboard
A no-op obfuscator that returns the name as-is.

Functions

Link copied to clipboard
@NotNull
open fun obfuscate(@NotNull rawName: @NotNull String): @NotNull String
Obfuscates the given raw name.
Link copied to clipboard
@NotNull
open fun order(): @NotNull PackObfuscator
Creates an order-based obfuscator if obfuscation is enabled in the configuration.
Link copied to clipboard
@NotNull
open fun pair(@NotNull models: @NotNull PackObfuscator, @NotNull textures: @NotNull PackObfuscator): @NotNull PackObfuscator.Pair
Creates a pair obfuscator from two separate obfuscators.
Link copied to clipboard
@NotNull
open fun withModels(@NotNull models: @NotNull PackObfuscator): @NotNull PackObfuscator.Pair
Creates a pair obfuscator, combining this obfuscator (as textures) with another (as models).