mirror of
https://github.com/YouHaveTrouble/QuickerStacker.git
synced 2026-05-12 06:06:55 +00:00
an attempt was made at understanding how interactions work without any documentation
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package me.youhavetrouble.quickerstacker;
|
||||
|
||||
|
||||
import com.hypixel.hytale.server.core.modules.interaction.interaction.config.Interaction;
|
||||
import com.hypixel.hytale.server.core.plugin.JavaPlugin;
|
||||
import com.hypixel.hytale.server.core.plugin.JavaPluginInit;
|
||||
import me.youhavetrouble.quickerstacker.interaction.ChestInteraction;
|
||||
import org.checkerframework.checker.nullness.compatqual.NonNullDecl;
|
||||
|
||||
public class QuickerStacker extends JavaPlugin {
|
||||
|
||||
public QuickerStacker(@NonNullDecl JavaPluginInit init) {
|
||||
super(init);
|
||||
|
||||
this.getCodecRegistry(Interaction.CODEC).register("YouHaveTrouble_QuickerStacker_QuickStackToChest", ChestInteraction.class, ChestInteraction.CODEC);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user