Jump to content

Unpuzzledmind32

Members
  • Posts

    16
  • Joined

  • Last visited

Unpuzzledmind32's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. How do i exactly change the time from day to night when an entity is spawned thanks
  2. you have a duplicate mod mod in there just remove it
  3. bro use pastebin for error log don't just paste a huge wall of text please thanks
  4. hi i am sorry for the late reply but it worked and i just wanted to say thanks.
  5. Hi i am making a food that would take long to eat and i am wondering how to make the food eating/animation longer
  6. this is what my Feature class looks like do you mean two are private and almost all of them are static am i not seing somthing?
  7. No i cannot figure out which one i need which one do i need?
  8. 1: yes 2: yes i have and i still have no idea what to do lol 😁
  9. well hand coding is where you don't make the code, like making it with a program like mcreator what method name do i need? i am sorry i am just very new to coding
  10. it says Cannot resolve method 'withConfiguration' in 'Feature' I tried everthing and i can not fix this error help @LexManos @diesieben07 i am new to forge hand coding btw code: package com.jerios.pearlarmor.world.gen; import net.minecraft.util.registry.Registry; import net.minecraft.util.registry.WorldGenRegistries; import net.minecraft.world.gen.feature.*; import net.minecraft.world.gen.placement.ConfiguredPlacement; import net.minecraft.world.gen.placement.Placement; import net.minecraft.world.gen.placement.TopSolidRangeConfig; import net.minecraftforge.event.world.BiomeLoadingEvent; import com.jerios.pearlarmor.world.gen.OreType; public class ModOreGen { public static void generateOres(final BiomeLoadingEvent event) { for (OreType ore : OreType.values()) { OreFeatureConfig oreFeatureConfig = new OreFeatureConfig( OreFeatureConfig.FillerBlockType.NATURAL_STONE, ore.getBlock().get().defaultBlockState(), ore.getMaxHeight()); ConfiguredPlacement<TopSolidRangeConfig> configuredPlacement = Placement.RANGE.configured( new TopSolidRangeConfig(ore.getMinHeight(), ore.getMinHeight(), ore.getMaxHeight())); } } private static ConfiguredFeature<?, ?> registerOreFeature(OreType ore, OreFeatureConfig oreFeatureConfig, ConfiguredPlacement configuredPlacement, BlockWithContextConfig blockWithContextConfig) { return Registry.register(WorldGenRegistries.CONFIGURED_FEATURE, ore.getBlock().get().getRegistryName(), Feature.ORE.withConfiguration(oreFeatureConfig).withPlacement(configuredPlacement) // line that is giving trouble fix soon .square().count(ore.getMaxVeinSize())); } }
  11. dude what was the solution I am Also having trouble with this
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.