Glass pane



  • bonjour je voulais savoir comment on pouvait faire des vitre fine en 1.6.4


  • Moddeurs confirmés Modérateurs

    C'est très simple. Tu créé un bloc basique et tu lui attribut l'id de rendu des glass pane



  • et ou je le trouve l'id de rendu stp


  • Moddeurs confirmés Modérateurs

    je te cherche ca



  • merci ^^


  • Moddeurs confirmés Modérateurs

    normalement dans la classe de ton bloc met:

    
    public int getRenderType()
    {
    return 18;
    }
    
    

    et si tu veux voila le code entier de la glasse pane:

    
    package net.minecraft.block;
    
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    import java.util.List;
    import java.util.Random;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.renderer.texture.IconRegister;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.entity.Entity;
    import net.minecraft.item.ItemStack;
    import net.minecraft.util.AxisAlignedBB;
    import net.minecraft.util.Icon;
    import net.minecraft.world.IBlockAccess;
    import net.minecraft.world.World;
    import net.minecraftforge.common.ForgeDirection;
    
    public class BlockPane extends Block
    {
    /**
    * Holds the texture index of the side of the pane (the thin lateral side)
    */
    private final String sideTextureIndex;
    
    /**
    * If this field is true, the pane block drops itself when destroyed (like the iron fences), otherwise, it's just
    * destroyed (like glass panes)
    */
    private final boolean canDropItself;
    private final String field_94402_c;
    @SideOnly(Side.CLIENT)
    private Icon theIcon;
    
    protected BlockPane(int par1, String par2Str, String par3Str, Material par4Material, boolean par5)
    {
    super(par1, par4Material);
    this.sideTextureIndex = par3Str;
    this.canDropItself = par5;
    this.field_94402_c = par2Str;
    this.setCreativeTab(CreativeTabs.tabDecorations);
    }
    
    /**
    * Returns the ID of the items to drop on destruction.
    */
    public int idDropped(int par1, Random par2Random, int par3)
    {
    return !this.canDropItself ? 0 : super.idDropped(par1, par2Random, par3);
    }
    
    /**
    * 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 false;
    }
    
    /**
    * If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
    */
    public boolean renderAsNormalBlock()
    {
    return false;
    }
    
    /**
    * The type of render function that is called for this block
    */
    public int getRenderType()
    {
    return 18;
    }
    
    @SideOnly(Side.CLIENT)
    
    /**
    * Returns true if the given side of this block type should be rendered, if the adjacent block is at the given
    * coordinates. Args: blockAccess, x, y, z, side
    */
    public boolean shouldSideBeRendered(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
    {
    int i1 = par1IBlockAccess.getBlockId(par2, par3, par4);
    return i1 == this.blockID ? false : super.shouldSideBeRendered(par1IBlockAccess, par2, par3, par4, par5);
    }
    
    /**
    * Adds all intersecting collision boxes to a list. (Be sure to only add boxes to the list if they intersect the
    * mask.) Parameters: World, X, Y, Z, mask, list, colliding entity
    */
    public void addCollisionBoxesToList(World par1World, int par2, int par3, int par4, AxisAlignedBB par5AxisAlignedBB, List par6List, Entity par7Entity)
    {
    boolean flag = this.canPaneConnectTo(par1World,par2, par3, par4,ForgeDirection.NORTH);
    boolean flag1 = this.canPaneConnectTo(par1World,par2, par3, par4,ForgeDirection.SOUTH);
    boolean flag2 = this.canPaneConnectTo(par1World,par2, par3, par4,ForgeDirection.WEST);
    boolean flag3 = this.canPaneConnectTo(par1World,par2, par3, par4,ForgeDirection.EAST);
    
    if ((!flag2 || !flag3) && (flag2 || flag3 || flag || flag1))
    {
    if (flag2 && !flag3)
    {
    this.setBlockBounds(0.0F, 0.0F, 0.4375F, 0.5F, 1.0F, 0.5625F);
    super.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);
    }
    else if (!flag2 && flag3)
    {
    this.setBlockBounds(0.5F, 0.0F, 0.4375F, 1.0F, 1.0F, 0.5625F);
    super.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);
    }
    }
    else
    {
    this.setBlockBounds(0.0F, 0.0F, 0.4375F, 1.0F, 1.0F, 0.5625F);
    super.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);
    }
    
    if ((!flag || !flag1) && (flag2 || flag3 || flag || flag1))
    {
    if (flag && !flag1)
    {
    this.setBlockBounds(0.4375F, 0.0F, 0.0F, 0.5625F, 1.0F, 0.5F);
    super.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);
    }
    else if (!flag && flag1)
    {
    this.setBlockBounds(0.4375F, 0.0F, 0.5F, 0.5625F, 1.0F, 1.0F);
    super.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);
    }
    }
    else
    {
    this.setBlockBounds(0.4375F, 0.0F, 0.0F, 0.5625F, 1.0F, 1.0F);
    super.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);
    }
    }
    
    /**
    * Sets the block's bounds for rendering it as an item
    */
    public void setBlockBoundsForItemRender()
    {
    this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
    }
    
    /**
    * Updates the blocks bounds based on its current state. Args: world, x, y, z
    */
    public void setBlockBoundsBasedOnState(IBlockAccess par1IBlockAccess, int par2, int par3, int par4)
    {
    float f = 0.4375F;
    float f1 = 0.5625F;
    float f2 = 0.4375F;
    float f3 = 0.5625F;
    boolean flag = this.canPaneConnectTo(par1IBlockAccess,par2, par3, par4,ForgeDirection.NORTH);
    boolean flag1 = this.canPaneConnectTo(par1IBlockAccess,par2, par3, par4,ForgeDirection.SOUTH);
    boolean flag2 = this.canPaneConnectTo(par1IBlockAccess,par2, par3, par4,ForgeDirection.WEST);
    boolean flag3 = this.canPaneConnectTo(par1IBlockAccess,par2, par3, par4,ForgeDirection.EAST);
    
    if ((!flag2 || !flag3) && (flag2 || flag3 || flag || flag1))
    {
    if (flag2 && !flag3)
    {
    f = 0.0F;
    }
    else if (!flag2 && flag3)
    {
    f1 = 1.0F;
    }
    }
    else
    {
    f = 0.0F;
    f1 = 1.0F;
    }
    
    if ((!flag || !flag1) && (flag2 || flag3 || flag || flag1))
    {
    if (flag && !flag1)
    {
    f2 = 0.0F;
    }
    else if (!flag && flag1)
    {
    f3 = 1.0F;
    }
    }
    else
    {
    f2 = 0.0F;
    f3 = 1.0F;
    }
    
    this.setBlockBounds(f, 0.0F, f2, f1, 1.0F, f3);
    }
    
    @SideOnly(Side.CLIENT)
    
    /**
    * Returns the texture index of the thin side of the pane.
    */
    public Icon getSideTextureIndex()
    {
    return this.theIcon;
    }
    
    /**
    * Gets passed in the blockID of the block adjacent and supposed to return true if its allowed to connect to the
    * type of blockID passed in. Args: blockID
    */
    public final boolean canThisPaneConnectToThisBlockID(int par1)
    {
    return Block.opaqueCubeLookup[par1] || par1 == this.blockID || par1 == Block.glass.blockID;
    }
    
    /**
    * Return true if a player with Silk Touch can harvest this block directly, and not its normal drops.
    */
    protected boolean canSilkHarvest()
    {
    return true;
    }
    
    /**
    * 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);
    }
    
    @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.blockIcon = par1IconRegister.registerIcon(this.field_94402_c);
    this.theIcon = par1IconRegister.registerIcon(this.sideTextureIndex);
    }
    
    // FORGE START
    public boolean canPaneConnectTo(IBlockAccess access, int x, int y, int z, ForgeDirection dir)
    {
    return canThisPaneConnectToThisBlockID(access.getBlockId(x+dir.offsetX, y+dir.offsetY, z+dir.offsetZ)) || access.isBlockSolidOnSide(x+dir.offsetX, y+dir.offsetY, z+dir.offsetZ, dir.getOpposite(), false);
    }
    }
    
    


  • ma classe et faite peut tu me dire si c bon stp

    
    package SYLS;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    
    public class verre2 extends Block
    {
    public verre2(int par1, int par2)
    {
    super(par1, Material.glass);
    this.setCreativeTab(sylmain.sylsitem);
    }
    
    public boolean isOpaqueCube() {
    return false;
    }
    public boolean renderAsNormalBlock() {
    return false;
    }
    public int getRenderType() {
    return 18;
    }
    public int getRenderBlockPass() {
    return 0;
    }
    protected boolean canSilkHarvest() {
    return true;
    
    }
    }
    

    car je crash en lancan le jeu


  • Moddeurs confirmés Modérateurs

    Envois tes log



  • 
    –-- Minecraft Crash Report ----
    // Oops.
    
    Time: 01/03/14 09:54
    Description: There was a severe problem during mod loading that has caused the game to fail
    
    cpw.mods.fml.common.LoaderException: cpw.mods.fml.common.LoaderException
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:233)
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:196)
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:172)
    at SYLS.sylmain.PreInit(sylmain.java:259)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)
    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
    at com.google.common.eventbus.EventBus.post(EventBus.java:267)
    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)
    at cpw.mods.fml.common.Loader.loadMods(Loader.java:522)
    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)
    at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)
    at net.minecraft.client.Minecraft.run(Minecraft.java:808)
    at net.minecraft.client.main.Main.main(Main.java:93)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
    Caused by: cpw.mods.fml.common.LoaderException
    at cpw.mods.fml.common.registry.ItemData.setName(ItemData.java:161)
    at cpw.mods.fml.common.registry.GameData.setName(GameData.java:257)
    at cpw.mods.fml.common.registry.GameRegistry.registerItem(GameRegistry.java:151)
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:228)
    ... 40 more
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- System Details --
    Details:
    Minecraft Version: 1.6.4
    Operating System: Windows 8 (amd64) version 6.2
    Java Version: 1.7.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 921607064 bytes (878 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active
    mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
    FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
    Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
    MS{1.0.0} [sylmod] (bin) Unloaded->Constructed->Errored
    
    

  • Moddeurs confirmés Modérateurs

    Heu attend je peut pas trop voir les log depuis mon téléphone. Je regarde ça dès que je rentre.



  • ok merci


  • Moddeurs confirmés Rédacteurs Modérateurs Administrateurs

    Envois ta class principale.



  • 
    package SYLS;
    
    import SYLSbouffe.frite;
    import SYLSbouffe.hamburger;
    import SYLSbouffe.happymeal;
    import SYLSbouffe.youp;
    import SYLSitem.*;
    import net.minecraft.block.Block;
    import net.minecraft.block.BlockGlass;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    import net.minecraft.potion.Potion;
    import cpw.mods.fml.common.Mod;
    import cpw.mods.fml.common.Mod.EventHandler;
    import cpw.mods.fml.common.Mod.Instance;
    import cpw.mods.fml.common.SidedProxy;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.network.NetworkMod;
    import cpw.mods.fml.common.registry.GameRegistry;
    import cpw.mods.fml.common.registry.LanguageRegistry;
    
    @Mod(modid="MS", name="sylmod", version="1.0.0")
    @NetworkMod(clientSideRequired=true, serverSideRequired=false) //NE JAMAIS MODIFIER
    
    public class sylmain {
    
    @SidedProxy(clientSide = "SYLS.ClientProxy", serverSide = "SYLS.CommonProxy")
    public static SYLS.CommonProxy proxy;
    
    //creatab
    
    public static CreativeTabs sylsitem = new sylsitem("syl's item");
    public static CreativeTabs sylsbouffe = new sylsbouffe("syl's nouriture");
    
    @Instance("MS")
    public static sylmain instance;
    
    //item
    
    public static Item bulbizarre;
    public static Item herbizarre;
    public static Item florizarre;
    public static Item salameche;
    public static Item reptincel;
    public static Item dracaufeu;
    public static Item carapuce;
    public static Item carabaffe;
    public static Item tortank;
    public static Item chenipan;
    public static Item chrysacier;
    public static Item papilusion; //epic
    public static Item aspicot;
    public static Item coconfort;
    public static Item dardagnan; //epic
    public static Item roucool;
    public static Item roucoups;
    public static Item roucarnage; //epic
    public static Item rattata;
    public static Item rattatac;
    public static Item piafabec;
    public static Item rapasdepic;
    public static Item abo;
    public static Item arbok;
    public static Item pikachu;
    public static Item raichu;
    public static Item sablette;
    public static Item sablaireau;
    public static Item nidoranf;
    public static Item nidorina;
    public static Item nidoqueen; //epic
    public static Item nidoranm;
    public static Item nidorino;
    public static Item nidoking; //epic
    public static Item melofee;
    public static Item melodelfe;
    public static Item goupix;
    public static Item feunard; //rare
    public static Item rondoudou;
    public static Item grodoudou;
    public static Item nosferapti;
    public static Item nosferalto;
    public static Item mystherbe;
    public static Item ortide;
    public static Item raflesia; //epic
    public static Item paras;
    public static Item parasect;
    public static Item mimitoss;
    public static Item aeromite;
    public static Item taupiqueur;
    public static Item triopiqueur;
    public static Item miaouss;
    public static Item persian;
    public static Item psykokwak;
    public static Item akwakwak;
    public static Item ferosinge;
    public static Item colossinge;
    public static Item caninos;
    public static Item arcanin; //rare
    public static Item ptitard;
    public static Item tetarte;
    public static Item tartard; //epic
    public static Item abra;
    public static Item kadabra;
    public static Item alakazam; //epic
    public static Item machoc;
    public static Item machopeur;
    public static Item mackogneur; //epic
    public static Item chetiflor;
    public static Item boustiflor;
    public static Item empiflor; //epic
    public static Item tentacool;
    public static Item tentacruel;
    public static Item racaillou;
    public static Item gravalanch;
    public static Item grolem; //epic
    public static Item ponyta;
    public static Item galopa; //rare
    public static Item ramoloss;
    public static Item flagadoss;
    public static Item magneti;
    public static Item magneton;
    public static Item canarticho;
    public static Item doduo;
    public static Item dodrio;
    public static Item otaria;
    public static Item lamentine;
    public static Item tadmorv;
    public static Item grotadmorv;
    public static Item kokiyas;
    public static Item crustabri;
    public static Item fantominus;
    public static Item spectrum;
    public static Item ectoplasma; //epic
    public static Item onix;
    public static Item soporifik;
    public static Item hypnomade;
    public static Item krabby;
    public static Item krabboss;
    public static Item voltorbe;
    public static Item electrode;
    public static Item noeunoeuf;
    public static Item noadkoko;
    public static Item osselait;
    public static Item ossatueur;
    public static Item kicklee;
    public static Item tygnon;
    public static Item excelangue;
    public static Item smogo;
    public static Item smogogo;
    public static Item rhinocorne;
    public static Item rhinoferoce;
    public static Item leveinard;
    public static Item saquedeneu;
    public static Item kangourex;
    public static Item hypotrempe;
    public static Item hypocean;
    public static Item poissirene;
    public static Item poissoroy;
    public static Item stari;
    public static Item staross;
    public static Item mrmime;
    public static Item insecateur;
    public static Item lippoutou;
    public static Item elektek;
    public static Item magmar;
    public static Item scarabrute;
    public static Item tauros;
    public static Item magicarpe;
    public static Item leviator;
    public static Item lokhlass;
    public static Item metamorphe;
    public static Item evoli;
    public static Item aquali;
    public static Item voltali;
    public static Item pyroli;
    public static Item porygon;
    public static Item amonita;
    public static Item amonistar;
    public static Item kabuto;
    public static Item kabutops;
    public static Item ptera;
    public static Item ronflex;
    public static Item artikodin;//uncommon
    public static Item electhor;//uncommon
    public static Item sulfura;//uncommon
    public static Item minidraco;
    public static Item draco;
    public static Item dracolosse;
    public static Item mewtwo;//uncommon
    public static Item mew; //uncommon
    
    //Block
    
    public static Block verre1;
    public static Block verre2;
    public static Block feuillelum;
    
    //bouffe
    
    public static Item happymeal;
    public static Item pfp; //pas coder
    public static Item nuggetdepoussi; //pas coder
    public static Item hamburger;
    public static Item frite;
    public static Item youp;
    
    @EventHandler
    public void PreInit(FMLPreInitializationEvent event){
    
    //Configuration
    
    //bouffe
    
    happymeal = new happymeal(21000).setUnlocalizedName("happymeal").setTextureName("syls:happymeal").setCreativeTab(sylsbouffe);
    GameRegistry.registerItem(happymeal, "happy meal");
    LanguageRegistry.addName(happymeal, "happy meal");
    
    hamburger = new hamburger(21001, 12, 5F, false).setPotionEffect(Potion.moveSpeed.id, 20, 1, 0.10F).setUnlocalizedName("hamburger").setTextureName("syls:hamburger").setCreativeTab(sylsbouffe);
    LanguageRegistry.addName(hamburger, "hamburger");
    GameRegistry.registerItem(hamburger, "hamburger");
    
    frite = new frite(21002, 4, 5F, false).setPotionEffect(Potion.moveSpeed.id, 20, 1, 0.10F).setUnlocalizedName("frite").setTextureName("syls:frite").setCreativeTab(sylsbouffe);
    LanguageRegistry.addName(frite, "frite");
    GameRegistry.registerItem(frite, "frite");
    
    youp = new youp(21003, 4, 5F, false).setPotionEffect(Potion.moveSpeed.id, 20, 1, 0.10F).setUnlocalizedName("youp").setTextureName("syls:youp").setCreativeTab(sylsbouffe);
    LanguageRegistry.addName(youp, "youp");
    GameRegistry.registerItem(youp, "youp");
    
    //Registers.Blocks
    
    verre1 = new verre1(1000, 0).setStepSound(Block.soundGlassFootstep).setTextureName("syls:verre1").setCreativeTab(sylsitem);
    LanguageRegistry.addName(verre1, "verre bleu");
    GameRegistry.registerBlock(verre1, "verre bleu");
    
    feuillelum = new feuillelum(1001, 0).setStepSound(Block.soundGrassFootstep).setTextureName("syls:feuillelum").setLightValue(1.0F).setCreativeTab(sylsitem);
    LanguageRegistry.addName(feuillelum, "feuille lumineuse");
    GameRegistry.registerBlock(feuillelum, "feuille lumineuse");
    
    verre2 = new verre2(1002, 0).setStepSound(Block.soundGlassFootstep).setTextureName("syls:verre2").setCreativeTab(sylsitem);
    LanguageRegistry.addName(verre2, "verre bleu");
    GameRegistry.registerBlock(verre2, "verre bleu");
    
    //Registers.Items
    
    bulbizarre = new bulbizarre(20001).setUnlocalizedName("bulbizarre").setTextureName("syls:bulbizarre").setCreativeTab(sylsitem);
    GameRegistry.registerItem(bulbizarre, "bulbizarre");
    LanguageRegistry.addName(bulbizarre, "bulbizarre");
    
    herbizarre = new herbizarre(20002).setUnlocalizedName("herbizarre").setTextureName("syls:herbizarre").setCreativeTab(sylsitem);
    GameRegistry.registerItem(herbizarre, "herbizarre");
    LanguageRegistry.addName(herbizarre, "herbizarre");
    
    florizarre = new florizarre(20003).setUnlocalizedName("florizarre").setTextureName("syls:florizarre").setCreativeTab(sylsitem);
    GameRegistry.registerItem(florizarre, "florizarre");
    LanguageRegistry.addName(florizarre, "florizarre");
    
    salameche = new salameche(20004).setUnlocalizedName("salameche").setTextureName("syls:salameche").setCreativeTab(sylsitem);
    GameRegistry.registerItem(salameche, "salameche");
    LanguageRegistry.addName(salameche, "salameche");
    
    reptincel = new reptincel(20005).setUnlocalizedName("reptincel").setTextureName("syls:reptincel").setCreativeTab(sylsitem);
    GameRegistry.registerItem(reptincel, "reptincel");
    LanguageRegistry.addName(reptincel, "reptincel");
    
    dracaufeu = new dracaufeu(20006).setUnlocalizedName("dracaufeu").setTextureName("syls:dracaufeu").setCreativeTab(sylsitem);
    GameRegistry.registerItem(dracaufeu, "dracaufeu");
    LanguageRegistry.addName(dracaufeu, "dracaufeu");
    
    carapuce = new carapuce(20007).setUnlocalizedName("carapuce").setTextureName("syls:carapuce").setCreativeTab(sylsitem);
    GameRegistry.registerItem(carapuce, "carapuce");
    LanguageRegistry.addName(carapuce, "carapuce");
    
    carabaffe= new carabaffe(20008).setUnlocalizedName("carabaffe").setTextureName("syls:carabaffe").setCreativeTab(sylsitem);
    GameRegistry.registerItem(carabaffe, "carabaffe");
    LanguageRegistry.addName(carabaffe, "carabaffe");
    
    tortank = new tortank(20009).setUnlocalizedName("tortank").setTextureName("syls:tortank").setCreativeTab(sylsitem);
    GameRegistry.registerItem(tortank, "tortank");
    LanguageRegistry.addName(tortank, "tortank");
    
    chenipan = new chenipan(20010).setUnlocalizedName("chenipan").setTextureName("syls:chenipan").setCreativeTab(sylsitem);
    GameRegistry.registerItem(chenipan, "chenipan");
    LanguageRegistry.addName(chenipan, "chenipan");
    
    chrysacier = new chrysacier(20011).setUnlocalizedName("chrysacier").setTextureName("syls:chrysacier").setCreativeTab(sylsitem);
    GameRegistry.registerItem(chrysacier, "chrysacier");
    LanguageRegistry.addName(chrysacier, "chrysacier");
    
    papilusion = new papilusion(20012).setUnlocalizedName("papilusion").setTextureName("syls:papilusion").setCreativeTab(sylsitem);
    GameRegistry.registerItem(papilusion, "papilusion");
    LanguageRegistry.addName(papilusion, "papilusion");
    
    aspicot = new aspicot(20013).setUnlocalizedName("aspicot").setTextureName("syls:aspicot").setCreativeTab(sylsitem);
    GameRegistry.registerItem(aspicot, "aspicot");
    LanguageRegistry.addName(aspicot, "aspicot");
    
    coconfort = new coconfort(20014).setUnlocalizedName("coconfort").setTextureName("syls:coconfort").setCreativeTab(sylsitem);
    GameRegistry.registerItem(coconfort, "coconfort");
    LanguageRegistry.addName(coconfort, "coconfort");
    
    dardagnan = new dardagnan(20020).setUnlocalizedName("dardagnan").setTextureName("syls:dardagnan").setCreativeTab(sylsitem);
    GameRegistry.registerItem(dardagnan, " ardagnan");
    LanguageRegistry.addName(dardagnan, " ardagnan");
    
    roucool = new roucool(20016).setUnlocalizedName("roucool").setTextureName("syls:roucool").setCreativeTab(sylsitem);
    GameRegistry.registerItem(roucool, "roucool");
    LanguageRegistry.addName(roucool, "roucool");
    
    roucoups = new roucoups(20017).setUnlocalizedName("roucoups").setTextureName("syls:roucoups").setCreativeTab(sylsitem);
    GameRegistry.registerItem(roucoups, "roucoups");
    LanguageRegistry.addName(roucoups, "roucoups");
    
    roucarnage = new roucarnage(20018).setUnlocalizedName("roucarnage").setTextureName("syls:roucarnage").setCreativeTab(sylsitem);
    GameRegistry.registerItem(roucarnage, " roucarnage");
    LanguageRegistry.addName(roucarnage, "roucarnage");
    
    rattata = new rattata(20019).setUnlocalizedName("rattata").setTextureName("syls:rattata").setCreativeTab(sylsitem);
    GameRegistry.registerItem(rattata, "rattata");
    LanguageRegistry.addName(rattata, "rattata");
    
    rattatac = new rattatac(20020).setUnlocalizedName("rattatac").setTextureName("syls:rattatac").setCreativeTab(sylsitem);
    GameRegistry.registerItem(rattatac, "rattatac");
    LanguageRegistry.addName(rattatac, "rattatac");
    
    piafabec = new piafabec(20021).setUnlocalizedName("piafabec").setTextureName("syls:piafabec").setCreativeTab(sylsitem);
    GameRegistry.registerItem(piafabec, "piafabec");
    LanguageRegistry.addName(piafabec, "piafabec");
    
    rapasdepic = new rapasdepic(20022).setUnlocalizedName("rapasdepic").setTextureName("syls:rapasdepic").setCreativeTab(sylsitem);
    GameRegistry.registerItem(rapasdepic, "rapasdepic");
    LanguageRegistry.addName(rapasdepic, "rapasdepic");
    
    abo = new abo(20023).setUnlocalizedName("abo").setTextureName("syls:abo").setCreativeTab(sylsitem);
    GameRegistry.registerItem(abo, "abo");
    LanguageRegistry.addName(abo, "abo");
    
    arbok = new arbok(20024).setUnlocalizedName("arbok").setTextureName("syls:arbok").setCreativeTab(sylsitem);
    GameRegistry.registerItem(arbok, "arbok");
    LanguageRegistry.addName(arbok, "arbok");
    
    pikachu = new pikachu(20025).setUnlocalizedName("pikachu").setTextureName("syls:pikachu").setCreativeTab(sylsitem);
    GameRegistry.registerItem(pikachu, "pikachu");
    LanguageRegistry.addName(pikachu, "pikachu");
    
    raichu = new raichu(20026).setUnlocalizedName("raichu").setTextureName("syls:raichu").setCreativeTab(sylsitem);
    GameRegistry.registerItem(raichu, "raichu");
    LanguageRegistry.addName(raichu, "raichu");
    
    sablette = new sablette(20027).setUnlocalizedName("sablette").setTextureName("syls:sablette").setCreativeTab(sylsitem);
    GameRegistry.registerItem(sablette, "sablette");
    LanguageRegistry.addName(sablette, "sablette");
    
    sablaireau = new sablaireau(20028).setUnlocalizedName("sablaireau").setTextureName("syls:sablaireau").setCreativeTab(sylsitem);
    GameRegistry.registerItem(sablaireau, "sablaireau");
    LanguageRegistry.addName(sablaireau, "sablaireau");
    
    nidoranf = new nidoranf(20029).setUnlocalizedName("nidoranf").setTextureName("syls:nidoranf").setCreativeTab(sylsitem);
    GameRegistry.registerItem(nidoranf, "nidoran femelle");
    LanguageRegistry.addName(nidoranf, "nidoran femelle");
    
    nidorina = new nidorina(20030).setUnlocalizedName("nidorina").setTextureName("syls:nidorina").setCreativeTab(sylsitem);
    GameRegistry.registerItem(nidorina, "nidorina");
    LanguageRegistry.addName(nidorina, "nidorina");
    
    nidoqueen = new nidoqueen(20031).setUnlocalizedName("nidoqueen").setTextureName("syls:nidoqueen").setCreativeTab(sylsitem);
    GameRegistry.registerItem(nidoqueen, "nidoqueen");
    LanguageRegistry.addName(nidoqueen, "nidoqueen");
    
    nidoranm = new nidoranm(20032).setUnlocalizedName("nidoranm").setTextureName("syls:nidoranm").setCreativeTab(sylsitem);
    GameRegistry.registerItem(nidoranm, "nidoran male");
    LanguageRegistry.addName(nidoranm, "nidoran male");
    
    nidorino = new nidorino(20033).setUnlocalizedName("nidorino").setTextureName("syls:nidorino").setCreativeTab(sylsitem);
    GameRegistry.registerItem(nidorino, "nidorino");
    LanguageRegistry.addName(nidorino, "nidorino");
    
    nidoking = new nidoking(20034).setUnlocalizedName("nidoking").setTextureName("syls:nidoking").setCreativeTab(sylsitem);
    GameRegistry.registerItem(nidoking, "nidoking");
    LanguageRegistry.addName(nidoking, "nidoking");
    
    melofee = new melofee(20035).setUnlocalizedName("melofee").setTextureName("syls:melofee").setCreativeTab(sylsitem);
    GameRegistry.registerItem(melofee, "melofee");
    LanguageRegistry.addName(melofee, "melofee");
    
    melodelfe = new melodelfe(20036).setUnlocalizedName("melodelfe").setTextureName("syls:melodelfe").setCreativeTab(sylsitem);
    GameRegistry.registerItem(melodelfe, "melodelfe");
    LanguageRegistry.addName(melodelfe, "melodelfe");
    
    goupix = new goupix(20037).setUnlocalizedName("goupix").setTextureName("syls:goupix").setCreativeTab(sylsitem);
    GameRegistry.registerItem(goupix, "goupix");
    LanguageRegistry.addName(goupix, "goupix");
    
    feunard = new feunard(20038).setUnlocalizedName("feunard").setTextureName("syls:feunard").setCreativeTab(sylsitem);
    GameRegistry.registerItem(feunard, "feunard");
    LanguageRegistry.addName(feunard, "feunard");
    
    rondoudou = new rondoudou(20039).setUnlocalizedName("rondoudou").setTextureName("syls:rondoudou").setCreativeTab(sylsitem);
    GameRegistry.registerItem(rondoudou, "rondoudou");
    LanguageRegistry.addName(rondoudou, "rondoudou");
    
    grodoudou = new grodoudou(20040).setUnlocalizedName("grodoudou").setTextureName("syls:grodoudou").setCreativeTab(sylsitem);
    GameRegistry.registerItem(grodoudou, "grodoudou");
    LanguageRegistry.addName(grodoudou, "grodoudou");
    
    nosferapti = new nosferapti(20041).setUnlocalizedName("nosferapti").setTextureName("syls:nosferapti").setCreativeTab(sylsitem);
    GameRegistry.registerItem(nosferapti, "nosferapti");
    LanguageRegistry.addName(nosferapti, "nosferapti");
    
    nosferalto = new nosferalto(20042).setUnlocalizedName("nosferalto").setTextureName("syls:nosferalto").setCreativeTab(sylsitem);
    GameRegistry.registerItem(nosferalto, "nosferalto");
    LanguageRegistry.addName(nosferalto, "nosferalto");
    
    mystherbe = new mystherbe(20043).setUnlocalizedName("mystherbe").setTextureName("syls:mystherbe").setCreativeTab(sylsitem);
    GameRegistry.registerItem(mystherbe, "mysterbe");
    LanguageRegistry.addName(mystherbe, "mystherbe");
    
    ortide = new ortide(20044).setUnlocalizedName("ortide").setTextureName("syls:ortide").setCreativeTab(sylsitem);
    GameRegistry.registerItem(ortide, "ortide");
    LanguageRegistry.addName(ortide, "ortide");
    
    raflesia = new raflesia(20045).setUnlocalizedName("raflesia").setTextureName("syls:raflesia");
    GameRegistry.registerItem(raflesia, "raflesia");
    LanguageRegistry.addName(raflesia, "raflesia");
    
    paras = new paras(20046).setUnlocalizedName("paras").setTextureName("syls:paras").setCreativeTab(sylsitem);
    GameRegistry.registerItem(paras, "paras");
    LanguageRegistry.addName(paras, "paras");
    
    parasect = new parasect(20047).setUnlocalizedName("parasect").setTextureName("syls:parasect").setCreativeTab(sylsitem);
    GameRegistry.registerItem(parasect, "parasect");
    LanguageRegistry.addName(parasect, "parasect");
    
    mimitoss = new mimitoss(20048).setUnlocalizedName("mimitoss").setTextureName("syls:mimitoss").setCreativeTab(sylsitem);
    GameRegistry.registerItem(mimitoss, "mimitoss");
    LanguageRegistry.addName(mimitoss, "mimitoss");
    
    aeromite = new aeromite(20049).setUnlocalizedName("aeromite").setTextureName("syls:aeromite").setCreativeTab(sylsitem);
    GameRegistry.registerItem(aeromite, "aeromite");
    LanguageRegistry.addName(aeromite, "aeromite");
    
    taupiqueur = new taupiqueur(20050).setUnlocalizedName("taupiqueur").setTextureName("syls:taupiqueur").setCreativeTab(sylsitem);
    GameRegistry.registerItem(taupiqueur, "taupiqueur");
    LanguageRegistry.addName(taupiqueur, "taupiqueur");
    
    triopiqueur = new triopiqueur(20051).setUnlocalizedName("triopiqueur").setTextureName("syls:triopiqueur").setCreativeTab(sylsitem);
    GameRegistry.registerItem(triopiqueur, "triopiqueur");
    LanguageRegistry.addName(triopiqueur, "triopiqueur");
    
    miaouss = new miaouss(20052).setUnlocalizedName("miaouss").setTextureName("syls:miaouss").setCreativeTab(sylsitem);
    GameRegistry.registerItem(miaouss, "miaouss");
    LanguageRegistry.addName(miaouss, "miaouss");
    
    persian = new persian(20053).setUnlocalizedName("persian").setTextureName("syls:persian").setCreativeTab(sylsitem);
    GameRegistry.registerItem(persian, "persian");
    LanguageRegistry.addName(persian, "persian");
    
    psykokwak = new psykokwak(20054).setUnlocalizedName("psykokwak").setTextureName("syls:psykokwak").setCreativeTab(sylsitem);
    GameRegistry.registerItem(psykokwak, "psykokwak");
    LanguageRegistry.addName(psykokwak, "psykokwak");
    
    akwakwak = new akwakwak(20055).setUnlocalizedName("akwakwak").setTextureName("syls:akwakwak").setCreativeTab(sylsitem);
    GameRegistry.registerItem(akwakwak, "akwakwak");
    LanguageRegistry.addName(akwakwak, "akwakwak");
    
    ferosinge = new ferosinge(20056).setUnlocalizedName("ferosinge").setTextureName("syls:ferosinge").setCreativeTab(sylsitem);
    GameRegistry.registerItem(ferosinge, "ferosinge");
    LanguageRegistry.addName(ferosinge, "ferosinge");
    
    colossinge = new colossinge(20057).setUnlocalizedName("colossinge").setTextureName("syls:colossinge").setCreativeTab(sylsitem);
    GameRegistry.registerItem(colossinge, "colossinge");
    LanguageRegistry.addName(colossinge, "colossinge");
    
    caninos = new caninos(20058).setUnlocalizedName("caninos").setTextureName("syls:caninos").setCreativeTab(sylsitem);
    GameRegistry.registerItem(caninos, "caninos");
    LanguageRegistry.addName(caninos, "caninos");
    
    arcanin = new arcanin(20059).setUnlocalizedName("arcanin").setTextureName("syls:arcanin").setCreativeTab(sylsitem);
    GameRegistry.registerItem(arcanin, "arcanin");
    LanguageRegistry.addName(arcanin, "arcanin");
    
    ptitard = new ptitard(20060).setUnlocalizedName("ptitard").setTextureName("syls:ptitard").setCreativeTab(sylsitem);
    GameRegistry.registerItem(ptitard, "ptitard");
    LanguageRegistry.addName(ptitard, "ptitard");
    
    tetarte = new tetarte(20061).setUnlocalizedName("tetarte").setTextureName("syls:tetarte").setCreativeTab(sylsitem);
    GameRegistry.registerItem(tetarte, "tetarte");
    LanguageRegistry.addName(tetarte, "tetarte");
    
    tartard = new tartard(20062).setUnlocalizedName("tartard").setTextureName("syls:tartard").setCreativeTab(sylsitem);
    GameRegistry.registerItem(tartard, "tartard");
    LanguageRegistry.addName(tartard, "tartard");
    
    abra = new abra(20063).setUnlocalizedName("abra").setTextureName("syls:abra").setCreativeTab(sylsitem);
    GameRegistry.registerItem(abra, "abra");
    LanguageRegistry.addName(abra, "abra");
    
    kadabra = new kadabra(20064).setUnlocalizedName("kadabra").setTextureName("syls:kadabra").setCreativeTab(sylsitem);
    GameRegistry.registerItem(kadabra, "kadabra");
    LanguageRegistry.addName(kadabra, "kadabra");
    
    alakazam = new alakazam(20065).setUnlocalizedName("alakazam").setTextureName("syls:alakazam").setCreativeTab(sylsitem);
    GameRegistry.registerItem(alakazam, "alakazam");
    LanguageRegistry.addName(alakazam, "alakazam");
    
    machoc = new machoc(20066).setUnlocalizedName("machoc").setTextureName("syls:machoc").setCreativeTab(sylsitem);
    GameRegistry.registerItem(machoc, "machoc");
    LanguageRegistry.addName(machoc, "machoc");
    
    machopeur = new machopeur(20067).setUnlocalizedName("machopeur").setTextureName("syls:machopeur").setCreativeTab(sylsitem);
    GameRegistry.registerItem(machopeur, "machopeur");
    LanguageRegistry.addName(machopeur, "machopeur");
    
    mackogneur = new mackogneur(20068).setUnlocalizedName("mackogneur").setTextureName("syls:mackogneur").setCreativeTab(sylsitem);
    GameRegistry.registerItem(mackogneur, "mackogneur");
    LanguageRegistry.addName(mackogneur, "mackogneur");
    
    chetiflor = new chetiflor(20069).setUnlocalizedName("chetiflor").setTextureName("syls:chetiflor").setCreativeTab(sylsitem);
    GameRegistry.registerItem(chetiflor, "chetiflor");
    LanguageRegistry.addName(chetiflor, "chetiflor");
    
    boustiflor = new boustiflor(20070).setUnlocalizedName("boustiflor").setTextureName("syls:boustiflor").setCreativeTab(sylsitem);
    GameRegistry.registerItem(boustiflor, "boustiflor");
    LanguageRegistry.addName(boustiflor, "boustiflor");
    
    empiflor = new empiflor(20071).setUnlocalizedName("empiflor").setTextureName("syls:empiflor").setCreativeTab(sylsitem);
    GameRegistry.registerItem(empiflor, "empiflor");
    LanguageRegistry.addName(empiflor, "empiflor");
    
    tentacool = new tentacool(20072).setUnlocalizedName("tentacool").setTextureName("syls:tentacool").setCreativeTab(sylsitem);
    GameRegistry.registerItem(tentacool, "tentacool");
    LanguageRegistry.addName(tentacool, "tentacool");
    
    tentacruel = new tentacruel(20073).setUnlocalizedName("tentacruel").setTextureName("syls:tentacruel").setCreativeTab(sylsitem);
    GameRegistry.registerItem(tentacruel, "tentacruel");
    LanguageRegistry.addName(tentacruel, "tentacruel");
    
    racaillou = new racaillou(20074).setUnlocalizedName("racaillou").setTextureName("syls:racaillou").setCreativeTab(sylsitem);
    GameRegistry.registerItem(racaillou, "racaillou");
    LanguageRegistry.addName(racaillou, "racaillou");
    
    gravalanch = new gravalanch(20075).setUnlocalizedName("gravalanch").setTextureName("syls:gravalanch").setCreativeTab(sylsitem);
    GameRegistry.registerItem(gravalanch, "gravalanch");
    LanguageRegistry.addName(gravalanch, "gravalanch");
    
    grolem = new grolem(20076).setUnlocalizedName("grolem").setTextureName("syls:grolem").setCreativeTab(sylsitem);
    GameRegistry.registerItem(grolem, "grolem");
    LanguageRegistry.addName(grolem, "grolem");
    
    ponyta = new ponyta(20077).setUnlocalizedName("ponyta").setTextureName("syls:ponyta").setCreativeTab(sylsitem);
    GameRegistry.registerItem(ponyta, "ponyta");
    LanguageRegistry.addName(ponyta, "ponyta");
    
    galopa = new galopa(20078).setUnlocalizedName("galopa").setTextureName("syls:galopa").setCreativeTab(sylsitem);
    GameRegistry.registerItem(galopa, "galopa");
    LanguageRegistry.addName(galopa, "galopa");
    
    ramoloss = new ramoloss(20079).setUnlocalizedName("ramoloss").setTextureName("syls:ramoloss").setCreativeTab(sylsitem);
    GameRegistry.registerItem(ramoloss, "ramoloss");
    LanguageRegistry.addName(ramoloss, "ramoloss");
    
    flagadoss = new flagadoss(20080).setUnlocalizedName("flagadoss").setTextureName("syls:flagadoss").setCreativeTab(sylsitem);
    GameRegistry.registerItem(flagadoss, "flagadoss");
    LanguageRegistry.addName(flagadoss, "flagadoss");
    
    magneti = new magneti(20081).setUnlocalizedName("magneti").setTextureName("syls:magneti").setCreativeTab(sylsitem);
    GameRegistry.registerItem(magneti, "magneti");
    LanguageRegistry.addName(magneti, "magneti");
    
    magneton = new magneton(20082).setUnlocalizedName("magneton").setTextureName("syls:magneton").setCreativeTab(sylsitem);
    GameRegistry.registerItem(magneton, "magneton");
    LanguageRegistry.addName(magneton, "magneton");
    
    canarticho = new canarticho(20083).setUnlocalizedName("canarticho").setTextureName("syls:canarticho").setCreativeTab(sylsitem);
    GameRegistry.registerItem(canarticho, "canarticho");
    LanguageRegistry.addName(canarticho, "canarticho");
    
    doduo = new doduo(20084).setUnlocalizedName("doduo").setTextureName("syls:doduo").setCreativeTab(sylsitem);
    GameRegistry.registerItem(doduo, "doduo");
    LanguageRegistry.addName(doduo, "doduo");
    
    dodrio = new dodrio(20085).setUnlocalizedName("dodrio").setTextureName("syls:dodrio").setCreativeTab(sylsitem);
    GameRegistry.registerItem(dodrio, "dodrio");
    LanguageRegistry.addName(dodrio, "dodrio");
    
    otaria = new otaria(20086).setUnlocalizedName("otaria").setTextureName("syls:otaria").setCreativeTab(sylsitem);
    GameRegistry.registerItem(otaria, "otaria");
    LanguageRegistry.addName(otaria, "otaria");
    
    lamentine = new lamentine(20087).setUnlocalizedName("lamentine").setTextureName("syls:lamentine").setCreativeTab(sylsitem);
    GameRegistry.registerItem(lamentine, "lamentine");
    LanguageRegistry.addName(lamentine, "lamentine");
    
    tadmorv = new tadmorv(20088).setUnlocalizedName("tadmorv").setTextureName("syls:tadmorv").setCreativeTab(sylsitem);
    GameRegistry.registerItem(tadmorv, "tadmorv");
    LanguageRegistry.addName(tadmorv, "tadmorv");
    
    grotadmorv = new grotadmorv(20089).setUnlocalizedName("grotadmorv").setTextureName("syls:grotadmorv").setCreativeTab(sylsitem);
    GameRegistry.registerItem(grotadmorv, "grotadmorv");
    LanguageRegistry.addName(grotadmorv, "grotadmorv");
    
    kokiyas = new kokiyas(20090).setUnlocalizedName("kokiyas").setTextureName("syls:kokiyas").setCreativeTab(sylsitem);
    GameRegistry.registerItem(kokiyas, "kokiyas");
    LanguageRegistry.addName(kokiyas, "kokiyas");
    
    crustabri = new crustabri(20091).setUnlocalizedName("crustabri").setTextureName("syls:crustabri").setCreativeTab(sylsitem);
    GameRegistry.registerItem(crustabri, "crustabri");
    LanguageRegistry.addName(crustabri, "crustabri");
    
    fantominus = new fantominus(20092).setUnlocalizedName("fantominus").setTextureName("syls:fantominus").setCreativeTab(sylsitem);
    GameRegistry.registerItem(fantominus, "fantominus");
    LanguageRegistry.addName(fantominus, "fantominus");
    
    spectrum = new spectrum(20093).setUnlocalizedName("spectrum").setTextureName("syls:spectrum").setCreativeTab(sylsitem);
    GameRegistry.registerItem(spectrum, "spectrum");
    LanguageRegistry.addName(spectrum, "spectrum");
    
    ectoplasma = new ectoplasma(20094).setUnlocalizedName("ectoplasma").setTextureName("syls:ectoplasma").setCreativeTab(sylsitem);
    GameRegistry.registerItem(ectoplasma, "ectoplasma");
    LanguageRegistry.addName(ectoplasma, "ectoplasma");
    
    onix = new onix(20095).setUnlocalizedName("onix").setTextureName("syls:onix").setCreativeTab(sylsitem);
    GameRegistry.registerItem(onix, "onix");
    LanguageRegistry.addName(onix, "onix");
    
    soporifik = new soporifik(20096).setUnlocalizedName("soporifik").setTextureName("syls:soporifik").setCreativeTab(sylsitem);
    GameRegistry.registerItem(soporifik, "soporifik");
    LanguageRegistry.addName(soporifik, "soporifik");
    
    hypnomade = new hypnomade(20097).setUnlocalizedName("hypnomade").setTextureName("syls:hypnomade").setCreativeTab(sylsitem);
    GameRegistry.registerItem(hypnomade, "hypnomade");
    LanguageRegistry.addName(hypnomade, "hypnomade");
    
    krabby = new krabby(20098).setUnlocalizedName("krabby").setTextureName("syls:krabby").setCreativeTab(sylsitem);
    GameRegistry.registerItem(krabby, "krabby");
    LanguageRegistry.addName(krabby, "krabby");
    
    krabboss = new krabboss(20099).setUnlocalizedName("krabboss").setTextureName("syls:krabboss").setCreativeTab(sylsitem);
    GameRegistry.registerItem(krabboss, "krabboss");
    LanguageRegistry.addName(krabboss, "krabboss");
    
    voltorbe = new voltorbe(20100).setUnlocalizedName("voltorbe").setTextureName("syls:voltorbe").setCreativeTab(sylsitem);
    GameRegistry.registerItem(voltorbe, "n100: voltorbe");
    LanguageRegistry.addName(voltorbe, "n100: voltorbe");
    
    electrode = new electrode(20101).setUnlocalizedName("electrode").setTextureName("syls:electrode").setCreativeTab(sylsitem);
    GameRegistry.registerItem(electrode, "n101: electrode");
    LanguageRegistry.addName(electrode, "n101: electrode");
    
    noeunoeuf = new noeunoeuf(20102).setUnlocalizedName("noeunoeuf").setTextureName("syls:noeunoeuf").setCreativeTab(sylsitem);
    GameRegistry.registerItem(noeunoeuf, "n102: noeunoeuf");
    LanguageRegistry.addName(noeunoeuf, "n102: noeunoeuf");
    
    noadkoko = new noadkoko(20103).setUnlocalizedName("noadkoko").setTextureName("syls:noadkoko").setCreativeTab(sylsitem);
    GameRegistry.registerItem(noadkoko, "n103: noadkoko");
    LanguageRegistry.addName(noadkoko, "n103: noadkoko");
    
    osselait = new osselait(20104).setUnlocalizedName("osselait").setTextureName("syls:osselait").setCreativeTab(sylsitem);
    GameRegistry.registerItem(osselait, "n104: osselait");
    LanguageRegistry.addName(osselait, "n104: osselait");
    
    ossatueur = new ossatueur(20105).setUnlocalizedName("ossatueur").setTextureName("syls:ossatueur").setCreativeTab(sylsitem);
    GameRegistry.registerItem(ossatueur, "n105: ossatueur");
    LanguageRegistry.addName(ossatueur, "n105: ossatueur");
    
    kicklee = new kicklee(20106).setUnlocalizedName("kicklee").setTextureName("syls:kicklee").setCreativeTab(sylsitem);
    GameRegistry.registerItem(kicklee, "n106: kicklee");
    LanguageRegistry.addName(kicklee, "n106: kicklee");
    
    tygnon = new tygnon(20107).setUnlocalizedName("tygnon").setTextureName("syls:tygnon").setCreativeTab(sylsitem);
    GameRegistry.registerItem(tygnon, "n107: tygnon");
    LanguageRegistry.addName(tygnon, "n107: tygnon");
    
    excelangue = new excelangue(20108).setUnlocalizedName("excelangue").setTextureName("syls:excelangue").setCreativeTab(sylsitem);
    GameRegistry.registerItem(excelangue, "n108: excelangue");
    LanguageRegistry.addName(excelangue, "n108: excelangue");
    
    smogo = new smogo(20109).setUnlocalizedName("smogo").setTextureName("syls:smogo").setCreativeTab(sylsitem);
    GameRegistry.registerItem(smogo, "n109: smogo");
    LanguageRegistry.addName(smogo, "n109: smogo");
    
    smogogo = new smogogo(20110).setUnlocalizedName("smogogo").setTextureName("syls:smogogo").setCreativeTab(sylsitem);
    GameRegistry.registerItem(smogogo, "n110: smogogo");
    LanguageRegistry.addName(smogogo, "n110: smogogo");
    
    rhinocorne = new rhinocorne(20111).setUnlocalizedName("rhinocorne").setTextureName("syls:rhinocorne").setCreativeTab(sylsitem);
    GameRegistry.registerItem(rhinocorne, "n111: rhinocorne");
    LanguageRegistry.addName(rhinocorne, "n111: rhinocorne");
    
    rhinoferoce = new rhinoferoce(20112).setUnlocalizedName("rhinoferoce").setTextureName("syls:rhinoferoce").setCreativeTab(sylsitem);
    GameRegistry.registerItem(rhinoferoce, "n112: rhinoferoce");
    LanguageRegistry.addName(rhinoferoce, "n112: rhinoferoce");
    
    leveinard = new leveinard(20113).setUnlocalizedName("leveinard").setTextureName("syls:leveinard").setCreativeTab(sylsitem);
    GameRegistry.registerItem(leveinard, "n113: leveinard");
    LanguageRegistry.addName(leveinard, "n113: leveinard");
    
    saquedeneu= new saquedeneu(20114).setUnlocalizedName("saquedeneu").setTextureName("syls:saquedeneu").setCreativeTab(sylsitem);
    GameRegistry.registerItem(saquedeneu, "n114: saquedeneu");
    LanguageRegistry.addName(saquedeneu, "n114: saquedeneu");
    
    kangourex = new kangourex(20115).setUnlocalizedName("kangourex").setTextureName("syls:kangourex").setCreativeTab(sylsitem);
    GameRegistry.registerItem(kangourex, "n120: kangourex");
    LanguageRegistry.addName(kangourex, "n120: kangourex");
    
    hypotrempe = new hypotrempe(20116).setUnlocalizedName("hypotrempe").setTextureName("syls:hypotrempe").setCreativeTab(sylsitem);
    GameRegistry.registerItem(hypotrempe, "n116: hypotrempe");
    LanguageRegistry.addName(hypotrempe, "n116: hypotrempe");
    
    hypocean = new hypocean(20117).setUnlocalizedName("hypocean").setTextureName("syls:hypocean").setCreativeTab(sylsitem);
    GameRegistry.registerItem(hypocean, "n117: hypocean");
    LanguageRegistry.addName(hypocean, "n117: hypocean");
    
    poissirene = new poissirene(20118).setUnlocalizedName("poissirene").setTextureName("syls:poissirene").setCreativeTab(sylsitem);
    GameRegistry.registerItem(poissirene, "n118: poissirene");
    LanguageRegistry.addName(poissirene, "n118: poissirene");
    
    poissoroy = new poissoroy(20119).setUnlocalizedName("poissoroy").setTextureName("syls:poissoroy").setCreativeTab(sylsitem);
    GameRegistry.registerItem(poissoroy, "n119: poissoroy");
    LanguageRegistry.addName(poissoroy, "n119: poissoroy");
    
    stari = new staross(20120).setUnlocalizedName("stari").setTextureName("syls:stari").setCreativeTab(sylsitem);
    GameRegistry.registerItem(stari, "n120: stari");
    LanguageRegistry.addName(stari, "n120: stari");
    
    staross = new staross(20121).setUnlocalizedName("staross").setTextureName("syls:staross").setCreativeTab(sylsitem);
    GameRegistry.registerItem(staross, "n121: staross");
    LanguageRegistry.addName(staross, "n121: staross");
    
    mrmime = new mrmime(20122).setUnlocalizedName("mrmime").setTextureName("syls:mrmime").setCreativeTab(sylsitem);
    GameRegistry.registerItem(mrmime, "n122: mr.mime");
    LanguageRegistry.addName(mrmime, "n122: mr.mime");
    
    insecateur = new insecateur(20123).setUnlocalizedName("insecateur").setTextureName("syls:insecateur").setCreativeTab(sylsitem);
    GameRegistry.registerItem(insecateur, "n123: insecateur");
    LanguageRegistry.addName(insecateur, "n123: insecateur");
    
    lippoutou = new lippoutou(20124).setUnlocalizedName("lippoutou").setTextureName("syls:lippoutou").setCreativeTab(sylsitem);
    GameRegistry.registerItem(lippoutou, "n124: lippoutou");
    LanguageRegistry.addName(lippoutou, "n124: lippoutou");
    
    elektek = new elektek(20125).setUnlocalizedName("elektek").setTextureName("syls:elektek").setCreativeTab(sylsitem);
    GameRegistry.registerItem(elektek, "n125: elektek");
    LanguageRegistry.addName(elektek, "n125: elektek");
    
    magmar = new magmar(20126).setUnlocalizedName("magmar").setTextureName("syls:magmar").setCreativeTab(sylsitem);
    GameRegistry.registerItem(magmar, "n126: magmar");
    LanguageRegistry.addName(magmar, "n126: magmar");
    
    scarabrute = new scarabrute(20127).setUnlocalizedName("scarabrute").setTextureName("syls:scarabrute").setCreativeTab(sylsitem);
    GameRegistry.registerItem(scarabrute, "n127: scarabrute");
    LanguageRegistry.addName(scarabrute, "n127: scarabrute");
    
    tauros = new tauros(20128).setUnlocalizedName("tauros").setTextureName("syls:tauros").setCreativeTab(sylsitem);
    GameRegistry.registerItem(tauros, "n128: tauros");
    LanguageRegistry.addName(tauros, "n128: tauros");
    
    magicarpe = new magicarpe(20129).setUnlocalizedName("magicarpe").setTextureName("syls:magicarpe").setCreativeTab(sylsitem);
    GameRegistry.registerItem(magicarpe, "n129: magicarpe");
    LanguageRegistry.addName(magicarpe, "n129: magicarpe");
    
    leviator = new leviator(20130).setUnlocalizedName("leviator").setTextureName("syls:leviator").setCreativeTab(sylsitem);
    GameRegistry.registerItem(leviator, "n130: leviator");
    LanguageRegistry.addName(leviator, "n130: leviator");
    
    lokhlass = new lokhlass(20131).setUnlocalizedName("lokhlass").setTextureName("syls:lokhlass").setCreativeTab(sylsitem);
    GameRegistry.registerItem(lokhlass, "n131: lokhlass");
    LanguageRegistry.addName(lokhlass, "n131: lokhlass");
    
    metamorphe = new metamorphe(20132).setUnlocalizedName("metamorphe").setTextureName("syls:metamorphe").setCreativeTab(sylsitem);
    GameRegistry.registerItem(metamorphe, "n132: metamorphe");
    LanguageRegistry.addName(metamorphe, "n132: metamorphe");
    
    evoli = new evoli(20133).setUnlocalizedName("evoli").setTextureName("syls:evoli").setCreativeTab(sylsitem);
    GameRegistry.registerItem(evoli, "n133: evoli");
    LanguageRegistry.addName(evoli, "n133: evoli");
    
    aquali = new aquali(20134).setUnlocalizedName("aquali").setTextureName("syls:aquali").setCreativeTab(sylsitem);
    GameRegistry.registerItem(aquali, "n134: aquali");
    LanguageRegistry.addName(aquali, "n134: aquali");
    
    voltali = new voltali(20135).setUnlocalizedName("voltali").setTextureName("syls:voltali").setCreativeTab(sylsitem);
    GameRegistry.registerItem(voltali, "n135: voltali");
    LanguageRegistry.addName(voltali, "n135: voltali");
    
    pyroli = new pyroli(20136).setUnlocalizedName("pyroli").setTextureName("syls:pyroli").setCreativeTab(sylsitem);
    GameRegistry.registerItem(pyroli, "n136: pyroli");
    LanguageRegistry.addName(pyroli, "n136: pyroli");
    
    porygon = new porygon(20137).setUnlocalizedName("porygon").setTextureName("syls:porygon").setCreativeTab(sylsitem);
    GameRegistry.registerItem(porygon, "n137: porygon");
    LanguageRegistry.addName(porygon, "n137: porygon");
    
    amonita = new amonita(20138).setUnlocalizedName("amonita").setTextureName("syls:amonita").setCreativeTab(sylsitem);
    GameRegistry.registerItem(amonita, "n138: amonita");
    LanguageRegistry.addName(amonita, "n138: amonita");
    
    amonistar = new amonistar(20139).setUnlocalizedName("amonistar").setTextureName("syls:amonistar").setCreativeTab(sylsitem);
    GameRegistry.registerItem(amonistar, "n139: amonistar");
    LanguageRegistry.addName(amonistar, "n139: amonistar");
    
    kabuto = new kabuto(20140).setUnlocalizedName("kabuto").setTextureName("syls:kabuto").setCreativeTab(sylsitem);
    GameRegistry.registerItem(kabuto, "n140: kabuto");
    LanguageRegistry.addName(kabuto, "n140: kabuto");
    
    kabutops = new kabutops(20141).setUnlocalizedName("kabutops").setTextureName("syls:kabutops").setCreativeTab(sylsitem);
    GameRegistry.registerItem(kabutops, "n141: kabutops");
    LanguageRegistry.addName(kabutops, "n141: kabutops");
    
    ptera = new ptera(20142).setUnlocalizedName("ptera").setTextureName("syls:ptera").setCreativeTab(sylsitem);
    GameRegistry.registerItem(ptera, "n142: ptera");
    LanguageRegistry.addName(ptera, "n142: ptera");
    
    ronflex = new ronflex(20143).setUnlocalizedName("ronflex").setTextureName("syls:ronflex").setCreativeTab(sylsitem);
    GameRegistry.registerItem(ronflex, "n143: ronflex");
    LanguageRegistry.addName(ronflex, "n143: ronflex");
    
    artikodin = new artikodin(20144).setUnlocalizedName("artikodin").setTextureName("syls:artikodin").setCreativeTab(sylsitem);
    GameRegistry.registerItem(artikodin, "n144: artikodin");
    LanguageRegistry.addName(artikodin, "n144: artikodin");
    
    electhor = new electhor(20145).setUnlocalizedName("electhor").setTextureName("syls:electhor").setCreativeTab(sylsitem);
    GameRegistry.registerItem(electhor, "n145: electhor");
    LanguageRegistry.addName(electhor, "n145: electhor");
    
    sulfura = new sulfura(20146).setUnlocalizedName("sulfura").setTextureName("syls:sulfura").setCreativeTab(sylsitem);
    GameRegistry.registerItem(sulfura, "n146: sulfura");
    LanguageRegistry.addName(sulfura, "n146: sulfura");
    
    minidraco = new minidraco(20147).setUnlocalizedName("minidraco").setTextureName("syls:minidraco").setCreativeTab(sylsitem);
    GameRegistry.registerItem(minidraco, "n147: minidraco");
    LanguageRegistry.addName(minidraco, "n147: minidraco");
    
    draco = new draco(20148).setUnlocalizedName("draco").setTextureName("syls:draco").setCreativeTab(sylsitem);
    GameRegistry.registerItem(draco, "n148: draco");
    LanguageRegistry.addName(draco, "n148: draco");
    
    dracolosse = new dracolosse(20149).setUnlocalizedName("dracolosse").setTextureName("syls:dracolosse").setCreativeTab(sylsitem);
    GameRegistry.registerItem(dracolosse, "n149: dracolosse");
    LanguageRegistry.addName(dracolosse, "n149: dracolosse");
    
    mewtwo = new mewtwo(20200).setUnlocalizedName("mewtwo").setTextureName("syls:mewtwo").setCreativeTab(sylsitem);
    GameRegistry.registerItem(mewtwo, "n200: mewtwo");
    LanguageRegistry.addName(mewtwo, "n200: mewtwo");
    
    mew = new mew(20151).setUnlocalizedName("mew").setTextureName("syls:mew").setCreativeTab(sylsitem);
    GameRegistry.registerItem(mew, "n151: mew");
    LanguageRegistry.addName(mew, "n151: mew");
    
    }
    
    @EventHandler
    public void PreInit(FMLInitializationEvent Event){
    
    //Render
    proxy.registerRenderers();
    
    //Recipe
    
    //Smelting
    
    }
    
    @EventHandler
    public void PostInit(FMLInitializationEvent event){
    
    }
    
    

  • Moddeurs confirmés Modérateurs

    tu na pas modifier les source de forge?


  • Moddeurs confirmés Rédacteurs Administrateurs

    GameRegistry.registerBlock(verre2, "verre bleu");
    Visiblement il bug sur cette ligne, mais je ne vois pas pourquoi :s
    Essaye d'enlever les espaces dans le registerBlock, mets plutôt des tirets du bas.


  • Moddeurs confirmés Modérateurs

    non il bug a LanguageRegistry.addName(verre2, "verre bleu"); (ligne 259): (sylmain.java:259)



  • nn pas modif le code et bon et meme les tiret du bas change rien jui degouter XD


  • Moddeurs confirmés Rédacteurs Administrateurs

    Non, la balise java décale les lignes de 1, regarde bien le crash, c'est bien le GameRegistry.registerBlock qui bug :

    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:233)
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:196)
    at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:172)
    

  • Moddeurs confirmés Modérateurs

    a oui autant pour moi


  • Moddeurs confirmés Rédacteurs Modérateurs Administrateurs

    C'est pourtant pas difficile à trouver, ton erreur se trouve dans :

    
    verre1 = new verre1(1000, 0).setStepSound(Block.soundGlassFootstep).setTextureName("syls:verre1").setCreativeTab(sylsitem);
    LanguageRegistry.addName(verre1, "verre bleu");
    GameRegistry.registerBlock(verre1, "verre bleu");
    
    verre2 = new verre2(1002, 0).setStepSound(Block.soundGlassFootstep).setTextureName("syls:verre2").setCreativeTab(sylsitem);
    LanguageRegistry.addName(verre2, "verre bleu");
    GameRegistry.registerBlock(verre2, "verre bleu");
    

    2 blocs portant le même nom à savoir "verre bleu".


Log in to reply