Jump to content

winnetrie

Members
  • Posts

    408
  • Joined

  • Last visited

Posts posted by winnetrie

  1. Well, i was using no renderer. I didn't knew i had to. How should i know?  :P Thank you for pointing me in that direction.

    I have created my signrendering class now, but i do not know how i register it?

    Can you help me with that?

     

    EDIT:

    Ok i found how to register the render and it works,but....yeah there is a "but" again.

     

    My sign still has not the custom texture and now my sign is acting strange.

    If i place the sign i'll get the gui where i can type my text on the sign, but it appears the sign on the gui screen turns around his axis equal as the player's angle.

     

    Customs signs are harder as i thought....

  2. So i have this in my CommonProxy.class :

    public void init(FMLInitializationEvent event) {
        	TemRecipes.init();
        	
        	if(Loader.isModLoaded("BiomesOPlenty")){
    		BOPAddonRecipes.init();
    		}
        	
        	 MinecraftForge.EVENT_BUS.register(new TemChunkOverider());
        	 GameRegistry.registerWorldGenerator(new ChalkStoneGenerator(), 1);
        	 
    
        }

    What i want to happen is replacing stone with my stone. This works!

    Then i want to spawn in ores (with the chalkstonegenerator)

     

    Both generators work, but the game spawns my ore first and after that it replaces all the stone with my stone.

    It has to be the other way. Can i somehow let TemChunkOverider go before ChalkstoneGenerator ?

     

    TemChunkOverider:

     

    public class TemChunkOverider {
    
    @SubscribeEvent(priority=EventPriority.NORMAL, receiveCanceled=true)
    public void onEvent(PopulateChunkEvent.Pre event)
    {
    
        // replace all blocks of a type with another block type
        // diesieben07 came up with this method (http://www.minecraftforge.net/forum/index.php/topic,21625.0.html)    
        Chunk chunk = event.world.getChunkFromChunkCoords(event.chunkX, event.chunkZ);
        Block fromBlock = Blocks.stone; // change this to suit your need
        Block toBlock = Blocks.diamond_block; // diamond_block is just for testing for now
        final ExtendedBlockStorage[] storageArray = chunk.getBlockStorageArray();
    
        
            
                for (int x = 0; x < 16; ++x) 
                {
                    for (int z = 0; z < 16; ++z) 
                    {
                    	ExtendedBlockStorage storage =storageArray[0];
                    	if (storage != null) 
            	        	{
                    		for (int y = 0; y < 16; ++y) 
                    		{
                    			final Block block = storage.getBlockByExtId(x, y, z);
                    			if (block == fromBlock) 
                    			{
                    				storage.func_150818_a(x, y, z, toBlock);
                    			}
                    		}
            	        }
                    }
                }
           
          
        chunk.isModified = true; // this is important as it marks it to be saved
        
    }
    
    }

     

     

  3. Thanks to both of you. It is working now.  ;D

    I also did the same with the workbench and that's working too.

    Now i have a working enchanttable that supports my custom bookshelfs!!  :P

     

    Maybe 1 last thing. Is there a way to show the enchant by it's name instead of those gibberisch letters?

  4.  

    Whoa, calm down. I was implying that you don't have to make a custom enchantment table for custom bookshelfs, the vanilla enchantment table works with them (in 1.9...).

    I'm totally calm, i only had the impression you were just saying something random, srry for that.

     

    Then why do you use it? Are you being forced to? By what?

     

    It is because the reason i started modding. I want to make a public server with my mod. As far as i know to have a good working server you need several plugins. There is the problem, 'plugins' do not work with forge alone, so i use cauldron wich supports forge and bukkit/spigot. Cauldron has been stuck on mc version 1.7.10 and it won't get updates to 1.9.

    Now you would ask why i need plugins. I need stuff like anti griefing (a good 1 is griefprevention). As far as i know there isn't any good antigrief mod made for forge.

    Making a public server without any server utilities and without any good antigrief, well i guess you got the point.

    I would prefer to use 1.9, because it is newer, updated, more support and i bet much better too.

    You could say, create your own antigrief mod and all the other stuff, but this is all too advanced for me right now.

    I'm already happy what i have created now (see signature  :P )!

     

    You have to use an

    IGuiHandler

    for custom GUIs. There are tutorials online.

    thank you, but i guess Choonster was faster hehe.

  5. Thank you!

    Something isn't still clear.

    in this:

    public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int p_149727_6_, float p_149727_7_, float p_149727_8_, float p_149727_9_)
        {
            if (world.isRemote)
            {
                return true;
            }
            else
            {
                TileEntityEnchantmentTable tileentityenchantmenttable = (TileEntityEnchantmentTable)world.getTileEntity(x, y, z);
                player.displayGUIEnchantment(x, y, z, tileentityenchantmenttable.func_145921_b() ? tileentityenchantmenttable.func_145919_a() : null);
                return true;
            }
        }

    what/how do i place in there to get mine gui?

    i have made a gui class called TemGuiEnchanttable.class

    Also do i have to register the gui and container somewhere? I really have no clue!

     

  6. I don't know about 1.7.10, as I'm using the newer and better 1.9, but the enchantment table only checks the bookshelf block for it's particles. For the power a block provides to a enchantment table, it checks

    Block#getEnchantPowerBonus

    .

     

    BTW, if you didn't get it before, update. 1.7.10 is old and 1.9 has a recommended release.

    I wonder if you even read what i said? That wasn't helpfull at all! The problem is when clicking on the table i get no GUI like you normally should get!

    As for the update to 1.9, well again i use 1.7.10 because i have no use for 1.9

    There is a reason someone uses 1.7.10. I do not use 1.7.10 just for fun you know.

  7. While the standard enchanttable doesn't recognize custom made bookshelfs due to the fact it only checks for the standard bookshelf and not the instanceof bookshelf block, i then thought let's make a custom enchanttable, copy over all the stuff and change the checking for the bookshelf into instanceof.

    So i tested it and yeah it worked, the particles where showing up. So nice done i thought, but then when i clicked on the enchanttable no window( Gui) popped up where you can enchant stuff. I couldn't figure it out why that is.

    Anyone can tell me why?

  8. The sound is only playing when i move horizontally on the ladder (because i then walk on it)

    setStepSound() is only when you step on the block (in my opinion)

    Anyways this is what my ladder class looks like:

    public class CustomLadder extends BlockLadder{
    
    public CustomLadder(){
    	this.setHardness(0.4F);
    	this.setStepSound(soundTypeLadder);
    	this.useNeighborBrightness=true;
    	this.setCreativeTab(TemBlocks.extradecor);
    }
    
    }

     

  9. I made my own ladders and it was pretty simple to achiev that.

    Yet i found out there is an issue with the sound.

    While climbing the ladder the climbing sound isn't playing.

    This is probably because minecraft checks if the player is climbing the standard ladder instead of "instance of BlockLadder"

    I was wondering where that check happens, i went trough multiple classes but couldn't find it.

    Can this be solved anyway? I think it can.

    So what i want to try is finding the class where the "player is climbing the ladder" check happens, then copy that check into a new class and change the check into checking instanceof BlockLadder.

    But where do i find it anyways?

  10. Go through and deobfuscate that back to readable variable names. It'll be a lot easier for use to help you figure out what's wrong.

     

    i updated the code, but i do not know what func_146100_a is, but i think it doesn't matter.

     

    I don't think does gives you a better view, why the pole isn't rendering and why my own texture isn't rendering, but you asked for readable variables, so here they are!

  11. I'm trying to create custom signs but i have 2 problems:

    1)-The sign that is on the ground has no stick attached

    2)-The sign doesn't show the texture i say

     

    I know i have to register the sign like this:

    GameRegistry.registerBlock(wood_sign_wall= new CustomSign(TileEntitySign.class, false, Blocks.cobblestone,0).setBlockName("wood_sign_wall"), "wood_sign_wall" );
    	GameRegistry.registerBlock(wood_sign_standing= new CustomSign(TileEntitySign.class, true, Blocks.cobblestone,0).setBlockName("wood_sign_standing"), "wood_sign_standing" );

    And also an itemsign like this:

    GameRegistry.registerItem(wood_item_sign = new CustomItemSign().setUnlocalizedName("wood_item_sign").setTextureName(tem.modid+":"+"flux"), "wood_item_sign");

    The texture i give here for the item is just for testing purpose and i think it doesn't even matter.

    now for the classes i have this

     

    CustomSign (block):

     

    public class CustomSign extends BlockSign{
    
    private Block plank;
    private int meta;
    protected CustomSign(Class signclass, boolean bool, Block block, int meta) {
    	super(signclass, bool);
    	this.plank=block;
    	this.meta=meta;
    
    }
    
    @Override
    @SideOnly(Side.CLIENT)
        public IIcon getIcon(int side, int meta)
        {
    	return this.plank.getIcon(side, this.meta);
        }
    
        @Override
        public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_)
        {
            return Items.sign;
        }
    
        
        
    @Override
    @SideOnly(Side.CLIENT)
        public Item getItem(World p_149694_1_, int p_149694_2_, int p_149694_3_, int p_149694_4_)
        {
            return Items.sign;
        }
    
    @Override
        @SideOnly(Side.CLIENT)
        public void registerBlockIcons(IIconRegister reg) {
    
    }
    }

     

     

    and the itemclass:

     

    public class CustomItemSign  extends ItemSign{
    
    public CustomItemSign()
        {
            this.maxStackSize = 16;
            this.setCreativeTab(CreativeTabs.tabDecorations);
        }
    
        /**
         * Callback for item usage. If the item does something special on right clicking, he will have one of those. Return
         * True if something happen and false if it don't. This is for ITEMS, not BLOCKS
         */
    @Override
        public boolean onItemUse(ItemStack stack, EntityPlayer player, World world, int x, int y, int z, int side, float pointX, float pointY, float pointZ)
        {
            if (side == 0)
            {
                return false;
            }
            else if (!world.getBlock(x, y, z).getMaterial().isSolid())
            {
                return false;
            }
            else
            {
                if (side == 1)
                {
                    ++y;
                }
    
                if (side == 2)
                {
                    --z;
                }
    
                if (side == 3)
                {
                    ++z;
                }
    
                if (side == 4)
                {
                    --x;
                }
    
                if (side == 5)
                {
                    ++x;
                }
    
                if (!player.canPlayerEdit(x, y, z, side, stack))
                {
                    return false;
                }
                else if (!TemBlocks.wood_sign_standing.canPlaceBlockAt(world, x, y, z))
                {
                    return false;
                }
                else if (world.isRemote)
                {
                    return true;
                }
                else
                {
                    if (side == 1)
                    {
                        int i1 = MathHelper.floor_double((double)((player.rotationYaw + 180.0F) * 16.0F / 360.0F) + 0.5D) & 15;
                        world.setBlock(x, y, z, TemBlocks.wood_sign_standing, i1, 3);
                    }
                    else
                    {
                    	world.setBlock(x, y, z, TemBlocks.wood_sign_wall, side, 3);
                    }
    
                    --stack.stackSize;
                    TileEntitySign tileentitysign = (TileEntitySign)world.getTileEntity(x, y, z);
    
                    if (tileentitysign != null)
                    {
                    	player.func_146100_a(tileentitysign);
                    }
    
                    return true;
                }
            }
        }
    
    }
    

     

    The function of the sign  is working good.

    It just doesn't render well and /or is misplaced on the ground here a picture

     

    0fztwmy

     

  12. I have succesfully added alot of simple blocks and item to my mod.

    Things like: bricked blocks, stairs, slabs, walls, fences, buttons, tools, items, recipes and also made an addon for BOP.

    I had alot of help here on this forum, but once again i need help again.

    I now want to make bookshelfs in all 6 wood types and also in the woodtypes of BOP (later)

     

    i found the bookshelf class and changed it to this:

    public class CustomBookShelves extends BlockBookshelf {
        private final Block planks;
        private final int meta;
        @SideOnly(value=Side.CLIENT)
        private IIcon overlay;
        @SideOnly(value=Side.CLIENT)
        public CustomBookShelves(Block block, int meta)
        {
            this.planks=block;
            this.meta=meta;
            this.setHardness(1.5F);
            this.setBlockName("bookshelf_"+planks.getUnlocalizedName());
            this.setCreativeTab(TemBlocks.extrafences);
        }
    
        /**
         * Gets the block's texture. Args: side, meta
         */
    public float getEnchantPowerBonus(World world, int x, int y, int z) {
            return 1.0f;
        }
    
    @Override
        @SideOnly(Side.CLIENT)
        public IIcon getIcon(int side, int meta)
        {
    	IIcon plankIcon = this.planks.getIcon(side, this.meta);
            return side != 1 && side != 0 ? (renderOverlay ? this.overlay : plankIcon) : plankIcon;
            //return side != 1 && side != 0 ? super.getIcon(side, meta) : Blocks.planks.getBlockTextureFromSide(side);
        }
    @Override
    @SideOnly(value=Side.CLIENT)
        public void registerBlockIcons(IIconRegister reg) {
            this.overlay = reg.registerIcon("tem:bookshelf");
        }
    
        
    @Override
        public int quantityDropped(Random rand)
        {
            return 3;
        }
    
    @Override
        public Item getItemDropped(int par1, Random par2, int par3)
        {
            return Items.book;
        }
    
    }
    

    So ingame my custom bookshelf has the right woodtype texture but there aren't bookshelfs drawn on it.

    While the bookshelf does do his task as a bookshelf (enchantmentlevel get increased), i don't see the effect (those weird signs flying from the bookshelf into the enchantment table)

    So how do i do it right?

  13. I know it's not the right way, but it does work!

    It is wrong, i know, that's why i am here to ask help.....

    But people keep telling me to update to at least 1.8. For sake why?

    I WANT to use 1.7.10 because i can use it with cauldron. Cauldron supports forge mods and bukkit plugins, wich i need to set up a server.

    I know those plugins could be replaced by mods who does the same thing, but that's the problem. There aren't such mods as good as those plugins(if so plz tell me), and since i am far away able to create them myself, i will use 1.7.10.

    Besides that i have troubles with 1.9 and i can't find good documentations. If i would know how it all works and eventually i will at some point, i would make documentations myself, because i like forge and i want to help others.

    For you everything looks and sounds logically, because you are high skilled in this. Those who aren't that skilled (yet), they don't see "IT". No we don't ask you to give us chewed code, that's rediculous, but proper examples WITH good explanations like : what does it do?, why use that?, how does it work? that can help us, and we learn from it.

    Right now i have no clue and no ideas left to try it out. Before i post here, i searched google for hours!

     

    Now for that object rock , wich has 6 metadata (0-5), how do i make stairs (for example) of it in the right way?

    I think i do need a new block for every metadata because the metadata for stairs is used for the stairs position

    So for every metadata rock has i need a new stairs

  14. So what's the best way to get the blocks?

    I just found out that this works too:

    GameRegistry.registerBlock(rocks = new Customstairs(getBlock("BiomesOPlenty:rocks"), 0).setBlockName("rocks"),"rocks" ).setCreativeTab(TemBlocks.extrastairs);
         GameRegistry.registerBlock(rocks = new Customstairs(getBlock("BiomesOPlenty:rocks"), 1).setBlockName("rocks1"),"rocks1" ).setCreativeTab(TemBlocks.extrastairs);
         GameRegistry.registerBlock(rocks = new Customstairs(getBlock("BiomesOPlenty:rocks"), 2).setBlockName("rocks2"),"rocks2" ).setCreativeTab(TemBlocks.extrastairs);
         GameRegistry.registerBlock(rocks = new Customstairs(getBlock("BiomesOPlenty:rocks"), 3).setBlockName("rocks3"),"rocks3" ).setCreativeTab(TemBlocks.extrastairs);

    but still no hardness and resistance etc etc.

  15. Is there another way to get a block with metadata from the registry?

    I created this method:

    public static Block getBlock(String name) {
    	Block block = (Block) Block.blockRegistry.getObject(name);
    	if (block == null || block == Blocks.air)
    		throw new NullPointerException("Could not find any blocks named " + name);
    	return block;
    }
    public static Block loadBlock(String name, int meta) {
    	ItemStack stack = new ItemStack((Block) Block.blockRegistry.getObject(name), 1, meta);
    
    	return Block.getBlockFromItem(stack.getItem());
    }

    the getblock method works fine but doesn't return a metablock, so i created the method 'loadblock'

    This 1 returns a block with metadata but it has forgotten all the properties of that block.

    hardness, resistance, material, stepsound etc etc has to be set again.

    Here is what i mean:

    GameRegistry.registerBlock(ashstonewall = new CustomWalls(getBlock("BiomesOPlenty:ashStone"), 0).setBlockName("ashstonewall"), "ashstonewall");
    
    GameRegistry.registerBlock(limestonewall = new CustomBOPWalls(loadBlock("BiomesOPlenty:rocks",0), 0, Material.rock,5.0F/5.0F, 3.0F).setStepSound(Block.soundTypePiston).setBlockName("limestonewall"), "limestonewall");

    Is there any other function that returns an object with his metadata?

  16. Your expression does not address gates. Shouldn't your walls connect to gates?

     

    And what about other mods? Don't you want to connect to other extensions of BlockWall?

     

    And what about torches? Can you put a torch on top of your wall?

    Srry, i didn't saw your post untill now.

    Even when it's fixed now, i can still post what i have.

    You'll never know if someone could find his answers here.

    So here it is:

     

    package winnetrie.tem.block;
    
    import java.util.List;
    
    import cpw.mods.fml.relauncher.Side;
    import cpw.mods.fml.relauncher.SideOnly;
    import net.minecraft.block.Block;
    import net.minecraft.block.BlockFence;
    import net.minecraft.block.BlockFenceGate;
    import net.minecraft.block.BlockWall;
    import net.minecraft.block.material.Material;
    import net.minecraft.client.renderer.texture.IIconRegister;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.init.Blocks;
    import net.minecraft.item.Item;
    import net.minecraft.item.ItemStack;
    import net.minecraft.util.IIcon;
    import net.minecraft.world.IBlockAccess;
    import net.minecraft.world.World;
    
    public class CustomWalls extends BlockWall {
    
    private Block icon;
    private int metaType;
    public CustomWalls(Block block, int meta) {
    	super(block);
    	this.useNeighborBrightness=true;
    	this.setCreativeTab(TemBlocks.extrawalls);
    	this.icon=block;
    	this.metaType=meta;
    }
    @Override
    @SideOnly(Side.CLIENT)
        public IIcon getIcon(int side, int meta)
        {
            return  icon.getIcon(side, metaType);
        }
    @Override
    @SideOnly(Side.CLIENT)
        public void getSubBlocks(Item itemstack, CreativeTabs tabs, List list)
        {
    	list.add(new ItemStack(itemstack, 1, 0));
        }
    @Override
    @SideOnly(Side.CLIENT)
        public void registerBlockIcons(IIconRegister p_149651_1_) {}
    
    public int getRenderType()
        {
            return 32;
        }
    public boolean renderAsNormalBlock()
        {
            return false;
        }
    @Override
    public boolean canPlaceTorchOnTop(World world, int x, int y, int z){
    	return true;
    }
    @Override
    public boolean canConnectWallTo(IBlockAccess par1, int par2, int par3, int par4)
        {
    	Block block = par1.getBlock(par2, par3, par4);
    	int meta = par1.getBlockMetadata(par2, par3, par4);
    	return block== this || block instanceof BlockWall || block.isOpaqueCube() || block instanceof BlockFenceGate || block instanceof BlockFence ;
        }
    }

     

     

  17. before:xyz means "load before xyz if it present"

    required-before:xyz "load before xyz and fail if it's missing"

     

    Same with after.

     

    Ow,this is nice. I didn't know you can do "before" and "after" alone.

    I always thought it has to be "required-after" or "required-before".

     

    thank you very much!! Seems to work all fine now!

  18. So i tried something new, based on some info i found.

    public static final void init(){
    
    	 GameRegistry.registerBlock(ashstonestairs = new Customstairs(getBlock("BiomesOPlenty:ashStone"), 0).setBlockName("ashstonestairs"),"ashstonestairs" ).setCreativeTab(TemBlocks.extrastairs);
    
    
    }
    public static Block getBlock(String name) {
    	Block block = (Block) Block.blockRegistry.getObject(name);
    	if (block == null || block == Blocks.air)
    		throw new NullPointerException("Could not find any blocks named " + name);
    	return block;
    }

    But now it gives me that error, wich is weird because the block IS there.

    If i try to supply a block from minecraft or 1 of mine it works! What am i doing wrong?

    Why can't it find the block, i'm very sure the name is correct. I can also find the block ingame in the bop tab.

     

    EDIT:

    I tried initializing it in the postinit of my proxy, because you never know and it worked...

     

    package winnetrie.tem;
    
    import winnetrie.tem.block.BOPBlocksAddon;
    import winnetrie.tem.block.TemBlocks;
    import winnetrie.tem.block.ColoredSlab;
    import winnetrie.tem.crafting.TemRecipes;
    import winnetrie.tem.item.TemItems;
    import winnetrie.tem.item.TemTools;
    import cpw.mods.fml.common.Loader;
    import cpw.mods.fml.common.event.FMLInitializationEvent;
    import cpw.mods.fml.common.event.FMLPostInitializationEvent;
    import cpw.mods.fml.common.event.FMLPreInitializationEvent;
    import cpw.mods.fml.common.registry.GameRegistry;
    
    public class CommonProxy {
    public void preInit(FMLPreInitializationEvent event) {
    	TemItems.init();
    	TemBlocks.init();
    	TemTools.init();
    
    
    
    
    
        }
    
        public void init(FMLInitializationEvent event) {
        	TemRecipes.init();
        	GameRegistry.registerWorldGenerator(new ChalkStoneGenerator(), 1);
    
        }
    
        public void postInit(FMLPostInitializationEvent event) {
        	if(Loader.isModLoaded("BiomesOPlenty")){
    		BOPBlocksAddon.init();
    		}
        }
    
    
    
    }
    

    I have all my own block in the preinit

    Why do i have to put the addon block in the postinit to let it work?

    Is this because the mod has to be loaded first before you can qeue something?

    It now works but if something is still not good or wrong i'll be happy to hear it.

  19. this is what i see in the console when i start up and load a world:

     

    [14:43:21] [main/INFO] [GradleStart]: Extra: []

    [14:43:21] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Timmy/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]

    [14:43:21] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

    [14:43:21] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

    [14:43:21] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

    [14:43:21] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

    [14:43:21] [main/INFO] [FML]: Forge Mod Loader version 7.99.39.1566 for Minecraft 1.7.10 loading

    [14:43:21] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_73, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jdk1.8.0_73\jre

    [14:43:21] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

    [14:43:21] [main/WARN] [FML]: The coremod codechicken.core.launch.CodeChickenCorePlugin does not have a MCVersion annotation, it may cause issues with this version of Minecraft

    [14:43:22] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

    [14:43:22] [main/INFO] [GradleStart]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin

    [14:43:22] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

    [14:43:22] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.core.asm.MCPDeobfuscationTransformer.LoadPlugin

    [14:43:22] [main/INFO] [GradleStart]: Injecting location in coremod codechicken.core.launch.CodeChickenCorePlugin

    [14:43:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

    [14:43:22] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

    [14:43:22] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

    [14:43:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

    [14:43:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

    [14:43:22] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

    [14:43:22] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

    [14:43:23] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

    [14:43:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

    [14:43:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

    [14:43:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

    [14:43:23] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

    [14:43:24] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

    [14:43:24] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker

    [14:43:24] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker

    [14:43:24] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

    [14:43:25] [main/INFO]: Setting user: Player116

    [14:43:27] [Client thread/INFO]: LWJGL Version: 2.9.1

    [14:43:28] [Client thread/INFO] [sTDOUT]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----

    // Everything's going to plan. No, really, that was supposed to happen.

     

    Time: 25/04/16 14:43

    Description: Loading screen debug info

     

    This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR

     

     

    A detailed walkthrough of the error, its code path and all known details is as follows:

    ---------------------------------------------------------------------------------------

     

    -- System Details --

    Details:

    Minecraft Version: 1.7.10

    Operating System: Windows 7 (amd64) version 6.1

    Java Version: 1.8.0_73, Oracle Corporation

    Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

    Memory: 821351312 bytes (783 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB)

    JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

    AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

    FML:

    GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.5.0 NVIDIA 364.51' Renderer: 'GeForce GTX 560/PCIe/SSE2'

    [14:43:28] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

    [14:43:28] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1566 Initialized

    [14:43:28] [Client thread/INFO] [FML]: Replaced 183 ore recipies

    [14:43:28] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

    [14:43:28] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

    [14:43:28] [Client thread/INFO] [FML]: Searching C:\Users\Timmy\Desktop\modding tut\eclipse\mods for mods

    [14:43:28] [Client thread/INFO] [FML]: Also searching C:\Users\Timmy\Desktop\modding tut\eclipse\mods\1.7.10 for mods

    [14:43:34] [Client thread/INFO] [FML]: Forge Mod Loader has identified 6 mods to load

    [14:43:34] [Client thread/INFO] [FML]: FML has found a non-mod file CodeChickenLib-1.7.10-1.1.3.138-dev.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.

    [14:43:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, CodeChickenCore, tem, BiomesOPlenty] at CLIENT

    [14:43:35] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, CodeChickenCore, tem, BiomesOPlenty] at SERVER

    [14:43:35] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Tim's Expansion Mod, FMLFileResourcePack:Biomes O' Plenty

    [14:43:35] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

    [14:43:35] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations

    [14:43:35] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

    [14:43:35] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

    [14:43:35] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

    [14:43:37] [Client thread/INFO] [biomesOPlenty]: Trail info successfully received from remote.

    [14:43:37] [Client thread/INFO] [FML]: Applying holder lookups

    [14:43:37] [Client thread/INFO] [FML]: Holder lookups applied

    [14:43:37] [Client thread/INFO] [FML]: Injecting itemstacks

    [14:43:37] [Client thread/INFO] [FML]: Itemstack injection complete

    [14:43:37] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

    [14:43:37] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

    [14:43:37] [Thread-9/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

    [14:43:37] [Thread-9/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

    [14:43:38] [Thread-9/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

    [14:43:38] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

    [14:43:38] [sound Library Loader/INFO]: Sound engine started

    [14:43:41] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas

    [14:43:41] [Client thread/INFO]: Created: 16x16 textures/items-atlas

    [14:43:41] [Client thread/ERROR] [CodeChickenCore]: Unable to do mod description scrolling due to lack of stencil buffer

    [14:43:41] [Client thread/INFO] [FML]: Injecting itemstacks

    [14:43:41] [Client thread/INFO] [FML]: Itemstack injection complete

    [14:43:41] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 6 mods

    [14:43:41] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Tim's Expansion Mod, FMLFileResourcePack:Biomes O' Plenty

    [14:43:42] [Client thread/INFO]: Created: 512x512 textures/blocks-atlas

    [14:43:42] [Client thread/INFO]: Created: 512x256 textures/items-atlas

    [14:43:42] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

    [14:43:42] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...

    [14:43:42] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:    Author: Paul Lamb, www.paulscode.com

    [14:43:42] [Client thread/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

    [14:43:42] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

    [14:43:42] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...

    [14:43:42] [Thread-12/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL

    [14:43:42] [Thread-12/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

    [14:43:42] [Thread-12/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.

    [14:43:43] [sound Library Loader/INFO] [sTDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:

    [14:43:43] [sound Library Loader/INFO]: Sound engine started

    [14:44:41] [server thread/INFO]: Starting integrated minecraft server version 1.7.10

    [14:44:41] [server thread/INFO]: Generating keypair

    [14:44:41] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

    [14:44:41] [server thread/INFO] [FML]: Applying holder lookups

    [14:44:41] [server thread/INFO] [FML]: Holder lookups applied

    [14:44:41] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@7d7e292d)

    [14:44:41] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@7d7e292d)

    [14:44:41] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@7d7e292d)

    [14:44:41] [server thread/INFO]: Preparing start region for level 0

    [14:44:42] [server thread/INFO]: Changing view distance to 12, from 10

    [14:44:43] [Netty Client IO #0/INFO] [FML]: Server protocol version 2

    [14:44:43] [Netty IO #1/INFO] [FML]: Client protocol version 2

    [14:44:43] [Netty IO #1/INFO] [FML]: Client attempting to join with 6 mods : CodeChickenCore@1.0.7.47,FML@7.10.99.99,Forge@10.13.4.1566,mcp@9.05,tem@1.1.0,BiomesOPlenty@2.1.0

    [14:44:43] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT

    [14:44:43] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER

    [14:44:43] [server thread/INFO] [FML]: [server thread] Server side modded connection established

    [14:44:43] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established

    [14:44:43] [server thread/INFO]: Player116[local:E:ef1dd6ca] logged in with entity id 412 at (32.679943133582384, 65.0, 266.68128256586186)

    [14:44:43] [server thread/INFO]: Player116 joined the game

    [14:44:48] [server thread/INFO]: Saving and pausing game...

    [14:44:48] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

    [14:44:48] [server thread/INFO]: Saving chunks for level 'New World'/Nether

    [14:44:48] [server thread/INFO]: Saving chunks for level 'New World'/The End

     

    in my opinion nothing special.

    As for the texture i do not apply 1, because i make stairs out of that block and that block has a texture.

    At least this works for my own blocks. If i change the biome o plenty block into 1 of my own blocks or 1 of minecraft, it then works.

    But just in case i tested it with supplying a texture of my own and also tested it with supplying the texture it from BOP.

    It also see no error saying it has no texture. So somehow it knows the texture but does not apply it.

     

  20. I fixed it with installing code chicken core. it does the deobf while running it. Now it works fine.

    How do i use now an existing block from that mod ?

    For example i want to make stairs from ashStone.

    I tried this:

    GameRegistry.registerBlock(ashstonestairs = new Customstairs(GameData.getBlockRegistry().getObject("BiomesOPlenty:ashStone"), 0).setBlockName("ashstonestairs"),"ashstonestairs" ).setCreativeTab(TemBlocks.extrastairs);

    The game starts but the block has no textures. Even when setting manually a texture with .setBlockTextureName("something") it has no texture.

    I made a class for the addon, here i add all the stuff i want to add when having the mod installed.

    I did a check in the class where i register all my own blocks if the mod is present and if yes then load all the "additions" for it.

    if(Loader.isModLoaded("BiomesOPlenty")){
    	BOPBlocksAddon.init();
    	}

    This works all fine, i just have no textures. So what am i doing wrong?

     

×
×
  • Create New...

Important Information

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