Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre rewrite/fabric/1.19.x Sinicized for the mod #93

Open
wants to merge 119 commits into
base: liteloader_1.12.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
2608cac
Port to Rift for MC 1.13.2
maruohon Dec 4, 2018
4582dbd
Update build scripts and wrappers
maruohon Dec 12, 2018
8507f28
Port to Fabric on MC 1.14.0
maruohon Apr 24, 2019
18d3163
Fix mass crafting not doing anything
maruohon May 9, 2019
987a13d
Update to Minecraft 1.14.2-pre3
maruohon May 23, 2019
20ce92c
Update to Minecraft 1.14.2 (just a version bump)
maruohon May 27, 2019
a855a02
Merge remote-tracking branch 'origin/liteloader_MC_1.12' into rift_1.…
maruohon May 30, 2019
9d534e5
Merge remote-tracking branch 'origin/liteloader_MC_1.12' into rift_1.…
maruohon May 31, 2019
21059b8
Update some build script and metadata things
maruohon May 31, 2019
6acf215
Merge remote-tracking branch 'origin/rift_1.13.2' into fabric_1.14.x
maruohon Jun 6, 2019
48b8928
Merge remote-tracking branch 'origin/liteloader_MC_1.12' into rift_1.…
maruohon Jun 8, 2019
9d9c4ab
Merge remote-tracking branch 'origin/liteloader_MC_1.12' into rift_1.…
maruohon Jun 9, 2019
046e412
malilib version bump
maruohon Jun 9, 2019
d163c0e
Merge remote-tracking branch 'origin/rift_1.13.2' into fabric_1.14.x
maruohon Jun 9, 2019
9ca3a79
Use wrapped GUI methods from malilib
maruohon Jun 10, 2019
0752fe2
Merge branch 'fabric_1.14.x' into fabric_1.14.2
maruohon Jun 13, 2019
11abc0c
Update Loom and Gradle, so that the mod now actually builds successfu…
maruohon Jun 13, 2019
90297f9
Exclude the Gimp image files from the built mod
maruohon Jun 13, 2019
cf92b5b
Update to Minecraft 1.14.3 and new mappings
maruohon Jun 25, 2019
bf3b23f
Update to Minecraft 1.14.4
maruohon Jul 20, 2019
207e850
Update to MC 1.15 snapshot 19w36a
maruohon Sep 7, 2019
fced1a5
Add Mod Menu support
maruohon Sep 9, 2019
bffd543
Update to MC 1.15 snapshot 19w37a
maruohon Sep 13, 2019
da25e8f
Update to MC 1.15 snapshot 19w38b
maruohon Oct 1, 2019
612d721
Update to MC 1.15 snapshot 19w39a
maruohon Oct 2, 2019
112dfbe
Update to MC 1.15 snapshot 19w40a
maruohon Oct 2, 2019
cf205ee
Update to MC 1.15 snapshot 19w41a
maruohon Oct 11, 2019
d33076b
Update to MC 1.15 snapshot 19w46b
maruohon Nov 21, 2019
20508fb
Update to MC 1.15-pre1
maruohon Nov 21, 2019
3bd35b3
Update to MC 1.15-pre3
maruohon Nov 28, 2019
78645d7
Update to Loom 0.2.6, Yarn v2 stuff and Gradle 6.0.1
maruohon Nov 28, 2019
92a69cf
Update to MC 1.15-pre4
maruohon Dec 4, 2019
0809935
Update to MC 1.15.0
maruohon Dec 10, 2019
f351a5a
Update to MC 1.15.1 (just a version bump)
maruohon Dec 19, 2019
dc3997b
Merge remote-tracking branch 'origin/fabric_1.14.4' into fabric_1.15.1
maruohon Dec 20, 2019
80431b7
Update to MC 1.15.2
maruohon Jan 21, 2020
8e36add
Update to MC 1.16 snapshot 20w06a
maruohon Feb 5, 2020
e38efc9
Downgrade Gradle to 4.9, so it stops nuking the global cache
maruohon Feb 6, 2020
9c016fd
Update Yarn mappings to 1.15.2+build.12
maruohon Feb 6, 2020
23f0b4a
Fix recipe view rendering issues
maruohon Feb 12, 2020
b71de98
Change GlStateManager calls into RenderSystem calls
maruohon Feb 12, 2020
999586f
Merge remote-tracking branch 'origin/fabric_1.15.2' into fabric_1.16_…
maruohon Feb 12, 2020
8f59436
Update to MC 1.16 snapshot 20w09a
maruohon Feb 29, 2020
f72344b
Update to MC 1.16 snapshot 20w10a
maruohon Mar 5, 2020
1d3fe57
Update to MC 1.16 snapshot 20w11a
maruohon Mar 11, 2020
a5c9640
Update to MC 1.16 snapshot 20w12a
maruohon Mar 19, 2020
4aa39d2
Update to MC 1.16 snapshot 20w13a
maruohon Mar 26, 2020
fdd1bf5
Update to MC 1.16 snapshot 20w14a
maruohon Apr 2, 2020
21f130b
Update to MC 1.16 snapshot 20w15a
maruohon Apr 8, 2020
2d494d5
Update to MC 1.16 snapshot 20w16a
maruohon Apr 15, 2020
5e0b1f9
Update to MC 1.16 snapshot 20w17a
vacla Apr 25, 2020
bdf09ae
Merge remote-tracking branch 'arne/fabric_1.16_snapshots' into fabric…
maruohon Apr 25, 2020
5cfd7fb
Small clean-up
maruohon Apr 25, 2020
171e3ea
Update to MC 1.16 snapshot 20w18a
maruohon Apr 29, 2020
1ec32ca
Update to MC 1.16 snapshot 20w19a
maruohon May 6, 2020
d65e0c1
Update to MC 1.16 snapshot 20w20b
maruohon May 15, 2020
815bbf9
Update to MC 1.16 snapshot 20w21a
maruohon May 21, 2020
df93b2c
Update to MC 1.16 snapshot 20w22a
maruohon May 29, 2020
8ecfc4e
Drop all returned items from crafting to allow for continued mass cra…
maruohon May 12, 2020
b13f585
Implement click packet rate limiting, by buffering the actual click p…
maruohon May 13, 2020
4398dea
Show the number of buffered click packets
maruohon May 13, 2020
16c41cd
Update to MC 1.16-pre2
maruohon Jun 8, 2020
dd151ff
Update to MC 1.16-pre3
maruohon Jun 10, 2020
38059b3
Update to MC 1.16.0
maruohon Jun 23, 2020
53773bc
Update to MC 1.16.1 (just a version bump)
maruohon Jun 29, 2020
3914c22
Update to MC 1.16.2
maruohon Aug 11, 2020
a10fc6d
Fix a crash with the main toggle key while not in a world
maruohon Aug 24, 2020
10f7f7a
Update to MC 1.16.3 (just a version bump)
maruohon Sep 12, 2020
c0e3446
Update to MC 1.16.4 (version bump plus one mapping change)
maruohon Nov 3, 2020
ca7c441
Merge branch 'fabric_1.16_snapshots_temp' into fabric_1.16_snapshots_…
maruohon Nov 3, 2020
e28b50f
Update to MC 1.17 snapshot 20w45a
maruohon Nov 5, 2020
2b52d13
Restore Mod Menu support, update mappings
maruohon Nov 10, 2020
ad144d0
Update to MC 1.17 snapshot 20w48a
maruohon Nov 25, 2020
194f554
Update to MC 1.17 snapshot 20w49a (version bump)
maruohon Dec 6, 2020
4176777
Update to MC 1.17 snapshot 20w51a (version bump)
maruohon Dec 18, 2020
322adaf
Implement the villager trading features back
maruohon Jan 5, 2021
d0db991
Villager Trading: Add global favorites functionality
maruohon Jan 8, 2021
1af3213
Villager Trading: Minor clean-up
maruohon Jan 11, 2021
961ab41
Villager Trading: Fix Wandering Traders not working properly
maruohon Jan 11, 2021
5a5ae38
Update to MC 1.17 snapshot 21w05a (version bump)
maruohon Feb 4, 2021
6d16b63
Update to MC 1.17 snapshot 21w08b
maruohon Mar 6, 2021
18214cc
The GUI blacklist check was missing from the hotkey handling
maruohon Mar 7, 2021
441ee61
Update to MC 1.17 snapshot 21w13a
maruohon Apr 4, 2021
52e1924
Bump malilib version dependency
maruohon Jun 1, 2021
e130e4a
Update Mod Menu to the new package and maven
maruohon Jun 1, 2021
cbd8347
Update to MC 1.17 snapshot 21w18a (version bump)
maruohon Jun 1, 2021
10aa09a
Update to MC 1.17-pre4
maruohon Jun 3, 2021
4267148
Merge remote-tracking branch 'origin/fabric_1.16_snapshots_temp_featu…
maruohon Jun 3, 2021
854cb8d
Update the merged temp features to 1.17
maruohon Jun 3, 2021
a409c0c
Update to MC 1.17.0 (version bump)
maruohon Jun 8, 2021
de76b2c
Auto-organize all imports
maruohon Jul 6, 2021
6d413b8
Update to MC 1.17.1
maruohon Jul 6, 2021
9597961
Update Yarn mappings and Gradle
maruohon Sep 9, 2021
bf1b35b
Build script clean-up, update mappings, set a MC version dependency
maruohon Oct 21, 2021
1ebf6f2
Add mod icon (by SuperDragonite2172)
maruohon Oct 22, 2021
ec9b7f6
Client crafting fix: Don't set an empty stack, possible fix to GH #69
maruohon Nov 30, 2021
9556e2b
Update to MC 1.18
vacla Nov 24, 2021
671c6f8
Packet Buffering: Use a Queue, clear on screen close
maruohon Dec 1, 2021
0984fe7
Fix 'enableScrollingStacksFallback' not being obeyed for the last stack
maruohon Dec 1, 2021
a05c556
Small clean-up and improvements
maruohon Jan 3, 2022
062f478
Update to MC 1.18.1 (just version bumps)
maruohon Jan 10, 2022
af53bdf
Change the default config screen tab to be Generic
maruohon Mar 1, 2022
1ab2358
Fix a crash in the villager trade screen due to an OOB index
maruohon Mar 1, 2022
4eba3e6
Fix a bunch of warnings, and some code style clean-up
maruohon Mar 3, 2022
2998432
Change things from boxed List<Integer> to IntArrayList
maruohon Mar 3, 2022
94c07f5
Add new massCraft options, and a new massCraft variant
maruohon Mar 3, 2022
596b518
Bump version to 0.16.0
maruohon Mar 3, 2022
8a8fd12
Update to MC 1.18.2
maruohon Mar 3, 2022
66d29ef
(Mass) Crafting fixes and a new config option for output update suppr…
maruohon Jul 17, 2022
0bfb82d
Bump version to 0.16.1
maruohon Jul 17, 2022
7187a2e
Preliminary update to 1.19 snapshot 22w16b (just version bumps)
maruohon Apr 22, 2022
237547b
Update to MC 1.19 (not properly/at all tested yet)
maruohon Jul 8, 2022
362cdbd
Update to MC 1.19.1 (just version bumps)
maruohon Jul 28, 2022
fe50430
Change the Mixin that renders the recipe view, for hopefully better m…
maruohon Jul 28, 2022
1e1a58c
Bump version to 0.17.1
maruohon Jul 28, 2022
898d334
Update to MC 1.19.2 (just version bumps)
maruohon Aug 7, 2022
f88cc48
Switch from using `build.properties` to `gradle.properties`
maruohon Dec 8, 2022
8d57c7e
Update to MC 1.19.3
maruohon Dec 8, 2022
f1d4b9e
Update to MC 1.19.4 (by tomalbrc)
maruohon Mar 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
674 changes: 0 additions & 674 deletions COPYING.txt

This file was deleted.

File renamed without changes.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
Item Scroller
==============
Item Scroller is a tiny mod for Minecraft 1.8.9+, which adds the functionality of moving items in inventory GUIs
by scrolling the mouse wheel over slots with items in them.
This is basically what NEI does/did (and Mouse Tweaks also seems to do), but separated into this tiny mod,
and probably implemented in a different manner.
For more information and the downloads (compiled builds), see http://minecraft.curseforge.com/projects/item-scroller
Item Scroller is a Minecraft mod that adds various convenience features for moving items
inside inventory GUIs. Examples are scrolling the mouse wheel over slots with items in them
or Shift/Ctrl + click + dragging over slots to move items from them in various ways etc.

Item scrolling is basically what the old NEI mod did and Mouse Tweaks also does.
This mod has some different drag features compared to Mouse Tweaks, and also some special
villager trading related helper features as well as crafting helper features.

For more information and downloads of the already compiled builds,
see https://www.curseforge.com/minecraft/mc-mods/item-scroller

Compiling
=========
Expand Down
155 changes: 40 additions & 115 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,135 +1,60 @@

buildscript {
repositories {
jcenter()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = 'sponge'
url = 'http://repo.spongepowered.org/maven'
}
}

dependencies {
classpath "net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT"
classpath 'org.spongepowered:mixingradle:0.6-SNAPSHOT'
}
}

repositories {
maven {
url 'https://masa.dy.fi/maven'
}
plugins {
id 'fabric-loom' version '1.1-SNAPSHOT'
}

apply plugin: 'net.minecraftforge.gradle.liteloader'
apply plugin: 'org.spongepowered.mixin'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

ext.configFile = file "build.properties"

configFile.withReader {
def prop = new Properties()
prop.load(it)
project.ext.config = new ConfigSlurper().parse prop
repositories {
maven { url 'https://masa.dy.fi/maven' }
maven { url 'https://maven.terraformersmc.com/releases/' }
// maven { url 'https://maven.quiltmc.org/repository/release/' }
}

minecraft {
version = config.minecraft_version
mappings = config.mappings_version
runDir = 'minecraft'
makeObfSourceJar = false

ext.mod_version = config.mod_version

if (mod_version.endsWith('-dev')) {
mod_version = mod_version + "." + new Date().format('yyyyMMdd.HHmmss')
}
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.mappings_version}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.fabric_loader_version}"
implementation "com.google.code.findbugs:jsr305:3.0.2"

replaceIn "Reference.java"
replace "@MOD_VERSION@", mod_version
}
modImplementation "fi.dy.masa.malilib:malilib-fabric-${project.minecraft_version_out}:${project.malilib_version}"

dependencies {
deobfCompile "fi.dy.masa.malilib:malilib-" + config.minecraft_version_out + ":" + config.malilib_version + ":deobf"
}
// Fabric API. This is technically optional, but you probably want it anyway.
//modCompile "net.fabricmc.fabric-api:fabric-api:" + project.fabric_version

sourceSets {
main {
ext.refMap = 'mixins.' + config.mod_id + '.refmap.json'
}
modCompileOnly "com.terraformersmc:modmenu:${project.mod_menu_version}"
}

group = config.group + config.mod_id // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = config.mod_id + '-' + config.minecraft_version_out
version = project.minecraft.mod_version
group = project.group + "." + project.mod_id
archivesBaseName = project.mod_file_name + '-' + project.minecraft_version_out
version = project.mod_version

/**
* This section allows you to customise the generated litemod.json file
*/
litemod {
json {
name = config.mod_id
displayName = config.mod_name
mcversion = config.minecraft_version
version = config.mod_version
author = config.author

// Uncomment any of the following lines and fill in your own details as required
//requiredAPIs = [ 'someapi' ]
//tweakClass = 'name.of.tweaker.here'
dependsOn = [ 'malilib' ]
mixinConfigs = [ 'mixins.' + config.mod_id + '.json' ]
}
if (version.endsWith('-dev')) {
version += "." + new Date().format('yyyyMMdd.HHmmss')
}

/**
* This section allows you to customise your generated jar (litemod) file. By
* default it includes the generated litemod.json file, however if you prefer to
* include your own file from resources, simply remove the line below.
*/
jar {
// Remove the "-mc1.12" suffix from the file name
classifier = ""

// Don't append a 'mod-' filename prefix >_>
baseName = archivesBaseName
processResources {
// Exclude the GIMP image files
exclude '**/*.xcf'
exclude '**/xcf'

from litemod.outputs
// this will ensure that this task is redone when the versions change.
//inputs.property "minecraft_version", project.project.minecraft_version

/*
manifest.mainAttributes (
'Built-By': System.properties['user.name'],
'Created-By': System.properties['java.vm.version'] + " (" + System.properties['java.vm.vendor'] + ")",
'Implementation-Title': config.mod_id,
'Implementation-Version': project.version
)
*/
}
inputs.property "mod_version", project.mod_version

mixin {
defaultObfuscationEnv notch
filesMatching("fabric.mod.json") {
expand "mod_version": project.mod_version
}
}

//tasks.withType(Jar)*.baseName = archivesBaseName

processResources
{
// this will ensure that this task is redone when the versions change.
inputs.property "mod_version", project.minecraft.mod_version
inputs.property "minecraft_version", project.config.minecraft_version
tasks.withType(JavaCompile).configureEach {
// ensure that the encoding is set to UTF-8, no matter what the system default is
// this fixes some edge cases with special characters not displaying correctly
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
// If Javadoc is generated, this must be specified in that task too.
it.options.encoding = "UTF-8"

// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'

// replace version and mcversion
expand 'mod_version': project.minecraft.mod_version, 'minecraft_version': project.config.minecraft_version
}

// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
it.options.release = 17
}
12 changes: 0 additions & 12 deletions build.properties

This file was deleted.

23 changes: 23 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
org.gradle.jvmargs = -Xmx3G
org.gradle.daemon = false
org.gradle.cache.cleanup = false

group = fi.dy.masa
mod_id = itemscroller
mod_name = Item Scroller
author = masa
mod_file_name = itemscroller-fabric

# Current mod version
mod_version = 0.19.2

# Required malilib version
malilib_version = 0.15.2

# Minecraft, Fabric and mappings versions
minecraft_version_out = 1.19.4
minecraft_version = 1.19.4
mappings_version = 1.19.4+build.1

fabric_loader_version = 0.14.17
mod_menu_version = 6.1.0-rc.4
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Jan 05 21:33:17 EET 2017
#Mon Aug 22 17:36:22 EDT 2016
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
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip
26 changes: 17 additions & 9 deletions gradlew
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh

##############################################################################
##
Expand Down Expand Up @@ -33,11 +33,11 @@ DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"

warn ( ) {
warn () {
echo "$*"
}

die ( ) {
die () {
echo
echo "$*"
echo
Expand Down Expand Up @@ -154,11 +154,19 @@ if $cygwin ; then
esac
fi

# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
function splitJvmOpts() {
JVM_OPTS=("$@")
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
APP_ARGS=$(save "$@")

exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
# 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" "$@"
6 changes: 0 additions & 6 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ goto fail
@rem Get command-line arguments, handling Windows variants

if not "%OS%" == "Windows_NT" goto win9xME_args
if "%@eval[2+2]" == "4" goto 4NT_args

:win9xME_args
@rem Slurp the command line arguments.
Expand All @@ -60,11 +59,6 @@ set _SKIP=2
if "x%~1" == "x" goto execute

set CMD_LINE_ARGS=%*
goto execute

:4NT_args
@rem Get arguments from the 4NT Shell from JP Software
set CMD_LINE_ARGS=%$

:execute
@rem Setup the command line
Expand Down
9 changes: 9 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pluginManagement {
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
gradlePluginPortal()
}
}
3 changes: 3 additions & 0 deletions src/main/java/fi/dy/masa/itemscroller/InitHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import fi.dy.masa.itemscroller.event.WorldLoadListener;
import fi.dy.masa.malilib.config.ConfigManager;
import fi.dy.masa.malilib.event.InputEventHandler;
import fi.dy.masa.malilib.event.TickHandler;
import fi.dy.masa.malilib.event.WorldLoadHandler;
import fi.dy.masa.malilib.interfaces.IInitializationHandler;

Expand All @@ -25,6 +26,8 @@ public void registerModHandlers()
WorldLoadHandler.getInstance().registerWorldLoadPreHandler(listener);
WorldLoadHandler.getInstance().registerWorldLoadPostHandler(listener);

TickHandler.getInstance().registerClientTickHandler(KeybindCallbacks.getInstance());

KeybindCallbacks.getInstance().setCallbacks();
}
}
17 changes: 17 additions & 0 deletions src/main/java/fi/dy/masa/itemscroller/ItemScroller.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package fi.dy.masa.itemscroller;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import fi.dy.masa.malilib.event.InitializationHandler;
import net.fabricmc.api.ModInitializer;

public class ItemScroller implements ModInitializer
{
public static final Logger logger = LogManager.getLogger(Reference.MOD_ID);

@Override
public void onInitialize()
{
InitializationHandler.getInstance().registerInitializationHandler(new InitHandler());
}
}
Loading