• Recently Browsing

    No registered users viewing this page.

  • Posts

    • How to add custom structure (I have nbt file in data/mymod/structures)? Can you give answer for 1.16.1, please?
    • Hello there, I have been trying to install forge 1.12.2 to get pixelmon, but when i double click or try the cmd command to open the installer, i get nothing but a black screen for the former, and an error (Error: Unable to access jarfile forge1.12.2installer.jar) for the latter. I have checked some other posts to see if something could fix my issue but nothing has worked so far. I have downloaded Java Version 8 Update 251 as recommened by the website. Could anyone please help me out with this? Thanks for your time :)
    • 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
  • Topics

  • Who's Online (See full list)