Jump to content

JulianClark2114

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by JulianClark2114

  1. NO PROBLEM BOSS YOU GOT IT!

    Quote
    5 minutes ago, Stenbergcsgo said:

    It has removed a lot of my classes, but the referenced libraries are working now. Guess I got some re-coding to do. Thanks for the help though! =)

    NO PROBLEM BOSS YOU GOT IT!

     

  2. try having a backup for your progress (the src folder)
    put the back up files in desktop

    then re run
    gradlew setupDecompworkspace

    and gradlew eclipse  in cmd

    on your workspace that should do the trick.

    after both are done return the files back.

    • Thanks 1
  3. Quote

     

    https://pastebin.com/QfQKsdqb

     

    Here. its Finished
    i wish it will help you solve your problem

     

    now for the Turorial

    create a new folder to desktop

    locate each jar in

    = C:\Users(yourPCname)\.gradle\caches\modules-2\files-2.1 =

    search for each jar and paste it on the folder you created

     

    how to put it on eclipse??

     

    open your eclipse

    right click on your java project

    select properties

    choose java build path 

    then libraries

    click add external jars

    select all the jars on your new folder

    apply and close

    DONE!

  4. Hi Guys,
    i just want to ask for help on why my AxeMod doesnt show on my CreativeInventory

     

    Here is my ToolAxe.java Code

    package julianclark2114.TestMod1.objects.tools;
    
    import java.util.Set;
    
    import com.google.common.collect.Sets;
    
    import julianclark2114.TestMod1.Main;
    import julianclark2114.TestMod1.util.IHasModel;
    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.init.Blocks;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.item.ItemTool;
    
    public class ToolAxe extends ItemTool
    {
    	private static final Set<Block> EFFECTIVE_ON = Sets.newHashSet(Blocks.PLANKS, Blocks.BOOKSHELF, Blocks.LOG, Blocks.LOG2, Blocks.CHEST, Blocks.PUMPKIN, Blocks.LIT_PUMPKIN, Blocks.MELON_BLOCK, Blocks.LADDER, Blocks.WOODEN_BUTTON, Blocks.WOODEN_PRESSURE_PLATE);
        
    	 public ToolAxe(String name, Item.ToolMaterial material)
    	    {
    	        super(material, EFFECTIVE_ON);
    	        setUnlocalizedName(name);
    	        setRegistryName(name);
    	    	setCreativeTab(Main.tabTools);
    	        
    	    }
    	 
    	    public float getDestroySpeed(ItemStack stack, IBlockState state)
    	    {
    	        Material material = state.getMaterial();
    	        return material != Material.WOOD && material != Material.PLANTS && material != Material.VINE ? super.getDestroySpeed(stack, state) : this.efficiency;
        }
    }

     

  5. Hi guys.. 

    Im new to modding ...

    so I just wanna ask about how can i register 2 or more items on different creative tabs.

     

    I already know how to register items but only all in one tab..

    pls help...

    im using 1.12.2 version

    I APPRECIATE ALL THE HELP..
    THANKS IN ADVANCE

×
×
  • Create New...

Important Information

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