Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • 1.8 can't get custom liquid defaultState?
The update for 1.13 is being worked on - please be patient. (Updated 02/19/19)
1.13 Update Notes for Mod Creators
Sign in to follow this  
Followers 0
gummby8

1.8 can't get custom liquid defaultState?

Started by gummby8, August 11, 2016

2 posts in this topic

gummby8    26

gummby8

gummby8    26

  • Diamond Finder
  • gummby8
  • Members
  • 26
  • 479 posts
  • Report post
Posted August 11, 2016

So I got my custom liquid up and working, and I want one of my mobs to make a block of it when it dies, sort of how ice can melt and turn to water.

 

but when I try to use setBlockState(pos, ModFluids.fluidNormal.getDefaultState())

 

there is no default state to be gotten.

 

I checked in the minecrafts ice block how it changes an ice block to water it does

 

Blocks.BlockWater.getDefaultState()

 

So what am I missing here?

 

 

my liquids class

https://github.com/gummby8/ModularBosses/blob/master/main/java/com/Splosions/ModularBosses/blocks/ModFluids.java

Share this post


Link to post
Share on other sites

LexManos    1470

LexManos

LexManos    1470

  • Reality Controller
  • LexManos
  • Forge Code God
  • 1470
  • 8365 posts
  • Report post
Posted August 11, 2016

Update to 1.10.2.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
Go To Topic Listing Modder Support

  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Pkbldr
      Trouble Updating Forge

      By Pkbldr · Posted 11 minutes ago

    • DaemonUmbra
      I am not able to run the forge installer

      By DaemonUmbra · Posted 12 minutes ago

      That is not a log, that is a screenshot of the error window.
    • DaemonUmbra
      Trouble Updating Forge

      By DaemonUmbra · Posted 14 minutes ago

      That installer log looks incomplete, can you show a screenshot of your launcher?
    • Pkbldr
      Trouble Updating Forge

      By Pkbldr · Posted 18 minutes ago

      I'm trying to install forge-1.12.2-14.23.5.2768-installer-win over .2.2611. It downloads fine, runs fine, says "Successfully installed.....into launcher. Does NOT show up in the launcher. Log attached. Any help very much appreciated installer.log
    • Frick
      Game crash upon startup

      By Frick · Posted 18 minutes ago

      ive been trying to mod version 1.12.2 for a little bit, but when i start up the game i get this error: 
      The game crashed whilst unexpected error
      Error: java.lang.IllegalStateException: Display not created _______________________________________________________________________________ Full crash report:  ---- Minecraft Crash Report ----
      // On the bright side, I bought you a teddy bear! Time: 2/21/19 2:15 PM
      Description: Unexpected error java.lang.IllegalStateException: Display not created
          at org.lwjgl.opengl.Display.processMessages(Display.java:598)
          at net.minecraftforge.fml.client.FMLClientHandler.processWindowMessages(FMLClientHandler.java:1039)
          at net.minecraftforge.fml.common.FMLCommonHandler.processWindowMessages(FMLCommonHandler.java:660)
          at net.minecraftforge.fml.common.ProgressManager.push(ProgressManager.java:55)
          at net.minecraftforge.fml.common.ProgressManager.push(ProgressManager.java:41)
          at net.minecraft.client.resources.SimpleReloadableResourceManager.func_110542_a(SimpleReloadableResourceManager.java:118)
          at net.minecraftforge.client.CloudRenderer.<init>(CloudRenderer.java:82)
          at net.minecraftforge.fml.client.FMLClientHandler.getCloudRenderer(FMLClientHandler.java:1099)
          at net.minecraftforge.fml.client.FMLClientHandler.updateCloudSettings(FMLClientHandler.java:1105)
          at net.minecraftforge.common.ForgeInternalHandler.checkSettings(ForgeInternalHandler.java:97)
          at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_6_ForgeInternalHandler_checkSettings_ClientTickEvent.invoke(.dynamic)
          at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
          at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
          at net.minecraftforge.fml.common.FMLCommonHandler.onPostClientTick(FMLCommonHandler.java:349)
          at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1910)
          at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097)
          at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
          at net.minecraft.client.main.Main.main(SourceFile:123)
          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)
      A detailed walkthrough of the error, its code path and all known details is as follows:
      --------------------------------------------------------------------------------------- -- System Details --
      Details:
          Minecraft Version: 1.12.2
          Operating System: Windows 10 (amd64) version 10.0
          Java Version: 1.8.0_51, Oracle Corporation
          Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
          Memory: 270715224 bytes (258 MB) / 805306368 bytes (768 MB) up to 2147483648 bytes (2048 MB)
          JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
          IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
          FML: MCP 9.42 Powered by Forge 14.23.5.2768 4 mods loaded, 4 mods active
          States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State  | ID        | Version      | Source                        | Signature                                |
          |:------ |:--------- |:------------ |:----------------------------- |:---------------------------------------- |
          | UCHIJA | minecraft | 1.12.2       | minecraft.jar                 | None                                     |
          | UCHIJA | mcp       | 9.42         | minecraft.jar                 | None                                     |
          | UCHIJA | FML       | 8.0.99.99    | forge-1.12.2-14.23.5.2768.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |
          | UCHIJA | forge     | 14.23.5.2768 | forge-1.12.2-14.23.5.2768.jar | e3c3d50c7c986df74c645c0ac54639741c90a557 |     Loaded coremods (and transformers): 
          GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
          Launched Version: 1.12.2-forge1.12.2-14.23.5.2768
          LWJGL: 2.9.4
          OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
          GL Caps: Using GL 1.3 multitexturing.
      Using GL 1.3 texture combiners.
      Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
      Shaders are available because OpenGL 2.1 is supported.
      VBOs are available because OpenGL 1.5 is supported.     Using VBOs: Yes
          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)
          CPU: 4x Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz ____________________________________________________________________________________________________________________________________________________ i would appreciate any help on the subject Thanks! -Frick
  • Topics

    • Pkbldr
      2
      Trouble Updating Forge

      By Pkbldr
      Started 19 minutes ago

    • WesterlyClown
      3
      I am not able to run the forge installer

      By WesterlyClown
      Started Tuesday at 02:26 AM

    • Frick
      0
      Game crash upon startup

      By Frick
      Started 19 minutes ago

    • Defacto
      2
      Add Armor Material Forge 1.13.2

      By Defacto
      Started 1 hour ago

    • maciejsztos
      0
      NPC Follower Guard

      By maciejsztos
      Started 39 minutes ago

  • Who's Online (See full list)

    • HighCrit
    • PulseBeat_02
    • Splint
    • Pkbldr
    • DaemonUmbra
    • HN443
    • Frick
    • Yoyoness_
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • 1.8 can't get custom liquid defaultState?
  • Theme
  • Contact Us

Copyright © 2017 ForgeDevelopment LLC Powered by Invision Community