AquilaRealeIF's Avatar
Level 2
Apprentice Network
4

Forum Posts

1 - 5 of 5

    AquilaRealeIF
    12/17/2013 4:15 am
    Level 2 : Apprentice Network
    AquilaRealeIF's Avatar
    Come on guys! We need more builders!
    1
    AquilaRealeIF
    12/15/2013 11:27 am
    Level 2 : Apprentice Network
    AquilaRealeIF's Avatar
    Thank you guys, I'll add you later on skype, we will test your building skills!
    1
    AquilaRealeIF
    09/10/2013 6:55 am
    Level 2 : Apprentice Network
    AquilaRealeIF's Avatar
    Yes, it's possible, with a new world generation and chunks. I will do that in my next mod But I can't do it alone, so I will need the help of my team... Don't worry, you will have it

    Here it is an example, you walk from Chunk 1(Spawn) to Chunk 100 always in a direction. When you try to go to Chunk 101, you will be in Chunk 1(Spawn).
    1
    AquilaRealeIF
    09/04/2013 2:07 pm
    Level 2 : Apprentice Network
    AquilaRealeIF's Avatar
    Oh man thanks a lot! I had some small problem but i fixed them. If I have more problems, can ask you for fix them?
    1
    AquilaRealeIF
    09/04/2013 11:05 am
    Level 2 : Apprentice Network
    AquilaRealeIF's Avatar
    Here you are man!
    Click to reveal
    package AquilaReale.WorldOfDarkness.blocks;

    import AquilaReale.WorldOfDarkness.common.WorldOfDarkness;
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.renderer.texture.IconRegister;
    import net.minecraft.util.Icon;

    public class BlockDarkGrass extends Block{

    private static String textureName;

    @SideOnly(Side.CLIENT)
    private Icon topTexture;

    public BlockDarkGrass(int id, String grassTop){
    super(id, Material.grass);

    this.textureName = grassTop;
    }

    @SideOnly(Side.CLIENT)
    public void registerIcons(IconRegister reg){
    this.blockIcon = reg.registerIcon(Tutorial.modID + ":" + textureName);
    this.topTexture = reg.registerIcon(Tutorial.modID + ":" + textureName + "_top");
    }

    @SideOnly(Side.CLIENT)
    public Icon getIcon(int side, int meta){
    if(side == 0 || side == 1){
    return this.topTexture;
    }

    return this.blockIcon;
    }

    }


    This is one of the codes, however I don't know how to put the BottomTexture using this code.
    1

1 - 5 of 5

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome