Jump 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. http://www.reactiongifs.com/wp-content/gallery/popcorn-gifs/tumblr_ljh0puClWT1qfkt17.gif[/img]
  2. Ostensibly even if it did, you could probably still change it. http://codegolf.stackexchange.com/a/28818
  3. copperhelm = registerItem(new toparmor(copperarmor, 1, EntityEquipmentSlot.HEAD), "copperhelm"); See that "new" keyword? See the thing that coems right after it? That's a class. Which you've poorly named by not making the first letter capitalized (should be "TopArmor"). You never do this with your coppershears class (*cough* CopperShears *cough*).
  4. It looks like you've registered the item in a way that it expects a blockstate (yes, items can have blockstates) and it is missing the blockstate json/that file has no inventory variant specified.
  5. Just use i.getRegistryName().
  6. Also, don't use Object. I put " Object " because I don't know the correct type (nor do I care). You're supposed to change it to match what you're doing.
  7. For fuck's sake. Object o = it.next(); Stop calling .getClass() on everything.
  8. Because the furnace never faces its front side towards a wall. isFullBlock() returns true if the block...is a full...block, as in, fills 100% of its volume.
  9. You have this line: _Items.registerRenders(); That should not be there and whatever it's calling should be removed. Also, I really hate this FML event forwarding practice. Here's my client proxy: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/client/ClientProxy.java
  10. Ok, thre things: 1) Don't use Minecraft.getMinecraft().getRenderItem().getItemModelMesher() , use ModelLoader.setCustomModelResourceLocation 2) Don't call this line in common code, it MUST be in your ClientProxy 3) Don't use that version of GameRegistry.register , you may have noticed it has a fucking line through it because it's marked as deprecated. You should call item.setRegistryName(name) and pass the item (and only the item) to register
  11. 1.7.10 is no longer supported. Update.
  12. There should be a message in the console if an image file or json file is not located. Please post that.
  13. Dude, seriously. The first line is the most important one: it tells us/you what the error is. The second line is the second most important: it tells us/you where the error is. We need both.
  14. Your blockstate file doesn't contain an inventory variant.
  15. Most of the methods are pretty self explanatory.
  16. Why is it so difficult to convey things to you . I meant the corrected version of MY code. I have no idea how to put that into my code. It would save a lot of time if I could just have it fixed and then try to understand from that. No one is going to provide you code that you can copy and paste. You have top actually know what you're doing. You apparently missed the "this is not Java school" on the board description. Good news: that info is also in my sig.
  17. Actually, you can. Pick a random texture based on xyz coordinates. You'd have to reencode this as a non-saving property, but: https://github.com/Draco18s/HarderStuff/blob/master/src/main/java/com/draco18s/hazards/block/BlockUnstableStone.java#L173-180 That code is for more than 4 textures, but I worked out a really good distribution so it is very hard to notice any repeating patterns.
  18. You can lock the thread, that's fine. Also, don't use glow in your posts, please. It makes things hard to read.
  19. You need an example of the json? https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/blockstates/axel.json
  20. Make the itemstack have the enchantment when you pass it to the crafting recipe.
  21. Egietje is dumb. "Blockstate" and "model" aren't related. You need a blockstate file AND a model file.
  22. But magic doesn't shot from a dispenser. private BlockPos blockpos; //class field ... BlockPos blockpos = new BlockPos(this.xTile, this.yTile, this.zTile); //local variable Google "local scope"
  23. You are obviously doing something wrong, but without any code we cannot help you.

Important Information

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

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.