Strip all Phase references, TODO/FUTURE roadmap notes, and internal planning comments from the codebase. Run Prettier for consistent formatting across all Java files.
36 lines
1000 B
Java
36 lines
1000 B
Java
package com.tiedup.remake.items.base;
|
|
|
|
/**
|
|
* Enum defining all mittens variants.
|
|
* Used by GenericMittens to create mittens items via factory pattern.
|
|
*
|
|
* <p>Mittens system - blocks hand interactions when equipped.
|
|
*
|
|
* <p><b>Issue #12 fix:</b> Added textureSubfolder to eliminate string checks in renderers.
|
|
*/
|
|
public enum MittensVariant {
|
|
LEATHER("mittens", "mittens");
|
|
|
|
private final String registryName;
|
|
private final String textureSubfolder;
|
|
|
|
MittensVariant(String registryName, String textureSubfolder) {
|
|
this.registryName = registryName;
|
|
this.textureSubfolder = textureSubfolder;
|
|
}
|
|
|
|
public String getRegistryName() {
|
|
return registryName;
|
|
}
|
|
|
|
/**
|
|
* Get the texture subfolder for this mittens variant.
|
|
* Used by renderers to locate texture files.
|
|
*
|
|
* @return Subfolder path under textures/entity/bondage/ (e.g., "mittens")
|
|
*/
|
|
public String getTextureSubfolder() {
|
|
return textureSubfolder;
|
|
}
|
|
}
|