Implemented several more events for players, including a click event, key event, fall event, and the basic entity living hurt, killed, and kills events, among others.

This commit is contained in:
luisc committed 2021-10-12 02:57:32 -05:00
1 parent 6c8c7671b8
commit 6752f8baec
38 files changed
+763 -249

No files matched your search

@@ -7,7 +7,7 @@ import net.minecraft.potion.PotionEffect;
import noppes.npcs.controllers.ScriptController;
import noppes.npcs.scripted.constants.EntityType;
public interface IEntityLivingBase {
public interface IEntityLivingBase<T extends EntityLivingBase> extends IEntity<T> {
/**
* @return The entity's current health
*/
@@ -51,7 +51,7 @@ public interface IEntityLivingBase {
* Expert use only
* @return Returns the minecraft entity object
*/
public EntityLivingBase getMinecraftEntity();
public T getMCEntity();
/**
* Makes the entity swing its hand