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.

U_Worm

Members
  • Joined

  • Last visited

  1. I've experienced a similar issue. I haven't seen your code, but if you enter this inModBlockStateProvider.java, it should fix the problem you're facing! I hope your problem gets resolved! makeCustomFlowerBlock(ModBlocks.CUSTOMFLOWER.get(), "customflower_bottom", "customflower_top"); public void makeCustomflowerBlock(Block block, String lowerModelName, String upperModelName) { Function<BlockState, ConfiguredModel[]> function = state -> customflowerStates(state, block, lowerModelName, upperModelName); getVariantBuilder(block).forAllStates(function); } private ConfiguredModel[] customflowerStates(BlockState state, Block block, String lowerModelName, String upperModelName) { DoubleBlockHalf blockHalf = state.getValue(TallFlowerBlock.HALF); List<ConfiguredModel> models = new ArrayList<>(); if (blockHalf == DoubleBlockHalf.LOWER) { models.add(new ConfiguredModel(models().cross(lowerModelName, new ResourceLocation(TutorialMod.MOD_ID, "block/" + lowerModelName)).renderType("cutout"))); } else if (blockHalf == DoubleBlockHalf.UPPER) { models.add(new ConfiguredModel(models().cross(upperModelName, new ResourceLocation(TutorialMod.MOD_ID, "block/" + upperModelName)).renderType("cutout"))); } return models.toArray(new ConfiguredModel[0]); } modblocks.java : public static final RegistryObject<Block> CUSTOMFLOWER = registerBlock("customflower", () -> new TallFlowerBlock(BlockBehaviour.Properties.ofFullCopy(Blocks.PEONY).noOcclusion().noCollission()));
  2. I'm experiencing the same issue. Were you able to fix it?
  3. U_Worm joined the community
  4. Did you manage to fix the issue where this block couldn't be placed on water?

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.