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. Ok i don't exactly know how to do this, so where is the grass block rendered? Giant class called RenderBlocks.java, if I recall correctly. I don't recommend looking through it, it's not organized in a fashion that will help you.
  2. Render in multiple passes. In the second pass render the overlay texture with the color multiplier.
  3. Also watch out for Client-side only constructors. EntityFireball has one and has caused a headache or two.
  4. I don't think blocks like having bounds outside a full cube.
  5. You don't need to implement or use any packets to synch inventories. My guess is that somewhere along the line you've improperly set up your gui / container / tileentity classes, but I wouldn't know where to look.
  6. 1) Gradle subforum. 2) Are you downloading the right thing? I just checked the Forge-latest source link and it contained gradlew.bat, as expected.
  7. Why don't you look at the source for the vanilla blocks that do what you want and figure it out.
  8. Fuck, you really can't look at vanilla to see how it handles it? Open BlockLeavesBase, BlockBreakable, BlockGlass, BlockPortal, BlockLeaves, or BlockIce and see how that block does it. It's really simple, really obvious, and has a freaking javadoc about transparency and rendering.
  9. As it happens, I cannot read minds or remote view your screen.
  10. Like the item function isMap() that is used by nothing (there's actually one reference, fairly obscure). Maps rendering in item frames is handled by if(containedItem == Item.Map) which makes extending ItemMapBase for any reason a real annoyance.
  11. What does this mean
  12. Mojang code. Learn to deal with it. In time you will come to love it.
  13. Define "does not work"
  14. And without the crash log, we can't help you.
  15. You didn't set the leaf block to be transparent. Look at BlockIce
  16. The file name does not match the string that you're telling minecraft to look for.
  17. I know what the problem is. "log_redstone.png.png" doesn't match "log_redstone" (file name you specified) + ".png" (implied file extension).
  18. Air. Block ID 0 is null in vanilla.
  19. Block#updateTick()? World#scheduleUpdateTick()?
  20. And the material variable is going unused. Either pass it to super, or get rid of it.
  21. "darkgems.png" setTextureName("darkgems:darkgem"); darkgem != darkgems
  22. Don't use timers.... Count ticks. Even if your timer worked, you'd find that if the player pauses the game the timer will keep ticking. Which is not correct.
  23. Adding an override annotation and changing nothing else is going to Jack and Shite. Some annotations do things at runtime....the Override one is not one of them.
  24. setTextureName("modid:texturefile");
  25. Vanilla makes no distinctions between placed and natural blocks.

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.