Remove internal phase comments and format code

Strip all Phase references, TODO/FUTURE roadmap notes, and internal
planning comments from the codebase. Run Prettier for consistent
formatting across all Java files.
This commit is contained in:
NotEvil
2026-04-12 01:24:49 +02:00
parent 73d70e212d
commit a71093ba9c
482 changed files with 8500 additions and 5155 deletions

View File

@@ -11,7 +11,6 @@ import net.minecraftforge.fml.common.Mod;
/**
* Event handler for anvil-based padlock attachment.
*
* Phase 20: Padlock via Anvil
*
* Allows combining a bondage item (ILockable) with a Padlock in the anvil
* to make the item "lockable". A lockable item can then be locked with a Key.

View File

@@ -2,12 +2,12 @@ package com.tiedup.remake.events.system;
import com.tiedup.remake.bounty.Bounty;
import com.tiedup.remake.bounty.BountyManager;
import com.tiedup.remake.core.SettingsAccessor;
import com.tiedup.remake.core.TiedUpMod;
import com.tiedup.remake.state.IBondageState;
import com.tiedup.remake.state.PlayerBindState;
import com.tiedup.remake.state.PlayerCaptorManager;
import com.tiedup.remake.util.KidnappedHelper;
import com.tiedup.remake.core.SettingsAccessor;
import java.util.List;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.world.entity.LivingEntity;
@@ -20,7 +20,6 @@ import net.minecraftforge.fml.common.Mod;
/**
* Handles bounty delivery detection and player login events.
*
* Phase 17: Bounty System
*
* Detects when:
* - A hunter brings a captive near the bounty client

View File

@@ -24,7 +24,7 @@ import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.registries.ForgeRegistries;
/**
* Central event handler for Cell System V2 Phase 2.
* Central event handler for Cell System V2.
*
* Handles:
* - Selection mode (block click capture for Set Spawn/Delivery/Disguise)

View File

@@ -5,12 +5,12 @@ import com.tiedup.remake.core.SystemMessageManager;
import com.tiedup.remake.core.TiedUpMod;
import com.tiedup.remake.dialogue.GagTalkManager;
import com.tiedup.remake.items.base.ItemGag;
import com.tiedup.remake.v2.BodyRegionV2;
import com.tiedup.remake.v2.bondage.capability.V2EquipmentHelper;
import com.tiedup.remake.state.IBondageState;
import com.tiedup.remake.util.GagMaterial;
import com.tiedup.remake.util.KidnappedHelper;
import com.tiedup.remake.util.TiedUpUtils;
import com.tiedup.remake.v2.BodyRegionV2;
import com.tiedup.remake.v2.bondage.capability.V2EquipmentHelper;
import java.util.List;
import net.minecraft.network.chat.Component;
import net.minecraft.server.level.ServerPlayer;
@@ -25,7 +25,6 @@ import net.minecraftforge.fml.common.Mod;
* ChatEventHandler - Intercepts chat messages to apply gag effects.
* Evolution: Implements proximity-based chat for gagged players.
*
* Phase 14.1.5: Refactored to use IBondageState interface
*
* Security fix: Now blocks communication commands (/msg, /tell, etc.) when gagged
* to prevent gag bypass exploit
@@ -70,8 +69,10 @@ public class ChatEventHandler {
);
// 2. Proximity Chat Logic
boolean useProximity = SettingsAccessor.isGagTalkProximityEnabled(
player.level().getGameRules());
boolean useProximity =
SettingsAccessor.isGagTalkProximityEnabled(
player.level().getGameRules()
);
if (useProximity) {
// Cancel global and send to nearby
@@ -84,7 +85,6 @@ public class ChatEventHandler {
double range = material.getTalkRange();
// Phase 14.2: Use TiedUpUtils for proximity and earplugs filtering
List<ServerPlayer> nearbyPlayers =
TiedUpUtils.getPlayersAround(
player.level(),

View File

@@ -30,7 +30,10 @@ public class MiniGameTickHandler {
long currentTick = event.getServer().getTickCount();
// Tick continuous struggle sessions every tick
StruggleSessionManager.getInstance().tickContinuousSessions(event.getServer(), currentTick);
StruggleSessionManager.getInstance().tickContinuousSessions(
event.getServer(),
currentTick
);
// Cleanup expired sessions periodically
StruggleSessionManager.getInstance().tickCleanup(currentTick);