// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.server.core.modules.prefabspawner;

import com.hypixel.hytale.server.core.universe.world.meta.BlockStateModule;
import com.hypixel.hytale.server.core.command.system.AbstractCommand;
import com.hypixel.hytale.server.core.modules.prefabspawner.commands.PrefabSpawnerCommand;
import com.hypixel.hytale.server.core.plugin.JavaPluginInit;
import javax.annotation.Nonnull;
import com.hypixel.hytale.common.plugin.PluginManifest;
import com.hypixel.hytale.server.core.plugin.JavaPlugin;

public class PrefabSpawnerModule extends JavaPlugin
{
    @Nonnull
    public static final PluginManifest MANIFEST;
    
    public PrefabSpawnerModule(@Nonnull final JavaPluginInit init) {
        super(init);
    }
    
    @Override
    protected void setup() {
        this.getBlockStateRegistry().registerBlockState(PrefabSpawnerState.class, "prefabspawner", PrefabSpawnerState.CODEC);
        this.getCommandRegistry().registerCommand(new PrefabSpawnerCommand());
    }
    
    static {
        MANIFEST = PluginManifest.corePlugin(PrefabSpawnerModule.class).depends(BlockStateModule.class).build();
    }
}
