Jump to content

Dklory

Members
  • Posts

    48
  • Joined

  • Last visited

Everything posted by Dklory

  1. thank you!!
  2. I did but I do not understand what is the exact string
  3. sorry, but how can I fix this? this happens:
  4. as it happens in the screen
  5. is still transparent
  6. still does not work
  7. in the sense that when I place the block of leaves, the following happens:
  8. aaaaaah okeeey. but, now, I have I have another problem for the texture of the leaves: public class BlockSecretLeaves extends BlockLeavesBase implements IShearable { public static final String[] LEAF_TYPES = new String[] {"secret"}; public static final String[][] field_94396_b = new String[][] {{"leaves_redstone"}, {"leaves_redstone_opaque"}}; @SideOnly(Side.CLIENT) /** 1 for fast graphic. 0 for fancy graphics. used in iconArray. */ private int iconType; private Icon[][] iconArray = new Icon[2][]; int[] adjacentTreeBlocks; public BlockSecretLeaves(int par1) { super(par1, Material.leaves, false); this.setTickRandomly(true); } @SideOnly(Side.CLIENT) public int getBlockColor() { return ColorizeLeaves.getFoliageColor(); } @SideOnly(Side.CLIENT) /** * Returns the color this block should be rendered. Used by leaves. */ public int getRenderColor(int par1) { if((par1 & 3) == 0){ return ColorizeLeaves.getFoliageColorRedstone(); } else { return ColorizeLeaves.getFoliageColorRedstone(); } } @SideOnly(Side.CLIENT) /** * Returns a integer with hex for 0xrrggbb with this color multiplied against the blocks color. Note only called * when first determining what to render. */ public int colorMultiplier(IBlockAccess par1IBlockAccess, int par2, int par3, int par4) { int l = par1IBlockAccess.getBlockMetadata(par2, par3, par4); if ((l & 3) == 0) { return ColorizeLeaves.getFoliageColorRedstone(); } else if ((l & 3) == 1) { return ColorizerFoliage.getFoliageColorPine(); } else if ((l & 3) == 2) { return ColorizerFoliage.getFoliageColorBirch(); } else { int i1 = 0; int j1 = 0; int k1 = 0; for (int l1 = -1; l1 <= 1; ++l1) { for (int i2 = -1; i2 <= 1; ++i2) { int j2 = par1IBlockAccess.getBiomeGenForCoords(par2 + i2, par4 + l1).getBiomeFoliageColor(); i1 += (j2 & 16711680) >> 16; j1 += (j2 & 65280) >> 8; k1 += j2 & 255; } } return (i1 / 9 & 255) << 16 | (j1 / 9 & 255) << 8 | k1 / 9 & 255; } } /** * Called on server worlds only when the block has been replaced by a different block ID, or the same block with a * different metadata value, but before the new metadata value is set. Args: World, x, y, z, old block ID, old * metadata */ public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6) { byte b0 = 1; int j1 = b0 + 1; if (par1World.checkChunksExist(par2 - j1, par3 - j1, par4 - j1, par2 + j1, par3 + j1, par4 + j1)) { for (int k1 = -b0; k1 <= b0; ++k1) { for (int l1 = -b0; l1 <= b0; ++l1) { for (int i2 = -b0; i2 <= b0; ++i2) { int j2 = par1World.getBlockId(par2 + k1, par3 + l1, par4 + i2); if (Block.blocksList[j2] != null) { Block.blocksList[j2].beginLeavesDecay(par1World, par2 + k1, par3 + l1, par4 + i2); } } } } } } /** * Ticks the block if it's been scheduled */ public void updateTick(World par1World, int par2, int par3, int par4, Random par5Random) { if (!par1World.isRemote) { int l = par1World.getBlockMetadata(par2, par3, par4); if ((l & != 0 && (l & 4) == 0) { byte b0 = 4; int i1 = b0 + 1; byte b1 = 32; int j1 = b1 * b1; int k1 = b1 / 2; if (this.adjacentTreeBlocks == null) { this.adjacentTreeBlocks = new int[b1 * b1 * b1]; } int l1; if (par1World.checkChunksExist(par2 - i1, par3 - i1, par4 - i1, par2 + i1, par3 + i1, par4 + i1)) { int i2; int j2; int k2; for (l1 = -b0; l1 <= b0; ++l1) { for (i2 = -b0; i2 <= b0; ++i2) { for (j2 = -b0; j2 <= b0; ++j2) { k2 = par1World.getBlockId(par2 + l1, par3 + i2, par4 + j2); Block block = Block.blocksList[k2]; if (block != null && block.canSustainLeaves(par1World, par2 + l1, par3 + i2, par4 + j2)) { this.adjacentTreeBlocks[(l1 + k1) * j1 + (i2 + k1) * b1 + j2 + k1] = 0; } else if (block != null && block.isLeaves(par1World, par2 + l1, par3 + i2, par4 + j2)) { this.adjacentTreeBlocks[(l1 + k1) * j1 + (i2 + k1) * b1 + j2 + k1] = -2; } else { this.adjacentTreeBlocks[(l1 + k1) * j1 + (i2 + k1) * b1 + j2 + k1] = -1; } } } } for (l1 = 1; l1 <= 4; ++l1) { for (i2 = -b0; i2 <= b0; ++i2) { for (j2 = -b0; j2 <= b0; ++j2) { for (k2 = -b0; k2 <= b0; ++k2) { if (this.adjacentTreeBlocks[(i2 + k1) * j1 + (j2 + k1) * b1 + k2 + k1] == l1 - 1) { if (this.adjacentTreeBlocks[(i2 + k1 - 1) * j1 + (j2 + k1) * b1 + k2 + k1] == -2) { this.adjacentTreeBlocks[(i2 + k1 - 1) * j1 + (j2 + k1) * b1 + k2 + k1] = l1; } if (this.adjacentTreeBlocks[(i2 + k1 + 1) * j1 + (j2 + k1) * b1 + k2 + k1] == -2) { this.adjacentTreeBlocks[(i2 + k1 + 1) * j1 + (j2 + k1) * b1 + k2 + k1] = l1; } if (this.adjacentTreeBlocks[(i2 + k1) * j1 + (j2 + k1 - 1) * b1 + k2 + k1] == -2) { this.adjacentTreeBlocks[(i2 + k1) * j1 + (j2 + k1 - 1) * b1 + k2 + k1] = l1; } if (this.adjacentTreeBlocks[(i2 + k1) * j1 + (j2 + k1 + 1) * b1 + k2 + k1] == -2) { this.adjacentTreeBlocks[(i2 + k1) * j1 + (j2 + k1 + 1) * b1 + k2 + k1] = l1; } if (this.adjacentTreeBlocks[(i2 + k1) * j1 + (j2 + k1) * b1 + (k2 + k1 - 1)] == -2) { this.adjacentTreeBlocks[(i2 + k1) * j1 + (j2 + k1) * b1 + (k2 + k1 - 1)] = l1; } if (this.adjacentTreeBlocks[(i2 + k1) * j1 + (j2 + k1) * b1 + k2 + k1 + 1] == -2) { this.adjacentTreeBlocks[(i2 + k1) * j1 + (j2 + k1) * b1 + k2 + k1 + 1] = l1; } } } } } } } l1 = this.adjacentTreeBlocks[k1 * j1 + k1 * b1 + k1]; if (l1 >= 0) { par1World.setBlockMetadataWithNotify(par2, par3, par4, l & -9, 4); } else { this.removeLeaves(par1World, par2, par3, par4); } } } } @SideOnly(Side.CLIENT) /** * A randomly called display update to be able to add particles or other items for display */ public void randomDisplayTick(World par1World, int par2, int par3, int par4, Random par5Random) { if (par1World.canLightningStrikeAt(par2, par3 + 1, par4) && !par1World.doesBlockHaveSolidTopSurface(par2, par3 - 1, par4) && par5Random.nextInt(15) == 1) { double d0 = (double)((float)par2 + par5Random.nextFloat()); double d1 = (double)par3 - 0.05D; double d2 = (double)((float)par4 + par5Random.nextFloat()); par1World.spawnParticle("dripWater", d0, d1, d2, 0.0D, 0.0D, 0.0D); } } private void removeLeaves(World par1World, int par2, int par3, int par4) { this.dropBlockAsItem(par1World, par2, par3, par4, par1World.getBlockMetadata(par2, par3, par4), 0); par1World.setBlockToAir(par2, par3, par4); } /** * Returns the quantity of items to drop on block destruction. */ public int quantityDropped(Random par1Random) { return par1Random.nextInt(20) == 0 ? 1 : 0; } /** * Returns the ID of the items to drop on destruction. */ public int idDropped(int par1, Random par2Random, int par3) { return mod_SecretMod.SecretSapling.blockID; } /** * Drops the block items with a specified chance of dropping the specified items */ public void dropBlockAsItemWithChance(World par1World, int par2, int par3, int par4, int par5, float par6, int par7) { if (!par1World.isRemote) { int j1 = 20; if ((par5 & 3) == 3) { j1 = 40; } if (par7 > 0) { j1 -= 2 << par7; if (j1 < 10) { j1 = 10; } } if (par1World.rand.nextInt(j1) == 0) { int k1 = this.idDropped(par5, par1World.rand, par7); this.dropBlockAsItem_do(par1World, par2, par3, par4, new ItemStack(k1, 1, this.damageDropped(par5))); } j1 = 200; if (par7 > 0) { j1 -= 10 << par7; if (j1 < 40) { j1 = 40; } } if ((par5 & 3) == 0 && par1World.rand.nextInt(j1) == 0) { this.dropBlockAsItem_do(par1World, par2, par3, par4, new ItemStack(Item.appleRed, 1, 0)); } } } /** * Called when the player destroys a block with an item that can harvest it. (i, j, k) are the coordinates of the * block and l is the block's subtype/damage. */ public void harvestBlock(World par1World, EntityPlayer par2EntityPlayer, int par3, int par4, int par5, int par6) { super.harvestBlock(par1World, par2EntityPlayer, par3, par4, par5, par6); } /** * Determines the damage on the item the block drops. Used in cloth and wood. */ public int damageDropped(int par1) { return par1 & 3; } /** * Is this block (a) opaque and (b) a full 1m cube? This determines whether or not to render the shared face of two * adjacent blocks and also whether the player can attach torches, redstone wire, etc to this block. */ public boolean isOpaqueCube() { return !this.graphicsLevel; } @SideOnly(Side.CLIENT) /** * From the specified side and block metadata retrieves the blocks texture. Args: side, metadata */ public Icon getIcon(int par1, int par2) { return (par2 & 3) == 1 ? this.iconArray[this.iconType][1] : ((par2 & 3) == 3 ? this.iconArray[this.iconType][3] : ((par2 & 3) == 2 ? this.iconArray[this.iconType][2] : this.iconArray[this.iconType][0])); } @SideOnly(Side.CLIENT) /** * Pass true to draw this block using fancy graphics, or false for fast graphics. */ public void setGraphicsLevel(boolean par1) { this.graphicsLevel = par1; this.iconType = par1 ? 0 : 1; } @SideOnly(Side.CLIENT) /** * returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks) */ public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List) { par3List.add(new ItemStack(par1, 1, 0)); } /** * Returns an item stack containing a single instance of the current block type. 'i' is the block's subtype/damage * and is ignored for blocks which do not support subtypes. Blocks which cannot be harvested should return null. */ protected ItemStack createStackedBlock(int par1) { return new ItemStack(this.blockID, 1, par1 & 3); } @SideOnly(Side.CLIENT) /** * When this method is called, your block should register all the icons it needs with the given IconRegister. This * is the only chance you get to register icons. */ public void registerIcons(IconRegister par1IconRegister) { for (int i = 0; i < field_94396_b.length; ++i) { this.iconArray[i] = new Icon[field_94396_b[i].length]; for (int j = 0; j < field_94396_b[i].length; ++j) { this.iconArray[i][j] = par1IconRegister.registerIcon("secretmod:" + field_94396_b[i][j]); } } } @Override public boolean isShearable(ItemStack item, World world, int x, int y, int z) { return true; } @Override public ArrayList<ItemStack> onSheared(ItemStack item, World world, int x, int y, int z, int fortune) { ArrayList<ItemStack> ret = new ArrayList<ItemStack>(); ret.add(new ItemStack(this, 1, world.getBlockMetadata(x, y, z) & 3)); return ret; } @Override public void beginLeavesDecay(World world, int x, int y, int z) { world.setBlockMetadataWithNotify(x, y, z, world.getBlockMetadata(x, y, z) | 8, 4); } @Override public boolean isLeaves(World world, int x, int y, int z) { return true; } } ColorizeLeaves: public class ColorizeLeaves { public static int getFoliageColorRedstone(){ return 950000; } public static int getFoliageColor(){ return 950000; } }
  9. so I have to replace delete .png in the texture name? right?
  10. there are the screen: thanks for your help
  11. up
  12. I put them in the directory: assets>secretmod>textures>blocks
  13. Up
  14. yes, but when the game beginning I miss the texture
  15. please to this post
  16. I have created the block of log (Tree generation), but I did not mark the texture. I can not understand how to insert the texture. help me please. this is the file: package SecretMod.blocks; import java.util.List; import java.util.Random; import SecretMod.mod_SecretMod; import net.minecraft.block.Block; import net.minecraft.block.BlockRotatedPillar; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.ItemStack; import net.minecraft.util.Icon; import net.minecraft.world.World; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; public class BlockSecretLog extends BlockRotatedPillar { /** The type of tree this log came from. */ public static final String[] woodType = new String[] {"redstone"}; @SideOnly(Side.CLIENT) private Icon[] field_111052_c; @SideOnly(Side.CLIENT) private Icon[] tree_top; public BlockSecretLog(int par1) { super(par1, Material.wood); } /** * Returns the quantity of items to drop on block destruction. */ public int quantityDropped(Random par1Random) { return 1; } /** * Returns the ID of the items to drop on destruction. */ public int idDropped(int par1, Random par2Random, int par3) { return this.blockID; } /** * Called on server worlds only when the block has been replaced by a different block ID, or the same block with a * different metadata value, but before the new metadata value is set. Args: World, x, y, z, old block ID, old * metadata */ public void breakBlock(World par1World, int par2, int par3, int par4, int par5, int par6) { byte b0 = 4; int j1 = b0 + 1; if (par1World.checkChunksExist(par2 - j1, par3 - j1, par4 - j1, par2 + j1, par3 + j1, par4 + j1)) { for (int k1 = -b0; k1 <= b0; ++k1) { for (int l1 = -b0; l1 <= b0; ++l1) { for (int i2 = -b0; i2 <= b0; ++i2) { int j2 = par1World.getBlockId(par2 + k1, par3 + l1, par4 + i2); if (Block.blocksList[j2] != null) { Block.blocksList[j2].beginLeavesDecay(par1World, par2 + k1, par3 + l1, par4 + i2); } } } } } } @SideOnly(Side.CLIENT) /** * The icon for the side of the block. */ protected Icon getSideIcon(int par1) { return this.field_111052_c[par1]; } @SideOnly(Side.CLIENT) /** * The icon for the tops and bottoms of the block. */ protected Icon getEndIcon(int par1) { return this.tree_top[par1]; } /** * returns a number between 0 and 3 */ public static int limitToValidMetadata(int par0) { return par0 & 3; } @SideOnly(Side.CLIENT) /** * returns a list of blocks with the same ID, but different meta (eg: wood returns 4 blocks) */ public void getSubBlocks(int par1, CreativeTabs par2CreativeTabs, List par3List) { par3List.add(new ItemStack(par1, 1, 0)); } @SideOnly(Side.CLIENT) /** * When this method is called, your block should register all the icons it needs with the given IconRegister. This * is the only chance you get to register icons. */ public void registerIcons(IconRegister par1IconRegister) { this.field_111052_c = new Icon[woodType.length]; this.tree_top = new Icon[woodType.length]; for (int i = 0; i < this.field_111052_c.length; ++i) { this.field_111052_c[i] = par1IconRegister.registerIcon("secretmod:log_" + woodType[i]); this.tree_top[i] = par1IconRegister.registerIcon("secretmod:" + woodType[i] + "_top"); } } @Override public boolean canSustainLeaves(World world, int x, int y, int z) { return true; } @Override public boolean isWood(World world, int x, int y, int z) { return true; } } please help me!!
  17. You need to create a new crafting table
  18. Dklory

    Solved

    how to solve this? because I want to make the biome with a custom block
  19. Dklory

    Solved

    I fix it, but when i create new world the biome is all iron ore
  20. Dklory

    Solved

    Learn java. You construct your Biome ( new is the keyword to construct a new instance) before you construct the Block. But then in your Biome constructor you refer to the Block instance (which doesn't exist yet, it's null. That causes a NPE). look: BlockClass redstone: public class BlockRedStone extends Block{ public BlockRedStone(int blockID) { super(blockID, Material.rock); this.setCreativeTab(mod_SecretMod.tabSecretMod); setHardness(4.0f); setResistance(4.0f); setStepSound(soundStoneFootstep); } @Override public void registerIcons(IconRegister iconRegister) { blockIcon = iconRegister.registerIcon("secretmod:RedStone"); } } blockclass red grass: public class BlockRedGrass extends Block{ protected Icon[] textures = new Icon[3]; public BlockRedGrass(int blockID) { super(blockID, Material.ground); this.setCreativeTab(mod_SecretMod.tabSecretMod); setHardness(4.0f); setResistance(6.0f); setStepSound(soundStoneFootstep); } public boolean isOpaqueCube() { return false; } public boolean renderAsNormalBlock() { return false; } public int getRenderBlockPass() { return 1; } @Override public void registerIcons(IconRegister iconRegister) { textures[0] = iconRegister.registerIcon("secretmod:grass_side"); textures[1] = iconRegister.registerIcon("secretmod:grass_top"); textures[2] = iconRegister.registerIcon("secretmod:dirt"); } @Override public Icon getIcon(int side, int meta) { if(side==0){ return textures[2]; } else if (side==1){ return textures[1]; } else if (side==2){ return textures[0]; } else if (side==3){ return textures[0]; } else if (side==4){ return textures[0]; } else if (side==5){ return textures[0]; } else { return textures[0]; } } }
  21. Dklory

    Solved

    There is block class
  22. Dklory

    Solved

    solved
  23. this is the code complete: public class All_Ore implements IWorldGenerator { @Override public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch(world.provider.dimensionId){ case -1: generateNether(world, random, chunkZ, chunkZ); break; case 0: generateSurface(world, random, chunkX*16, chunkZ*16); break; case 1: generateEnd(); break; } } private void generateEnd() { } private void generateSurface(World world, Random random, int chunkX, int chunkZ) { for (int i = 0; i < 9; i++){ int randPosX = chunkX + random.nextInt(16); int randPosZ = chunkZ + random.nextInt(16); int randPosY = 15 + random.nextInt(30); (new WorldGenMinable(mod_SecretMod.GreenOre.blockID, 9)).generate(world, random,randPosX, randPosY, randPosZ); } for (int i = 0; i < 9; i++){ int randPosX = chunkX + random.nextInt(16); int randPosZ = chunkZ + random.nextInt(16); int randPosY = 15 + random.nextInt(30); (new WorldGenMinable(mod_SecretMod.EnderBlock.blockID, 5)).generate(world, random,randPosX, randPosY, randPosZ); } for(int i = 0;i < 1 ; i++){ int randPosX = chunkX + random.nextInt(16); int randPosZ = chunkZ + random.nextInt(16); int randPosY = random.nextInt(256); (new WorldGenFlowers(mod_SecretMod.FlowerBlue.blockID)).generate(world,random,randPosX,randPosY,randPosZ); } for (int i = 0; i < 9; i++){ int randPosX = chunkX + random.nextInt(16); int randPosZ = chunkZ + random.nextInt(16); int randPosY = 15 + random.nextInt(30); (new WorldGenMinable(mod_SecretMod.UltimateOre.blockID, 9)).generate(world, random,randPosX, randPosY, randPosZ); } } private void generateNether(World world, Random random, int chunkX, int chunkZ) { for (int i = 0; i < 4; i++){ int randPosX = chunkX + random.nextInt(16); int randPosZ = chunkZ + random.nextInt(16); int randPosY = 30 + random.nextInt(20); (new WorldGenMinableNether(mod_SecretMod.NetherGreenOre.blockID,1, 20)).generate(world, random,randPosX, randPosY, randPosZ); } for (int i = 0; i < 5; i++){ int randPosX = chunkX + random.nextInt(16); int randPosZ = chunkZ + random.nextInt(16); int randPosY = 30 + random.nextInt(20); (new WorldGenMinableNether(mod_SecretMod.NetherUltimateOre.blockID,1, 20)).generate(world, random,randPosX, randPosY, randPosZ); } } } but don't work
  24. Ore not spawn in the nether: Please Help me Code: Generator: private void generateNether(World world, Random random, int chunkX, int chunkZ) { for (int i = 0; i < 4; i++){ int randPosX = chunkX + random.nextInt(16); int randPosZ = chunkZ + random.nextInt(16); int randPosY = 60 + random.nextInt(20); (new WorldGenMinableNether(mod_SecretMod.NetherGreenOre.blockID,1, 20)).generate(world, random,randPosX, randPosY, randPosZ); } } WorldGenMinableNether: public class WorldGenMinableNether extends WorldGenerator { private int minableBlockId; private int metadata; private int numberOfBlocks; public WorldGenMinableNether(int var1, int var2, int var3) { this.minableBlockId = var1; this.metadata = var2; this.numberOfBlocks = var3; } public boolean generate(World var1, Random var2, int var3, int var4, int var5) { float var6 = var2.nextFloat() * 3.1415927F; double var7 = (double)((float)(var3 + + MathHelper.sin(var6) * (float)this.numberOfBlocks / 8.0F); double var9 = (double)((float)(var3 + - MathHelper.sin(var6) * (float)this.numberOfBlocks / 8.0F); double var11 = (double)((float)(var5 + + MathHelper.cos(var6) * (float)this.numberOfBlocks / 8.0F); double var13 = (double)((float)(var5 + - MathHelper.cos(var6) * (float)this.numberOfBlocks / 8.0F); double var15 = (double)(var4 + var2.nextInt(3) - 2); double var17 = (double)(var4 + var2.nextInt(3) - 2); for(int var19 = 0; var19 <= this.numberOfBlocks; ++var19) { double var20 = var7 + (var9 - var7) * (double)var19 / (double)this.numberOfBlocks; double var22 = var15 + (var17 - var15) * (double)var19 / (double)this.numberOfBlocks; double var24 = var11 + (var13 - var11) * (double)var19 / (double)this.numberOfBlocks; double var26 = var2.nextDouble() * (double)this.numberOfBlocks / 16.0D; double var28 = (double)(MathHelper.sin((float)var19 * 3.1415927F / (float)this.numberOfBlocks) + 1.0F) * var26 + 1.0D; double var30 = (double)(MathHelper.sin((float)var19 * 3.1415927F / (float)this.numberOfBlocks) + 1.0F) * var26 + 1.0D; int var32 = MathHelper.floor_double(var20 - var28 / 2.0D); int var33 = MathHelper.floor_double(var22 - var30 / 2.0D); int var34 = MathHelper.floor_double(var24 - var28 / 2.0D); int var35 = MathHelper.floor_double(var20 + var28 / 2.0D); int var36 = MathHelper.floor_double(var22 + var30 / 2.0D); int var37 = MathHelper.floor_double(var24 + var28 / 2.0D); for(int var38 = var32; var38 <= var35; ++var38) { double var39 = ((double)var38 + 0.5D - var20) / (var28 / 2.0D); if(var39 * var39 < 1.0D) { for(int var41 = var33; var41 <= var36; ++var41) { double var42 = ((double)var41 + 0.5D - var22) / (var30 / 2.0D); if(var39 * var39 + var42 * var42 < 1.0D) { for(int var44 = var34; var44 <= var37; ++var44) { double var45 = ((double)var44 + 0.5D - var24) / (var28 / 2.0D); if(var39 * var39 + var42 * var42 + var45 * var45 < 1.0D && var1.getBlockId(var38, var41, var44) == Block.netherrack.blockID) { var1.setBlockMetadataWithNotify(var38, var41, var44, this.minableBlockId, this.metadata); } } } } } } } return true; } } help me please
  25. Ok thank you very much
×
×
  • Create New...

Important Information

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