H_SerhatY
Members-
Posts
73 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
H_SerhatY's Achievements
Stone Miner (3/8)
1
Reputation
-
All of my axes has the same attack damage??
H_SerhatY replied to H_SerhatY's topic in Modder Support
I'm solved the problem, I'm deleted everything. Because this forum is not for people like me. -
Hello, everybody. I'm making a lot of tools for my mod and these tools includes 50 different types of axe. But all of my axe have the same attack damage. package com.H_SerhatY.mstm.objects.tools; import com.H_SerhatY.mstm.Main; import com.H_SerhatY.mstm.init.ItemInit; import com.H_SerhatY.mstm.util.IHasModel; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.ItemAxe; import net.minecraft.item.Item.ToolMaterial; public class ToolAxe extends ItemAxe implements IHasModel { public ToolAxe(String name, ToolMaterial material) { super(material, 6.0F, -3.2F); setUnlocalizedName(name); setRegistryName(name); setCreativeTab(CreativeTabs.TOOLS); ItemInit.ITEMS.add(this); } @Override public void registerModels() { Main.proxy.RegisterItemRenderer(this, 0, "inventory"); } } I have this code for my axe. What should I do? (I don't have any coding experience, only I follow the tutorials in YouTube. Therefore, please specify in a way that I can understand.)
-
[1.12.2] Crafting Recipes without .json files?
H_SerhatY replied to H_SerhatY's topic in Modder Support
Well, if I want to make smelting recipes with .json files, how can I do it? (I need to say, I don't have any coding experience, please describe it for me.) -
Hello, everybody. For a few days, I'm making an update to my mod. And I want to make my crafting recipes in the code, without using .json files. How can I make it?
-
Hello. If you want to make a list for 1.13 tutorials, I make a list. - Development Environment - Main Mod Class - Proxies - Custom Items - Custom Blocks - Language File - Custom Creative Tab - Custom Tools - Custom Armors - Crafting and Smelting Recipes - Foods - Crops - Ore Gen - Ore Dictionary - Mobs(Standart Models) - Mobs(Custom Models) - Custom Workbench - Custom Furnace - Custom Chest - Special Tools(for example, a sword that drops mob heads, an axe that drops trees completely, etc.) - Special Armors(for example, a helmet that gives Night Vision, boots that gives Speed, etc.) - Customizable Tools(like Tinkers' Construct)
-
[1.12.2] Making a Custom Crafting Table for my mod items [Solved]
H_SerhatY replied to H_SerhatY's topic in Modder Support
Okey. Maybe I need to start with basic things. What I know: - Making Items - Making Blocks - Making Tools - Making Armors But I can't select anything basic except this ones. Because there is no basic things except this ones. -
[1.12.2] Making a Custom Crafting Table for my mod items [Solved]
H_SerhatY replied to H_SerhatY's topic in Modder Support
I make custom version of BlockWorkbench. But I can't be sure doing it right. package com.H_SerhatY.MoreStrenghtenedToolsMod.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.block.state.IBlockState; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.InventoryPlayer; import net.minecraft.init.Blocks; import net.minecraft.inventory.Container; import net.minecraft.inventory.ContainerWorkbench; import net.minecraft.stats.StatList; import net.minecraft.util.EnumFacing; import net.minecraft.util.EnumHand; import net.minecraft.util.math.BlockPos; import net.minecraft.util.text.ITextComponent; import net.minecraft.util.text.TextComponentTranslation; import net.minecraft.world.IInteractionObject; import net.minecraft.world.World; public class MSTMWorkbench extends Block { protected MSTMWorkbench() { super(Material.IRON); this.setCreativeTab(CreativeTabs.DECORATIONS); } /** * Called when the block is right clicked by a player. */ public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ) { if (worldIn.isRemote) { return true; } else { playerIn.displayGui(new MSTMWorkbench.InterfaceCraftingTable(worldIn, pos)); playerIn.addStat(StatList.CRAFTING_TABLE_INTERACTION); return true; } } public static class InterfaceCraftingTable implements IInteractionObject { private final World world; private final BlockPos position; public InterfaceCraftingTable(World worldIn, BlockPos pos) { this.world = worldIn; this.position = pos; } /** * Get the name of this object. For players this returns their username */ public String getName() { return "mstm_workbench"; } /** * Returns true if this thing is named */ public boolean hasCustomName() { return false; } /** * Get the formatted ChatComponent that will be used for the sender's username in chat */ public ITextComponent getDisplayName() { return new TextComponentTranslation(Blocks.CRAFTING_TABLE.getUnlocalizedName() + ".name", new Object[0]); } public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn) { return new ContainerWorkbench(playerInventory, this.world, this.position); } public String getGuiID() { return "mstm:workbench"; } } } @Cadiboo -
[1.12.2] Making a Custom Crafting Table for my mod items [Solved]
H_SerhatY replied to H_SerhatY's topic in Modder Support
Now, I need to make four classes? Or three? -
[1.12.2] Making a Custom Crafting Table for my mod items [Solved]
H_SerhatY replied to H_SerhatY's topic in Modder Support
I'm looked at this but I can't find the GuiWorkbench, I find only thing related, GuiCrafting. Edit: Oh, it's VERY HARD. At least, I'm seeing it's VERY HARD. -
[1.12.2] Making a Custom Crafting Table for my mod items [Solved]
H_SerhatY replied to H_SerhatY's topic in Modder Support
Correct. It's a normal crafting table texture. Now I'm going to make a block and take the codes from Minecraft's workbench. Edit: I find the BlockWorkbench and ContainerWorkbench but I can't find the GuiWorkbench. -
[1.12.2] Making a Custom Crafting Table for my mod items [Solved]
H_SerhatY replied to H_SerhatY's topic in Modder Support
-
I look the mod list, and there is 5 mod. Minecraft, MCP, FML, MC Forge and my mod. I understand this now. We don't need to use the sources file.
-
Now I don't need to put the sources file in my mods folder?
-
I don't understand anything.