
Unpuzzledmind32
Members-
Posts
16 -
Joined
-
Last visited
Everything posted by Unpuzzledmind32
-
How do i exactly change the time from day to night when an entity is spawned thanks
-
you have a duplicate mod mod in there just remove it
-
bro use pastebin for error log don't just paste a huge wall of text please thanks
-
How to change the eating speed of food (1.16.5)
Unpuzzledmind32 replied to Unpuzzledmind32's topic in Modder Support
hi i am sorry for the late reply but it worked and i just wanted to say thanks. -
Hi i am making a food that would take long to eat and i am wondering how to make the food eating/animation longer
-
Feature.ORE.withConfiguration error[1.16.5]
Unpuzzledmind32 replied to Unpuzzledmind32's topic in Modder Support
ok then sorry for wasting your time -
Feature.ORE.withConfiguration error[1.16.5]
Unpuzzledmind32 replied to Unpuzzledmind32's topic in Modder Support
the "two methods are both public and not static" -
Feature.ORE.withConfiguration error[1.16.5]
Unpuzzledmind32 replied to Unpuzzledmind32's topic in Modder Support
i am sorry but i do not see it -
Feature.ORE.withConfiguration error[1.16.5]
Unpuzzledmind32 replied to Unpuzzledmind32's topic in Modder Support
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? -
Feature.ORE.withConfiguration error[1.16.5]
Unpuzzledmind32 replied to Unpuzzledmind32's topic in Modder Support
and i do not see 2 i see like 50 -
Feature.ORE.withConfiguration error[1.16.5]
Unpuzzledmind32 replied to Unpuzzledmind32's topic in Modder Support
No i cannot figure out which one i need which one do i need? -
Feature.ORE.withConfiguration error[1.16.5]
Unpuzzledmind32 replied to Unpuzzledmind32's topic in Modder Support
1: yes 2: yes i have and i still have no idea what to do lol 😁 -
Feature.ORE.withConfiguration error[1.16.5]
Unpuzzledmind32 replied to Unpuzzledmind32's topic in Modder Support
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 -
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())); } }
-
dude what was the solution I am Also having trouble with this
-
so i am trying to add armor but i can't get it to do it what am i doing wrong my code: package com.jerios.pearlarmor.items; import java.util.function.Supplier; import net.minecraft.inventory.EquipmentSlotType; import net.minecraft.item.IArmorMaterial; import net.minecraft.item.Items; import net.minecraft.item.crafting.Ingredient; import net.minecraft.util.SoundEvent; import net.minecraft.util.SoundEvents; public enum ModArmorMaterial implements IArmorMaterial { ; GOLD("gold", 7, new int[]{1, 3, 5, 2}, 25, SoundEvents.ARMOR_EQUIP_GOLD, 0.0F, 0.0F, () -> { return Ingredient.of(Items.GOLD_INGOT); @Override public int getDurabilityForSlot(EquipmentSlotType p_200896_1_) { return 0; } @Override public int getDefenseForSlot(EquipmentSlotType p_200902_1_) { return 0; } @Override public int getEnchantmentValue() { return 0; } @Override public SoundEvent getEquipSound() { return null; } @Override public Ingredient getRepairIngredient() { return null; } @Override public String getName() { return null; } @Override public float getToughness() { return 0; } @Override public float getKnockbackResistance() { return 0; } }