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. Do you see this line? https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/hardlib/EasyRegistry.java#L72 Do you have that line in your own code?
  2. My mistake, I looked at my own code and saw I was doing it on both sides and didn't investigate further. And it was midnight.
  3. https://github.com/DragonFerocity/expandedaesthetics/blob/master/src/main/java/com/DragonFerocity/expanded/blocks/ModAlloyFurnace.java#L172 That has to be called client-side too Also, this will always be true because of this line.
  4. Why do you need these events? What is your goal (describe it as what the player observes)
  5. If your code doesn't change (the java files) then Eclipse doesn't (always) check to see if the resources have changed.
  6. That if-statement will never be true, you're comparing an Item with an ItemStack which are completely different types.
  7. Well. Yes. All blocks behave that way.
  8. There's a ! there. if (!canHarvestBlock(state.getBlock(), player, world, pos))
  9. You do know that your shaped recipe requires the input sand to be in the center of the 3x3 grid, right? And only that space.
  10. You're unlikely to accomplish this. You would need to store every block position when a block is placed and the location is water, then check that list every time a block is broken, storing the data in per-world storage. It won't be easy.
  11. Metadata in 1.9+ is blockstates. Metadata is just the underlying integer representation. http://mcforge.readthedocs.io/en/latest/blockstates/states/ You will want to combine blocks that have similar functionality (e.g. all colors of wool in Minecraft Vanilla are the same block, but with different metadata) but separated by some "TYPE" aspect (color, material, etc)
  12. You still need to attach the capability to the entity
  13. If you want your item to open a GUI, why are you checking to see if a TileEntity exists in the world?
  14. LivingHurtEvent is fired when an entity takes damage and includes the source.
  15. Try without the ToString() https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/hardlib/client/ClientEasyRegistry.java#L82
  16. Container items aren't part of the recipe itself, they're handled by the crafting grid.
  17. Are you using ItemBlock? That's your problem. ItemBlock always places meta-0. You need ItemMultiTexture or your own ItemBlock class. Not sure about the textures off-hand.
  18. Caused by: java.io.FileNotFoundException: expanded:models/item/campfire.json
  19. You haven't registered your proxy as an event handler class.
  20. ModelRegistryEvent is still a client-side event: import net.minecraftforge.client.event.ModelRegistryEvent; Just because it isn't called on the server doesn't mean that the class even exists. Ditto with the ModelLoader class.
  21. Well. At the moment, you're not creating any blocks or items: https://github.com/DragonFerocity/expandedaesthetics/blob/master/src/main/java/com/DragonFerocity/expanded/proxy/ServerProxy.java#L13-L17 But even if you were, you're not registering any renderers for them: https://github.com/DragonFerocity/expandedaesthetics/blob/master/src/main/java/com/DragonFerocity/expanded/proxy/ClientProxy.java#L14 On top of that: what the fuck is this noise? Why do you have 14 functions that all do the same thing? https://github.com/DragonFerocity/expandedaesthetics/blob/master/src/main/java/com/DragonFerocity/expanded/handlers/BlockHandler.java#L1283-L1335 This function is called from nowhere https://github.com/DragonFerocity/expandedaesthetics/blob/master/src/main/java/com/DragonFerocity/expanded/handlers/BlockHandler.java#L1337 This must be in your client proxy: https://github.com/DragonFerocity/expandedaesthetics/blob/master/src/main/java/com/DragonFerocity/expanded/handlers/BlockHandler.java#L1453 You have an unused import that I'm sure you did something naughty with at some point https://github.com/DragonFerocity/expandedaesthetics/blob/master/src/main/java/com/DragonFerocity/expanded/handlers/BlockHandler.java#L17
  22. Yep, that. Still not, probably.
  23. ...yes... Git is a program. GitHub is a remote repository host. Now then (that I'm awake, seriously, I'm not here 24/7). block.getUnlocalizedName().substring(5)? Really? Bad modder, no cookie. new ModelResourceLocation(block.getRegistryName().toString())"inventory",
  24. How about uploading everything to github? I don't know how you have your code arranged, I don't know what I might need, I only know what to look for.
  25. That one only needs to be all-lower in 1.11, in 1.10 it's fine as it was. That said, you've only posted screenshots. There's no code to accompany your post. I might be a wizard, but I'm not psychic.

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.