Skip to content
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

Closed

Conversation

KatatsumuriPan
Copy link

  • 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,
Copy link
Collaborator

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,
Copy link
Collaborator

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 {
Copy link
Collaborator

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();
Copy link
Collaborator

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

@WaitingIdly
Copy link
Collaborator

superseded by #115

@WaitingIdly WaitingIdly closed this Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants