Skip to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. What do you expect to get passed to ModelResourceLocation if id is solar:rune ?
  2. The only reason people are likely not currently seeing the issue is because ModelLoader itself is not marked as Client-side (and doesn't get loaded, only validated to exist) which might change. Also, you might be interested in how I set things up. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/hardlib/client/ClientEasyRegistry.java https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/hardlib/EasyRegistry.java Those being effectively proxy classes, but with some static methods to allow child mods to use it.
  3. JVM: Loading class MSBlocks. Hmm, it has a reference to ModelLoader in it, must make sure I can fetch that class when that method gets called Server has crashed: ClassNotFoundException It's not about whether or not it gets called, the fact that it exists is the problem: the JVM can't validate the MSBlocks class as valid java code.
  4. setRegistryName("matterstoragesystems:BlockOreCerium"); setRegistryName already prefixes your MOD ID you don't need to do it again. Also don't put your model registration code in a common location, it must be in the client proxy or it will crash the dedicated server: ModelLoader extends a client-side-only class.
  5. *cough* ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(Solar.MODID + ":" + id, "inventory")); Also, that shit will crash the dedicated server. ModelLoader extends a client-side-only class.
  6. Caused by: java.io.FileNotFoundException: solar:models/item/solar:ItemRune.json You're prefixing your MOD ID onto the result of getRegistryName. Also, your registry name should be in all lower case.
  7. Don't ever use getUnlocalizedName for something that isn't display purposes. As you can see, it's gone and fuckered your resource path. You should be using getRegistryName.
  8. See. This is where your IDE can help you. Right-click -> References -> Workspace This will search for all usages and other references to the method in the entire workspace (or project if you click project, which is the same unless you have more than one project imported). The method is only called by the dragon and the wither. The default implementation in Block is pretty much the only one that matters (it checks a bunch of blocks if it's the dragon, if it's the wither, it calls back to a static function in the wither to determine). Most things return true. Obsidian, bedrock, barrier, etc. return false.
  9. It doesn't need to do either of these things. I've been using standard block models for my TEs (the furnace does this). I've also got a couple of non-ticking TEs (the potted plant is a good example).
  10. Aaaaaaaand you've already gone past the limit of 4 bits.
  11. You can't save twelve PropertyInts in block metadata: Metadata can only store 4 bits of information.
  12. Also update. If you really want to use 1.8, then update to 1.8.9
  13. 1.7 code, but the principle is the same. https://github.com/Draco18s/HarderStuff/blob/master/src/main/java/com/draco18s/wildlife/WildlifeEventHandler.java#L335-L349 You have to do it this way because you cannot compare item stacks with ==, you have to compare their contents.
  14. Personally, I still think it helps to have the classes in different files. There was another poster about a week ago who'd used the nested class structure and was having an issue that as soon as I suggested he use separate files he found and fixed his problem.
  15. The "particle" texture is unspecified/missing.
  16. You also missed the bit where I said that you'd need to have an IContainerListener otherwise hoppers break things. You assumed that I was saying that hoppers make an IContainerListener insufficient.
  17. You're trying to register the renderer for your item before you've created it. proxy.preInit(); <-- register rendering ModItems.init(); <-- create item ModItems.register();
  18. No one is going to steal your shit: no one cares them. There's also this thing called "copyright" which everyone cares about.
  19. It's so stupidly hilarious how easy this is to figure out I'll both link it to you and laugh. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/entities/TileEntitySifter.java#L151-L160 A hahahaha
  20. Also don't implement IMessage and IMessageHandler in the same class file, you'll invariably mess something up.
  21. One way or another. Lex has indicated it'll never get merged anyhow.
  22. Hoppers pulling from or pushing to YOUR container would require an update while the player is looking at the GUI.

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.