Adaptation d'un bloc



  • Eh bien salut tout le monde !

    Depuis la création de bloc tous c'est bien passer mais je ne c'est pas comment faire pour qu'il s'adapte à un autre bloc(comment une pancarte).Je voudrais savoir comment faire.
    Merci d'avance de votre aide



  • Euhm, un peu plus de détails sur ce que tu veux faire?



  • je voudrais que mon bloc s'adapte sur les murs :(exemple avec une pancarte)https://www.dropbox.com/s/lk45umtoc2ww7bv/2014-03-03_11.34.55.png



  • qu'elle s'attache sur le mur?



  • Donne plus de précision si-il-te-plais, avec se que tu nous donne la on ne peu pas faire grand chose pour t'aidai.
    Tu pourrais précisés du genre "si un bloc et a coté d'un autre bloc, il change de texture ou de render ect …"
    Ou alors si tu veux reproduire le panneau a l’exacte, dans se cas la va voir dans les class source de forge.


  • Administrateurs

    Concernant le panneau, il fonctionne comme ça :
    un Item, lorsqu'on l'utilise (onItemUse) il check sur quel side tu as fait le clic droit (si c'est au sol, ou sur un mur, ou sur un plafond)
    Si tu le pose sur un plafond ça ne fait rien.
    Si c'est sur un sol, ça pose un bloc de panneau et en fonction de la direction vers ou le joueur regarde, il pose un metadata différent pour la direction du bloc
    Si c'est sur un mur, ça pose un autre bloc de panneau et en fonction du side, il pose un metadata différent pour la direction du bloc (le panneau à en fait deux bloc, c'est un peu mal fait, il aurait pu regrouper le deux dans le même bloc).



  • qu'elle s'attache sur le mur?

    Voilà c'est sa


    Je faire en sorte que mon bloc s'adapte juste au mur (genre une pancarte ou tableau)c'est un peu dur à détaillé 😕



  • bha regarde le code tu panneau ou de l'item frame



  • @'isador34':

    bha regarde le code tu panneau ou de l'item frame

    L'item frame est une entité et non un bloc.
    Sinon tu peux aussi aller voir ceci :
    http://www.minecraftforgefrance.fr/showthread.php?tid=172



  • ok merci


    donc voilà sa marche mais il s'adapte pas au mur mais que au plafond 😕
    Classe du BlockUn :

    
    package BxToxik.common;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.renderer.texture.IconRegister;
    import net.minecraft.creativetab.CreativeTabs;
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    import net.minecraft.block.Block;
    import net.minecraft.block.BlockPistonBase;
    import net.minecraft.block.material.Material;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.item.ItemStack;
    import net.minecraft.util.AxisAlignedBB;
    import net.minecraft.world.IBlockAccess;
    import net.minecraft.world.World;
    
    public class BlockUn extends Block
    {
    public BlockUn(int id)
    {
    
    super(id, Material.rock);
    this.setCreativeTab(CreativeTabs.tabBlock);
    
    this.setCreativeTab(ModBxToxik.BxToxikCreativeTabs);
    
    }
    
    public void registerIcons(IconRegister iconregister)
    {
    blockIcon = iconregister.registerIcon("ModBxToxik:TextureBlockUn");
    }
    {
    }
    
    public void onBlockPlacedByWithSide(World world, int x, int y, int z, EntityPlayer player, ItemStack stack, int side)
    {
    world.setBlockMetadataWithNotify(x, y, z, side, 2);
    }
    
    public void setBlockBoundsBasedOnState(IBlockAccess iblockAccess, int x, int y, int z)
    {
    this.setBlockBoundsForBlockRender(iblockAccess.getBlockMetadata(x, y, z));
    }
    
    public void setBlockBoundsForBlockRender(int meta)
    {
    float f = 0.1875F;
    if(meta == 0)
    {
    this.setBlockBounds(0.0F, 1.0F - f, 0.0F, 1.0F, 1.0F, 1.0F);
    }
    else if(meta == 1)
    {
    this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, f, 1.0F);
    }
    
    else if(meta == 2)
    {
    this.setBlockBounds(0.0F, 0.0F, 1.0F - f, 1.0F, 1.0F, 1.0F);
    }
    
    else if(meta == 3)
    {
    this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, f);
    }
    
    else if(meta == 4)
    {
    this.setBlockBounds(1.0F - f, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
    }
    
    else if(meta == 5)
    {
    this.setBlockBounds(0.0F, 0.0F, 0.0F, f, 1.0F, 1.0F);
    }
    else
    {
    this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F);
    }
    }
    
    public void setBlockBoundsForItemRender()
    {
    float f = 0.1875F;
    this.setBlockBounds(0.0F, 0.0F, 0.0F, 1.0F, f, 1.0F);
    }
    
    @SideOnly(Side.CLIENT)
    public AxisAlignedBB getSelectedBoundingBoxFromPool(World world, int x, int y, int z)
    {
    this.setBlockBoundsBasedOnState(world, x, y, z);
    return super.getSelectedBoundingBoxFromPool(world, x, y, z);
    }
    
    public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int x, int y, int z)
    {
    this.setBlockBoundsBasedOnState(world, x, y, z);
    return super.getCollisionBoundingBoxFromPool(world, x, y, z);
    }
    
    public boolean isOpaqueCube()
    {
    return false;
    }
    
    public boolean renderAsNormalBlock()
    {
    return false;
    }
    }
    
    

    Classe de l'ItemBlockUn :

    
    package BxToxik.common;
    
    import net.minecraft.block.Block;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.item.ItemBlock;
    import net.minecraft.item.ItemStack;
    import net.minecraft.world.World;
    
    public class ItemBlockUn extends ItemBlock
    {
    public ItemBlockUn(int id)
    {
    super(id);
    }
    
    public boolean placeBlockAt(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ, int metadata)
    {
    if (!world.setBlock(x, y, z, this.getBlockID(), metadata, 3))
    {
    return false;
    }
    
    if (world.getBlockId(x, y, z) == this.getBlockID())
    {
    ((BlockUn)Block.blocksList[this.getBlockID()]).onBlockPlacedByWithSide(world, x, y, z, player, stack, side);
    Block.blocksList[this.getBlockID()].onPostBlockPlaced(world, x, y, z, metadata);
    }
    
    return true;
    }
    }
    
    

    screenshot : https://www.dropbox.com/s/m1mmi4ekmup871p/2014-03-03_16.19.11.png



  • C'est juste dans les codes ??????


  • Administrateurs

    Classe principale ? Je pense que tu n'as pas enregistré le bloc avec l'itembloc custom.



  • Je pense que tu n'as pas enregistré le bloc avec l'itembloc custom.

    Comment ça ?


  • Administrateurs

    GameRegistry.registerBlock(block, "nom") -> GameRegistry.registerBlock(block, ItemBlockUn.class, "nom")



  • Au merci tu est mon dieux sa marche ! 😛


    Et maintenant quand je pose un autre bloc du même genre minecraft crash !

    
    Minecraft has crashed!
    –--------------------
    
    Minecraft has stopped running because it encountered a problem; Unexpected error
    
    A full error report has been saved to C:\Users\lucas\Desktop\Launcher Minecraft\Launcher 1.5.2\MCP\Forge\minecraftforge-src-1.5.2-7.8.1.737\forge\mcp\jars\.\crash-reports\crash-2014-03-04_12.51.46-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash :(
    
    --- BEGIN ERROR REPORT b0375af0 --------
    Full report at:
    C:\Users\lucas\Desktop\Launcher Minecraft\Launcher 1.5.2\MCP\Forge\minecraftforge-src-1.5.2-7.8.1.737\forge\mcp\jars\.\crash-reports\crash-2014-03-04_12.51.46-client.txt
    Please show that file to Mojang, NOT just this screen!
    
    Generated 04/03/14 12:51
    
    -- Head --
    Stacktrace:
    at BxToxik.common.ItemBlockUn.placeBlockAt(ItemBlockUn.java:25)
    at net.minecraft.item.ItemBlock.onItemUse(ItemBlock.java:119)
    at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:149)
    at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:396)
    at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1316)
    
    -- Affected level --
    Details:
    Level name: MpServer
    All players: 1 total; [EntityClientPlayerMP['Player713'/550, l='MpServer', x=79,29, y=86,73, z=302,02]]
    Chunk stats: MultiplayerChunkCache: 441
    Level seed: 0
    Level generator: ID 00 - default, ver 1\. Features enabled: false
    Level generator options:
    Level spawn location: World: (84,64,256), Chunk: (at 4,4,0 in 5,16; contains blocks 80,0,256 to 95,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
    Level time: 1135 game time, 1135 day time
    Level dimension: 0
    Level storage version: 0x00000 - Unknown?
    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
    Forced entities: 165 total; [EntitySkeleton['Skeleton'/275, l='MpServer', x=63,50, y=19,00, z=265,50], EntityZombie['Zombie'/274, l='MpServer', x=61,31, y=6,00, z=263,06], EntityCreeper['Creeper'/273, l='MpServer', x=51,25, y=17,00, z=247,94], EntityCow['Cow'/272, l='MpServer', x=62,50, y=80,00, z=239,50], EntityCow['Cow'/279, l='MpServer', x=51,50, y=64,00, z=276,50], EntityCow['Cow'/278, l='MpServer', x=49,50, y=64,00, z=276,50], EntityCow['Cow'/277, l='MpServer', x=49,50, y=64,00, z=276,50], EntityBat['Bat'/276, l='MpServer', x=65,93, y=26,30, z=269,59], EntityItem['item.tile.sapling.oak'/283, l='MpServer', x=49,88, y=83,13, z=326,09], EntityItem['item.item.seeds'/282, l='MpServer', x=48,69, y=64,13, z=293,13], EntityItem['item.item.seeds'/281, l='MpServer', x=51,44, y=64,13, z=292,28], EntityItem['item.item.seeds'/280, l='MpServer', x=57,59, y=63,13, z=298,84], EntityCreeper['Creeper'/287, l='MpServer', x=54,50, y=23,00, z=373,50], EntitySkeleton['Skeleton'/286, l='MpServer', x=48,50, y=24,00, z=374,50], EntityZombie['Zombie'/285, l='MpServer', x=57,50, y=42,00, z=357,50], EntityZombie['Zombie'/284, l='MpServer', x=69,22, y=25,00, z=341,28], EntityItem['item.tile.sapling.oak'/561, l='MpServer', x=69,84, y=82,13, z=320,53], EntityClientPlayerMP['Player713'/550, l='MpServer', x=79,29, y=86,73, z=302,02], EntityCow['Cow'/270, l='MpServer', x=57,34, y=81,00, z=235,53], EntityCow['Cow'/271, l='MpServer', x=56,09, y=81,00, z=235,59], EntityCow['Cow'/269, l='MpServer', x=50,59, y=84,00, z=235,63], EntityOcelot['Ocelot'/309, l='MpServer', x=68,50, y=79,00, z=230,50], EntityOcelot['Ocelot'/308, l='MpServer', x=70,50, y=79,00, z=231,50], EntityItem['item.tile.sapling.oak'/313, l='MpServer', x=72,72, y=85,13, z=241,91], EntityItem['item.tile.sapling.oak'/312, l='MpServer', x=70,47, y=84,13, z=243,13], EntityItem['item.tile.sapling.oak'/315, l='MpServer', x=67,47, y=74,13, z=269,22], EntityItem['item.tile.sapling.oak'/314, l='MpServer', x=72,31, y=84,05, z=244,88], EntityItem['item.tile.sapling.oak'/317, l='MpServer', x=70,47, y=74,13, z=268,13], EntityItem['item.tile.sapling.oak'/316, l='MpServer', x=69,88, y=72,13, z=271,19], EntitySkeleton['Skeleton'/319, l='MpServer', x=72,06, y=22,00, z=279,47], EntityItem['item.tile.sapling.oak'/318, l='MpServer', x=71,34, y=73,13, z=263,69], EntityItem['item.tile.sapling.oak'/769, l='MpServer', x=71,25, y=86,68, z=248,19], EntitySkeleton['Skeleton'/343, l='MpServer', x=77,44, y=19,00, z=343,66], EntitySkeleton['Skeleton'/342, l='MpServer', x=78,69, y=19,00, z=343,31], EntityBat['Bat'/341, l='MpServer', x=78,00, y=25,99, z=328,70], EntityZombie['Zombie'/340, l='MpServer', x=71,50, y=14,00, z=342,50], EntityCreeper['Creeper'/339, l='MpServer', x=75,69, y=15,00, z=339,34], EntityZombie['Zombie'/338, l='MpServer', x=66,00, y=11,00, z=353,44], EntitySkeleton['Skeleton'/337, l='MpServer', x=78,50, y=15,00, z=341,50], EntitySkeleton['Skeleton'/336, l='MpServer', x=79,50, y=15,00, z=341,50], EntityFallingSand['Falling Block'/74, l='MpServer', x=-22,50, y=23,49, z=376,50], EntityZombie['Zombie'/344, l='MpServer', x=79,50, y=19,00, z=347,50], EntityItem['item.tile.sapling.oak'/326, l='MpServer', x=74,88, y=73,13, z=317,13], EntitySpider['Spider'/327, l='MpServer', x=78,44, y=22,00, z=333,00], EntityItem['item.tile.sapling.oak'/324, l='MpServer', x=78,88, y=71,13, z=289,47], EntityItem['item.tile.sapling.oak'/325, l='MpServer', x=78,38, y=83,13, z=303,88], EntityItem['item.tile.sapling.oak'/322, l='MpServer', x=73,53, y=69,13, z=274,59], EntityItem['item.tile.sapling.oak'/323, l='MpServer', x=70,13, y=73,13, z=272,03], EntityBat['Bat'/320, l='MpServer', x=59,02, y=20,71, z=258,76], EntityBat['Bat'/321, l='MpServer', x=67,33, y=25,44, z=269,88], EntityZombie['Zombie'/334, l='MpServer', x=79,69, y=22,00, z=333,97], EntityItem['item.tile.sapling.oak'/335, l='MpServer', x=72,94, y=69,13, z=323,38], EntityZombie['Zombie'/332, l='MpServer', x=67,56, y=20,00, z=326,00], EntitySpider['Spider'/333, l='MpServer', x=80,56, y=21,95, z=324,00], EntityCreeper['Creeper'/330, l='MpServer', x=77,75, y=21,00, z=327,94], EntitySkeleton['Skeleton'/331, l='MpServer', x=73,50, y=23,00, z=331,50], EntitySkeleton['Skeleton'/328, l='MpServer', x=68,70, y=18,13, z=329,70], EntityCreeper['Creeper'/329, l='MpServer', x=76,53, y=23,00, z=335,69], EntityBat['Bat'/373, l='MpServer', x=91,58, y=22,37, z=336,65], EntitySpider['Spider'/372, l='MpServer', x=83,44, y=21,00, z=323,72], EntityItem['item.tile.sapling.oak'/375, l='MpServer', x=93,41, y=73,13, z=321,06], EntityBat['Bat'/374, l='MpServer', x=89,13, y=24,14, z=324,29], EntityItem['item.tile.sapling.oak'/369, l='MpServer', x=94,88, y=81,13, z=304,88], EntityItem['item.tile.sapling.oak'/368, l='MpServer', x=89,53, y=84,13, z=299,38], EntitySkeleton['Skeleton'/371, l='MpServer', x=82,50, y=21,00, z=333,50], EntityZombie['Zombie'/97, l='MpServer', x=-1,63, y=21,00, z=313,47], EntitySkeleton['Skeleton'/370, l='MpServer', x=94,50, y=26,00, z=321,50], EntityItem['item.tile.sapling.oak'/381, l='MpServer', x=92,28, y=73,13, z=365,19], EntityItem['item.item.apple'/380, l='MpServer', x=90,56, y=70,13, z=357,88], EntityItem['item.tile.sapling.oak'/383, l='MpServer', x=91,81, y=72,13, z=353,06], EntityItem['item.tile.sapling.oak'/382, l='MpServer', x=91,13, y=73,13, z=366,19], EntityCreeper['Creeper'/377, l='MpServer', x=81,50, y=41,00, z=348,50], EntityZombie['Zombie'/376, l='MpServer', x=83,50, y=19,00, z=350,50], EntityBat['Bat'/378, l='MpServer', x=79,34, y=25,86, z=350,03], EntityItem['item.item.seeds'/591, l='MpServer', x=18,81, y=63,13, z=307,63], EntityCow['Cow'/356, l='MpServer', x=88,53, y=72,00, z=240,69], EntityCow['Cow'/357, l='MpServer', x=85,82, y=67,00, z=234,35], EntityCow['Cow'/358, l='MpServer', x=89,69, y=72,00, z=239,56], EntityCow['Cow'/359, l='MpServer', x=75,22, y=74,00, z=245,53], EntityItem['item.tile.sapling.oak'/364, l='MpServer', x=90,03, y=70,13, z=274,88], EntityItem['item.tile.sapling.oak'/365, l='MpServer', x=81,81, y=82,13, z=303,88], EntityItem['item.tile.sapling.oak'/366, l='MpServer', x=80,88, y=82,13, z=302,13], EntityItem['item.tile.sapling.oak'/367, l='MpServer', x=84,28, y=84,13, z=300,19], EntityCow['Cow'/360, l='MpServer', x=93,50, y=68,00, z=257,50], EntityCow['Cow'/361, l='MpServer', x=93,50, y=68,00, z=257,50], EntityCow['Cow'/362, l='MpServer', x=95,50, y=69,00, z=257,50], EntityCow['Cow'/363, l='MpServer', x=94,50, y=69,00, z=268,53], EntitySkeleton['Skeleton'/137, l='MpServer', x=16,31, y=38,00, z=270,78], EntitySquid['Squid'/410, l='MpServer', x=113,88, y=56,00, z=320,50], EntityZombie['Zombie'/136, l='MpServer', x=2,88, y=43,00, z=266,53], EntitySquid['Squid'/411, l='MpServer', x=113,25, y=58,00, z=319,50], EntitySkeleton['Skeleton'/138, l='MpServer', x=10,66, y=43,00, z=259,50], EntitySkeleton['Skeleton'/141, l='MpServer', x=9,69, y=35,00, z=283,09], EntitySkeleton['Skeleton'/412, l='MpServer', x=121,44, y=74,00, z=374,16], EntityEnderman['Enderman'/413, l='MpServer', x=115,13, y=75,00, z=375,53], EntityZombie['Zombie'/135, l='MpServer', x=11,38, y=40,00, z=269,09], EntityZombie['Zombie'/134, l='MpServer', x=13,03, y=46,00, z=256,50], EntityCow['Cow'/152, l='MpServer', x=12,78, y=83,00, z=336,50], EntitySkeleton['Skeleton'/395, l='MpServer', x=92,52, y=24,00, z=326,28], EntityCow['Cow'/153, l='MpServer', x=15,47, y=81,00, z=330,03], EntitySpider['Spider'/394, l='MpServer', x=104,28, y=19,00, z=298,38], EntityCow['Cow'/154, l='MpServer', x=7,47, y=87,00, z=343,19], EntityItem['item.tile.sapling.oak'/393, l='MpServer', x=109,13, y=80,13, z=285,13], EntityCow['Cow'/155, l='MpServer', x=5,47, y=84,05, z=370,31], EntityBat['Bat'/392, l='MpServer', x=97,83, y=24,00, z=272,28], EntityFallingSand['Falling Block'/156, l='MpServer', x=13,50, y=28,49, z=371,50], EntitySkeleton['Skeleton'/399, l='MpServer', x=110,50, y=75,00, z=372,50], EntityFallingSand['Falling Block'/157, l='MpServer', x=12,50, y=28,49, z=372,50], EntitySquid['Squid'/398, l='MpServer', x=109,25, y=56,00, z=325,50], EntityFallingSand['Falling Block'/158, l='MpServer', x=10,50, y=28,49, z=371,50], EntityItem['item.item.seeds'/397, l='MpServer', x=104,13, y=63,13, z=326,94], EntitySquid['Squid'/396, l='MpServer', x=111,66, y=57,09, z=323,69], EntityFallingSand['Falling Block'/145, l='MpServer', x=12,50, y=24,49, z=309,50], EntityFallingSand['Falling Block'/146, l='MpServer', x=12,50, y=24,49, z=309,50], EntityZombie['Zombie'/385, l='MpServer', x=95,13, y=23,00, z=377,69], EntityCreeper['Creeper'/147, l='MpServer', x=0,50, y=20,00, z=322,50], EntityZombie['Zombie'/384, l='MpServer', x=83,38, y=30,00, z=375,06], EntityCow['Cow'/148, l='MpServer', x=8,50, y=85,00, z=335,50], EntityBat['Bat'/391, l='MpServer', x=109,51, y=28,76, z=279,15], EntityItem['item.tile.sapling.oak'/390, l='MpServer', x=103,13, y=72,13, z=249,38], EntitySkeleton['Skeleton'/149, l='MpServer', x=14,24, y=12,10, z=330,69], EntityCreeper['Creeper'/150, l='MpServer', x=4,47, y=14,00, z=342,00], EntityCow['Cow'/151, l='MpServer', x=18,49, y=81,63, z=339,47], EntityFallingSand['Falling Block'/168, l='MpServer', x=12,50, y=28,49, z=372,50], EntitySkeleton['Skeleton'/445, l='MpServer', x=147,50, y=40,00, z=330,50], EntityCow['Cow'/173, l='MpServer', x=12,47, y=63,00, z=371,47], EntityFallingSand['Falling Block'/163, l='MpServer', x=12,50, y=28,67, z=372,50], EntityFallingSand['Falling Block'/162, l='MpServer', x=13,50, y=28,67, z=371,50], EntityFallingSand['Falling Block'/167, l='MpServer', x=13,50, y=28,49, z=371,50], EntityFallingSand['Falling Block'/165, l='MpServer', x=10,50, y=28,67, z=371,50], EntityCow['Cow'/425, l='MpServer', x=130,53, y=79,00, z=225,53], EntityZombie['Zombie'/427, l='MpServer', x=135,31, y=29,00, z=358,56], EntityCow['Cow'/426, l='MpServer', x=139,31, y=74,00, z=231,50], EntityZombie['Zombie'/428, l='MpServer', x=138,00, y=29,00, z=357,56], EntityItem['item.tile.rail'/205, l='MpServer', x=22,19, y=24,13, z=324,88], EntityItem['item.tile.rail'/204, l='MpServer', x=23,75, y=24,13, z=312,81], EntityItem['item.tile.rail'/207, l='MpServer', x=19,81, y=24,13, z=324,72], EntityItem['item.tile.rail'/206, l='MpServer', x=23,69, y=24,13, z=324,88], EntityItem['item.tile.sapling.oak'/201, l='MpServer', x=18,13, y=72,13, z=284,19], EntityItem['item.tile.sapling.oak'/200, l='MpServer', x=19,88, y=73,13, z=281,13], EntityItem['item.tile.rail'/203, l='MpServer', x=24,88, y=24,13, z=314,13], EntityItem['item.tile.rail'/202, l='MpServer', x=24,88, y=24,13, z=319,59], EntityItem['item.tile.sapling.oak'/199, l='MpServer', x=18,13, y=72,13, z=281,88], EntityItem['item.tile.sapling.oak'/198, l='MpServer', x=16,66, y=71,13, z=284,13], EntityItem['item.tile.sapling.oak'/743, l='MpServer', x=71,38, y=85,13, z=248,75], EntityItem['item.tile.sapling.oak'/740, l='MpServer', x=112,16, y=84,13, z=286,81], EntityCow['Cow'/220, l='MpServer', x=17,50, y=68,00, z=369,50], EntityCow['Cow'/221, l='MpServer', x=22,50, y=67,00, z=374,50], EntityCow['Cow'/219, l='MpServer', x=23,50, y=63,00, z=370,50], EntityZombie['Zombie'/754, l='MpServer', x=66,50, y=22,00, z=274,50], EntityCow['Cow'/212, l='MpServer', x=21,47, y=86,00, z=347,50], EntityCow['Cow'/213, l='MpServer', x=22,50, y=85,00, z=345,50], EntityCreeper['Creeper'/752, l='MpServer', x=70,50, y=22,00, z=275,50], EntityCow['Cow'/214, l='MpServer', x=22,53, y=87,00, z=347,53], EntityItem['item.tile.rail'/208, l='MpServer', x=17,47, y=24,13, z=321,84], EntityBat['Bat'/209, l='MpServer', x=27,03, y=24,00, z=321,91], EntityItem['item.tile.sapling.oak'/210, l='MpServer', x=31,13, y=72,13, z=333,78], EntityItem['item.tile.sapling.oak'/211, l='MpServer', x=29,56, y=77,13, z=338,13], EntityItem['item.tile.sapling.oak'/729, l='MpServer', x=29,16, y=71,13, z=331,25], EntityItem['item.item.seeds'/246, l='MpServer', x=40,38, y=63,13, z=341,25], EntityItem['item.item.seeds'/247, l='MpServer', x=37,41, y=63,13, z=338,69], EntityBat['Bat'/244, l='MpServer', x=35,59, y=24,00, z=320,48], EntityItem['item.tile.sapling.oak'/245, l='MpServer', x=35,13, y=71,13, z=334,28], EntityCow['Cow'/243, l='MpServer', x=45,50, y=69,00, z=277,50], EntityItem['item.tile.sapling.oak'/726, l='MpServer', x=107,75, y=84,13, z=285,81]]
    Retry entities: 0 total; []
    Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:441)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2414)
    at net.minecraft.client.Minecraft.run(Minecraft.java:783)
    at java.lang.Thread.run(Unknown Source)
    
    – System Details --
    Details:
    Minecraft Version: 1.5.2
    Operating System: Windows 7 (x86) version 6.1
    Java Version: 1.7.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
    Memory: 863271160 bytes (823 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)
    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    AABB Pool Size: 15878 (889168 bytes; 0 MB) allocated, 4 (224 bytes; 0 MB) used
    Suspicious classes: FML and Forge are installed
    IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63
    FML: MCP v7.51 FML v5.2.23.737 Minecraft Forge 7.8.1.737 4 mods loaded, 4 mods active
    mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    FML{5.2.23.737} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    Forge{7.8.1.737} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    ModBxToxik{1.0.0} [Mod BxToxik] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
    LWJGL: 2.4.2
    OpenGL: Intel(R) HD Graphics 4000 GL version 3.3.0 - Build 8.15.10.2618, Intel
    Is Modded: Definitely; Client brand changed to 'fml,forge'
    Type: Client (map_client.txt)
    Texture Pack: Default
    Profiler Position: N/A (disabled)
    Vec3 Pool Size: 3605 (201880 bytes; 0 MB) allocated, 17 (952 bytes; 0 MB) used
    
    java.lang.ClassCastException: BxToxik.common.BlockDeux cannot be cast to BxToxik.common.BlockUn
    at BxToxik.common.ItemBlockUn.placeBlockAt(ItemBlockUn.java:25)
    at net.minecraft.item.ItemBlock.onItemUse(ItemBlock.java:119)
    at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:149)
    at net.minecraft.client.multiplayer.PlayerControllerMP.onPlayerRightClick(PlayerControllerMP.java:396)
    at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1316)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1800)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:835)
    at net.minecraft.client.Minecraft.run(Minecraft.java:760)
    at java.lang.Thread.run(Unknown Source)
    –- END ERROR REPORT c69ad9a ----------
    
    

Log in to reply