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
994 B
Java
36 lines
994 B
Java
package com.tiedup.remake.items;
|
|
|
|
import com.tiedup.remake.items.base.IHasGaggingEffect;
|
|
import com.tiedup.remake.items.base.ItemBlindfold;
|
|
import com.tiedup.remake.util.GagMaterial;
|
|
import net.minecraft.world.item.Item;
|
|
|
|
/**
|
|
* Hood - Covers the head completely
|
|
* Combines blindfold effect with gagging effect.
|
|
*
|
|
* Extends ItemBlindfold for slot behavior, implements IHasGaggingEffect for speech muffling.
|
|
*/
|
|
public class ItemHood extends ItemBlindfold implements IHasGaggingEffect {
|
|
|
|
private final GagMaterial gagMaterial;
|
|
|
|
public ItemHood() {
|
|
super(new Item.Properties().stacksTo(16));
|
|
this.gagMaterial = GagMaterial.STUFFED; // Hoods muffle speech like stuffed gags
|
|
}
|
|
|
|
/**
|
|
* Get the gag material type for speech conversion.
|
|
* @return The gag material (STUFFED for hoods)
|
|
*/
|
|
public GagMaterial getGagMaterial() {
|
|
return gagMaterial;
|
|
}
|
|
|
|
@Override
|
|
public String getTextureSubfolder() {
|
|
return "hoods";
|
|
}
|
|
}
|