Да, это правильная тема, которую вы ищете.
Posts by MrEyeballs29
-
-
Nevermind Aroma1997 I got it.
-
Ok there is something strange about my block. Does this code supposed to happen.
Java
Display Morepackage mreyeballs29.decoblocks.block; import java.util.List; import mreyeballs29.decoblocks.Constants; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; public class ColorPorcelain extends Block { protected ColorPorcelain(Material material, String Name) { super(material); this.setBlockName(Name); this.setBlockTextureName(Constants.TEXTURE_PREFIX + Name); this.setHardness(1.2F); this.setResistance(5.0F); this.setCreativeTab(CreativeTabs.tabBlock); this.setHarvestLevel("pickaxe", 0); } public IIcon[] icons = new IIcon[8]; public void registerBlockIcons(IIconRegister reg) { for (int i = 0; i < 7; i++) { this.icons[i] = reg.registerIcon(this.textureName + "_" + i); } } public IIcon getIcon (int side, int meta) { if (meta > 6) meta = 0; return this.icons[meta]; } public int damagedDropped(int oldmeta) { return oldmeta; } public void getSubBlocks(Item item, CreativeTabs tab, List list) { for (int i = 0; i < 7; i++) { list.add(new ItemStack(item, 1, i)); } } }
-
Thank you Chocohead and GregoriusT . Also this is my first mod
-
Code
Display Morepackage mreyeballs29.decoblocks.block; import com.sun.xml.internal.bind.v2.schemagen.xmlschema.List; import mreyeballs29.decoblocks.Constants; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.IIcon; public class ColorPorcelain extends Block { protected ColorPorcelain(Material material, String Name) { super(material); this.setBlockTextureName(Constants.TEXTURE_PREFIX + Name); this.setBlockName(Name); this.setHardness(1.2F); this.setResistance(5.0F); this.setCreativeTab(CreativeTabs.tabBlock); this.setHarvestLevel("pickaxe", 0); } public IIcon[] icons = new IIcon[16]; public void registerBlockIcons(IIconRegister reg) { for (int i = 0; i < 15; i++) { this.icons[i] = reg.registerIcon(this.textureName + "_" + i); } } public IIcon getIcon (int side, int meta) { if (meta > 14) meta = 0; return this.icons[meta]; } public int damagedDropped(int oldmeta) { return oldmeta; } public void getSubBlocks(Item item, CreativeTabs tab, List list) { for (int i = 0; i < 15; i++) { list.add(new ItemStack(item, 1, i)); } } }
The line list.add says it is undefined. list.addHow do you get it to work.
-
-
Mcuriosity this is the out of date thread go to this thread instead
-
-
It ain't a masterpiece oggylt . This is a nonsense post.
-
Anthony123 are you sure about that? I don't understand what are you saying,
-
Ok Let me guess, a terra firma craft related game. Anyway that will be a near future.
-
GregoriusT I have a question, What video game are you actually making after when you are done with minecraft? I am curious to see what game you are making or planning. If you are not making the new game that you are talking about, then what are going to plan on this new game after you are done with minecraft?
-
Umm your number of points says you got only 11 points for some odd reason.
-
@zcapliptium well play 1.12 and make mods for 1.8, 1.9, 1.10, 1.11, and 1.12 as well.
-
This mod is going to crash a lot and probably fail because according the changelog it says the configuration file is majorly be changed in the next update. Please don't update Gregtech to the latest version, update to 6.05.40. I don't want any crash logs at all but I decided that I won't update gregtech to 6.05.41 if it will come out. It is the important notice.
-
It seems like mars has not have any world gen lately. I installed the mod but nothing works except for the end islands. I am using the latest gregtech and galacticgreg but nothing works.Edited: Nevermind I was incredibly stupid. I have to turn on other mods.