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,7 @@
|
||||
package com.tiedup.remake.state;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import net.minecraft.world.entity.Entity;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* Capture, leash, and transport interface for kidnapped entities.
|
||||
@@ -14,10 +14,7 @@ import net.minecraft.world.entity.Entity;
|
||||
* @see IRestrainable
|
||||
*/
|
||||
public interface ICapturable extends IRestrainableEntity {
|
||||
|
||||
// ========================================
|
||||
// CAPTURE LIFECYCLE
|
||||
// ========================================
|
||||
|
||||
/**
|
||||
* Capture this entity by the given captor.
|
||||
@@ -44,7 +41,6 @@ public interface ICapturable extends IRestrainableEntity {
|
||||
* <li>Use vanilla setLeashedTo() directly on the NPC</li>
|
||||
* </ol>
|
||||
*
|
||||
* Phase 17: Renamed from getEnslavedBy to getCapturedBy
|
||||
*
|
||||
* @param captor The captor attempting to capture
|
||||
* @return true if capture succeeded, false otherwise
|
||||
@@ -78,15 +74,12 @@ public interface ICapturable extends IRestrainableEntity {
|
||||
* <p>Only works if current captor allows captive transfer
|
||||
* ({@link ICaptor#allowCaptiveTransfer()} == true).</p>
|
||||
*
|
||||
* Phase 17: Renamed from transferSlaveryTo to transferCaptivityTo
|
||||
*
|
||||
* @param newCaptor The new captor to transfer to
|
||||
*/
|
||||
void transferCaptivityTo(ICaptor newCaptor);
|
||||
|
||||
// ========================================
|
||||
// STATE QUERIES - CAPTURE
|
||||
// ========================================
|
||||
|
||||
/**
|
||||
* Check if this entity can be captured.
|
||||
@@ -107,7 +100,6 @@ public interface ICapturable extends IRestrainableEntity {
|
||||
* <p><b>For Players:</b> Returns true when LeashProxyEntity is attached and leashed to captor</p>
|
||||
* <p><b>For NPCs:</b> Returns true when vanilla leash is attached</p>
|
||||
*
|
||||
* Phase 17: Renamed from isSlave to isCaptive
|
||||
*
|
||||
* @return true if captured (has leash holder)
|
||||
*/
|
||||
@@ -147,7 +139,6 @@ public interface ICapturable extends IRestrainableEntity {
|
||||
/**
|
||||
* Get the current captor (the entity holding the leash).
|
||||
*
|
||||
* Phase 17: Renamed from getMaster to getCaptor
|
||||
*
|
||||
* @return The captor, or null if not captured
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user