mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
45 lines
1.1 KiB
Java
45 lines
1.1 KiB
Java
/**
|
|
* This class was created by <Vazkii>. It's distributed as
|
|
* part of the Botania Mod. Get the Source Code in github:
|
|
* https://github.com/Vazkii/Botania
|
|
*
|
|
* Botania is Open Source and distributed under the
|
|
* Botania License: http://botaniamod.net/license.php
|
|
*
|
|
* File Created @ [Mar 29, 2015, 7:17:41 PM (GMT)]
|
|
*/
|
|
package vazkii.botania.api.item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.stats.Achievement;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* An item that implements this counts as a Relic item. This is purely for interaction
|
|
* and other mod items should not implement this interface.
|
|
*/
|
|
public interface IRelic {
|
|
|
|
/**
|
|
* Binds to the player UUID passed in.
|
|
*/
|
|
public void bindToUuid(UUID playerName, ItemStack stack);
|
|
|
|
/**
|
|
* Gets the UUID of the person this relic is bound to.
|
|
*/
|
|
public UUID getSoulbindUuid(ItemStack stack);
|
|
|
|
/**
|
|
* Sets the achievement that this relic binds to.
|
|
*/
|
|
public void setBindAchievement(Achievement achievement);
|
|
|
|
/**
|
|
* Gets the achievement that this relic binds to.
|
|
*/
|
|
public Achievement getBindAchievement();
|
|
|
|
}
|