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. [Tt]prefixName + suffixNam[/code] suffixName is an array, this isn't doing what you think is doing. That's why the old name ends in "[Ljava.lang.String;@64b7066e"
  2. Or rather, anytime as early as the constructor to just before registering.
  3. In standard nomenclature, the "I" denotes an interface.
  4. Did you register an item for your block?
  5. You're trying to get the item representation of the block in the world. The block in the world is passed to the method. There's your simple solution.
  6. To clarify: you need to register both. The old 'registerBlock' method automatically created an itemblock for you, but not any more (allowing for technical blocks). Just create a new instance of the ItemBlock and give it the same registry name as your block.
  7. I mean the fact that after using the method it gets a nice line through it that's supposed to hint to you, "Hey dummy! This method is deprecated!" And then you look at the Javadoc (C# had something similar too) and read it and think, "Oh, this method is deprecated and tells me what to use instead, maybe I should dip that thing."
  8. Something something something getTotalWorldTime() something something...
  9. You know that the block instance being used is passed to the method, right? blockState.getBlock() There is literally no reason to look it up via string manipulation.
  10. These two objects are not the same. You should come back when you understand Java because it is clear that you do not know wtf you are doing.
  11. C# had ways to mark methods as deprecated too.
  12. You realize that in SSP the game can be paused, right? If you were to stand on the spawner, hit escape, and walk away for a few hours, as soon as you resumed paying, you'd get a dozen spawns immediately.
  13. Thanks, I could not remember the exact interface name and was unable to look it up (traveling).
  14. Ok, that's not gloss. That's full bright. This is gloss: http://www.acegikmo.com/shaderforge/images/web/maininputs/main_input_gloss.gif[/img]
  15. FYI, door (item) and door (block) aren't actually related, iirc (I know cake, red stone, and reeds aren't). That is, those items are not ItemBlocks, they are items that when used, or a block into the world. What you should do is create an item model for your blocks that is used for the inventory varient and specified in the block state json file.
  16. Use a different number, Specifically, a number of megabytes inbetween. I think I had to use some odd number like 1368mb; finding a value that was less than my ram available (mind, I have 3.25gb total) and more than it needed. (It would with crash having exceeded the amount I gave it, or would stall tyring to allocate more than I actually had, so I'd have to go in and spilt the difference)
  17. The entity item bobbing motion is handled by the entity's age.
  18. ModelBase isn't the problem, it is the fact that TESR isn't baked.
  19. register(IForgeRegistryObject)
  20. Does your cable need to animate? No? Don't use a TESR. Use the block model system.
  21. I'll say it again: What? Nothing you have posted has made any coherent sense. How does the verb "scan" and the noun "block" relate to "textures for a model"?
  22. FYI: "It didn't work" is the bestest way to communicate information. You should totally keep doing that. By which I mean DON'T DO THAT EVER AGAIN. IT IS NOT IN ANYWAY HELPFUL.
  23. The UVs I wanted were all 0 or 1. The problem was that I wanted to use: 0,0 0,1 1,0 And the default (no UVs specified) was: 0,0 0,1 1,1
  24. It lets you know if you duck up the method signature.

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.