Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

H_SerhatY

Members
  • Joined

  • Last visited

  1. I'm solved the problem, I'm deleted everything. Because this forum is not for people like me.
  2. 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.)
  3. 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.)
  4. 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?
  5. 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)
  6. 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.
  7. 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
  8. Now, I need to make four classes? Or three?
  9. 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.
  10. 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.
  11. Hello. I want to make a crafting table for my mod items. How can I do it? Note: I don't know anything about that.
  12. 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.
  13. Now I don't need to put the sources file in my mods folder?
  14. I don't understand anything.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.