Jump to content

GamingTechnologies

Members
  • Posts

    19
  • Joined

  • Last visited

Recent Profile Visitors

611 profile views

GamingTechnologies's Achievements

Tree Puncher

Tree Puncher (2/8)

1

Reputation

  1. I don't see how that changes mob loot drops, I want to edit the droppings for horses, cows, etc.
  2. Hello, I am wondering how to change vanilla code and change vanilla mob drops for my mod. Any help is appriciated!!
  3. Omg I'm dumb I didn't realise that, thanks for the help, I guess today is just not my day.
  4. It is in the right place, I have other recipes for blocks that work thats right, I needed Item instead of tag, my sword recipe works but my other recipes for my tools doesn't work. This is my pickaxe recipe, can you guys help me? { "type": "minecraft:crafting_shaped", "pattern": [ "III", " I ", " S " ], "key": { "I": { "item": "realism:ruby" }, "S": { "item": "minecraft:stick" } }, "result": { "item": "realism:ruby_pickaxe" } }
  5. Hello, I have a sword I wanna craft but it doesnt work, I coped the diamond sword recipe file and changed the diamond and result to my modded item but it won't work, any advise? { "type": "minecraft:crafting_shaped", "pattern": [ "X", "X", "#" ], "key": { "#": { "tag": "forge:rods/wooden" }, "X": { "tag": "realism:ruby" } }, "result": { "item": "realism:ruby_sword" } }
  6. Hello, I am trying to create tools and I want a reference to know how I should make them, attack damage etc, I was wondering where in Minecraft's code they initialise weapons and tools with their parameters.
  7. What I did was convert my one ore into 16 single ores so the user and smelt them.
  8. So what would the best way of smelting an ore and giving multiple ingots be?
  9. Hello, I am trying to smelt an Item and give me multiple for an output but its not working { "type": "minecraft:smelting", "ingredient": { "item": "omegaores:omega_iron_ore" }, "result": "minecraft:iron_ingot", "experience": 5.0, "cookingtime": 150, "count" : 16 } anyone know why its not working? It gives me one instead of 16
  10. Hello, I would Like to edit the vanilla ore generation but I want a rare huge ore vein for my mod along with vanilla ores, how do I do this?
  11. Hey all, I am making a mod and all of my textures were working, I added a block, I added 13 before this and some of my item textures wont show up, anyone got a fix? Edit: I restart fixed it
  12. I've been looking at it I had a naming convention wrong betwen the Block and Block Item, Everything seems to work now
  13. This is my BlockInit class where I register Blocks and BlockItems package com.Andrew.Realism.init; import com.Andrew.Realism.RealismMod; import com.Andrew.Realism.RealismMod.Realism; import net.minecraft.block.Block; import net.minecraft.block.SoundType; import net.minecraft.block.material.Material; import net.minecraft.item.BlockItem; import net.minecraft.item.Item; import net.minecraft.item.Item.Properties; import net.minecraftforge.common.ToolType; import net.minecraftforge.event.RegistryEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventBusSubscriber.Bus; import net.minecraftforge.registries.ObjectHolder; @ObjectHolder(RealismMod.MOD_ID) @Mod.EventBusSubscriber(modid = RealismMod.MOD_ID, bus = Bus.MOD) public class BlockInit { // Diamond Ores public static final Block ore_red_diamond = null; public static final Block ore_blue_diamond = null; public static final Block ore_green_diamond = null; public static final Block ore_yellow_diamond = null; public static final Block ore_orange_diamond = null; public static final Block ore_pink_diamond = null; public static final Block ore_purple_diamond = null; //Other Ores public static final Block ore_ruby = null; public static final Block ore_sapphire = null; public static final Block ore_steel = null; public static final Block ore_titanium = null; public static final Block ore_vanadium = null; public static final Block ore_ameythest = null; @SubscribeEvent public static void registerBlocks(final RegistryEvent.Register<Block> event) { //Diamond Ores event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.METAL)).setRegistryName("ore_red_diamond")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.METAL)).setRegistryName("ore_blue_diamond")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.METAL)).setRegistryName("ore_green_diamond")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.METAL)).setRegistryName("ore_yellow_diamond")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.METAL)).setRegistryName("ore_orange_diamond")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.METAL)).setRegistryName("ore_pink_diamond")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.METAL)).setRegistryName("ore_purple_diamond")); //Other Ores event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.METAL)).setRegistryName("ore_ruby")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(2).sound(SoundType.METAL)).setRegistryName("ore_sapphire")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(2.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(1).sound(SoundType.METAL)).setRegistryName("ore_steel")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(4.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(3).sound(SoundType.METAL)).setRegistryName("ore_titanium")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(4.0F, 3.0F).harvestTool(ToolType.PICKAXE).harvestLevel(3).sound(SoundType.METAL)).setRegistryName("ore_vanadium")); event.getRegistry().register(new Block(Block.Properties.create(Material.ROCK).hardnessAndResistance(3.0F, 2.5F).harvestTool(ToolType.PICKAXE).harvestLevel(3).sound(SoundType.METAL)).setRegistryName("ore_amyethest")); //Diamond Blocks } @SubscribeEvent public static void registerBlockitems(final RegistryEvent.Register<Item> event) { //Diamond Ores event.getRegistry().register(new BlockItem(ore_red_diamond, new Item.Properties().group(Realism.instance)).setRegistryName("ore_red_diamond")); event.getRegistry().register(new BlockItem(ore_blue_diamond, new Item.Properties().group(Realism.instance)).setRegistryName("ore_blue_diamond")); event.getRegistry().register(new BlockItem(ore_green_diamond, new Item.Properties().group(Realism.instance)).setRegistryName("ore_green_diamond")); event.getRegistry().register(new BlockItem(ore_yellow_diamond, new Item.Properties().group(Realism.instance)).setRegistryName("ore_yellow_diamond")); event.getRegistry().register(new BlockItem(ore_orange_diamond, new Item.Properties().group(Realism.instance)).setRegistryName("ore_orange_diamond")); event.getRegistry().register(new BlockItem(ore_pink_diamond, new Item.Properties().group(Realism.instance)).setRegistryName("ore_pink_diamond")); event.getRegistry().register(new BlockItem(ore_purple_diamond, new Item.Properties().group(Realism.instance)).setRegistryName("ore_purple_diamond")); //Other Ores event.getRegistry().register(new BlockItem(ore_ruby, new Item.Properties().group(Realism.instance)).setRegistryName("ore_ruby")); event.getRegistry().register(new BlockItem(ore_sapphire, new Item.Properties().group(Realism.instance)).setRegistryName("ore_sapphire")); event.getRegistry().register(new BlockItem(ore_steel, new Item.Properties().group(Realism.instance)).setRegistryName("ore_steel")); event.getRegistry().register(new BlockItem(ore_titanium, new Item.Properties().group(Realism.instance)).setRegistryName("ore_titanium")); event.getRegistry().register(new BlockItem(ore_vanadium, new Item.Properties().group(Realism.instance)).setRegistryName("ore_vanadium")); event.getRegistry().register(new BlockItem(ore_ameythest, new Item.Properties().group(Realism.instance)).setRegistryName("ore_amyethest")); //Diamond Blocks } }
  14. Hey guys, sometimes when I add new blocks to my game it crashes, here is the log crash-2020-04-17_12.06.06-client.txt
×
×
  • Create New...

Important Information

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