Heltrato Posted June 13, 2014 Share Posted June 13, 2014 I need a help on my my potion effect the crash points out to this line setPotionEffect(MHFCRegPotion.mhfcpotionpitfall.id, 15, 4, 100); Heres my console and my codes [17:52:57] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:52:57] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker [17:52:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker [17:52:57] [main/INFO] [FML]: Forge Mod Loader version 7.2.156.1060 for Minecraft 1.7.2 loading [17:52:57] [main/INFO] [FML]: Java is Java HotSpot(TM) Client VM, version 1.7.0_60, running on Windows 7:x86:6.1, installed at C:\Program Files\Java\jre7 [17:52:57] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [17:52:57] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:52:57] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker [17:52:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:52:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker [17:52:57] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [17:52:57] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [17:52:58] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/TOSHIBA/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again! [17:52:58] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem! [17:52:58] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/TOSHIBA/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it [17:52:58] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [17:52:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper [17:52:58] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker [17:52:59] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [17:53:00] [main/INFO]: Setting user: XxHeltratoxX [17:53:02] [Client thread/INFO]: LWJGL Version: 2.9.0 [17:53:03] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization [17:53:03] [Client thread/INFO] [FML]: MinecraftForge v10.12.1.1060 Initialized [17:53:03] [Client thread/INFO] [FML]: Replaced 141 ore recipies [17:53:03] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization [17:53:03] [Client thread/INFO] [FML]: Searching C:\Users\TOSHIBA\Desktop\MHFC 1.7.2\eclipse\mods for mods [17:53:04] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW! [17:53:07] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load [17:53:07] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Monster Hunter Frontier Craft, Dragon Dance v1.0.zip [17:53:07] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 Starting up SoundSystem... Initializing LWJGL OpenAL (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) OpenAL initialized. [17:53:09] [sound Library Loader/INFO]: Sound engine started [17:53:16] [Client thread/INFO]: Created: 2048x1024 textures/blocks-atlas [17:53:17] [Client thread/INFO]: Created: 1024x1024 textures/items-atlas [MHFC] Block is now initialize [17:53:17] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue [17:53:17] [Client thread/ERROR] [FML]: mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{7.2.156.1060} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized Forge{10.12.1.1060} [Minecraft Forge] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized mhfc{1.7.2} [Monster Hunter Frontier Craft] (bin) Unloaded->Constructed->Pre-initialized->Errored [17:53:17] [Client thread/ERROR] [FML]: The following problems were captured during this phase [17:53:17] [Client thread/ERROR] [FML]: Caught exception from mhfc java.lang.NullPointerException at mhfc.net.client.item.food.ItemKirinBuff.<init>(ItemKirinBuff.java:19) ~[itemKirinBuff.class:?] at mhfc.net.common.registry.helper.MHFCRegItem.init(MHFCRegItem.java:134) ~[MHFCRegItem.class:?] at mhfc.net.common.registry.MHFCReg.addItems(MHFCReg.java:43) ~[MHFCReg.class:?] at mhfc.net.common.registry.MHFCReg.init(MHFCReg.java:20) ~[MHFCReg.class:?] at mhfc.net.client.MHFCClient.regStuff(MHFCClient.java:21) ~[MHFCClient.class:?] at mhfc.net.MHFCMain.load(MHFCMain.java:83) ~[MHFCMain.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209) ~[LoadController.class:?] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) ~[LoadController.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) ~[guava-15.0.jar:?] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) ~[guava-15.0.jar:?] at com.google.common.eventbus.EventBus.post(EventBus.java:267) ~[guava-15.0.jar:?] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:677) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:268) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:583) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:890) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_60] at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?] ---- Minecraft Crash Report ---- // Would you like a cupcake? Time: 6/13/14 5:53 PM Description: Initializing game java.lang.NullPointerException: Initializing game at mhfc.net.client.item.food.ItemKirinBuff.<init>(ItemKirinBuff.java:19) at mhfc.net.common.registry.helper.MHFCRegItem.init(MHFCRegItem.java:134) at mhfc.net.common.registry.MHFCReg.addItems(MHFCReg.java:43) at mhfc.net.common.registry.MHFCReg.init(MHFCReg.java:20) at mhfc.net.client.MHFCClient.regStuff(MHFCClient.java:21) at mhfc.net.MHFCMain.load(MHFCMain.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:677) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:268) at net.minecraft.client.Minecraft.startGame(Minecraft.java:583) at net.minecraft.client.Minecraft.run(Minecraft.java:890) at net.minecraft.client.main.Main.main(Main.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at mhfc.net.client.item.food.ItemKirinBuff.<init>(ItemKirinBuff.java:19) at mhfc.net.common.registry.helper.MHFCRegItem.init(MHFCRegItem.java:134) at mhfc.net.common.registry.MHFCReg.addItems(MHFCReg.java:43) at mhfc.net.common.registry.MHFCReg.init(MHFCReg.java:20) at mhfc.net.client.MHFCClient.regStuff(MHFCClient.java:21) at mhfc.net.MHFCMain.load(MHFCMain.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:209) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) at com.google.common.eventbus.EventBus.post(EventBus.java:267) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:677) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:268) at net.minecraft.client.Minecraft.startGame(Minecraft.java:583) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:890) at net.minecraft.client.main.Main.main(Main.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 7 (x86) version 6.1 Java Version: 1.7.0_60, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation Memory: 930702744 bytes (887 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v9.01-pre FML v7.2.156.1060 Minecraft Forge 10.12.1.1060 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{7.2.156.1060} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized Forge{10.12.1.1060} [Minecraft Forge] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized mhfc{1.7.2} [Monster Hunter Frontier Craft] (bin) Unloaded->Constructed->Pre-initialized->Errored Launched Version: 1.6 LWJGL: 2.9.0 OpenGL: Intel 965/963 Graphics Media Accelerator GL version 2.0.0 - Build 8.14.10.1930, Intel Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [Dragon Dance v1.0.zip] Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null Anisotropic Filtering: Off (1) #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\TOSHIBA\Desktop\MHFC 1.7.2\eclipse\.\crash-reports\crash-2014-06-13_17.53.17-client.txt AL lib: (EE) alc_cleanup: 1 device not closed [code][/spoiler] Potion Hook [code] package mhfc.net.common.hooks; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import mhfc.net.common.registry.helper.MHFCRegPotion; import net.minecraft.util.DamageSource; import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent; public class PotionHook { @SubscribeEvent public void onEntityUpdate(LivingUpdateEvent event){ if(event.entityLiving.isPotionActive(MHFCRegPotion.mhfcpotionpitfall)){ event.entityLiving.attackEntityFrom(DamageSource.generic, 10); } if(event.entityLiving.getActivePotionEffect(MHFCRegPotion.mhfcpotionpitfall).getDuration() == 0){ event.entityLiving.removePotionEffect(MHFCRegPotion.mhfcpotionpitfall.id); } } } package mhfc.net.common.registry.helper; import mhfc.net.client.potion.PotionPitfall; import net.minecraft.potion.Potion; public class MHFCRegPotion { public static Potion mhfcpotionpitfall; public static void regPotion(){ mhfcpotionpitfall = new PotionPitfall(); } } package mhfc.net.client.potion; import net.minecraft.potion.Potion; public class PotionPitfall extends Potion { public PotionPitfall() { super(40, false, 581833); setPotionName("potionpitfall"); setIconIndex(0, 0); } public Potion setIconIndex(int par1, int par2) { super.setIconIndex(par1, par2); return this; } } Quote Link to comment Share on other sites More sharing options...
Heltrato Posted June 13, 2014 Author Share Posted June 13, 2014 I got it working now i tweak some of how to expand its array but how can i make an entity to be motionY under like stuck on ground underneath. Any help please? HERES MY POTIONEVENTHANDLER ANYWAYS package mhfc.net.common.eventhandler.potion; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import mhfc.net.common.core.registry.MHFCRegPotion; import net.minecraft.util.DamageSource; import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent; public class PotionPitfallEventHandler { @SubscribeEvent public void onEntityUpdate(LivingUpdateEvent event){ if(event.entityLiving.isPotionActive(MHFCRegPotion.mhfcpotionpitfall)){ event.entityLiving.noClip = true; event.entityLiving.motionY = -1D; } if(event.entityLiving.getActivePotionEffect(MHFCRegPotion.mhfcpotionpitfall).getDuration() == 0){ event.entityLiving.removePotionEffect(MHFCRegPotion.mhfcpotionpitfall.id); return; } } } Quote Link to comment Share on other sites More sharing options...
Kwibble Posted June 13, 2014 Share Posted June 13, 2014 Are you still getting a null pointer? What is your ItemKirinBuff line 19? Quote We all stuff up sometimes... But I seem to be at the bottom of that pot. Link to comment Share on other sites More sharing options...
Heltrato Posted June 13, 2014 Author Share Posted June 13, 2014 I fixed the crash mate its ok now but yeah pls answer my question how can i make the entity render beyond the ground if the potion is active? Quote Link to comment Share on other sites More sharing options...
Heltrato Posted June 13, 2014 Author Share Posted June 13, 2014 bump ? please help Quote Link to comment Share on other sites More sharing options...
Kwibble Posted June 13, 2014 Share Posted June 13, 2014 You want to make the entity rise above or below the the ground? If so, why not change the y coordinate of the entity?? Not motionY Quote We all stuff up sometimes... But I seem to be at the bottom of that pot. Link to comment Share on other sites More sharing options...
Heltrato Posted June 13, 2014 Author Share Posted June 13, 2014 I tried to check but still nothing happens on the event when i rightclick my item nothing happens @SubscribeEvent public void onEntityUpdate(LivingUpdateEvent event){ if(event.entityLiving.isPotionActive(MHFCRegPotion.mhfcpotionpitfall)){ int y = MathHelper.floor_double(event.entityLiving.posY); if(!event.entityLiving.worldObj.isRemote) event.entityLiving.chunkCoordY = y - 4; } if(event.entityLiving.getActivePotionEffect(MHFCRegPotion.mhfcpotionpitfall).getDuration() == 0){ event.entityLiving.removePotionEffect(MHFCRegPotion.mhfcpotionpitfall.id); return; } } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.