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

I maded a tree and I want it to spawn with vines but when I grow the sapling minecraft crashes.

The code:

public static final ConfiguredFeature<BaseTreeFeatureConfig, ?> JACARANDA =

register("jacaranda", Feature.TREE.configured(( new BaseTreeFeatureConfig.Builder(

new SimpleBlockStateProvider(com.LB.foodstuffs.block.ModBlocks.JACARANDA_LOG.get().defaultBlockState()),

new SimpleBlockStateProvider(com.LB.foodstuffs.block.ModBlocks.JACARANDA_LEAVES.get().defaultBlockState()),

new FancyFoliagePlacer(FeatureSpread.fixed(3), FeatureSpread.fixed(3), 3),

new FancyTrunkPlacer(5, 4, 2),

new TwoLayerFeature(1, 0, 1))).decorators((List<TreeDecorator>) new TrunkVineTreeDecorator()).build()));

 

Only providing snippets of code out of context and no error message means you are unlikely to get help.

 

And directly registering features hasn't been the correct thing to do since at least minecraft 1.18.1

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

The version you are using is no longer supported on this forum.

Please update to a modern version of Minecraft to receive support.

Currently supported versions are 1.19.4 (Latest) and 1.18.2 (LTS).

Guest
This topic is now closed to further replies.

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.