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.

PortsNotAlt

Members
  • Joined

  • Last visited

Everything posted by PortsNotAlt

  1. Hey all! I asked around on the discord and didn't get any answers over the last couple of days so I'm coming here: I want to, when my item is used in the furnace as a fuel source, run some action on the actual furnace block. I got far enough that I created a handler class that listens for FurnaceFuelBurnTimeEvent however, that doesn't have any ways to get the position or block of the furnace, any suggestions on how I could accomplish this? Running forge 46.0.14 for Minecraft 1.20
  2. Hi! Thanks for your advice. I'm developing for a modpack with friends and it has to be on 1.16.5. In the future I'd suggest being kinder to people, it really does go a long way I'll look to other forums for help, thanks!
  3. Maybe I'm misunderstanding somewhere, but I'm using BaseTreeFeatureConfig.Builder, not TreeConfiguration.TreeConfigurationBuilder, maybe I'm looking in the wrong spot but that seems to be an outdated function?
  4. Hi! Firstly I'm using 1.16.5 Also, I wish it were as simple as the trees dont grow at all, but they do grow only on dirt blocks. The saplings can be placed on Soul Sand but cannot be grown into trees on Soul Sand. Image of Tree grown on dirt vs grown on Soul Sand
  5. I'm using Forge 1.16.5-23.2.34, and I'm attempting to make a tree that would grow from Soul Sand (or any other block I might later choose), and there seems to be no method to change this. I've already made it so that saplings can be placed on it, I just can't get them to form into trees on it. This is my code for making Saplings peaceable on other blocks: public class ModSaplingBlock extends SaplingBlock { private Supplier<Block> otherDirt; public ModSaplingBlock(Tree p_i48337_1_, Properties p_i48337_2_, Supplier<Block> otherDirt) { super(p_i48337_1_, p_i48337_2_); this.otherDirt = otherDirt; } @Override protected boolean mayPlaceOn(BlockState p_200014_1_, IBlockReader p_200014_2_, BlockPos p_200014_3_) { return p_200014_1_.is(otherDirt.get()); } } And this is my code for my trees: public static final ConfiguredFeature<BaseTreeFeatureConfig, ?> ASH = register("ash", Feature.TREE.configured(( new BaseTreeFeatureConfig.Builder( new SimpleBlockStateProvider(ModBlocks.ASH_LOG.get().defaultBlockState()), new SimpleBlockStateProvider(Blocks.AIR.defaultBlockState()), new AcaciaFoliagePlacer(FeatureSpread.fixed(2),FeatureSpread.fixed(0)), new ForkyTrunkPlacer(5, 2, 2), new TwoLayerFeature(1, 0, 2)) .build()))); Any help or pointers would be greatly appreciated, thanks!

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.