Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

mahidhoni123

Members
  • Posts

    45
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mahidhoni123's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. but I don't have the forge bot on discord, can you tell me the name for OreFeatureConfig, Please
  2. my code - package com.anirudh.forgemod.world.gen; import com.anirudh.forgemod.ForgeMod; import net.minecraft.world.level.biome.Biome; import net.minecraft.world.level.block.state.BlockState; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.event.lifecycle.FMLLoadCompleteEvent; import net.minecraftforge.registries.ForgeRegistries; @Mod.EventBusSubscriber(modid = ForgeMod.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD) public class ModOreGen { @SubscribeEvent public static void generateOres(FMLLoadCompleteEvent event){ for (Biome biome : ForgeRegistries.BIOMES){ if (biome.getBiomeCategory() == Biome.BiomeCategory.NETHER){ } else if (biome.getBiomeCategory() == Biome.BiomeCategory.THEEND){ } else { } } } private static void genOre(Biome biome, int count, int bottomOffset, int topOffset, int max, OreFeatureConfig.FillerBlockType filler,BlockState defaultBlockstate, int size){ } } Error - Cannot resolve symbol 'OreFeatureConfig' :31
  3. and what is called OreFeatureConfig, while making ore gen
  4. The method is tab but while registering which tab the tutorial says .group(ItemGroup), but their is no ItemGroup, so is their a name for that as well?
  5. In registry Handler - public static final RegistryObject<ArmorItem> RUBY_HELMET = ITEMS.register("ruby_helmet", () -> new ArmorItem(ModArmorMaterial.RUBY, EquipmentSlot.HEAD, new Item.Properties().group())); the same error as the previous one
  6. In one of the lines I wrote RUBY(ForgeMod.MOD_ID + ":ruby",1, new int[] { 2, 5, 6, 2, }, 999999999, SoundEvents.AMBIENT_CAVE, 1000.0F, () ->{ return Ingredient.of(RegistryHandler.RUBY.get()).group(); }); The error is - Cannot resolve method 'group' in Ingredient, I think the name has changed but to which name?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.