Jump to content

PeaceKeeper

Members
  • Posts

    12
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Location
    unknown land
  • Personal Text
    MODDING a new minecraft mod

PeaceKeeper's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. please take a look at this repo: https://github.com/TheGrovesyProject101/ModdingTutorials/blob/master/src/com/thegrovesyproject/block/TutBlock.java it is not my so... if you find it useful thank the auther.
  2. Please take a look http://imgur.com/A5ERhTR Fluid class fluidblock class If you find a way to fix it please let me know Thanks in advance!
  3. i did but this is what it looked like url in case the image didnt show http://imgur.com/R2ncCTB
  4. Thanks got it fixed =========== public static acidFluid acidFluid = new acidFluid("acidFluid"); public static Block acidBlock; public static void initializeBlock(){ //dirt ComDirt = new ComDirt(Material.ground).setBlockName("ComDirt").setCreativeTab(MODED_Tabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":ComDirt"); //element p Element_P = new Element_p(Material.ground).setBlockName("Element_P").setCreativeTab(MODED_Tabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":Element_P").setLightLevel(20.0f).setHardness(50F); PBlock = new PBlock(Material.ground).setBlockName("PBlock").setCreativeTab(MODED_Tabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":PBlock"); PGrassDirt = new PGrassDirt(Material.ground).setBlockName("PGrassDirt").setCreativeTab(MODED_Tabs.tabBlock); PDirt = new PDirt(Material.ground).setBlockName("PDirt").setCreativeTab(MODED_Tabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":PDirt"); PStone = new PStone(Material.ground).setBlockName("PStone").setCreativeTab(MODED_Tabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":PStone"); //purpium Purpium = new Purpium(Material.ground).setBlockName("Purpium").setCreativeTab(MODED_Tabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":Purpium").setHardness(30F); //Purpium_Tnt = new Purpium_Tnt(Material.tnt).setBlockName("Purpium_Tnt").setCreativeTab(MODED_Tabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":Purpium_Tnt"); Purpium_Block = new Purpium_Block(Material.ground).setBlockName("Purpium_Block").setCreativeTab(MODED_Tabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":Purpium Block").setHardness(20F); //PWater = new PWater(null, Material.water).setBlockName("PWater").setCreativeTab(MODED_Tabs.tabBlock).setBlockTextureName(RefStrings.MODID + ":PWater"); //acidBlock = new acidBlock(acidFluid, Material.water).setBlockName("acidblock"); //acidFluid = new acidFluid("acidFluid"); FluidRegistry.registerFluid(acidFluid); acidBlock = new acidBlock(acidFluid, Material.water).setCreativeTab(MODED_Tabs.tabBlock); ============= Do you know how to fix the textures thanks again in advance image link http://imgur.com/R2ncCTB
  5. like this? acidFluid.setUnlocalizedName(acidBlock.getUnlocalizedName()); GameRegistry.registerBlock(acidBlock, RefStrings.MODID + "_" + acidBlock.getUnlocalizedName().substring(5)); but it still crashes.
  6. Hey this is the first time I'm creating a fluid so any help with this crash is appreciated. Thank you in advance. github link : https://github.com/XchaoshunterX/testmod crash report: ---- Minecraft Crash Report ---- // Quite honestly, I wouldn't worry myself about that. Time: 6/4/16 4:38 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 com.chaoshunter.blocks.acidBlock.<init>(acidBlock.java:22) at com.chaoshunter.blocks.MODED_Blocks.initializeBlock(MODED_Blocks.java:73) at com.chaoshunter.blocks.MODED_Blocks.mainRegistry(MODED_Blocks.java:28) at com.chaoshunter.testmod.MainRegistry.Preload(MainRegistry.java:45) 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.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) 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.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) 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:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) 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 com.chaoshunter.blocks.acidBlock.<init>(acidBlock.java:22) at com.chaoshunter.blocks.MODED_Blocks.initializeBlock(MODED_Blocks.java:73) at com.chaoshunter.blocks.MODED_Blocks.mainRegistry(MODED_Blocks.java:28) at com.chaoshunter.testmod.MainRegistry.Preload(MainRegistry.java:45) 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.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) 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.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.startGame(Minecraft.java:522) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:931) at net.minecraft.client.main.Main.main(Main.java:164) 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:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0_51, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 882816256 bytes (841 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 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.05 FML v7.10.84.1221 Minecraft Forge 10.13.1.1221 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.10.84.1221} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.1.1221.jar) Unloaded->Constructed->Pre-initialized Forge{10.13.1.1221} [Minecraft Forge] (forgeSrc-1.7.10-10.13.1.1221.jar) Unloaded->Constructed->Pre-initialized testmod{10.1.2.3} [Dimensional Warpack Mod] (bin) Unloaded->Constructed->Errored Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: Intel® HD Graphics GL version 3.1.0 - Build 9.17.10.4229, Intel GL Caps: Using GL 1.3 multitexturing. Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported. Anisotropic filtering is supported and maximum anisotropy is 16. Shaders are available because OpenGL 2.1 is supported. 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: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1)
  7. yes I tried that already but when I update it, it just says my drivers are already updated to the most recent one. I just don't know why but when I launch normal minecraft.exe it works fine. but when I used eclipse to launch because i made my own mod. and yes it did work before already maybe a few months ago. but now it won't work and it only won't work in eclipse but in normal minecraft im launching fine. thanks anymore help is appreciated :)
  8. you mean the one in eclipse/config/splash.prop --- if so I already tried making false but it doesn't work... any more help would be appreciated
  9. ---- Minecraft Crash Report ---- // I feel sad now Time: 1/31/16 2:28 PM Description: Initializing game org.lwjgl.LWJGLException: Pixel format not accelerated at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method) at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52) at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:252) at org.lwjgl.opengl.Display.createWindow(Display.java:306) at org.lwjgl.opengl.Display.create(Display.java:848) at org.lwjgl.opengl.Display.create(Display.java:757) at org.lwjgl.opengl.Display.create(Display.java:739) at net.minecraft.client.Minecraft.startGame(Minecraft.java:452) at net.minecraft.client.Minecraft.run(Minecraft.java:878) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method) at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52) at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:252) at org.lwjgl.opengl.Display.createWindow(Display.java:306) at org.lwjgl.opengl.Display.create(Display.java:848) at org.lwjgl.opengl.Display.create(Display.java:757) at org.lwjgl.opengl.Display.create(Display.java:739) at net.minecraft.client.Minecraft.startGame(Minecraft.java:452) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.run(Minecraft.java:878) at net.minecraft.client.main.Main.main(SourceFile:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) at GradleStart.main(Unknown Source) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_60, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 984647288 bytes (939 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 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: Launched Version: 1.7.10 LWJGL: 2.9.1 OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. GL Caps: Is Modded: Definitely; Client brand changed to 'fml,forge' Type: Client (map_client.txt) Resource Packs: [] Current Language: ~~ERROR~~ NullPointerException: null Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Anisotropic Filtering: Off (1) ______________________________________________________________________ I get this crash report every time I try to run forge with eclipse even though I have a updated drivers. Also when I open normal minecraft it will work. However when I used eclipse it won't. This is a mod that I made long ago and when i made it it worked. The scr-forge version I used is forge 1.7.10 10.13.2.1291. And yes I did try to update it but it still is the same error. Thanks in advanced ;D
×
×
  • Create New...

Important Information

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