chore(P2): V1 zombie comments cleanup + i18n events/network/items

Zombie comments (14 files):
- Replace references to deleted V1 classes (ItemBind, ItemCollar, IBondageItem,
  BindVariant, etc.) with V2 equivalents or past-tense historical notes
- "V1 path" → "legacy slot-index path" for still-active legacy codepaths
- Clean misleading javadoc that implied V1 code was still present

i18n (13 files, 31 new keys):
- Events: 12 Component.literal() → translatable (labor tools, gag eat,
  death escape, debt, punishment, grace, camp protection, chest, maid)
- Network: 12 Component.literal() → translatable (trader messages,
  lockpick jam, slave freedom warnings)
- Items: 2 Component.literal() → translatable (ItemOwnerTarget tooltips)
This commit is contained in:
NotEvil
2026-04-16 11:20:17 +02:00
parent 371a138b71
commit 9b2c5dec8e
28 changed files with 114 additions and 89 deletions

View File

@@ -32,7 +32,7 @@ public final class BindModeHelper {
);
/**
* Check if the given stack is a bind item (V2 ARMS-region item or V1 ItemBind).
* Check if the given stack is a bind item (ARMS-region data-driven item).
*/
public static boolean isBindItem(ItemStack stack) {
if (stack.isEmpty()) return false;

View File

@@ -24,8 +24,8 @@ import net.minecraft.world.phys.AABB;
import org.jetbrains.annotations.Nullable;
/**
* Static utility for collar operations bridging V1 (ItemCollar subclasses)
* and V2 (data-driven items with OwnershipComponent).
* Static utility for collar operations using V2 data-driven items
* with OwnershipComponent.
*/
public final class CollarHelper {

View File

@@ -6,10 +6,10 @@ import com.tiedup.remake.v2.bondage.datadriven.DataDrivenItemRegistry;
import net.minecraft.world.item.ItemStack;
/**
* Resolves the {@link PoseType} for any bondage item stack (V1 or V2).
* Resolves the {@link PoseType} for any bondage item stack.
*
* <p>V2 items read from the data-driven definition's {@code pose_type} field.
* V1 items fall back to {@code ItemBind.getPoseType()}.</p>
* <p>Reads from the data-driven definition's {@code pose_type} field,
* falling back to {@link PoseType#STANDARD} if absent.</p>
*/
public final class PoseTypeHelper {

View File

@@ -20,8 +20,8 @@ import net.minecraft.world.item.ItemStack;
/**
* Handles the tying interaction flow for V2 data-driven ARMS items.
*
* <p>Extracted from {@code ItemBind.interactLivingEntity()} to support
* the same tying task flow for data-driven items.</p>
* <p>Originally extracted from the former {@code ItemBind.interactLivingEntity()},
* now the canonical tying flow for all data-driven ARMS items.</p>
*/
public final class TyingInteractionHelper {