From 70c1354a4a96698758a88c032866288f79de6f5a Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Sat, 24 Aug 2024 08:16:37 -0400 Subject: Initial commit --- .../plusplus/fbs/pottery/usable/PotteryVoid.java | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/main/java/jp/plusplus/fbs/pottery/usable/PotteryVoid.java (limited to 'src/main/java/jp/plusplus/fbs/pottery/usable/PotteryVoid.java') diff --git a/src/main/java/jp/plusplus/fbs/pottery/usable/PotteryVoid.java b/src/main/java/jp/plusplus/fbs/pottery/usable/PotteryVoid.java new file mode 100644 index 0000000..62fbf3d --- /dev/null +++ b/src/main/java/jp/plusplus/fbs/pottery/usable/PotteryVoid.java @@ -0,0 +1,26 @@ +package jp.plusplus.fbs.pottery.usable; + +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; + +import javax.annotation.Nullable; + +/** + * Created by plusplus_F on 2016/03/30. + */ +public class PotteryVoid extends PotteryKeep { + @Override + public String getUnlocalizedName() { + return "pottery.fbs.pot.void"; + } + + @Override + public float getPriceScale(ItemStack pottery){ + return 0.5f; + } + + public ItemStack onInventoryClosing(EntityPlayer player, ItemStack pottery, int index, @Nullable ItemStack itemStack){ + return null; + } + +} -- cgit v1.2.3