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.

Featured Replies

Posted

Has anyone gotten a world with a 1.6 version of their mod to correctly load in an 1.7 environment?

 

Mine works as it should with a fresh 1.7 world, but if I load a 1.6 world it acts up.

 

- The Block is removed from the world.

- The ItemBlock is not using the blocks renderer, rather its using the standard item renderer.

- Item.getItemFromBlock() returns null, indicating the block has no item mapped to it anymore.

 

It should work, the modid and registered block name are identical, and so are the class names.

 

Even the code doing the registration is basically identical.

1.6

Values.blockEnderTank = new BlockEnderTank(idEnderTank);
GameRegistry.registerBlock(Values.blockEnderTank, ItemBlockEnderTank.class, "blockEnderTank");
Values.itemEnderBucket = new ItemEnderBucket(idEnderBucket - 256);
GameRegistry.registerItem(Values.itemEnderBucket, "itemEnderBucket");

1.7

Values.blockEnderTank = new BlockEnderTank();
GameRegistry.registerBlock(Values.blockEnderTank, ItemBlockEnderTank.class, "blockEnderTank");
Values.itemEnderBucket = new ItemEnderBucket();
GameRegistry.registerItem(Values.itemEnderBucket, "itemEnderBucket");

 

Reading the conversion output, it only has 3 entries for my stuff, everything else is minecraft blocks and items.

Found item id mismatch EnderTanks:itemEnderBucket : 4096 5380

Found item id mismatch EnderTanks:blockEnderTank : 165 2380

Injecting new block EnderTanks:blockEnderTank

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.