mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-06-08 05:53:37 +02:00
27 lines
812 B
Java
27 lines
812 B
Java
package de.ellpeck.naturesaura.api.aura.chunk;
|
|
|
|
import de.ellpeck.naturesaura.api.aura.type.IAuraType;
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.util.ResourceLocation;
|
|
import net.minecraft.util.math.BlockPos;
|
|
import net.minecraft.world.World;
|
|
import net.minecraft.world.chunk.Chunk;
|
|
|
|
public interface IDrainSpotEffect {
|
|
|
|
void update(World world, Chunk chunk, IAuraChunk auraChunk, BlockPos pos, Integer spot);
|
|
|
|
boolean appliesHere(Chunk chunk, IAuraChunk auraChunk, IAuraType type);
|
|
|
|
ResourceLocation getName();
|
|
|
|
default int isActiveHere(EntityPlayer player, Chunk chunk, IAuraChunk auraChunk, BlockPos pos, Integer spot) {
|
|
return -1;
|
|
}
|
|
|
|
default ItemStack getDisplayIcon() {
|
|
return ItemStack.EMPTY;
|
|
}
|
|
}
|