-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In development, please help! #39
Comments
Mod loader or mod loader gui? As for creating your own mod loader from scratch, the current architecture of eaglerforge is almost completely external from eagler's java source. If you want to write it in java, you can check out EaglerForge-old, but keep in mind that the in-source approach was scrapped for many reasons, mainly the fact that you had to manually write code to import/export every single method/property. Good luck |
Do you know how to make new GUI and buttons? |
I managed a little to make GUI. I'll give instructions soon |
Could you please explain? |
like I said. Ill tell you how to make GUI soon. its 11:30 where I am, and I don't feel like looking into it tonight |
ok |
@kkk2z question, are you using google translate |
男性猫犬は家の中でディディ |
wht |
No, we do not use it. |
猫犬男ディディ、ベビーオイルを塗る |
wh |
スキビディ・オハイオ・ファンダム・タックス・カイ・セナト・リッツ・デューク・デニス・ミューイング・シグマ・グーニング |
I speak it trust |
what |
translate what I just said: スキビディ・オハイオ・ファンダム・タックス・カイ・セナト・リッツ・デューク・デニス・ミューイング・シグマ・グーニング |
what |
the hell |
😭 |
>:3c |
whattt |
hey, sorry I haven't sent the tutorial yet. ive been pretty busy (grinding og Fortnite). I'll send it as soon as I get the chance. also I've been sending random brainrot, look it up. |
ok- |
java GUI example: idk if it works. mess around to see if it works. package net.example.gui;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import com.google.common.collect.Lists;
import net.lax1dude.eaglercraft.v1_8.EagRuntime;
import net.lax1dude.eaglercraft.v1_8.internal.FileChooserResult;
import net.lax1dude.eaglercraft.v1_8.internal.vfs2.VFile2;
import net.lax1dude.eaglercraft.v1_8.log4j.LogManager;
import net.lax1dude.eaglercraft.v1_8.log4j.Logger;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import net.minecraft.client.gui.GuiListExtended;
import net.minecraft.client.gui.GuiOptionButton;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.client.gui.GuiSelectWorld;
import net.minecraft.client.gui.GuiSlot;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.resources.I18n;
public class GuiExample extends GuiScreen {
private final GuiScreen parentScreen;
public Minecraft mc = Minecraft.getMinecraft();
public GuiExample(GuiScreen parentScreenIn) {
this.parentScreen = parentScreenIn;
updateModsList();
}
/**
* +
* Adds the buttons (and other controls) to the screen in
* question. Called when the GUI is displayed and when the
* window resizes, the buttonList is cleared beforehand.
*/
public void initGui() {
GuiButton btn;
this.buttonList.add(btn = new GuiOptionButton(1, this.width / 2 - 154, this.height - 24,
I18n.format("your.text.here"
+ "", new Object[0]))); }
public void handleMouseInput() throws IOException {
super.handleMouseInput();
}
/**
* +
* Called by the controls from the buttonList when activated.
* (Mouse pressed for buttons)
*/
protected void actionPerformed(GuiButton parGuiButton) {
if (parGuiButton.id == 1) {
//do stuff
}
}
/**
* +
* Draws the screen and all the components in it. Args : mouseX,
* mouseY, renderPartialTicks
*/
public void drawScreen(int i, int j, float f) {
this.drawBackground(0);
this.drawCenteredString(this.fontRendererObj, I18n.format("your.text.here", new Object[0]),
this.width / 2,
8, 0xFFFFFF);
super.drawScreen(i, j, f);
}
public void updateScreen() {
//update logic
}
} |
Where should I put it in the file...? |
whar |
elaborate |
What kind of work is needed to create such a new GUI/menu etc.?
We are creating a client using eaglercraft - workspace (java language) and
I would like to create my own mod loader.
i am japanese devloper
The text was updated successfully, but these errors were encountered: