You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So im trying to recreate an old client's interface
but every time i try to compile i get multiple errors like
C:\Users\User\VantaUI\VantaUI\build\sources\main\java\org\applehacks\VantaUI\CustomTheme.java:3: error: cannot find symbol
import com.lukflug.panelstudio.theme.Theme;
^
symbol: class Theme
location: package com.lukflug.panelstudio.theme
my clickgui is like this
package org.applehacks.VantaUI;
public class CustomTheme implements Theme { @OverRide
public Renderer getPanelRenderer() {
return new CustomPanelRenderer(new ColorScheme());
}
@Override
public Renderer getButtonRenderer() {
return new CustomButtonRenderer(new ColorScheme());
}
@Override
public Renderer getSliderRenderer() {
return new CustomSliderRenderer(new ColorScheme());
}
So im trying to recreate an old client's interface
but every time i try to compile i get multiple errors like
C:\Users\User\VantaUI\VantaUI\build\sources\main\java\org\applehacks\VantaUI\CustomTheme.java:3: error: cannot find symbol
import com.lukflug.panelstudio.theme.Theme;
^
symbol: class Theme
location: package com.lukflug.panelstudio.theme
my clickgui is like this
package org.applehacks.VantaUI;
import com.lukflug.panelstudio.ClickGUI;
import com.lukflug.panelstudio.SettingsAnimation;
import com.lukflug.panelstudio.component.ButtonComponent;
import com.lukflug.panelstudio.component.Panel;
import com.lukflug.panelstudio.container.PanelContainer;
import com.lukflug.panelstudio.layout.LayoutManager;
import com.lukflug.panelstudio.layout.RootLayout;
import com.lukflug.panelstudio.mc.MinecraftGUI;
import com.lukflug.panelstudio.theme.Theme;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
public class VantaClickGUI extends MinecraftGUI {
private final ClickGUI gui;
}
CustomTheme.java is like this
package org.applehacks.VantaUI;
import com.lukflug.panelstudio.theme.Theme;
import com.lukflug.panelstudio.theme.ColorScheme;
import com.lukflug.panelstudio.theme.Renderer;
public class CustomTheme implements Theme {
@OverRide
public Renderer getPanelRenderer() {
return new CustomPanelRenderer(new ColorScheme());
}
}
build.gradle is like this
buildscript {
repositories {
jcenter()
maven {
name = "lukflug"
url = "https://lukflug.github.io/maven/"
}
maven { url = 'https://files.minecraftforge.net/maven' }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
version = "1.0"
group = "org.applehacks.VantaUI"
archivesBaseName = "VantaUI"
minecraft {
version = "1.8.9-11.15.1.2318-1.8.9"
runDir = "run"
mappings = "stable_20"
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
maven {
name = "lukflug"
url = "https://lukflug.github.io/maven/"
}
maven { url = 'https://files.minecraftforge.net/maven' }
}
dependencies {
implementation "com.lukflug:panelstudio:0.2.4"
implementation "com.lukflug:panelstudio-mc8-forge:0.2.4"
}
processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
}
i suppose i made a mistake somewhere, but i don't find where
The text was updated successfully, but these errors were encountered: