public release. <3
This commit is contained in:
commit
98c4bf2a97
668 changed files with 19523 additions and 0 deletions
31
.gitignore
vendored
Normal file
31
.gitignore
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
# eclipse
|
||||
bin
|
||||
*.launch
|
||||
.settings
|
||||
.metadata
|
||||
.classpath
|
||||
.project
|
||||
|
||||
# idea
|
||||
out
|
||||
*.ipr
|
||||
*.iws
|
||||
*.iml
|
||||
.idea
|
||||
|
||||
# gradle
|
||||
build
|
||||
.gradle
|
||||
|
||||
|
||||
# other
|
||||
eclipse
|
||||
run
|
||||
|
||||
# Files from Forge MDK
|
||||
forge*changelog.txt
|
||||
*.txt
|
||||
|
||||
*.patch
|
||||
*.orig
|
||||
*.rej
|
22
LICENSE
Normal file
22
LICENSE
Normal file
|
@ -0,0 +1,22 @@
|
|||
Copyright (c) 2020-24 Daniel H.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, and modify copies of the Software:
|
||||
|
||||
Copies of the Software are not allowed to be used commercially or sold.
|
||||
Permission is given to use the Software for personal use. Permission is also
|
||||
given to repackage parts of it as long as a publicly visible reference to the
|
||||
original work is present.
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
18
README.md
Normal file
18
README.md
Normal file
|
@ -0,0 +1,18 @@
|
|||
TTCp Client
|
||||
===========
|
||||
|
||||
DONT ACTIVATE ANY OTHER AUTOTOTEM ALONG THIS ONE, it will glitch it out!
|
||||
|
||||
ClickGUI opens with COMMA
|
||||
|
||||
TudbuT Client Premium
|
||||
|
||||
---
|
||||
|
||||
This is the first public, free release of TTCp. Feel free to take and use. The authentication is deactivated.
|
||||
Code quality is not great in some parts and there are some memory leaks, but it's completely usable and most
|
||||
code is alright.
|
||||
|
||||
I ask you nicely not to take code from this without giving me *some* sort of recognition. Thank you!
|
||||
|
||||
Thanks for the awesome time developing this.
|
127
build.gradle
Normal file
127
build.gradle
Normal file
|
@ -0,0 +1,127 @@
|
|||
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url = 'https://files.minecraftforge.net/maven' }
|
||||
maven { url = "https://repo.spongepowered.org/maven" }
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'net.minecraftforge.gradle:ForgeGradle:5.+'
|
||||
classpath "org.spongepowered:mixingradle:0.7.+"
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'net.minecraftforge.gradle'
|
||||
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
|
||||
apply plugin: 'org.spongepowered.mixin'
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
version = mod_version
|
||||
group = mod_group
|
||||
archivesBaseName = mod_id
|
||||
|
||||
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
|
||||
|
||||
repositories {
|
||||
maven { url = 'https://repo.spongepowered.org/maven' }
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
|
||||
compileJava {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
configurations {
|
||||
atj
|
||||
}
|
||||
|
||||
minecraft {
|
||||
mappings channel: 'stable', version: '39-1.12'
|
||||
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
|
||||
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||
|
||||
String myJvmArgs = "-Dfml.coreMods.load=${mod_core_plugin.replace('${mod_group}', mod_group).replace('${mod_id}', mod_id)}"
|
||||
String[] myRunArgs = ["--mixin", "${mod_mixin_configs.replace('${mod_id}', mod_id)}", "--userType", "mojang", "--username", "TudbuT_dev", "--accessToken", "fuck no, this is going on github", "--uuid", "b8dd8777a0744f3da5b90b19def1b1ac"]
|
||||
runs {
|
||||
client {
|
||||
args = myRunArgs
|
||||
jvmArgs = [myJvmArgs]
|
||||
workingDirectory project.file('run')
|
||||
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
||||
property 'forge.logging.console.level', 'debug'
|
||||
}
|
||||
|
||||
server {
|
||||
args = myRunArgs
|
||||
jvmArgs = [myJvmArgs]
|
||||
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
||||
property 'forge.logging.console.level', 'debug'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraft 'net.minecraftforge:forge:1.12.2-14.23.5.2860'
|
||||
|
||||
//implementation('net.minecraftforge:mergetool:1.0.12')
|
||||
implementation atj ('org.spongepowered:mixin:0.7.11-SNAPSHOT') {
|
||||
exclude module: 'launchwrapper'
|
||||
exclude module: 'guava'
|
||||
exclude module: 'gson'
|
||||
exclude module: 'commons-io'
|
||||
exclude module: 'log4j-core'
|
||||
}
|
||||
annotationProcessor('org.spongepowered:mixin:0.8.5:processor') {
|
||||
exclude module: 'gson'
|
||||
}
|
||||
|
||||
implementation atj (fileTree(dir: "lib", include: "*.jar"))
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property "version", version
|
||||
inputs.property "mcversion", minecraft_version
|
||||
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'mcmod.info'
|
||||
|
||||
expand 'mod_id': mod_id, 'mod_name': mod_name, 'version': project.version,
|
||||
'mcversion': minecraft_version, 'mod_description': mod_description,
|
||||
'mod_author': mod_author
|
||||
}
|
||||
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
|
||||
mixin {
|
||||
debug.verbose = true
|
||||
debug.export = true
|
||||
dumpTargetOnFailure = true
|
||||
defaultObfuscationEnv 'searge'
|
||||
add sourceSets.main, 'mixins.ttcp.refmap.json'
|
||||
}
|
||||
|
||||
jar {
|
||||
from {
|
||||
configurations.atj
|
||||
.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
} {
|
||||
exclude "LICENSE.txt", "META-INF/MANIFSET.MF", "META-INF/maven/**", "META-INF/*.RSA", "META-INF/*.SF"
|
||||
}
|
||||
//from { fileTree("sponge") } // not sure if this is needed, i will see when i get a complaint from a FutureClient user
|
||||
|
||||
manifest {
|
||||
attributes "FMLCorePluginContainsFMLMod": "true"
|
||||
attributes "ForceLoadAsMod": "true"
|
||||
attributes "TweakClass": "org.spongepowered.asm.launch.MixinTweaker"
|
||||
attributes "TweakOrder": "0"
|
||||
attributes "MixinConfigs": mod_mixin_configs.replace('${mod_id}', mod_id)
|
||||
attributes "FMLCorePlugin": "de.tudbut.mod.client.ttcp.CoreModTTCp"
|
||||
}
|
||||
}
|
||||
|
||||
//jar.finalizedBy('reobfJar')
|
||||
|
||||
|
15
gradle.properties
Normal file
15
gradle.properties
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
|
||||
# This is required to provide enough memory for the Minecraft decompilation process.
|
||||
org.gradle.jvmargs=-Xmx3G
|
||||
mod_id=ttcp
|
||||
mod_name=TTCp Client
|
||||
mod_group=de.tudbut.mod.client.ttcp
|
||||
mod_version=B1.9.0
|
||||
mod_author=["TudbuT"]
|
||||
mod_description=TTCp Client
|
||||
minecraft_version=1.12.2
|
||||
forge_version=14.23.5.2860
|
||||
mappings_channel=stable
|
||||
mappings_version=39-1.12
|
||||
mod_core_plugin=${mod_group}.CoreModTTCp
|
||||
mod_mixin_configs=mixins.${mod_id}.json
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Normal file
Binary file not shown.
5
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
5
gradle/wrapper/gradle-wrapper.properties
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
172
gradlew
vendored
Executable file
172
gradlew
vendored
Executable file
|
@ -0,0 +1,172 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >/dev/null
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >/dev/null
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS=""
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
nonstop=false
|
||||
case "`uname`" in
|
||||
CYGWIN* )
|
||||
cygwin=true
|
||||
;;
|
||||
Darwin* )
|
||||
darwin=true
|
||||
;;
|
||||
MINGW* )
|
||||
msys=true
|
||||
;;
|
||||
NONSTOP* )
|
||||
nonstop=true
|
||||
;;
|
||||
esac
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Darwin, add options to specify how the application appears in the dock
|
||||
if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
JAVACMD=`cygpath --unix "$JAVACMD"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Escape application args
|
||||
save () {
|
||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||
echo " "
|
||||
}
|
||||
APP_ARGS=$(save "$@")
|
||||
|
||||
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
||||
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
||||
|
||||
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
|
||||
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
|
||||
cd "$(dirname "$0")"
|
||||
fi
|
||||
|
||||
exec "$JAVACMD" "$@"
|
84
gradlew.bat
vendored
Normal file
84
gradlew.bat
vendored
Normal file
|
@ -0,0 +1,84 @@
|
|||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS=
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:init
|
||||
@rem Get command-line arguments, handling Windows variants
|
||||
|
||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||
|
||||
:win9xME_args
|
||||
@rem Slurp the command line arguments.
|
||||
set CMD_LINE_ARGS=
|
||||
set _SKIP=2
|
||||
|
||||
:win9xME_args_slurp
|
||||
if "x%~1" == "x" goto execute
|
||||
|
||||
set CMD_LINE_ARGS=%*
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
BIN
lib/TuddyLIB-javadoc.zip
Normal file
BIN
lib/TuddyLIB-javadoc.zip
Normal file
Binary file not shown.
BIN
lib/de.tudbut.api.jar
Normal file
BIN
lib/de.tudbut.api.jar
Normal file
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
org.spongepowered.asm.service.mojang.Blackboard
|
|
@ -0,0 +1 @@
|
|||
org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapper
|
|
@ -0,0 +1 @@
|
|||
org.spongepowered.asm.service.mojang.MixinServiceLaunchWrapperBootstrap
|
|
@ -0,0 +1 @@
|
|||
org.spongepowered.tools.obfuscation.mcp.ObfuscationServiceMCP
|
BIN
sponge/org/spongepowered/asm/bridge/RemapperAdapter.class
Normal file
BIN
sponge/org/spongepowered/asm/bridge/RemapperAdapter.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/bridge/RemapperAdapterFML.class
Normal file
BIN
sponge/org/spongepowered/asm/bridge/RemapperAdapterFML.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/launch/GlobalProperties$Keys.class
Normal file
BIN
sponge/org/spongepowered/asm/launch/GlobalProperties$Keys.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/launch/GlobalProperties.class
Normal file
BIN
sponge/org/spongepowered/asm/launch/GlobalProperties.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/launch/MixinBootstrap.class
Normal file
BIN
sponge/org/spongepowered/asm/launch/MixinBootstrap.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/launch/MixinTweaker.class
Normal file
BIN
sponge/org/spongepowered/asm/launch/MixinTweaker.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/AnnotationVisitor.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/AnnotationVisitor.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/AnnotationWriter.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/AnnotationWriter.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Attribute.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Attribute.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/ByteVector.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/ByteVector.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/ClassReader.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/ClassReader.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/ClassVisitor.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/ClassVisitor.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/ClassWriter.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/ClassWriter.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Context.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Context.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/CurrentFrame.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/CurrentFrame.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Edge.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Edge.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/FieldVisitor.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/FieldVisitor.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/FieldWriter.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/FieldWriter.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Frame.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Frame.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Handle.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Handle.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Handler.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Handler.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Item.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Item.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Label.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Label.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/MethodVisitor.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/MethodVisitor.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/MethodWriter.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/MethodWriter.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Opcodes.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Opcodes.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/Type.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/Type.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/TypePath.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/TypePath.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/TypeReference.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/TypeReference.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/commons/ClassRemapper.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/commons/ClassRemapper.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/commons/FieldRemapper.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/commons/FieldRemapper.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/commons/MethodRemapper.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/commons/MethodRemapper.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/commons/Remapper.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/commons/Remapper.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/commons/SignatureRemapper.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/commons/SignatureRemapper.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/commons/SimpleRemapper.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/commons/SimpleRemapper.class
Normal file
Binary file not shown.
87
sponge/org/spongepowered/asm/lib/package.html
Normal file
87
sponge/org/spongepowered/asm/lib/package.html
Normal file
|
@ -0,0 +1,87 @@
|
|||
<html>
|
||||
<!--
|
||||
* ASM: a very small and fast Java bytecode manipulation framework
|
||||
* Copyright (c) 2000-2011 INRIA, France Telecom
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. Neither the name of the copyright holders nor the names of its
|
||||
* contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-->
|
||||
<body>
|
||||
Provides a small and fast bytecode manipulation framework.
|
||||
|
||||
<p>
|
||||
The <a href="http://www.objectweb.org/asm">ASM</a> framework is organized
|
||||
around the {@link org.objectweb.asm.ClassVisitor ClassVisitor},
|
||||
{@link org.objectweb.asm.FieldVisitor FieldVisitor},
|
||||
{@link org.objectweb.asm.MethodVisitor MethodVisitor} and
|
||||
{@link org.objectweb.asm.AnnotationVisitor AnnotationVisitor} abstract classes,
|
||||
which allow one to visit the fields, methods and annotations of a class,
|
||||
including the bytecode instructions of each method.
|
||||
|
||||
<p>
|
||||
In addition to these main abstract classes, ASM provides a {@link
|
||||
org.objectweb.asm.ClassReader ClassReader} class, that can parse an
|
||||
existing class and make a given visitor visit it. ASM also provides
|
||||
a {@link org.objectweb.asm.ClassWriter ClassWriter} class, which is
|
||||
a visitor that generates Java class files.
|
||||
|
||||
<p>
|
||||
In order to generate a class from scratch, only the {@link
|
||||
org.objectweb.asm.ClassWriter ClassWriter} class is necessary. Indeed,
|
||||
in order to generate a class, one must just call its visit<i>Xxx</i>
|
||||
methods with the appropriate arguments to generate the desired fields
|
||||
and methods. See the "helloworld" example in the ASM distribution for
|
||||
more details about class generation.
|
||||
|
||||
<p>
|
||||
In order to modify existing classes, one must use a {@link
|
||||
org.objectweb.asm.ClassReader ClassReader} class to analyze
|
||||
the original class, a class modifier, and a {@link org.objectweb.asm.ClassWriter
|
||||
ClassWriter} to construct the modified class. The class modifier
|
||||
is just a {@link org.objectweb.asm.ClassVisitor ClassVisitor}
|
||||
that delegates most of the work to another {@link org.objectweb.asm.ClassVisitor
|
||||
ClassVisitor}, but that sometimes changes some parameter values,
|
||||
or call additional methods, in order to implement the desired
|
||||
modification process. In order to make it easier to implement such
|
||||
class modifiers, the {@link org.objectweb.asm.ClassVisitor
|
||||
ClassVisitor} and {@link org.objectweb.asm.MethodVisitor MethodVisitor}
|
||||
classes delegate by default all the method calls they receive to an
|
||||
optional visitor. See the "adapt" example in the ASM
|
||||
distribution for more details about class modification.
|
||||
|
||||
<p>
|
||||
The size of the core ASM library, <tt>asm.jar</tt>, is only 45KB, which is much
|
||||
smaller than the size of the
|
||||
<a href="http://jakarta.apache.org/bcel">BCEL</a> library (504KB), and than the
|
||||
size of the
|
||||
<a href="http://serp.sourceforge.net">SERP</a> library (150KB). ASM is also
|
||||
much faster than these tools. Indeed the overhead of a load time class
|
||||
transformation process is of the order of 60% with ASM, 700% or more with BCEL,
|
||||
and 1100% or more with SERP (see the <tt>test/perf</tt> directory in the ASM
|
||||
distribution)!
|
||||
|
||||
@since ASM 1.3
|
||||
</body>
|
||||
</html>
|
BIN
sponge/org/spongepowered/asm/lib/signature/SignatureReader.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/signature/SignatureReader.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/signature/SignatureWriter.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/signature/SignatureWriter.class
Normal file
Binary file not shown.
36
sponge/org/spongepowered/asm/lib/signature/package.html
Normal file
36
sponge/org/spongepowered/asm/lib/signature/package.html
Normal file
|
@ -0,0 +1,36 @@
|
|||
<html>
|
||||
<!--
|
||||
* ASM: a very small and fast Java bytecode manipulation framework
|
||||
* Copyright (c) 2000-2011 INRIA, France Telecom
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. Neither the name of the copyright holders nor the names of its
|
||||
* contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
-->
|
||||
<body>
|
||||
Provides support for type signatures.
|
||||
|
||||
@since ASM 2.0
|
||||
</body>
|
||||
</html>
|
BIN
sponge/org/spongepowered/asm/lib/tree/AbstractInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/AbstractInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/AnnotationNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/AnnotationNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/ClassNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/ClassNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/FieldInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/FieldInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/FieldNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/FieldNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/FrameNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/FrameNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/IincInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/IincInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/InnerClassNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/InnerClassNode.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/InsnList.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/InsnList.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/InsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/InsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/IntInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/IntInsnNode.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/JumpInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/JumpInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/LabelNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/LabelNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/LdcInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/LdcInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/LineNumberNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/LineNumberNode.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/LocalVariableNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/LocalVariableNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/LookupSwitchInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/LookupSwitchInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/MethodInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/MethodInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/MethodNode$1.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/MethodNode$1.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/MethodNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/MethodNode.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/ParameterNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/ParameterNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/TableSwitchInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/TableSwitchInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/TryCatchBlockNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/TryCatchBlockNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/TypeAnnotationNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/TypeAnnotationNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/TypeInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/TypeInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/VarInsnNode.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/VarInsnNode.class
Normal file
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/analysis/Analyzer.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/analysis/Analyzer.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/analysis/BasicValue.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/analysis/BasicValue.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
sponge/org/spongepowered/asm/lib/tree/analysis/Frame.class
Normal file
BIN
sponge/org/spongepowered/asm/lib/tree/analysis/Frame.class
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue