Temporarily remove the dynamic gui system until i have the energy to properly implement it

This commit is contained in:
Aria 2023-03-02 17:49:07 -07:00
parent be1f961175
commit a989d1fe65
7 changed files with 71 additions and 61 deletions

View file

@ -1,17 +1,25 @@
package dev.zontreck.libzontreck.commands;
import java.util.ArrayList;
import java.util.List;
import com.mojang.brigadier.CommandDispatcher;
import dev.zontreck.libzontreck.dynamicchest.ChestGuiContainer;
import dev.zontreck.libzontreck.util.heads.CreditsEntry;
import dev.zontreck.libzontreck.util.heads.HeadCache;
import dev.zontreck.libzontreck.util.heads.HeadUtilities;
import net.minecraft.commands.CommandSourceStack;
import net.minecraft.commands.Commands;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.world.entity.player.Player;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.PlayerHeadItem;
public class CreditsCommand {
public static void register(CommandDispatcher<CommandSourceStack> dispatch)
{
dispatch.register(Commands.literal("aria_credits").executes(s->credits(s.getSource())));
dispatch.register(Commands.literal("credits_ariasmods").executes(s->credits(s.getSource())));
}
private static int credits(CommandSourceStack source) {
@ -19,7 +27,7 @@ public class CreditsCommand {
if(source.getEntity() instanceof Player)
{
// OK.
ServerPlayer play = (ServerPlayer)source.getEntity();
return 0;