Renaming Scheme for Energy Handler and Energy Extender

This commit is contained in:
Kam committed 2026-03-09 17:36:55 -04:00
1 parent 10f8cfdeaa
commit 4ee1c41d06
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -285,7 +285,7 @@ public abstract class AbstractNpcAPI {
public abstract IDamageSource getIDamageSource(IEntity<?> entity);
public abstract IEnergyController getEnergyController();
public abstract IEnergyHandler getEnergyHandler();
public abstract EventBus events();
@@ -11,7 +11,7 @@ import noppes.npcs.api.entity.IEnergyExplosion;
* Configure the entity, then call fire() (projectiles) or spawn() (zones/sweepers/panels)
* to place it in the world.
*/
public interface IEnergyController {
public interface IEnergyHandler {
// ==================== PROJECTILE CREATION ====================
@@ -1,11 +1,11 @@
package noppes.npcs.api.entity;
import net.minecraft.entity.Entity;
import noppes.npcs.api.INbt;
import noppes.npcs.api.IEnergyHandler;
/**
* Represents a standalone energy explosion entity.
* Created via {@link noppes.npcs.api.IEnergyController#createExplosion}.
* Created via {@link IEnergyHandler#createExplosion}.
* Configure visual/damage properties, then call {@link #spawn()} to place in the world.
*
* When damage is set (&gt; 0), the explosion will deal area damage on the first tick
@@ -4,7 +4,7 @@ import net.minecraft.entity.Entity;
/**
* Entity-level interface for sweeper beam entities.
* Created via IEnergyController.createSweeper().
* Created via IEnergyHandler.createSweeper().
* Configure properties, then call spawn() to place in the world.
*/
public interface IEnergySweeper<T extends Entity> extends IEnergyAbility<T> {
+1 -1
View File
@@ -4,7 +4,7 @@ import net.minecraft.entity.Entity;
/**
* Entity-level interface for zone entities (Hazard and Trap).
* Created via IEnergyController.createHazard() or createTrap().
* Created via IEnergyHandler.createHazard() or createTrap().
* Configure properties, then call spawn() to place in the world.
*/
public interface IEnergyZone<T extends Entity> extends IEntity<T> {