Jump to content

BungeeTheCookie

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by BungeeTheCookie

  1. From it's Jenkins page. http://ci.voxelmodpack.com/job/VoxelSniper/
  2. Hello, I am trying to install VoxelSniper 7.0.0 on my modded server, but it says it is a non-mod file and it will be injected into my classpath. Why is this happening, the mcmod.info and @Mod annotation are present within VoxelSniper. Source: https://github.com/TVPT/VoxelSniper/tree/master/src/main/java/com/voxelplugineering/voxelsniper/forge Thanks!
  3. Hey guys, I am getting this error: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901) ~[?:1.8.0_25] at java.util.ArrayList$Itr.remove(ArrayList.java:865) ~[?:1.8.0_25] at net.minecraft.launchwrapper.Launch.launch(Launch.java:118) [launchwrapper-1.11.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.11.jar:?] I am running Java 1.8 Update 11 and I know for a fact this is a Forge error: http://www.technicpack.net/article/concurrentmodificationexception-in-java-18020.89 How do I fix?
  4. The method explode() is private in, idk, vanilla tnt...
  5. I was wondering how you could create an explosive. I know how to create a block, but how to you set it into a Primed State, then exploding it, and setting blast values. Thanks!
  6. When I use the registerIcons() method, it isn't being called. Anyone help?
  7. Thank you very much! In order to make this to work, would i have to just have a class extend Particle and call these two methods?
  8. uhm... im going to try some code in which I think is what you mean to say
  9. Because IIcon can't be instantiated. Yes, I know this is a facepalm moment. I am new to Forge coding.
  10. Could you provide me an example please? Sorry if I am being picky, its just I go better by an example.
  11. Ok, I fixed that issue. How do you set the texture of a fluid?
  12. Yes, yes they are. And adding new types is a right pain, because if you don't change the texture right and change it back everything just falls apart. Ok, I will test this out. Thanks for your help!
  13. I am now trying to help myself, but I am getting a NullPointerException. Is it because the textures are not registered, because I still have no clue how to register the textures. Here is the error: [19:16:18] [Client thread/ERROR] [FML]: Caught exception from ProjectOP java.lang.NullPointerException at net.minecraftforge.fluids.FluidRegistry.getFluidID(FluidRegistry.java:119) ~[FluidRegistry.class:?] at net.minecraftforge.fluids.Fluid.getID(Fluid.java:177) ~[Fluid.class:?] at net.minecraftforge.fluids.FluidStack.<init>(FluidStack.java:27) ~[FluidStack.class:?] at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:28) ~[blockFluidClassic.class:?] at bungeecookie.ProjectOP.common.fluids.FluidMilk.<init>(FluidMilk.java:19) ~[FluidMilk.class:?] at bungeecookie.ProjectOP.common.register.LiquidRegister.main(LiquidRegister.java:18) ~[LiquidRegister.class:?] at bungeecookie.ProjectOP.common.ProjectOPMod.preInit(ProjectOPMod.java:33) ~[ProjectOPMod.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:536) ~[FMLModContainer.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25] 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_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25] 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.loadMods(Loader.java:495) [Loader.class:?] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201) [FMLClientHandler.class:?] at net.minecraft.client.Minecraft.startGame(Minecraft.java:564) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:934) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25] 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:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25] at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) [idea_rt.jar:?] ---- Minecraft Crash Report ---- // I blame Dinnerbone. Time: 3/7/14 7:16 PM Description: Initializing game java.lang.NullPointerException: Initializing game at net.minecraftforge.fluids.FluidRegistry.getFluidID(FluidRegistry.java:119) at net.minecraftforge.fluids.Fluid.getID(Fluid.java:177) at net.minecraftforge.fluids.FluidStack.<init>(FluidStack.java:27) at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:28) at bungeecookie.ProjectOP.common.fluids.FluidMilk.<init>(FluidMilk.java:19) at bungeecookie.ProjectOP.common.register.LiquidRegister.main(LiquidRegister.java:18) at bungeecookie.ProjectOP.common.ProjectOPMod.preInit(ProjectOPMod.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:536) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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.loadMods(Loader.java:495) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201) at net.minecraft.client.Minecraft.startGame(Minecraft.java:564) at net.minecraft.client.Minecraft.run(Minecraft.java:934) at net.minecraft.client.main.Main.main(Main.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraftforge.fluids.FluidRegistry.getFluidID(FluidRegistry.java:119) at net.minecraftforge.fluids.Fluid.getID(Fluid.java:177) at net.minecraftforge.fluids.FluidStack.<init>(FluidStack.java:27) at net.minecraftforge.fluids.BlockFluidClassic.<init>(BlockFluidClassic.java:28) at bungeecookie.ProjectOP.common.fluids.FluidMilk.<init>(FluidMilk.java:19) at bungeecookie.ProjectOP.common.register.LiquidRegister.main(LiquidRegister.java:18) at bungeecookie.ProjectOP.common.ProjectOPMod.preInit(ProjectOPMod.java:33) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:536) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) 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.loadMods(Loader.java:495) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:201) at net.minecraft.client.Minecraft.startGame(Minecraft.java:564) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:934) at net.minecraft.client.main.Main.main(Main.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 739636040 bytes (705 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 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.125.1039 Minecraft Forge 10.12.0.1039 4 mods loaded, 4 mods active mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.2.125.1039} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.0.1039.jar) Unloaded->Constructed->Pre-initialized Forge{10.12.0.1039} [Minecraft Forge] (forgeSrc-1.7.2-10.12.0.1039.jar) Unloaded->Constructed->Pre-initialized ProjectOP{Alpha v0.0.0 for Minecraft 1.7.2} [Project: OP] (ProjectOP) Unloaded->Constructed->Errored Launched Version: 1.7 LWJGL: 2.9.0 OpenGL: Intel(R) HD Graphics 4000 GL version 4.0.0 - Build 9.17.10.2849, Intel Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] 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\Elizabeth\Desktop\Minecraft Modding\Forge\ProjectOP\eclipse\.\crash-reports\crash-2014-03-07_19.16.18-client.txt And Here are my classes: public class LiquidRegister { public static Fluid milk = new Fluid("milk"); public static void main(FMLPreInitializationEvent event){ registerLiquid(milk, new FluidMilk(milk, Material.water, ProjectOPTabs.miscellaneous), null, "fluidMilk", null, 0, 10, 10, false); } public static void registerLiquid(Fluid fluid, Block fluidBlock, ItemBucket bucket, String fluidBlockName, String bucketName, int brightness, int density, int viscosity, boolean isGaseous){ fluid.setLuminosity(brightness); fluid.setDensity(density); fluid.setViscosity(viscosity); fluid.setGaseous(isGaseous); FluidRegistry.registerFluid(fluid); GameRegistry.registerBlock(fluidBlock, fluidBlockName); //bucket.setContainerItem(Items.bucket); //GameRegistry.registerItem(bucket, bucketName); //FluidContainerRegistry.registerFluidContainer(FluidRegistry.getFluidStack(fluid.getName(), FluidContainerRegistry.BUCKET_VOLUME), new ItemStack(bucket), new ItemStack(Items.bucket)); //BucketHandler.INSTANCE.buckets.put(fluidBlock, bucket); } } public class FluidMilk extends BlockFluidClassic { @SideOnly(Side.CLIENT) protected IIcon stillIcon; @SideOnly(Side.CLIENT) protected IIcon flowingIcon; public FluidMilk(Fluid fluid, Material material, CreativeTabs tab){ super(fluid, material); this.setBlockName("fluidMilk"); this.setCreativeTab(tab); } }
  14. 1.7 was a COMPLETE REWRITE of 1.6.4. There were no IDs, the texture classes were different, etc. Could you provide me a 1.7.2 example? That is what I specifically asked for, a 1.7.2 version. Thanks
  15. Hello people of the Forge community! I am stumped with creating a custom fluid. I was reading up on the "Creating a Fluid 1.7.2" resource on the Forge wiki, but when I got to creating the block class and registering the textures, I just got mixed up, some classes didn't exist, etc. Can anyone help me with this? Here is my current code for registering liquids: public static void registerLiquid(String fluidName, String fluidBlockName, String bucketName, Block fluidBlock, ItemBucket bucket, int brightness, int density, int viscosity, boolean isGaseous){ Fluid fluid = new Fluid(fluidName); fluid.setLuminosity(brightness); fluid.setDensity(density); fluid.setViscosity(viscosity); fluid.setGaseous(isGaseous); FluidRegistry.registerFluid(fluid); GameRegistry.registerBlock(fluidBlock, fluidBlockName); bucket.setContainerItem(Items.bucket); GameRegistry.registerItem(bucket, bucketName); FluidContainerRegistry.registerFluidContainer(FluidRegistry.getFluidStack(fluidName, FluidContainerRegistry.BUCKET_VOLUME), new ItemStack(bucket), new ItemStack(Items.bucket)); BucketHandler.INSTANCE.buckets.put(fluidBlock, bucket); } I also have the eventbus registered in the FMLPreInitilizationEvent, etc. Please help me! Tell me if there is anything wrong with my code by the way. Can someone just provide me some code, a list of steps, or a link to a resource (or video) that actually works? Any and all help is appreciated! Thanks!
  16. Ok, I realized that @stjnhero's was just not working out for me. I am updating Forge because after I deleted stjnhero's code, it is still spamming the open GL Error. Anyone else know how to make void particles?
  17. Ok, so here are a few bugs. One, I do not want it to replace the block with a flame particle, I want it to spawn void particles around it that disappear over time. Two, whenever Minecraft is minimized, it spams Open GL Error @post render 1286: invalid framebuffer operation. Three, It doesn't display the block anymore, just the Flame particle effect, while I want the void particle effect. Four, in the inventory, it doesn't show the block, just a bunch of blackness.
  18. Hello people of Forge! How do you make it so when you place a block, it spawns void particles, or any particle. Thanks!
  19. I have no idea how to set up forge in IntelliJ IDEA. I am running the latest version of 1.7.2 forge. I have run gradlew.bat idea and setupDecompWorkspace --refresh-dependencies, but I don't know how to do the rest. First, please do not tell me to switch to Eclipse, because that is not a solution or an option, because Eclipse does not work on my computer. Second, I would prefer you either give me a list of steps or give me a link to a solution, because I have been looking all over the Internet with no success. Any and all help is appreciated!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.