Jump to content

myriath

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

myriath's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. The user will see a randomly generated name for the ore and it's respective items. Say the random name is blah, you'll get Blah ore, Blah ingot, blah chestplate, etc. How do I get the game to realize the block should use the custom ItemBlock class for it's name? Currently I'm trying to use GameRegistry.registerBlock with the block, it's respective itemblock class, and the block's unlocalized name as it's parameters. Is that not how it's supposed to be registered?
  2. It seems as though this would work, however I don't know how to get the name into the custom ItemBlock class and into the registry. Overriding works fine for a static name, but I don't know how I'd update it from the Main class of the mod.
  3. Ok, I'll have to take a look when I have time, thank you.
  4. Is that something new in 1.14 or is it in a lot of other versions as well?
  5. When I do that the name turns into x.name in the inventory, how would I get rid of the .name part?
  6. I've got a block that has a randomized name and I need to be able to change what the player sees in their inventory to that name instead of tile.x.name Is there any way to do that that doesn't involve putting every possible name that can come from my random name generator into the lang file?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.