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.

clement585

Members
  • Joined

  • Last visited

Everything posted by clement585

  1. Thanks Draco 18 but I haven't figured out how to get the Minecraft blocks class.
  2. Thank you Draco 18 I have a hard time looking at the link you sent me but in 1.15.1 the import net.minecraft.util.BlockRenderLayer don't exist.
  3. I know what @Override means and I know how to use it but I don't understand why my code is wrong. I have to pass @Override before the variable public boolean isOpaqueCube () { return false; }
  4. I use intellij idea and minecraft 1.15, it highlights me override in red wave.
  5. I have a problem with my blocks, I can see the cave. I think it's because the game detects my blocks as opaque blocks. I have read a tutorial and a post: http://greyminecraftcoder.blogspot.com/2013/07/rendering-transparent-blocks.html here is the class code that instantiates the blocks: package fr.chtibizoux.woodcraft.init.blocks; import fr.chtibizoux.woodcraft.init.ModBlocks; import net.minecraft.block.Block; import net.minecraft.item.BlockItem; import net.minecraft.item.Item; public class BlockWoodCraft extends Block { public BlockWoodCraft(String name,Properties properties) { super(properties); setRegistryName(name); ModBlocks.blocks.add(this); ModBlocks.blockItems.add((BlockItem) new BlockItem(this, new Item.Properties()).setRegistryName(getRegistryName())); } public boolean isOpaqueCube() { return false; } }

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.