Clean repo for open source release
Remove build artifacts, dev tool configs, unused dependencies, and third-party source dumps. Add proper README, update .gitignore, clean up Makefile.
This commit is contained in:
35
src/main/java/com/tiedup/remake/tasks/UntyingTask.java
Normal file
35
src/main/java/com/tiedup/remake/tasks/UntyingTask.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package com.tiedup.remake.tasks;
|
||||
|
||||
import com.tiedup.remake.state.IBondageState;
|
||||
import net.minecraft.world.entity.LivingEntity;
|
||||
import net.minecraft.world.level.Level;
|
||||
|
||||
/**
|
||||
* Phase 6: Abstract untying task (freeing a tied entity).
|
||||
* Phase 14.2.6: Refactored to support any IBondageState entity (Players + NPCs)
|
||||
*
|
||||
* Based on original UntyingTask from 1.12.2
|
||||
*
|
||||
* Extends TimedInteractTask for untying operations:
|
||||
* - Frees a tied entity over time
|
||||
* - Drops bondage items on the ground when complete
|
||||
*/
|
||||
public abstract class UntyingTask extends TimedInteractTask {
|
||||
|
||||
/**
|
||||
* Create a new untying task.
|
||||
*
|
||||
* @param targetState The target's IBondageState state
|
||||
* @param targetEntity The target entity
|
||||
* @param seconds Total duration in seconds
|
||||
* @param level The world
|
||||
*/
|
||||
public UntyingTask(
|
||||
IBondageState targetState,
|
||||
LivingEntity targetEntity,
|
||||
int seconds,
|
||||
Level level
|
||||
) {
|
||||
super(targetState, targetEntity, seconds, level);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user