Clean repo for open source release
Remove build artifacts, dev tool configs, unused dependencies, and third-party source dumps. Add proper README, update .gitignore, clean up Makefile.
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
package com.tiedup.remake.items.base;
|
||||
|
||||
/**
|
||||
* Enum defining all earplugs variants.
|
||||
* Used by GenericEarplugs to create earplugs items via factory pattern.
|
||||
*
|
||||
* <p><b>Issue #12 fix:</b> Added textureSubfolder to eliminate string checks in renderers.
|
||||
*/
|
||||
public enum EarplugsVariant {
|
||||
CLASSIC("classic_earplugs", "earplugs");
|
||||
|
||||
private final String registryName;
|
||||
private final String textureSubfolder;
|
||||
|
||||
EarplugsVariant(String registryName, String textureSubfolder) {
|
||||
this.registryName = registryName;
|
||||
this.textureSubfolder = textureSubfolder;
|
||||
}
|
||||
|
||||
public String getRegistryName() {
|
||||
return registryName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the texture subfolder for this earplugs variant.
|
||||
* Used by renderers to locate texture files.
|
||||
*
|
||||
* @return Subfolder path under textures/entity/bondage/ (e.g., "earplugs")
|
||||
*/
|
||||
public String getTextureSubfolder() {
|
||||
return textureSubfolder;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user