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. You would need to track (and allow the player to modify) two positions: The anchor point (what to scale relative to) The offset from the anchor Unfortunately, this ends up being confusing to the player: moving either one moves the text, so why are there two, and why isn't it where I want it when I change resolutions?
  2. No. https://stackoverflow.com/a/11935996/1663383
  3. I don't think that using the same json file will really reduce the load-up time any: even if the json file is cached the game still needs to load the texture file and convert it to a 3D model and cache it.
  4. Similarly, your asset files need to be all lower case as well.
  5. Which block are you having a problem with? Are there any errors in the console?
  6. It means you have some other item also being registered with that name. Duh.
  7. ...post...your...code... Like, your gradle.build file and your main mod class.
  8. Why is this client-side-only reference in common code?
  9. Note: Using Capabilities requires upgrading past 1.7.10
  10. so... this? https://github.com/Draco18s/ReasonableRealism/blob/master/build.gradle#L49
  11. Not to mention if someone else registers an enchantment before you do.
  12. Ew. Absolutely ew. Contains value 86? Really? You couldn't use an actual enchantment instance?
  13. Aw for fuck's sake. Use ModelLoader.setCustomModelResourceLocation, stop using old, out of date methods that are broken and don't work properly.
  14. Its from when you register a model for your item. You are doing that, yes?
  15. Uh what do you mean "my whole block"? Of course I have a model: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/models/block/axel.json Two for this block, actually: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/models/block/frame.json
  16. LivingAttackEvent probably
  17. This is what my blocks look like: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/blockstates/axel.json#L11
  18. World#totalWorldTime is always accurate (it only increases, it never decreases), except for the /time command.
  19. Well, none of your config options are booleans, they're all integers. if(1 == True) //is false, assuming it even compiles
  20. This is likely due to the fact that the enchantment doesn't directly handle dealing the damage. The code for attacking does, by checking if there is an enchantment for damage, and if so, querying its value (and then doing the addition itself). For you to get the same effect, you need to use Events.
  21. $100 says you create and register your item before you create and register your block.
  22. By the way, you have a bunch of missing models/variants. You should fix those too. And you have a missing texture: [12:40:12] [Client thread/WARN]: Failed to load texture: japanese:textures/country/sun.png java.io.FileNotFoundException: japanese:textures/country/sun.png
  23. You're not the first person to have this idea.

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.