All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.event.player.EntityFreezeEvent Maven / Gradle / Ivy

There is a newer version: 1.20.40-r1
Show newest version
package cn.nukkit.event.player;

import cn.nukkit.api.PowerNukkitXOnly;
import cn.nukkit.api.Since;
import cn.nukkit.entity.Entity;
import cn.nukkit.event.Cancellable;
import cn.nukkit.event.HandlerList;
import cn.nukkit.event.entity.EntityEvent;

@PowerNukkitXOnly
@Since("1.6.0.0-PNX")
public class EntityFreezeEvent extends EntityEvent implements Cancellable {
    private final Entity entity;

    private static final HandlerList handlers = new HandlerList();

    public static HandlerList getHandlers() {
        return handlers;
    }

    public EntityFreezeEvent(Entity human) {
        this.entity = human;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy