-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add HudProvider enum for Jade/TOP provider IDs - TOP compatibility will be updated if/when TOP is updated - Update ItemTooltipModNameRemover implementation to match current Jade code - Clean up code slightly
- Loading branch information
Showing
11 changed files
with
126 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package choonster.testmod3.compat; | ||
|
||
import choonster.testmod3.TestMod3; | ||
import net.minecraft.resources.ResourceLocation; | ||
|
||
/** | ||
* IDs for Jade and The One Probe providers. | ||
* | ||
* @author Choonster | ||
*/ | ||
public enum HudProvider { | ||
COLORED_ROTATABLE_BLOCK_FACING("colored_rotatable_block_facing"), | ||
COLORED_MULTI_ROTATABLE_BLOCK_FACE_ROTATION("colored_multi_rotatable_block_face_rotation"), | ||
ROTATABLE_LAMP_FACING("rotatable_lamp_facing"), | ||
CHEST_FACING("chest_facing"), | ||
PLANE_HORIZONTAL_ROTATION("plane_horizontal_rotation"), | ||
PLANE_VERTICAL_ROTATION("plane_vertical_rotation"), | ||
RESTRICTED_FLUID_TANK_ENABLED_FACINGS("restricted_fluid_tank_enabled_facings"), | ||
|
||
; | ||
|
||
private final String name; | ||
private final ResourceLocation id; | ||
|
||
HudProvider(final String name) { | ||
this.name = name; | ||
id = new ResourceLocation(TestMod3.MODID, name); | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public ResourceLocation getId() { | ||
return id; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters