Jump to content

Syk0tic

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Syk0tic's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Okay, thank you for the quick responses. I will work on learning it tomorrow, I don't know if I have school or not ?
  2. I have taken the "Codecademy" Java course, and have a basic but very basic understanding. My brain refuses to commit anything other than pure hardware of computers, for some reason. So, Don't use MCreator, got it. Is there a knowledge base somewhere where I can figure out how to make my mod? Recipes, and all? And what program(s) do I use to make the mod?
  3. Making a tiny mod that basically only adds the coals and fuels from ProjectE, and would like to know how to make my Nether Star (substitution for the Philo-stone) could be used indefinitely in crafting. You'll also have to ELI5 and like I don't know ANY java. I'm very, VERY new to Java, and that is an understatement. I used MCreator for the recipe I have so far. If you could give me just a simple cut/paste of how to implement this, please do. Code Below. package mod.mcreator; import net.minecraftforge.fml.common.registry.GameRegistry; import net.minecraftforge.fml.common.event.FMLServerStartingEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraft.world.World; import net.minecraft.util.ResourceLocation; import net.minecraft.item.crafting.Ingredient; import net.minecraft.item.ItemStack; import net.minecraft.init.Items; import java.util.Random; public class mcreator_recipepureCoal { public static Object instance; public mcreator_recipepureCoal() { } public void load(FMLInitializationEvent event) { ItemStack recStack = new ItemStack(mcreator_pureCoal.block, (int) (1)); Object[] recipe = {"012", "34 ", " ", '0', Ingredient.fromStacks(new ItemStack(Items.NETHER_STAR, (int) (1))), '1', Ingredient.fromStacks(new ItemStack(Items.COAL, (int) (1))), '2', Ingredient.fromStacks(new ItemStack(Items.COAL, (int) (1))), '3', Ingredient.fromStacks(new ItemStack(Items.COAL, (int) (1))), '4', Ingredient.fromStacks(new ItemStack(Items.COAL, (int) (1))),}; GameRegistry.addShapedRecipe(new ResourceLocation("testenvironmentmod:recipepurecoal"), new ResourceLocation("custom"), recStack, recipe); } public void generateNether(World world, Random random, int chunkX, int chunkZ) { } public void generateSurface(World world, Random random, int chunkX, int chunkZ) { } public int addFuel(ItemStack fuel) { return 0; } public void registerRenderers() { } public void serverLoad(FMLServerStartingEvent event) { } public void preInit(FMLPreInitializationEvent event) { } }
×
×
  • Create New...

Important Information

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