{"action":"created","issue":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/1828","labels_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/1828/labels{/name}","comments_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/1828/comments","events_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/1828/events","html_url":"https://github.com/MinecraftForge/MinecraftForge/issues/1828","id":70921145,"number":1828,"title":"[1710ls] Can't use @ObjectHolder with fluid blocks","user":{"login":"SoniEx2","id":1779619,"avatar_url":"https://avatars.githubusercontent.com/u/1779619?v=3","gravatar_id":"","url":"https://api.github.com/users/SoniEx2","html_url":"https://github.com/SoniEx2","followers_url":"https://api.github.com/users/SoniEx2/followers","following_url":"https://api.github.com/users/SoniEx2/following{/other_user}","gists_url":"https://api.github.com/users/SoniEx2/gists{/gist_id}","starred_url":"https://api.github.com/users/SoniEx2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoniEx2/subscriptions","organizations_url":"https://api.github.com/users/SoniEx2/orgs","repos_url":"https://api.github.com/users/SoniEx2/repos","events_url":"https://api.github.com/users/SoniEx2/events{/privacy}","received_events_url":"https://api.github.com/users/SoniEx2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-25T14:44:01Z","updated_at":"2015-08-05T00:25:29Z","closed_at":null,"body":"Using @ObjectHolder in the class where you register fluid blocks = crash because fluid isn't registered.\r\n\r\nSteps to reproduce:\r\n1. Make a fluid\r\n2. Make a Fluids class with \"public static final Fluid f = new MyFluid()\"\r\n3. Make a (classic) fluid block\r\n4. Make a Blocks class with @ObjectHolder\r\n5. Use the Fluids.f fluid when constructing the fluid block\r\n6. ???\r\n7. Crash"},"comment":{"url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/comments/127802663","html_url":"https://github.com/MinecraftForge/MinecraftForge/issues/1828#issuecomment-127802663","issue_url":"https://api.github.com/repos/MinecraftForge/MinecraftForge/issues/1828","id":127802663,"user":{"login":"immibis","id":507686,"avatar_url":"https://avatars.githubusercontent.com/u/507686?v=3","gravatar_id":"","url":"https://api.github.com/users/immibis","html_url":"https://github.com/immibis","followers_url":"https://api.github.com/users/immibis/followers","following_url":"https://api.github.com/users/immibis/following{/other_user}","gists_url":"https://api.github.com/users/immibis/gists{/gist_id}","starred_url":"https://api.github.com/users/immibis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/immibis/subscriptions","organizations_url":"https://api.github.com/users/immibis/orgs","repos_url":"https://api.github.com/users/immibis/repos","events_url":"https://api.github.com/users/immibis/events{/privacy}","received_events_url":"https://api.github.com/users/immibis/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T00:25:29Z","updated_at":"2015-08-05T00:25:29Z","body":"Your bug is not directly related to ObjectHolder (that's just the \"catalyst\"). If *anything* accessed Blocks before Fluids.init was called you would have the same problem. Don't set up Minecraft things in static initializers."}}