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.

Leaderboard

Popular Content

Showing content with the highest reputation on 08/05/20 in Posts

  1. Assign their values when they are being registered. For example public static Item TEST_ITEM = null; @SubscribeEvent public static void registerItems(RegistryEvent.Register<Item> event) { event.getRegistry().registerAll( TEST_ITEM = new Item(); ); }
  2. I found what i was looking for. It was very simple. This is the code if anyone else ever needs it. mc.playerController.processRightClick(mc.player, mc.world, EnumHand.MAIN_HAND);
  3. You need to change the render type to either cutout/cutout mipped(if there's no transparency) or transparent(if there is) via RenderTypeLookup::setRenderLayer. If you're model also isn't a full cube, you should adjust the VoxelShape (via Block::getShape) as well so it encapsulates only the space your model takes up.
  4. private void Hat() { //what does it do? } glad to help
  5. Set the render type of the block in your client setup using RenderTypeLookup.setRenderLayer(block, rendertype);
  6. We will not provide support for custom clients, especially not cheats or "hacks".
  7. In your registries ๐Ÿ˜ž like this event.getRegistry().register(new TableBRUUUHBlock(Block.Properties.create(Material.IRON).sound(SoundType.STONE)).setRegistryName("furnmod", "table"));
  8. Make a separate class for your table block (or a class which only extends to Block class and calls this method so if you would add more blocks like this you can extend those to that class so they would automatically get rendered in the correct way but i would make separate classes) or a much better solution rather than just using the render type method make voxel shapes matching your block's model it would also make your blocks looking a lot better (in my opinion)
  9. Simply delete the Example mod package in your src/main/java/com it should fix it i mean the Example mod folder isn't even used for anything it's only there as an example (of course XD) so just delete it and it should be fine you wouldn't use the Example mod folder anyway.
  10. Try to build the mod and use it in a normal client with forge. You can find build result in build\libs

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.