Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Commit

Permalink
Various bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
1fxe committed May 2, 2021
1 parent 30ac4e2 commit 0037b1a
Show file tree
Hide file tree
Showing 8 changed files with 185 additions and 357 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ A revamp of [Canelex's Pack Display Mod](https://www.youtube.com/watch?v=LeDNOdO

### Configuration

- Ignore Overlays
- Padding
- Name
- Description
- Size

And more

#### What is Resource Pack Display?

Resource Pack Display allows you to display information about your current resource pack. <br/>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modGroup=dev.fxe
modVersion=1.3-Beta
modVersion=1.4-Beta
modBaseName=ResourcePackDisplay
forgeVersion=1.8.9-11.15.1.2318-1.8.9
mcpVersion=stable_22
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class ResourcePackDisplay {

public static final String MOD_ID = "resource_pack_display";
public static final String MOD_NAME = "Resource Pack Display";
public static final String VERSION = "1.3-Beta";
public static final String VERSION = "1.4-Beta";
@Mod.Instance(MOD_ID)
public static ResourcePackDisplay INSTANCE;
public final HashSet<ResourcePackRepository.Entry> randomPacks = new HashSet<>();
Expand Down
30 changes: 15 additions & 15 deletions src/main/java/dev/fxe/mods/resourcepackdisplay/data/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,54 +36,54 @@
public class Config extends Vigilant {

@Property(
type = PropertyType.SWITCH, name = "Enable Gui",
description = "Resource pack display gui", category = "GUI"
type = PropertyType.SWITCH, name = "Enable HUD",
description = "Resource pack display gui", category = "HUD"
)
public static boolean isGuiEnabled;

@Property(
type = PropertyType.SWITCH, name = "Display Pack background",
category = "GUI"
category = "HUD"
)
public static boolean displayBackground;

@Property(
type = PropertyType.SWITCH, name = "Display Pack Icon",
category = "GUI"
category = "HUD"
)
public static boolean displayPackIcon;

@Property(
type = PropertyType.SWITCH, name = "Rounded Icon",
description = "TODO: Makes the icon rounded", category = "GUI"
type = PropertyType.SWITCH, name = "Ignore overlay pack",
category = "HUD"
)
public static boolean roundIcon;
public static boolean ignoreOverlay = true;

@Property(
type = PropertyType.SWITCH, name = "Display Pack Name",
category = "GUI")
category = "HUD")
public static boolean displayPackName;


@Property(
type = PropertyType.SWITCH, name = "Display Pack Description",
category = "GUI")
category = "HUD")
public static boolean displayPackDescription;

@Property(
type = PropertyType.SWITCH, name = "Display Pack Size",
category = "GUI")
category = "HUD")
public static boolean displayPackSize;

@Property(
type = PropertyType.SWITCH, name = "Pad the sides",
category = "GUI")
category = "HUD")
public static boolean hasPadding;

@Property(type = PropertyType.SWITCH, name = "Enable text shadow", category = "GUI")
@Property(type = PropertyType.SWITCH, name = "Enable text shadow", category = "HUD")
public static boolean hasTextShadow = true;

@Property(type = PropertyType.SWITCH, name = "Show in GUIs", category = "GUI")
@Property(type = PropertyType.SWITCH, name = "Show in GUIs", category = "HUD")
public static boolean showInGui;

@Property(
Expand All @@ -101,10 +101,10 @@ public class Config extends Vigilant {
min = 500, max = 2000, category = "Extra")
public static int notifDelay = 1000;

@Property(type = PropertyType.NUMBER, name = "x", category = "GUI", hidden = true)
@Property(type = PropertyType.NUMBER, name = "x", category = "HUD", hidden = true)
public static int x = 0;

@Property(type = PropertyType.NUMBER, name = "y", category = "GUI", hidden = true)
@Property(type = PropertyType.NUMBER, name = "y", category = "HUD", hidden = true)
public static int y = 0;

public Config() {
Expand Down
47 changes: 0 additions & 47 deletions src/main/java/dev/fxe/mods/resourcepackdisplay/data/Shaders.java

This file was deleted.

139 changes: 0 additions & 139 deletions src/main/java/dev/fxe/mods/resourcepackdisplay/ui/ShaderManager.java

This file was deleted.

Loading

0 comments on commit 0037b1a

Please sign in to comment.