go back to interaction and it actually works this time

This commit is contained in:
2026-01-18 03:07:18 +01:00
parent 5ae383e9e3
commit ed4e5968e2
7 changed files with 175 additions and 61 deletions
@@ -1,9 +1,10 @@
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.system.QuickStackToChestSystem;
import me.youhavetrouble.quickerstacker.interaction.QuickStackToChestInteraction;
import org.checkerframework.checker.nullness.compatqual.NonNullDecl;
public class QuickerStacker extends JavaPlugin {
@@ -13,8 +14,8 @@ public class QuickerStacker extends JavaPlugin {
}
@Override
public void start() {
this.getEntityStoreRegistry().registerSystem(new QuickStackToChestSystem());
public void setup() {
this.getCodecRegistry(Interaction.CODEC).register("Yht_QuickerStacker_QuickStackToChest", QuickStackToChestInteraction.class, QuickStackToChestInteraction.CODEC);
}
}