From 70c1354a4a96698758a88c032866288f79de6f5a Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Sat, 24 Aug 2024 08:16:37 -0400 Subject: Initial commit --- .../jp/plusplus/fbs/potion/PotionCleverness.class | Bin 0 -> 1989 bytes .../jp/plusplus/fbs/potion/PotionCleverness.java | 42 ++++++++++++++++++++ .../jp/plusplus/fbs/potion/PotionContract.class | Bin 0 -> 1980 bytes .../jp/plusplus/fbs/potion/PotionContract.java | 43 +++++++++++++++++++++ .../jp/plusplus/fbs/potion/PotionHailstorm.class | Bin 0 -> 1978 bytes .../jp/plusplus/fbs/potion/PotionHailstorm.java | 41 ++++++++++++++++++++ .../java/jp/plusplus/fbs/potion/PotionMagnet.class | Bin 0 -> 1969 bytes .../java/jp/plusplus/fbs/potion/PotionMagnet.java | 41 ++++++++++++++++++++ 8 files changed, 167 insertions(+) create mode 100644 src/main/java/jp/plusplus/fbs/potion/PotionCleverness.class create mode 100644 src/main/java/jp/plusplus/fbs/potion/PotionCleverness.java create mode 100644 src/main/java/jp/plusplus/fbs/potion/PotionContract.class create mode 100644 src/main/java/jp/plusplus/fbs/potion/PotionContract.java create mode 100644 src/main/java/jp/plusplus/fbs/potion/PotionHailstorm.class create mode 100644 src/main/java/jp/plusplus/fbs/potion/PotionHailstorm.java create mode 100644 src/main/java/jp/plusplus/fbs/potion/PotionMagnet.class create mode 100644 src/main/java/jp/plusplus/fbs/potion/PotionMagnet.java (limited to 'src/main/java/jp/plusplus/fbs/potion') diff --git a/src/main/java/jp/plusplus/fbs/potion/PotionCleverness.class b/src/main/java/jp/plusplus/fbs/potion/PotionCleverness.class new file mode 100644 index 0000000..24d9048 Binary files /dev/null and b/src/main/java/jp/plusplus/fbs/potion/PotionCleverness.class differ diff --git a/src/main/java/jp/plusplus/fbs/potion/PotionCleverness.java b/src/main/java/jp/plusplus/fbs/potion/PotionCleverness.java new file mode 100644 index 0000000..185cf9e --- /dev/null +++ b/src/main/java/jp/plusplus/fbs/potion/PotionCleverness.java @@ -0,0 +1,42 @@ +package jp.plusplus.fbs.potion; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import jp.plusplus.fbs.FBS; +import jp.plusplus.fbs.render.RendererGameOverlay; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.ResourceLocation; + +/** + * Created by plusplus_F on 2015/11/09. + */ +public class PotionCleverness extends Potion { + public PotionCleverness(int id) { + super(id, false, 0xbb00bb); + setPotionName("potions.fbs.cleverness"); + } + + @Override + public void performEffect(EntityLivingBase p_76394_1_, int p_76394_2_) { + + } + + @Override + public void affectEntity(EntityLivingBase shooter, EntityLivingBase target, int lv, double effect) { + + } + + @SideOnly(Side.CLIENT) + public boolean hasStatusIcon() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public void renderInventoryEffect(int x, int y, PotionEffect effect, net.minecraft.client.Minecraft mc) { + mc.renderEngine.bindTexture(RendererGameOverlay.icons); + mc.currentScreen.drawTexturedModalRect(x+6,y+7, 18, 16, 18, 18); + } +} diff --git a/src/main/java/jp/plusplus/fbs/potion/PotionContract.class b/src/main/java/jp/plusplus/fbs/potion/PotionContract.class new file mode 100644 index 0000000..701929c Binary files /dev/null and b/src/main/java/jp/plusplus/fbs/potion/PotionContract.class differ diff --git a/src/main/java/jp/plusplus/fbs/potion/PotionContract.java b/src/main/java/jp/plusplus/fbs/potion/PotionContract.java new file mode 100644 index 0000000..601c50a --- /dev/null +++ b/src/main/java/jp/plusplus/fbs/potion/PotionContract.java @@ -0,0 +1,43 @@ +package jp.plusplus.fbs.potion; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import jp.plusplus.fbs.FBS; +import jp.plusplus.fbs.render.RendererGameOverlay; +import net.minecraft.client.renderer.InventoryEffectRenderer; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; +import net.minecraft.util.ResourceLocation; + +/** + * Created by plusplus_F on 2015/11/09. + */ +public class PotionContract extends Potion { + public PotionContract(int id) { + super(id, false, 0xffffff); + setPotionName("potions.fbs.contract"); + } + + @Override + public void performEffect(EntityLivingBase p_76394_1_, int p_76394_2_) { + + } + + @Override + public void affectEntity(EntityLivingBase shooter, EntityLivingBase target, int lv, double effect) { + + } + + @SideOnly(Side.CLIENT) + public boolean hasStatusIcon() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public void renderInventoryEffect(int x, int y, PotionEffect effect, net.minecraft.client.Minecraft mc) { + mc.renderEngine.bindTexture(RendererGameOverlay.icons); + mc.currentScreen.drawTexturedModalRect(x+6,y+7, 0, 16, 18, 18); + } +} diff --git a/src/main/java/jp/plusplus/fbs/potion/PotionHailstorm.class b/src/main/java/jp/plusplus/fbs/potion/PotionHailstorm.class new file mode 100644 index 0000000..a49485e Binary files /dev/null and b/src/main/java/jp/plusplus/fbs/potion/PotionHailstorm.class differ diff --git a/src/main/java/jp/plusplus/fbs/potion/PotionHailstorm.java b/src/main/java/jp/plusplus/fbs/potion/PotionHailstorm.java new file mode 100644 index 0000000..ca9fd4b --- /dev/null +++ b/src/main/java/jp/plusplus/fbs/potion/PotionHailstorm.java @@ -0,0 +1,41 @@ +package jp.plusplus.fbs.potion; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import jp.plusplus.fbs.render.RendererGameOverlay; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; + +/** + * Created by plusplus_F on 2016/03/18. + */ +public class PotionHailstorm extends Potion { + public PotionHailstorm(int id) { + super(id, false, 0x000000); + setPotionName("potions.fbs.hailstorm"); + } + + @Override + public void performEffect(EntityLivingBase p_76394_1_, int p_76394_2_) { + + } + + @Override + public void affectEntity(EntityLivingBase shooter, EntityLivingBase target, int lv, double effect) { + + } + + @Override + @SideOnly(Side.CLIENT) + public boolean hasStatusIcon() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public void renderInventoryEffect(int x, int y, PotionEffect effect, net.minecraft.client.Minecraft mc) { + mc.renderEngine.bindTexture(RendererGameOverlay.icons); + mc.currentScreen.drawTexturedModalRect(x+6,y+7, 0, 34, 18, 18); + } +} diff --git a/src/main/java/jp/plusplus/fbs/potion/PotionMagnet.class b/src/main/java/jp/plusplus/fbs/potion/PotionMagnet.class new file mode 100644 index 0000000..35b1853 Binary files /dev/null and b/src/main/java/jp/plusplus/fbs/potion/PotionMagnet.class differ diff --git a/src/main/java/jp/plusplus/fbs/potion/PotionMagnet.java b/src/main/java/jp/plusplus/fbs/potion/PotionMagnet.java new file mode 100644 index 0000000..68743f7 --- /dev/null +++ b/src/main/java/jp/plusplus/fbs/potion/PotionMagnet.java @@ -0,0 +1,41 @@ +package jp.plusplus.fbs.potion; + +import cpw.mods.fml.relauncher.Side; +import cpw.mods.fml.relauncher.SideOnly; +import jp.plusplus.fbs.render.RendererGameOverlay; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.potion.Potion; +import net.minecraft.potion.PotionEffect; + +/** + * Created by plusplus_F on 2016/03/18. + */ +public class PotionMagnet extends Potion { + public PotionMagnet(int id) { + super(id, false, 0x000000); + setPotionName("potions.fbs.hailstorm"); + } + + @Override + public void performEffect(EntityLivingBase p_76394_1_, int p_76394_2_) { + + } + + @Override + public void affectEntity(EntityLivingBase shooter, EntityLivingBase target, int lv, double effect) { + + } + + @Override + @SideOnly(Side.CLIENT) + public boolean hasStatusIcon() { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public void renderInventoryEffect(int x, int y, PotionEffect effect, net.minecraft.client.Minecraft mc) { + mc.renderEngine.bindTexture(RendererGameOverlay.icons); + mc.currentScreen.drawTexturedModalRect(x+6,y+7, 0, 34, 18, 18); + } +} -- cgit v1.2.3