-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add extra quest frames #102
Add extra quest frames #102
Conversation
KatatsumuriPan
commented
Mar 2, 2024
- Remove PresetTexture.QUEST_AUX_*.
- Add many extra icons for quest frame.
- Separate flip-"isMain" button and change-quest-frame button.
- Add the new gui to select a quest frame.
package betterquesting.api.enums; | ||
|
||
public enum EnumFrameType { | ||
DEFAULT, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i believe there should be an option to have no frame (EMPTY).
DIAGONAL_STAR4, | ||
PRICKLE, | ||
GEAR, | ||
GATE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MAIN as a prop should be deprecated, and should be converted into this frame option
import net.minecraft.client.gui.GuiScreen; | ||
|
||
@SuppressWarnings("WeakerAccess") | ||
public class GuiQuestFrameSelection extends GuiScreenCanvas implements IPEventListener, IVolatileScreen { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be accessible from the NBT editor frame entry
itemPreview = new PanelQuest(new GuiTransform(GuiAlign.TOP_LEFT, 0, 16, 36, 36, 0), 99, itemStack, frameType, questState, isMain); | ||
cvLeft.addPanel(itemPreview); | ||
|
||
EnumQuestState[] values = EnumQuestState.values(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should include a note about what this is for (previewing state in different colors), feels a bit weird without any explanation
superseded by #115 |