Jump to content

CJMinecraft

Members
  • Posts

    29
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    http://www.youtube.com/cjminecraft
  • Personal Text
    That guy from YouTube

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

CJMinecraft's Achievements

Tree Puncher

Tree Puncher (2/8)

2

Reputation

  1. The build file is trying to replace ${version} and ${mcversion} with the appropriate values from your build file, however in the mcmod.info you don't have these variables. You should comment out the process resources block and that should resolve your issue.
  2. I was wondering whether it is possible to setup custom source sets apart from the default (main, test, api). For example, if I was creating a mod which was made of multiple different modules (like Buildcraft and their modules), could I have each module on a different source set but then when I run the game when testing, it would load all of the modules together? Thanks in advance for any replies, hopefully this makes sense :D. If this is not possible, if anyone could advise any alternatives other than creating new mod dev environments. Thanks
  3. An example would be as follows: https://github.com/CJMinecraft01/BitOfEverything/blob/master/src/main/java/cjminecraft/bitofeverything/container/ContainerFurnaceGenerator.java#L64-L92
  4. You can't cast an ItemStackHandler to IInventory, instead, take in an IItemHandler in the container and the gui for the container and then inside the container when you are sorting out the slots, there is a addSlotToContainer which takes in a new SlotItemHandler(item_stack_handler, index, x_pos, y_pos) which you should be able to fill in easily
  5. I have managed to fix this by telling gradle to ignore the error I added this to my build.gradle allprojects { tasks.withType(Javadoc) { options.addStringOption('Xdoclint:none', '-quiet') } }
  6. The compilation errors come from the Industrial Craft 2 API and I cannot resolve these
  7. It's ok, I figured it out after I sent it. I'm updating the mappings but unfortunately, I have to use ForgeGradle-2.2-SNAPSHOT and not ForgeGradle-2.0.2 because that does not support 1.11.2 any more. I just realised, this still doesn't work, I haven't updated github so when you ran it, it still was not the latest version
  8. So I am getting an error every time I build my mod. I am generating a javadoc, deobf, sources and the regular mod jar. The error I get is shown here: :javadoc USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/item/IElectricItem.java):16: warning: no @param for stack boolean canProvideEnergy(ItemStack stack); ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/item/IElectricItem.java):23: warning: no @param for stack double getMaxCharge(ItemStack stack); ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/item/IElectricItem.java):33: warning: no @param for stack int getTier(ItemStack stack); ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/item/IElectricItem.java):40: warning: no @param for stack double getTransferLimit(ItemStack stack); ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/energy/tile/IEnergyAcceptor.java):23: warning: no @return boolean acceptsEnergyFrom(IEnergyEmitter emitter, EnumFacing side); ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/energy/tile/IEnergySink.java):14: error: bad use of '>' * Make sure that injectEnergy() does accepts energy if demandsEnergy() returns anything > 0. ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/energy/tile/IEnergySink.java):16: error: unknown tag: note * @note Modifying the energy net from this method is disallowed. ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/energy/tile/IEnergySink.java):26: error: unknown tag: note * @note Modifying the energy net from this method is disallowed. ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/energy/tile/IEnergySink.java):27: error: unknown tag: note * @note Return Integer.MAX_VALUE to allow any voltage. ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/energy/tile/IEnergySink.java):43: warning: no @param for voltage double injectEnergy(EnumFacing directionFrom, double amount, double voltage); ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/energy/tile/IEnergySource.java):13: error: unknown tag: note * @note Modifying the energy net from this method is disallowed. ^ USERPATH\.gradle\caches\modules-2\files-2.1\net.industrial-craft\industrialcraft-2\2.7.9-ex111\3c815f473c4c1cf619cd1e042ebd3ef8f9ba5b5d\industrialcraft-2-2.7.9-ex111-api.jar(ic2/api/energy/tile/IEnergySource.java):32: error: unknown tag: note * @note Modifying the energy net from this method is disallowed. ^ PATH\src\main\java\cofh\api\energy\IEnergyStorage.java:41: warning: no @return int getEnergyStored(); ^ PATH\src\main\java\cofh\api\energy\IEnergyStorage.java:46: warning: no @return int getMaxEnergyStored(); ^ 6 errors 8 warnings :javadoc FAILED Where PATH represents the path to the mod and USERPATH represents the path to the user i.e. C:/Users/USERNAME My build.gradle is below: buildscript { repositories { jcenter() maven { url = "http://files.minecraftforge.net/maven" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT' } } apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. version = "0.0.2.4" group = "cjminecraft.core" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "cjcore-1.11" sourceCompatibility = targetCompatibility = "1.8" // Need this here so eclipse task generates correctly. compileJava { sourceCompatibility = targetCompatibility = "1.8" } task javadocJar(type: Jar, dependsOn: 'javadoc') { from "build/docs/javadoc" classifier "javadoc" } task deobfJar(type: Jar) { from sourceSets.main.output classifier = 'deobf' } task srcJar(type: Jar, dependsOn: "sourceMainJava") { from sourceSets.main.allSource classifier = 'sources' } artifacts { archives srcJar archives deobfJar archives javadocJar } minecraft { version = "1.11.2-13.20.1.2454" runDir = "run" // the mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD snapshot are built nightly. // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = "snapshot_20161220" // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. } repositories { maven { name "Tesla" url 'http://maven.epoxide.xyz' } maven { name = "ic2" url = "http://maven.ic2.player.to/" } ivy { name "BuildCraft" artifactPattern "http://www.mod-buildcraft.com/releases/BuildCraft/[revision]/[module]-[revision](-[classifier]).[ext]" } } dependencies { compile "net.darkhax.tesla:Tesla:1.11-1.3.0.52" deobfCompile name: "buildcraft", version: "7.99.7" compile 'net.industrial-craft:industrialcraft-2:2.7.9-ex111:api' } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include 'mcmod.info' // replace version and mcversion expand 'version':project.version, 'mcversion':project.minecraft.version } // copy everything else except the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } } I've been trying to fix this over the past two months. If you need the code (which I highly doubt it), it is found here https://github.com/CJMinecraft01/CJCore
  9. Thanks for all the help, I've managed to resolve this by changing the blockstate to the following (the error was because I put "true" not true): { "multipart": [ { "when": { "type": "basic" }, "apply": { "model": "boe:energy_cell_centre_basic" } }, { "when": { "type": "basic", "north": true }, "apply": { "model": "boe:energy_cell_connection_basic" } }, { "when": { "type": "basic", "east": true }, "apply": { "model": "boe:energy_cell_connection_basic", "y": 90 } }, { "when": { "type": "basic", "south": true }, "apply": { "model": "boe:energy_cell_connection_basic", "y": 180 } }, { "when": { "type": "basic", "west": true }, "apply": { "model": "boe:energy_cell_connection_basic", "y": 270 } }, { "when": { "type": "basic", "up": true }, "apply": { "model": "boe:energy_cell_connection_basic", "x": 270 } }, { "when": { "type": "basic", "down": true }, "apply": { "model": "boe:energy_cell_connection_basic", "x": 90 } }, { "when": { "type": "advanced" }, "apply": { "model": "boe:energy_cell_centre_advanced" } }, { "when": { "type": "advanced", "north": true }, "apply": { "model": "boe:energy_cell_connection_advanced" } }, { "when": { "type": "advanced", "east": true }, "apply": { "model": "boe:energy_cell_connection_advanced", "y": 90 } }, { "when": { "type": "advanced", "south": true }, "apply": { "model": "boe:energy_cell_connection_advanced", "y": 180 } }, { "when": { "type": "advanced", "west": true }, "apply": { "model": "boe:energy_cell_connection_advanced", "y": 270 } }, { "when": { "type": "advanced", "up": true }, "apply": { "model": "boe:energy_cell_connection_advanced", "x": 270 } }, { "when": { "type": "advanced", "down": true }, "apply": { "model": "boe:energy_cell_connection_advanced", "x": 90 } } ] }
  10. The properties I am using are a property bool for each face and a property enum for the type. How do you add the model as I'm used to using the multipart model from vanilla but after looking into it, it doesn't allow you to have a when statement inside of a when statement. Thanks for help as well. How would I go about fixing this? The error says I'm missing a variant and I presume it is the property bools.
  11. How would I do this separately? Do you mind correcting the file maybe?
  12. So the way I managed to fix this was actually relatively simple. I'm now using the Chisel CTM and I've posted a video about this here. This also works with optifine, currently I've found no way of achieving this without Chisel but I'm still looking into it, the video is here:
  13. I'm currently trying to use a Forge Blockstate to try and make a sort of energy pipe which will connect to any energy holder, the block state code works as the get actual state updates my PropertyBools correctly. I don't see where I am going wrong at all and I presume it is something small. My block has two tiers, basic and advanced and each side has its own respective PropertyBool Block state - energy_cell.json: { "forge_marker": 1, "variants": { "type": { "basic": { "model": "boe:energy_cell_centre_basic", "north": { "true": { "submodel": {"north": { "model": "boe:energy_cell_connection_basic" }} }, "false": {} }, "east": { "true": { "submodel": {"east": { "model": "boe:energy_cell_connection_basic", "y": 90 }} }, "false": {} }, "south": { "true": { "submodel": {"south": { "model": "boe:energy_cell_connection_basic", "y": 180 }} }, "false": {} }, "west": { "true": { "submodel": {"west": { "model": "boe:energy_cell_connection_basic", "y": 270 }} }, "false": {} }, "up": { "true": { "submodel": {"up": { "model": "boe:energy_cell_connection_basic", "x": 270 }} }, "false": {} }, "down": { "true": { "submodel": {"down": { "model": "boe:energy_cell_connection_basic", "x": 90 }} }, "false": {} } }, "advanced": { "model": "boe:energy_cell_centre_advanced", "north": { "true": { "submodel": {"north": { "model": "boe:energy_cell_connection_advanced" }} }, "false": {} }, "east": { "true": { "submodel": {"east": { "model": "boe:energy_cell_connection_advanced", "y": 90 }} }, "false": {} }, "south": { "true": { "submodel": {"south": { "model": "boe:energy_cell_connection_advanced", "y": 180 }} }, "false": {} }, "west": { "true": { "submodel": {"west": { "model": "boe:energy_cell_connection_advanced", "y": 270 }} }, "false": {} }, "up": { "true": { "submodel": {"up": { "model": "boe:energy_cell_connection_advanced", "x": 270 }} }, "false": {} }, "down": { "true": { "submodel": {"down": { "model": "boe:energy_cell_connection_advanced", "x": 90 }} }, "false": {} } } } } } Block Models: energy_cell_connection_basic.json: { "textures": { "particle": "boe:blocks/machine_basic", "0": "boe:blocks/energy_cell_centre_basic", "3": "boe:blocks/machine_basic" }, "elements": [ { "name": "Connection Base", "from": [ 7.0, 7.0, 1.0 ], "to": [ 9.0, 9.0, 4.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "up": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "down": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] } } }, { "name": "Connection", "from": [ 6.0, 6.0, 0.0 ], "to": [ 10.0, 10.0, 1.0 ], "faces": { "north": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }, "south": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }, "up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] }, "down": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] } } } ] } energy_cell_connection_advanced.json: { "textures": { "particle": "boe:blocks/machine_advanced", "0": "boe:blocks/energy_cell_centre_advanced", "3": "boe:blocks/machine_advanced" }, "elements": [ { "name": "Connection Base", "from": [ 7.0, 7.0, 1.0 ], "to": [ 9.0, 9.0, 4.0 ], "faces": { "north": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "up": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] }, "down": { "texture": "#0", "uv": [ 0.0, 6.0, 4.0, 10.0 ] } } }, { "name": "Connection", "from": [ 6.0, 6.0, 0.0 ], "to": [ 10.0, 10.0, 1.0 ], "faces": { "north": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }, "south": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#3", "uv": [ 0.0, 0.0, 1.0, 4.0 ] }, "up": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] }, "down": { "texture": "#3", "uv": [ 0.0, 0.0, 4.0, 1.0 ] } } } ] } energy_cell_centre_basic.json: { "textures": { "particle": "boe:blocks/machine_basic", "0": "boe:blocks/energy_cell_centre_basic", "1": "boe:blocks/ctm/machine_basic", "2": "boe:blocks/energy_cell" }, "elements": [ { "name": "Centre", "from": [ 4.0, 4.0, 4.0 ], "to": [ 12.0, 12.0, 12.0 ], "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "y", "angle": -45.0 }, "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#1", "uv": [ 8.0, 8.0, 16.0, 16.0 ] }, "down": { "texture": "#1", "uv": [ 8.0, 8.0, 16.0, 16.0 ] } } }, { "name": "Energy Cell 1", "from": [ 5.7, 6.0, 2.7 ], "to": [ 6.7, 10.0, 3.7 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 2", "from": [ 9.3, 6.0, 2.7 ], "to": [ 10.3, 10.0, 3.7 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 3", "from": [ 12.3, 6.0, 5.7 ], "to": [ 13.3, 10.0, 6.7 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 4", "from": [ 12.3, 6.0, 9.3 ], "to": [ 13.3, 10.0, 10.3 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 5", "from": [ 9.3, 6.0, 12.3 ], "to": [ 10.3, 10.0, 13.3 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 6", "from": [ 5.699999999999999, 6.0, 12.3 ], "to": [ 6.699999999999999, 10.0, 13.3 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 7", "from": [ 2.6999999999999993, 6.0, 9.3 ], "to": [ 3.6999999999999993, 10.0, 10.3 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 8", "from": [ 2.7, 6.0, 5.7 ], "to": [ 3.7, 10.0, 6.7 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } } ] } energy_cell_centre_advanced.json: { "textures": { "particle": "boe:blocks/machine_advanced", "0": "boe:blocks/energy_cell_centre_advanced", "1": "boe:blocks/ctm/machine_advanced", "2": "boe:blocks/energy_cell" }, "elements": [ { "name": "Centre", "from": [ 4.0, 4.0, 4.0 ], "to": [ 12.0, 12.0, 12.0 ], "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "y", "angle": -45.0 }, "faces": { "north": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "east": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "south": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "west": { "texture": "#0", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "up": { "texture": "#1", "uv": [ 8.0, 8.0, 16.0, 16.0 ] }, "down": { "texture": "#1", "uv": [ 8.0, 8.0, 16.0, 16.0 ] } } }, { "name": "Energy Cell 1", "from": [ 5.7, 6.0, 2.7 ], "to": [ 6.7, 10.0, 3.7 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 2", "from": [ 9.3, 6.0, 2.7 ], "to": [ 10.3, 10.0, 3.7 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 3", "from": [ 12.3, 6.0, 5.7 ], "to": [ 13.3, 10.0, 6.7 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 4", "from": [ 12.3, 6.0, 9.3 ], "to": [ 13.3, 10.0, 10.3 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 5", "from": [ 9.3, 6.0, 12.3 ], "to": [ 10.3, 10.0, 13.3 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 6", "from": [ 5.699999999999999, 6.0, 12.3 ], "to": [ 6.699999999999999, 10.0, 13.3 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 7", "from": [ 2.6999999999999993, 6.0, 9.3 ], "to": [ 3.6999999999999993, 10.0, 10.3 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } }, { "name": "Energy Cell 8", "from": [ 2.7, 6.0, 5.7 ], "to": [ 3.7, 10.0, 6.7 ], "faces": { "north": { "texture": "#2", "uv": [ 0.0, 0.0, 2.0, 8.0 ] }, "east": { "texture": "#2", "uv": [ 2.0, 0.0, 4.0, 8.0 ] }, "south": { "texture": "#2", "uv": [ 4.0, 0.0, 6.0, 8.0 ] }, "west": { "texture": "#2", "uv": [ 6.0, 0.0, 8.0, 8.0 ] }, "up": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 1.0, 1.0 ] } } } ] } Error message: [20:34:28] [Client thread/ERROR] [FML]: Exception loading model for variant boe:energy_cell#down=false,east=false,north=true,south=true,type=basic,up=false,west=true for blockstate "boe:energy_cell[down=false,east=false,north=true,south=true,type=basic,up=false,west=true]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model boe:energy_cell#down=false,east=false,north=true,south=true,type=basic,up=false,west=true with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:264) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:252) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:122) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:541) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:387) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:78) ~[ModelBlockDefinition.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1257) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] ... 21 more [20:34:28] [Client thread/ERROR] [FML]: Exception loading model for variant boe:energy_cell#down=false,east=false,north=false,south=true,type=advanced,up=true,west=true for blockstate "boe:energy_cell[down=false,east=false,north=false,south=true,type=advanced,up=true,west=true]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model boe:energy_cell#down=false,east=false,north=false,south=true,type=advanced,up=true,west=true with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:264) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:252) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:122) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:541) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:387) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:78) ~[ModelBlockDefinition.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1257) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] ... 21 more [20:34:28] [Client thread/ERROR] [FML]: Exception loading model for variant boe:energy_cell#down=false,east=false,north=false,south=true,type=basic,up=false,west=true for blockstate "boe:energy_cell[down=false,east=false,north=false,south=true,type=basic,up=false,west=true]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model boe:energy_cell#down=false,east=false,north=false,south=true,type=basic,up=false,west=true with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:264) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:252) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:122) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:541) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:387) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:78) ~[ModelBlockDefinition.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1257) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] ... 21 more [20:34:28] [Client thread/ERROR] [FML]: Exception loading model for variant boe:energy_cell#down=false,east=false,north=false,south=false,type=basic,up=false,west=true for blockstate "boe:energy_cell[down=false,east=false,north=false,south=false,type=basic,up=false,west=true]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model boe:energy_cell#down=false,east=false,north=false,south=false,type=basic,up=false,west=true with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:264) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:252) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:159) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:122) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:541) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:387) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?] at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_131] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:26) [start/:?] Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:78) ~[ModelBlockDefinition.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1257) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] ... 21 more Please help!
  14. Can you attach the Sky Renderer please, it is more than likely an error in there
×
×
  • Create New...

Important Information

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