Package dev.upcraft.sparkweave.api.event
Interface EntityTickEvents.StartTick<T extends net.minecraft.world.entity.Entity>
- Enclosing class:
EntityTickEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface EntityTickEvents.StartTick<T extends net.minecraft.world.entity.Entity>
-
Method Summary
-
Method Details
-
startTick
Fires at the very start of an entity being ticked- Parameters:
entity- the entity being tickedlevel- the level the entity is in- Returns:
trueto cancel the tick event for this entity. It's advised to not cancel a tick indiscriminately as it can break the game and other mods.
-