Jump to content

DTaylorMedia

Members
  • Posts

    42
  • Joined

  • Last visited

Posts posted by DTaylorMedia

  1. I was going to update my resource pack so its compatible for 1.13, but i noticed in the JAR file of the latest snapshot 18w21b, the language file "en_us" had the *.json file extension instead of *.lang. Does this mean that I'll have to convert my *.lang files to *.json??

     

    Edit: Also, what snapshot did they make this change?

  2. Was on the Minecraft Wiki looking at the properties for the *.MCMETA files inside of assets/minecraft/textures/misc, and stumbled across an INT Array tag named mipmaps.

    Does anyone know how to use this?

  3. Hi. I'm making a 3rd party application, and I'm trying to make something similar to NBTExplorer, but I can't seem to figure out how to read the DAT Files. Any tips on how to do this?

  4. I have another problem. After I'd gave some blocks a 3D model on my Power Crystals Mod, I went to my other mod to do same. All the cubes of the model are ok, apart from the cube with the glass texture. I have uploaded an image of it on my Imgur, in the MCForge album.

    http://dtaylormedia.imgur.com/

     

    In the block code, I've only used isOpaqueCube(). I've tried isTranslucent (return true), but it did not work.

  5. I now know how to insert photos (thanks diesieben07), here's the problem I have with my TestBlock.

    http://dtaylormedia.imgur.com/

     

    Here's the blocks code.

    package dtaylormedia.crystalpower.block;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.util.EnumWorldBlockLayer;
    import net.minecraftforge.fml.relauncher.Side;
    import net.minecraftforge.fml.relauncher.SideOnly;
    
    public class TestBlock extends Block
    {
    public TestBlock(Material materialIn)
    {
    	super(materialIn);
    }
    
    @SideOnly(Side.CLIENT)
    public EnumWorldBlockLayer getBlockLayer()
    {
    	return EnumWorldBlockLayer.CUTOUT;
    }
    
    @SideOnly(Side.CLIENT)
    public boolean isTranslucent()
    {
    	return this.translucent;
    }
    }
    
    

  6. I've created a test block in my mod, as it's my first time using a 3D model in my mod. The model worked, but I can't get it to work properly.

    I would include the images I have of it, but I can't figure out how to insert them :(

  7. Hi. I'm having trouble with my mod.

    Yesterday, I copied my mod from my PC to a USB, so I could work on it on my laptop. But it said something was wrong with .classpath or .project file.

    Please help. Thanks.

     

    I'll update this in a moment once I found out it's the .classpath or .project file.

     

    Not sure if this would help, but my laptop uses Windows 8 and my PC uses Window 7

  8. Hi. for my mcmod.info, i have gave my description colored/formatted text by using §, and \n for new lines.

    I wanted to reset the color of the text back to the descriptions default, but I can't seem to get it. I have used light gray and white for the text, but when I look at the MCP and Forge description, it's not the same. Also, I've used §r, but it just resets the format.

  9. Hi. I'm having trouble with my mod's creative tab.

     

    My mod's creative tab does work, but it only works if I replace a tab. The code below is in my main mod file. I have set it to 0, so it replaces the "Building Blocks" tab. It works with numbers 0 to 11 (11 being the inventory), but if I set it to 12, the game crashes before the mojang screen comes up

    public static final CrystalTab tabCrystal = new CrystalTab(0, "tabCrystal");

     

    Am I doing something wrong?

     

    Here's the class file for my mod's tab.

    package com.testing.crystals;
    
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class CrystalTab extends CreativeTabs {
    
    public CrystalTab(int index, String label) {
    	super(index, label);
    	this.setBackgroundImageName("crystal.png");
    }
    
    @Override
    public Item getTabIconItem() {
    	return CrystalItems.crystal_red;
    }
    
    }

  10. I rerun gradle setupDecompWorkspace & I got a failure.

     

    [color=red]FAILURE: Build failed with an expection.[/color]
    
    * What went wrong:
    Execution failed for task ':makeStart'.
    > Cannot find System Java Complier. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    [color=red]BUILD FAILED[/color]

     

    Not sure what to do.

×
×
  • Create New...

Important Information

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