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. Minecraft does not really like blocks larger than 1x1x1. The fence with it's 1.5 high bounding box is pretty much the maximum that Minecraft will treat correctly. I've not tested bounding boxes larger than that, but I suspect that if it's giving you trouble, that is why. You need to use a second technical block, the way Beds work.
  2. Fine, there's nothing that currently exists, you have to build it yourself
  3. I believe so. Any reason you haven't updated to 1.9.4 or 1.10.2?
  4. Please don't use BlockContainer or ITileEntityProvider All you need to do is override hasTileEntity and getTileEntity supplied by the Block class.
  5. http://minecraft.gamepedia.com/Hunger#Mechanics
  6. Which one of those several config values is messing up? Also, post the config file.
  7. or use World#rayTraceDo(...) or whatever its named.
  8. -

    Draco18s replied to mickedplay's topic in Modder Support
    >>> Trying to compile Minecraft >> Doesn't have Forge installed > Comes to the Forge forums for help. What.
  9. If you changed the config file to have "false" in it, then it will read the config file's value. The default value is what is used when the option in the config file doesn't exist.
  10. Has been for months. There's always updates, yes, but it's fully functional.
  11. The spell circle would be a particle. That's easy enough to do.
  12. Incorrect. Entities do indeed spawn client side (that's how you can see them). However, that is not how you should be displaying a GUI, for one because it uses Client Side Only code inside a Common Code method. For two, you need a GUI handler.
  13. The problem is that you need all the functionality of EntityHanging, but you can't extend EntityHanging due to how current hanging entities work (there's at least two and one of those methods goes "I am being spawned, which type am I?" and has hardcoded switching statements.
  14. Extending EntityHanging is a right pain in the ass. Recreating it is also a right pain in the ass.
  15. For* the player's inventory. This class is just a representation of the inventory that already exists, you're not adding to that, you're creating the representation. But yes, the problem is that the slots you want to use to represent the TileEntity's inventory you're telling the program to look at the player's inventory for the contents.
  16. The ARE the same thing, literally. You may be interested in looking over how I handle metadata item variants. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/OresBase.java
  17. You also don't have pressTime ++ anywhere.
  18. Get the Eclipse JSON Editor plugin, or the same thing for IDEA or InteliJ depending on what you're using.
  19. I unno. Does your code run now?
  20. if(harvest_enabled) { do_stuff(); } not while(harvest_enabled) { do_stuff(); } Yes, I realized that you want to "do stuff while harvest is enabled" but "while" has a different meaning in code. It means "do this thing over and over again until the condition is false, even if that means hogging the CPU and doing nothing else until the universe experiences heat death." What you need to do is press the key and stop doing anything else the rest of this tick. Then you count ticks. Then when the counter is big enough, release the key. If it helps, write out what you want to do as a Finite State Machine.
  21. You did something wrong, because you didn't do this: Please do the latter, do not use BlockContainer.
  22. *Defeats the whole purpose. DO NOT USE A LOOP ANYWHERE IN YOUR CODE. The tick event handler IS the loop.

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.