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,7 +1,6 @@
|
||||
package com.tiedup.remake.commands;
|
||||
|
||||
import com.mojang.brigadier.CommandDispatcher;
|
||||
import com.tiedup.remake.v2.BodyRegionV2;
|
||||
import com.mojang.brigadier.arguments.StringArgumentType;
|
||||
import com.mojang.brigadier.context.CommandContext;
|
||||
import com.mojang.brigadier.exceptions.CommandSyntaxException;
|
||||
@@ -13,6 +12,7 @@ import com.tiedup.remake.items.base.BlindfoldVariant;
|
||||
import com.tiedup.remake.items.base.EarplugsVariant;
|
||||
import com.tiedup.remake.items.base.GagVariant;
|
||||
import com.tiedup.remake.state.IBondageState;
|
||||
import com.tiedup.remake.v2.BodyRegionV2;
|
||||
import java.util.List;
|
||||
import java.util.Optional;
|
||||
import net.minecraft.commands.CommandSourceStack;
|
||||
@@ -27,7 +27,7 @@ import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.phys.AABB;
|
||||
|
||||
/**
|
||||
* NPC management commands for Phase 18.
|
||||
* NPC management commands.
|
||||
*
|
||||
* Commands:
|
||||
* /npc spawn kidnapper [player] - Spawn a kidnapper at location
|
||||
@@ -432,8 +432,7 @@ public class NPCCommand {
|
||||
var entities = level.getEntitiesOfClass(
|
||||
net.minecraft.world.entity.LivingEntity.class,
|
||||
player.getBoundingBox().inflate(radius),
|
||||
e ->
|
||||
e instanceof com.tiedup.remake.entities.AbstractTiedUpNpc
|
||||
e -> e instanceof com.tiedup.remake.entities.AbstractTiedUpNpc
|
||||
);
|
||||
|
||||
for (var entity : entities) {
|
||||
@@ -457,9 +456,7 @@ public class NPCCommand {
|
||||
return String.format("(%.1f, %.1f, %.1f)", x, y, z);
|
||||
}
|
||||
|
||||
// ========================================
|
||||
// NPC Bondage Commands (from DamselTestCommand)
|
||||
// ========================================
|
||||
|
||||
/**
|
||||
* Find the nearest mod NPC (Damsel or Kidnapper) within 10 blocks.
|
||||
@@ -508,7 +505,10 @@ public class NPCCommand {
|
||||
return 0;
|
||||
}
|
||||
|
||||
npc.equip(BodyRegionV2.ARMS, new ItemStack(ModItems.getBind(BindVariant.ROPES)));
|
||||
npc.equip(
|
||||
BodyRegionV2.ARMS,
|
||||
new ItemStack(ModItems.getBind(BindVariant.ROPES))
|
||||
);
|
||||
context
|
||||
.getSource()
|
||||
.sendSuccess(
|
||||
@@ -536,7 +536,10 @@ public class NPCCommand {
|
||||
return 0;
|
||||
}
|
||||
|
||||
npc.equip(BodyRegionV2.MOUTH, new ItemStack(ModItems.getGag(GagVariant.CLOTH_GAG)));
|
||||
npc.equip(
|
||||
BodyRegionV2.MOUTH,
|
||||
new ItemStack(ModItems.getGag(GagVariant.CLOTH_GAG))
|
||||
);
|
||||
context
|
||||
.getSource()
|
||||
.sendSuccess(
|
||||
@@ -566,7 +569,8 @@ public class NPCCommand {
|
||||
return 0;
|
||||
}
|
||||
|
||||
npc.equip(BodyRegionV2.EYES,
|
||||
npc.equip(
|
||||
BodyRegionV2.EYES,
|
||||
new ItemStack(ModItems.getBlindfold(BlindfoldVariant.CLASSIC))
|
||||
);
|
||||
context
|
||||
@@ -599,7 +603,10 @@ public class NPCCommand {
|
||||
return 0;
|
||||
}
|
||||
|
||||
npc.equip(BodyRegionV2.NECK, new ItemStack(ModItems.CLASSIC_COLLAR.get()));
|
||||
npc.equip(
|
||||
BodyRegionV2.NECK,
|
||||
new ItemStack(ModItems.CLASSIC_COLLAR.get())
|
||||
);
|
||||
context
|
||||
.getSource()
|
||||
.sendSuccess(
|
||||
@@ -644,7 +651,10 @@ public class NPCCommand {
|
||||
}
|
||||
|
||||
// Apply full bondage using AbstractTiedUpNpc method
|
||||
if (npc instanceof com.tiedup.remake.entities.AbstractTiedUpNpc npcEntity) {
|
||||
if (
|
||||
npc instanceof
|
||||
com.tiedup.remake.entities.AbstractTiedUpNpc npcEntity
|
||||
) {
|
||||
npcEntity.applyBondage(
|
||||
new ItemStack(ModItems.getBind(BindVariant.ROPES)),
|
||||
new ItemStack(ModItems.getGag(GagVariant.CLOTH_GAG)),
|
||||
|
||||
Reference in New Issue
Block a user