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:
@@ -1,13 +1,13 @@
|
||||
package com.tiedup.remake.items;
|
||||
|
||||
import com.tiedup.remake.core.ModSounds;
|
||||
import com.tiedup.remake.v2.BodyRegionV2;
|
||||
import com.tiedup.remake.core.SystemMessageManager;
|
||||
import com.tiedup.remake.core.TiedUpMod;
|
||||
import com.tiedup.remake.items.base.ItemCollar;
|
||||
import com.tiedup.remake.items.base.ItemOwnerTarget;
|
||||
import com.tiedup.remake.state.IRestrainable;
|
||||
import com.tiedup.remake.util.KidnappedHelper;
|
||||
import com.tiedup.remake.v2.BodyRegionV2;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.UUID;
|
||||
@@ -73,7 +73,9 @@ public class ItemShockerController extends ItemOwnerTarget {
|
||||
KidnappedHelper.getKidnappedState(target);
|
||||
if (targetState != null && targetState.hasCollar()) {
|
||||
isDisconnected = false;
|
||||
ItemStack collar = targetState.getEquipment(BodyRegionV2.NECK);
|
||||
ItemStack collar = targetState.getEquipment(
|
||||
BodyRegionV2.NECK
|
||||
);
|
||||
if (
|
||||
collar.getItem() instanceof
|
||||
ItemCollar collarItem &&
|
||||
@@ -260,7 +262,6 @@ public class ItemShockerController extends ItemOwnerTarget {
|
||||
}
|
||||
|
||||
/**
|
||||
* Phase 14.1.5: Refactored to support IRestrainable (LivingEntity + NPCs)
|
||||
*/
|
||||
@Override
|
||||
public InteractionResult interactLivingEntity(
|
||||
@@ -308,7 +309,6 @@ public class ItemShockerController extends ItemOwnerTarget {
|
||||
}
|
||||
|
||||
/**
|
||||
* Phase 14.1.5: New method to support LivingEntity (Players + NPCs)
|
||||
* Returns all kidnappable entities in range wearing shock collars owned by the shocker owner or in public mode.
|
||||
*/
|
||||
private List<LivingEntity> getNearbyKidnappedTargets(
|
||||
@@ -371,7 +371,9 @@ public class ItemShockerController extends ItemOwnerTarget {
|
||||
CompoundTag tag = stack.getTag();
|
||||
return (tag != null && tag.contains(NBT_RADIUS))
|
||||
? tag.getInt(NBT_RADIUS)
|
||||
: com.tiedup.remake.core.SettingsAccessor.getShockerControllerRadius(null);
|
||||
: com.tiedup.remake.core.SettingsAccessor.getShockerControllerRadius(
|
||||
null
|
||||
);
|
||||
}
|
||||
|
||||
public void setRadius(ItemStack stack, int radius) {
|
||||
|
||||
Reference in New Issue
Block a user