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

net.minestom.server.entity.damage.PositionalDamage Maven / Gradle / Ivy

There is a newer version: 7320437640
Show newest version
package net.minestom.server.entity.damage;

import net.minestom.server.coordinate.Point;
import net.minestom.server.registry.DynamicRegistry;
import org.jetbrains.annotations.NotNull;

/**
 * Represents damage that is associated with a certain position.
 */
public class PositionalDamage extends Damage {

    public PositionalDamage(@NotNull DynamicRegistry.Key type, @NotNull Point sourcePosition, float amount) {
        super(type, null, null, sourcePosition, amount);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy