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

ForgeGradle

Help and support for the new ForgeGradle system of building mods.


1058 topics in this forum

    • 1 reply
    • 77 views
    • 4 replies
    • 175 views
    • 1 reply
    • 104 views
  1. Minecraft just won't work

    • 1 reply
    • 112 views
    • 4 replies
    • 160 views
    • 1 reply
    • 165 views
    • 4 replies
    • 289 views
    • 1 reply
    • 143 views
    • 1 reply
    • 182 views
    • 3 replies
    • 263 views
    • 2 replies
    • 258 views
    • 2 replies
    • 260 views
    • 1 reply
    • 306 views
    • 0 replies
    • 296 views
    • 8 replies
    • 311 views
    • 2 replies
    • 198 views
    • 6 replies
    • 280 views
    • 1 reply
    • 214 views
    • 1 reply
    • 180 views
    • 8 replies
    • 361 views
    • 6 replies
    • 616 views
    • 2 replies
    • 213 views
    • 1 reply
    • 174 views
    • 2 replies
    • 376 views
    • 0 replies
    • 182 views


  • Posts

    • nvm i fixed it with my tech skills. it was dynqamic sound filters that caused the problem. thx for trying to help anyways
    • Problem Solved. I've checked other people's code: package x.x.flowingagony.registry; import love.marblegate.flowingagony.enchantment.ShadowbornEnchantment; import net.minecraft.enchantment.Enchantment; import net.minecraft.inventory.EquipmentSlotType; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class EnchantmentRegistry { private static final EquipmentSlotType[] ARMOR_SLOTS = new EquipmentSlotType[]{EquipmentSlotType.HEAD, EquipmentSlotType.CHEST, EquipmentSlotType.LEGS, EquipmentSlotType.FEET}; public static final DeferredRegister<Enchantment> ENCHANTMENT = DeferredRegister.create(ForgeRegistries.ENCHANTMENTS, "flowingagony"); public static final RegistryObject<Enchantment> shadowborn_enchantment = ENCHANTMENT.register("shadowborn", () -> new ShadowbornEnchantment(Enchantment.Rarity.VERY_RARE, ARMOR_SLOTS)); } This code works!
    • Ok, I made a new enchantment and tried to register it. But the IDE told me "Inferred type 'I' for type parameter 'I' is not within its bound; should extend 'net.minecraft.enchantment.Enchantment'". The question is: I've already "extends Enchantment" in my custom enchantment code. What is wrong with my code or registry? Really Grateful for helping! My Custom Enchantment Code: package x.x.enchantment; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentType; import net.minecraft.inventory.EquipmentSlotType; public class ShadowbornEnchantment extends Enchantment { public ShadowbornEnchantment(Rarity p_i46731_1_, EquipmentSlotType[] p_i46731_3_) { super(p_i46731_1_, EnchantmentType.ARMOR_HEAD, p_i46731_3_); } public int getMinEnchantability(int p_77321_1_) { return 10; } public int getMaxEnchantability(int p_223551_1_) { return super.getMinEnchantability(p_223551_1_) + 50; } public int getMaxLevel() { return 1; } } My register Code: package love.marblegate.flowingagony.registry; import love.x.x.enchantment.ShadowbornEnchantment; import net.minecraft.enchantment.Enchantment; import net.minecraft.inventory.EquipmentSlotType; import net.minecraftforge.fml.RegistryObject; import net.minecraftforge.registries.DeferredRegister; import net.minecraftforge.registries.ForgeRegistries; public class EnchantmentRegistry { private static final EquipmentSlotType[] ARMOR_SLOTS = new EquipmentSlotType[]{EquipmentSlotType.HEAD, EquipmentSlotType.CHEST, EquipmentSlotType.LEGS, EquipmentSlotType.FEET}; public static final DeferredRegister<Enchantment> ENCHANTMENT = DeferredRegister.create(ForgeRegistries.ENCHANTMENTS, "flowingagony"); public static final RegistryObject<Enchantment> shadowborn_enchantment = ENCHANTMENT.register("shadowborn", new ShadowbornEnchantment(Enchantment.Rarity.VERY_RARE, ARMOR_SLOTS)); }  
    • I've always been playing in version 1.11.2 with forge 1.11.2 - 13.20.1.2588, and as of yesterday I couldn't get into this version anymore, so I went to try to download the forge again, but now he doesn't want to install it anymore.   I tried to download other versions of forge and they instal normally and it is possible to play on them as well but on 1.11.2 I can't do it anymore
    • Hi there, I'm having a problem where Minecraft will load up to the main menu, then a world, but then it gets stuck at 100% under the square loading thing. Here's my log file. I've been looking for a solution for hours, I'm really lost. No crash log to share because nothing is crashing. Thanks so much!
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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