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. Also What does this even mean?
  2. Make your textures square.
  3. https://stackoverflow.com/questions/513832/how-do-i-compare-strings-in-java
  4. Oh my god ffs. You were right, I was using the local te instead of the global te variable. So frustrating. Thanks You realize the thing you did doesn't fucking matter because you passed null to the constructor, right? both this.tileentity and tileentity are null. Changing tileentity to this.tileentity on the second line doesn't change that fact.
  5. What. Why do you have a global variable?
  6. You don't. Blockstates work like this: 1) You, in your block class, tell Minecraft what properties (and possible values) your block has 2) You, in a blockstate file, map these property-value keys to model and texture definitions (or other such values)
  7. Or you could tell the statemapper "these properties can be ignored."
  8. Data was though. Data has always been a thing. JSON is just a format for data that's a blend of easy for a human to read and easy for computers to deal with.
  9. An array of 1 is not the same as an object. Yes you do need them.
  10. You can't tell the difference between those two pieces of code? https://json-schema.org/understanding-json-schema/reference/array.html
  11. If you're getting an error, then it's wrong. Your code: "normal": { "model": "crystalweapons:crystalore" } What's expected: "normal": [{ "model": "crystalweapons:crystalore" }]
  12. The error says that a portion of it deserialized as an Object when something else was expected. Probably an array.
  13. Your JSON file is wrong.
  14. You need to multiply this value by the deltaTime between frames (after dividing out the deltaTime at 75 fps). I'm not sure where you'd get that value, though.
  15. You're still in the wrong place, as this board (the one called Modder Support) is for the people who make mods, not the people who use them. And the exception that got thrown (a Concurrent Modification Exception, meaning either: (a) a loop modified the list its iterating over or (b) thread safety) is one of a kind that is not necessarily repeatable. Particularly the type of class (b) dealing with thread safety. That is: it will crash unexpectedly and randomly. So "it worked before" isn't really true, all that was true was that it hadn't yet crashed. One of your mods is broken. The only person who can help you is the person that wrote it.
  16. Go talk to the developer of Extra Planets.
  17. You've got everything wrong. 1) You haven't registered an event handler 2) Your event handler method has the wrong signature 3) The method signature you do seem to have is the one from the Item class.
  18. That's not how extending a class works. Depending on what, exactly, you want to do, there are a number of ways to achieve it. You just have to tell us what you want to do.
  19. That's not how IItemHandler works.
  20. Look at ItemMultiTexture and ItemCloth
  21. Usually you want to do something more like pos1 = pos.rotateY(); //North -> East -> South -> West -> North
  22. ItemStacks go weird when they have more than 64 items. Namely, at 127 they become infinite.
  23. You obviously forgot to zero out the player's position before rendering.

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.