• 0

    posted a message on OptiFine HD (FPS Boost, Dynamic Lights, Shaders and much more)
    How to disable OptiFine version check? I was translated OptiFine A4 for 1.7.10 and don't want to translate it twice just because it was updated... Thanks.
    Posted in: Minecraft Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    UPD: Hmm, bug disappeared... But when I move chest (WorldEdit //move 1), it returns and crashes Minecraft, but after relaunch chest was moved and items inside are drop out of chest.
    Posted in: Minecraft Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    I just breaked my chest on server and client was crashed:

    scription: Rendering Block Entityjava.lang.ClassCastException: net.minecraft.block.BlockAir cannot be cast to cubex2.cs2.block.BlockCSChest
    at cubex2.cs2.client.renderer.CSTileChestRenderer.renderTileEntityChestAt(CSTileChestRenderer.java:36)
    at cubex2.cs2.client.renderer.CSTileChestRenderer.func_147500_a(CSTileChestRenderer.java:100)
    at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147549_a(SourceFile:100)
    at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.func_147544_a(SourceFile:92)
    at net.minecraft.client.renderer.RenderGlobal.func_147589_a(RenderGlobal.java:762)
    at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1548)
    at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1294)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1056)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:951)
    at net.minecraft.client.main.Main.main(SourceFile:148)
    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:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


    Chest file:

    ame = "goldenChest";
    material = "iron";
    stepSound = "metal";
    creativeTab = "decorations";
    modelTexture = "goldenChest.png";
    toolClass[0] = "pickaxe";
    harvestLevel[0] = 2;
    addToCreative[0] = true;
    hardness[0] = 5;
    resistance[0] = 30;
    hasTileEntity[0] = true;
    tileEntity[0] = "goldenChest";
    onActivated[0] = "player.openGui('goldenChest', position); result = true;";
    drop[0] = "OAGP:goldenChest:0 1";
    Posted in: Minecraft Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    4NEI:

    dough";//mod.addItem("dough.js", "normal");
    textureFile[0] = "dough.png";
    addToCreative[0] = false;
    repairable = false;
    creativeTab = "food";
    maxStack = 64;// ----------
    name = "pinappleBig";//mod.addBlock("pinappleBig.js", "gravity");
    material = "wood";
    stepSound = "wood";
    toolClass[0] = "axe";
    harvestLevel[0] = 0;
    textureFileXP[0] = "pineappleBlock_side.png";
    textureFileXN[0] = "pineappleBlock_side.png";
    textureFileYP[0] = "pineappleBlock_top.png";
    textureFileYN[0] = "pineappleBlock_bottom.png";
    textureFileZP[0] = "pineappleBlock_side.png";
    textureFileZN[0] = "pineappleBlock_side.png";
    addToCreative[0] = false;
    hardness[0] = 2;
    resistance[0] = 10;
    drop[0] = "OAGP:pineapple:0 1-4";
    // ----------
    name = "lightWood";//mod.addBlock("lightWood.js", "normal");
    material = "wood";
    stepSound = "wood";
    toolClass[0] = "axe";
    harvestLevel[0] = 0;
    textureFileXP[0] = "/planks_oak.png";
    textureFileXN[0] = "/planks_oak.png";
    textureFileYP[0] = "/planks_oak.png";
    textureFileYN[0] = "/planks_oak.png";
    textureFileZP[0] = "/planks_oak.png";
    textureFileZN[0] = "/planks_oak.png";
    addToCreative[0] = false;
    hardness[0] = 2;
    resistance[0] = 10;
    light[0] = 15;
    canSilkHarvest[0] = false;
    drop[0] = "minecraft:planks:0 1";
    isWood[0] = true;

    toolClass[1] = "axe";
    harvestLevel[1] = 0;
    textureFileXP[1] = "/planks_spruce.png";
    textureFileXN[1] = "/planks_spruce.png";
    textureFileYP[1] = "/planks_spruce.png";
    textureFileYN[1] = "/planks_spruce.png";
    textureFileZP[1] = "/planks_spruce.png";
    textureFileZN[1] = "/planks_spruce.png";
    addToCreative[1] = false;
    hardness[1] = 2;
    resistance[1] = 10;
    light[1] = 15;
    canSilkHarvest[1] = false;
    drop[1] = "minecraft:planks:1 1";
    isWood[1] = true;
    // Blocks with meta-data > 1 (because there are only 0-1) are shown in NEI as "black-purple unknown blocks".


    Blocks with addToCreative=false and with non-used meta-data
    Posted in: Minecraft Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    Quote from CubeX2»

    Have you tried changed the order in that you add the block / creative tab?


    I'll try to fix that.


    I'll fix it.

    There is no 0.10.6b version for you?
    The getBlockName() thing is a bug that will be fixed in the next update.

    1. Trapdoors crashes Minecraft
    2. Creative tabs fixed for blocks but items don't shown in they tab
    3. (I downloaded CS2 for 1.6.4 from another site yet)
    Quote from Bars96»
    Ladders don't raise up players

    And latest two bugs on attachment in this post
    Posted in: Minecraft Mods
  • 0

    posted a message on [WIP] Custom Stuff 3 - Create Content Ingame
    CubeX2, please visit previous CS2 thread
    Posted in: WIP Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    Quote from sty2k5»
    how do i determine a block or item name id from mods

    ModName:blockOrItem
    Press ingame F3+H to show ID's in inventory
    Posted in: Minecraft Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    I unable to download 1.6.4 CS version (MediaFire don't show files list).
    Also world.getBlockName() returns null instead of "minecraft:air". Is it bug?
    Posted in: Minecraft Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    Door iconFile parameter don't work (if current resourcepack contains it, even default)
    Posted in: Minecraft Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    Ladders don't raise up players
    Posted in: Minecraft Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    Minecraft crashes when adding any trapdoor:

    //mod.js:

    mod.addBlock("ironTrapDoor.js", "trapDoor");

    //ironTrapDoor.js:

    name = "ironTrapDoor";material = "iron";stepSound = "metal";creativeTab = "redstone";redstoneOnly = true;toolClass[0] = "pickaxe";harvestLevel[0] = 0;textureFileXP[0] = "trapdoorIron.png";textureFileXN[0] = "trapdoorIron.png";textureFileYP[0] = "trapdoorIron.png";textureFileYN[0] = "trapdoorIron.png";textureFileZP[0] = "trapdoorIron.png";textureFileZN[0] = "trapdoorIron.png";opacity = 0;addToCreative[0] = true;hardness[0] = 5;resistance[0] = 30;

    //Crash report:

    Failed loading Custom Stuff mod OAGPorg.mozilla.javascript.WrappedException: Wrapped cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodException: cubex2.cs2.item.ItemCSBlock.(net.minecraft.block.Block, cubex2.cs2.block.attributes.BlockTrapDoorAttributes) (mod.js#89) at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225) at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473) at script(mod.js:89) at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815) at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109) at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394) at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091) at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120) at org.mozilla.javascript.Context.evaluateReader(Context.java:1110) at cubex2.cs2.DefaultMod.init(DefaultMod.java:113) at cubex2.cs2.ModLoader.loadMod(ModLoader.java:67) at cubex2.cs2.CustomStuff2.loadMod(CustomStuff2.java:92) at _customstuff.oagp.OAGP.preInit(Unknown Source) 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:513) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187) 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.EventSubscriber.handleEvent(EventSubscriber.java:74) at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) at com.google.common.eventbus.EventBus.post(EventBus.java:275) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118) at cpw.mods.fml.common.Loader.preinitializeMods(Loader.java:513) at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:239) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:480) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867) at net.minecraft.client.main.Main.main(SourceFile:148) 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:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28)Caused by: cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodException: cubex2.cs2.item.ItemCSBlock.(net.minecraft.block.Block, cubex2.cs2.block.attributes.BlockTrapDoorAttributes) at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:233) at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:191) at cubex2.cs2.block.EnumBlockType.createDefaultBlock(EnumBlockType.java:75) at cubex2.cs2.block.EnumBlockType.createBlock(EnumBlockType.java:65) at cubex2.cs2.scripting.ScriptableMod.addBlock(ScriptableMod.java:1277) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126) ... 48 moreCaused by: java.lang.NoSuchMethodException: cubex2.cs2.item.ItemCSBlock.(net.minecraft.block.Block, cubex2.cs2.block.attributes.BlockTrapDoorAttributes) at java.lang.Class.getConstructor0(Unknown Source) at java.lang.Class.getConstructor(Unknown Source) at cpw.mods.fml.common.registry.GameRegistry.registerBlock(GameRegistry.java:219) ... 56 more

    If not no add trapdoors in game I have another crash with everytime random block/item:
    Mod: mod.addCreativeTab("blocksOAGP", "OAGP:bricks:11");

    Block: creativeTab = "blocksOAGP";
    Posted in: Minecraft Mods
  • 0

    posted a message on [MCP/Forge/1.7.10] How to bind command to button?
    I was edit Minecraft.class in net.minecraft.client package but it working wrong.

    Code from line 1899

    if (Keyboard.getEventKey() == 48 && Keyboard.isKeyDown(61))
    {
    RenderManager.debugBoundingBox = !RenderManager.debugBoundingBox;
    }

    I was replaced to

    if (Keyboard.getEventKey() == 48)
    {
    if (Keyboard.isKeyDown(61)) {
    RenderManager.debugBoundingBox = !RenderManager.debugBoundingBox;
    } else {
    this.thePlayer.sendChatMessage("/spawn");
    }
    }

    But when I play on selected singleplayer map or join any server, it binded command executes automatically (once), even if I don't pressed B (id 48) button...

    Also I was trying to add this command to controls menu settings (GameSettings.class), Minecraft is crashes when I start playing (on selected singleplayer map or on any server) if Smart Moving mod is installed (but I not sure about this mod).
    Posted in: Modification Development
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    And? How to fix that? How to create creative tab?
    Posted in: Minecraft Mods
  • 0

    posted a message on CubeX2's Mods - All mods available for 1.8.9
    How to add creative tab?

    These code crashes Minecraft:

    mod.js

    od.addCreativeTab("Блоки OAGP", "OAGP:copperOre:0");

    copperOre.js

    ame = "copperOre";
    material = "rock";
    stepSound = "stone";
    creativeTab = "Блоки OAGP";

    addToCreative[0] = true;
    hardness[0] = 1.0;
    toolClass[0] = "pickaxe";
    harvestLevel[0] = 2;
    drop[0] = "OAGP:copperOre 1";
    textureFileXP[0] = "copperOre.png";
    textureFileXN[0] = "copperOre.png";
    textureFileYP[0] = "copperOre.png";
    textureFileYN[0] = "copperOre.png";
    textureFileZP[0] = "copperOre.png";
    textureFileZN[0] = "copperOre.png";
    Posted in: Minecraft Mods
  • To post a comment, please or register a new account.