29 lines
1.1 KiB
Java
29 lines
1.1 KiB
Java
package jesse.keeblarcraft;
|
|
|
|
import jesse.keeblarcraft.Entities.EntityRegistration;
|
|
import jesse.keeblarcraft.GuiMgr.Entities.ShopKeeperRenderer;
|
|
import jesse.keeblarcraft.gui.ClientHandlers;
|
|
import jesse.keeblarcraft.Shortcuts.ShortcutManager;
|
|
import net.fabricmc.api.ClientModInitializer;
|
|
import net.fabricmc.fabric.api.client.rendereregistry.v1.EntityRendererRegistry;
|
|
import net.minecraft.client.render.entity.model.EntityModelLayer;
|
|
import net.minecraft.util.Identifier;
|
|
|
|
|
|
public class KeeblarcraftClient implements ClientModInitializer {
|
|
public static final EntityModelLayer SHOP_KEEPER_LAYER = new EntityModelLayer(new Identifier("textures/entity/villager/villager.png"), "VILLAGE_ENTITY_MODEL_LAYER");
|
|
@Override
|
|
public void onInitializeClient() {
|
|
ShortcutManager.RegisterKeybinds();
|
|
ClientHandlers.RegisterHandlers();
|
|
|
|
// EntityRendererRegistry.INSTANCE.register(EntityRegistration.SHOP_KEEPER_ENTITY_TYPE, (context) -> {
|
|
// return new ShopKeeperRenderer(context);
|
|
// });
|
|
|
|
// ScreenManager.GetInstance();
|
|
// ScreenManager.AddWidget(TreeWidget.class, 10);
|
|
}
|
|
}
|
|
|