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. entities.get(i) is an EntitySheep. What you traced out is that entity as a String, which came with extra data. Object data exposed by its toString() method ↓ "EntitySheep['Sheep'/19, l='New World', x=29.07, y=4.00, z=-787.93]" ↑ Class of the object
  2. WHAT MAP ARE YOU TALKING ABOUT.
  3. ~Loops~ List#get(int index)
  4. That's because your variable entity is a List and is not an instance of EntitySheep. It does however, contain sheep.
  5. Seriously, you couldn't open the thread titled "Forge 804 install http 403 forbidden error [RESOLVED]"?
  6. You are making no sense. Do you mean a map? A Dimension? Or a World?
  7. if(someEntity instanceof EntitySheep) { EntitySheep aSheep = (EntitySheep)someEntity; }
  8. Even so, I'm pretty sure it's going to be monstrously huge. That and I highly doubt its going to catch on. Besides, if you want to produce something people will actually use, you might consider making it a desktop application, rather than an iPad one. Because how else are those poor schlubs without iphads supposed to use it? (If they're running Minecraft you already know they've got a PC!)
  9. Da fuk you need that much data for?
  10. I hope you're ready for an app that is several gigabytes in size. What with all the textures and GUI elements, example screenshots, and so on and so forth from every mod ever made.
  11. No, it's called a new rendering class. I know it's possible, as Mystcraft has "overcast" weather which is what you're looking for. I just don't know how its done.
  12. It's called "ignore the random seed."
  13. AABB is an AxisAlignedBoundingBox, yes. Think of an AABB as a volume of blocks that must be cuboid in shape: it has width, height, and depth, as well as location.
  14. 256 and up won't work. Because the vanilla terrain generators deal with block IDs as a byte.
  15. Try the parent class, BlockBasePressurePlate.
  16. There is a way to do it that won't take "days" but it is math heavy. Essentially you'd have two loops (nested) that run from (0,0,0) to (hue1, hue2, hue3), depending on what the hue is (for red, it would be (255,0,0)). The other loop would run from those values over to (y,y,y) for the black-to-white gradient. Then you'd need a slider bar to change the hue value. (You'd want to look up HVS to RGB conversion algorithms).
  17. Don't use onEntityWalking. It's flaky and you'd have to figure out how to determine powered status (and sending the redstone signal wouldn't do anything! You'd need the signal, then the walking!) Look at pressure plates instead. There's a world.getEntitiesInAABB function. You'll want to copy that and add it to the onNeighborBlockChanged function (or wherever you're getting your redstone activation at) and do your shearing inside there. Look at the sheers to see how they work.
  18. par5EntityPlayer.getCurrentEquippedItem().itemID == redDye.itemID
  19. There's also Tessellator#setBrightness(int)
  20. Change server.properties
  21. Yes. They would. AND THEY SHOULD.
  22. What is your goal, here? What is the problem you are trying to solve?
  23. TickRegistry.registerTickHandler() ?
  24. If you want it to do anything, yes!

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.