• Recently Browsing

    No registered users viewing this page.

  • Posts

    • Sorry, but 1.7.10 is not supportet on this forum. This forum is only for newer versions.
    • ### Description of the Issue Gradlew fail running "runData" task.   ### Steps to Reproduce the Issue Download forge Mdk (see below for Forge versions) Extract the zip open widows Command Prompt (cmd.exe) change current dir to the extracted folder run command "gradlew runData"   ### Expected Behavior Gradlew should end with the "BUILD SUCCESSFUL" message like "jar" task. ### Actual Behavior Task fail   ### Tested forge versions forge-1.14.4-28.1.0-mdk (I saw it when trying to update a mod that uses this version) forge-1.14.4-28.2.0-mdk (Forge LTS? , recommended) forge-1.14.4-28.2.23-mdk (Forge LTS?, latest) forge-1.15.2-31.2.0-mdk (Community LTS? | Forge Current?, recommended) forge-1.15.2-31.2.30-mdk (Community LTS? | Forge Current?, latest) forge-1.16.1-32.0.47-mdk (Forge Current?, latest) ### Debug Information OS: Windows 8.1 x64 Mdk java version : java version "1.8.0_151" Java(TM) SE Runtime Environment (build 1.8.0_151-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)      
    • I register my items and blocks similar:   RegisterBlocks.java package maxi.ores_cores.init; import maxi.ores_cores.OresCores; import maxi.ores_cores.blocks.*; import maxi.ores_cores.items.BasicBlockItem; import net.minecraft.block.Block; import net.minecraft.item.Item; import net.minecraft.item.ItemGroup; import net.minecraftforge.event.RegistryEvent.Register; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus; import net.minecraftforge.registries.IForgeRegistry; @EventBusSubscriber(modid = OresCores.MODID, bus = Bus.MOD) public class RegisterBlocks { @SubscribeEvent public static void registerBlock(Register<Block> event) { final IForgeRegistry<Block> registry = event.getRegistry(); registry.register(MetalBlock.EMOULRITE_BLOCK.setRegistryName(OresCores.MODID, "emoulrite_block")); registry.register(Ore.EMOULRITE_ORE.setRegistryName(OresCores.MODID, "emoulrite_ore")); registry.register(MetalBlock.TELERITE_BLOCK.setRegistryName(OresCores.MODID, "telerite_block")); registry.register(Ore.TELERITE_ORE.setRegistryName(OresCores.MODID, "telerite_ore")); } @SubscribeEvent public static void registerItem(Register<Item> event) { final IForgeRegistry<Item> registry = event.getRegistry(); registry.register(new BasicBlockItem(MetalBlock.EMOULRITE_BLOCK, ItemGroup.BUILDING_BLOCKS)); registry.register(new BasicBlockItem(Ore.EMOULRITE_ORE, ItemGroup.BUILDING_BLOCKS)); registry.register(new BasicBlockItem(MetalBlock.TELERITE_BLOCK, ItemGroup.BUILDING_BLOCKS)); registry.register(new BasicBlockItem(Ore.TELERITE_ORE, ItemGroup.BUILDING_BLOCKS)); } }   MetalBlock.java (Ore.java is similar) package maxi.ores_cores.blocks; import net.minecraft.block.SoundType; import net.minecraft.block.Block; import net.minecraft.block.Block.Properties; import net.minecraft.block.material.Material; import net.minecraft.block.material.MaterialColor; import net.minecraftforge.common.ToolType; public class MetalBlock { public static final Block EMOULRITE_BLOCK = new Block(Properties .create(Material.IRON, MaterialColor.GOLD).sound(SoundType.METAL) .hardnessAndResistance(5, 6) .harvestTool(ToolType.PICKAXE).harvestLevel(2)); public static final Block TELERITE_BLOCK = new Block(Properties .create(Material.IRON, MaterialColor.PURPLE).sound(SoundType.METAL) .hardnessAndResistance(5, 6) .harvestTool(ToolType.PICKAXE).harvestLevel(2)); }   BasicBlockItem.java package maxi.ores_cores.items; import net.minecraft.block.Block; import net.minecraft.item.BlockItem; import net.minecraft.item.ItemGroup; public class BasicBlockItem extends BlockItem { public BasicBlockItem(Block block, ItemGroup group) { super(block, new Properties().group(group)); setRegistryName(block.getRegistryName()); } }   Whats bad about this? I am new to modding and I appreciate every suggestion for improvement that I get
    • But now, the newest mappings are from mcpbot, right? And when mcpbot has 1.16 mappings I should prefer them, if I want newer mappings, right?
    • I see few dead links in the EAQ: Dead links in the first post (https://forums.minecraftforge.net/topic/20-rules-and-eaq-read-first-or-you-will-get-banned/:   Dead link in the second post (https://forums.minecraftforge.net/topic/20-rules-and-eaq-read-first-or-you-will-get-banned/?do=findComment&comment=8022)   Dead link in the third post (https://forums.minecraftforge.net/topic/20-rules-and-eaq-read-first-or-you-will-get-banned/?do=findComment&comment=8633 😞    
  • Topics

  • Who's Online (See full list)