diff options
Diffstat (limited to 'src/main/java/jp/plusplus/fbs/api/event/DamageMonocleEvent.java')
| -rw-r--r-- | src/main/java/jp/plusplus/fbs/api/event/DamageMonocleEvent.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/jp/plusplus/fbs/api/event/DamageMonocleEvent.java b/src/main/java/jp/plusplus/fbs/api/event/DamageMonocleEvent.java new file mode 100644 index 0000000..be7237b --- /dev/null +++ b/src/main/java/jp/plusplus/fbs/api/event/DamageMonocleEvent.java @@ -0,0 +1,23 @@ +package jp.plusplus.fbs.api.event;
+
+import net.minecraftforge.event.entity.player.PlayerEvent;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+
+/**
+ * Created by plusplus_F on 2016/03/06.
+ *
+ * モノクルの耐久度を消費するときのイベント
+ */
+public class DamageMonocleEvent extends PlayerEvent {
+ private ItemStack monocle;
+
+ public DamageMonocleEvent(EntityPlayer player, ItemStack monocle) {
+ super(player);
+ this.monocle=monocle;
+ }
+
+ public ItemStack getMonocle(){
+ return monocle;
+ }
+}
|
