Résolu Problème avec mon gradle
-
Hello, j’ai un problème avec mon gradle, tout d’abord le mods ne vient pas de, mais d’un ami à moi MrLeBets, je l’ai donc contacté avant de posté ce sujet, il m’a aussi conseillé de venir cherché de l’aide ici Tout d’abord, Joyeuse année 2018 éè, ensuite voici l’une des erreur que j’ai:
location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1173: error: cannot find symbol if(worldObj.isAnyLiquid(this.boundingBox.copy().offset(0, type.maxDepth, 0))) ^ symbol: method isAnyLiquid(AxisAlignedBB) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1184: error: cannot find symbol if(!worldObj.isRemote && this.seats.length > 0 && lockOnSoundDelay <= 0) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1191: error: cannot find symbol for (Object obj : worldObj.loadedEntityList) ^ symbol: variable loadedEntityList location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1232: error: cannot find symbol if(!worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1239: error: cannot find symbol worldObj.spawnEntityInWorld(seats*); ^ symbol: method spawnEntityInWorld(EntitySeat) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1247: error: cannot find symbol worldObj.spawnEntityInWorld(wheels*); ^ symbol: method spawnEntityInWorld(EntityWheel) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1285: error: cannot find symbol Block block = worldObj.getBlock(blockX, blockY, blockZ); ^ symbol: method getBlock(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1291: error: cannot find symbol ArrayList <itemstack>stacks = block.getDrops(worldObj, blockX, blockY, blockZ, worldObj.getBlockMetadata(blockX, blockY, blockZ), 0); ^ symbol: method getBlockMetadata(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1296: error: cannot find symbol if(!InventoryHelper.addItemStackToInventory(driveableData, stack, driverIsCreative()) && !worldObj.isRemote && worldObj.getGameRules().getGameRuleBooleanValue("doTileDrops")) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1296: error: cannot find symbol if(!InventoryHelper.addItemStackToInventory(driveableData, stack, driverIsCreative()) && !worldObj.isRemote && worldObj.getGameRules().getGameRuleBooleanValue("doTileDrops")) ^ symbol: method getGameRules() location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1298: error: cannot find symbol worldObj.spawnEntityInWorld(new EntityItem(worldObj, blockX + 0.5F, blockY + 0.5F, blockZ + 0.5F, stack)); ^ symbol: method spawnEntityInWorld(EntityItem) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1302: error: cannot find symbol ArrayList <itemstack>stacks = block.getDrops(worldObj, blockX, blockY, blockZ, worldObj.getBlockMetadata(blockX, blockY, blockZ), 0); ^ symbol: method getBlockMetadata(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1306: error: cannot find symbol worldObj.spawnEntityInWorld(new EntityItem(worldObj, blockX + 0.5F, blockY + 0.5F, blockZ + 0.5F, stack)); ^ symbol: method spawnEntityInWorld(EntityItem) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1310: error: cannot find symbol worldObj.func_147480_a(blockX, blockY, blockZ, false); ^ symbol: method func_147480_a(int,int,int,boolean) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1330: error: cannot find symbol if(worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1330: error: illegal start of type if(worldObj.isRemote) ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1336: error: cannot find symbol worldObj.spawnParticle("flame", posX + pos.x, posY + pos.y, posZ + pos.z, 0, 0, 0); ^ symbol: method spawnParticle(String,double,double,double,int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1342: error: cannot find symbol worldObj.spawnParticle(part.health < part.maxHealth / 4 ? "largesmoke" : "smoke", posX + pos.x, posY + pos.y, posZ + pos.z, 0, 0, 0); ^ symbol: method spawnParticle(part.healt[…]moke",double,double,double,int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1349: error: cannot find symbol if(worldObj.isRaining() && rand.nextInt(40) == 0) ^ symbol: method isRaining() location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1354: error: cannot find symbol if(worldObj.getBlock(MathHelper.floor_double(posX + pos.x), MathHelper.floor_double(posY + pos.y), MathHelper.floor_double(posZ + pos.z)).getMaterial() == Material.water) ^ symbol: method getBlock(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1362: error: cannot find symbol if(worldObj.getBlock(MathHelper.floor_double(posX + pos.x), MathHelper.floor_double(posY + pos.y), MathHelper.floor_double(posZ + pos.z)).getMaterial() == Material.lava) ^ symbol: method getBlock(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1472: error: cannot find symbol if(!this.worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1486: error: cannot find symbol if(!worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1590: error: cannot find symbol if(worldObj.isRemote) return; ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1590: error: illegal start of type if(worldObj.isRemote) return; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1730: error: cannot find symbol if(FlansMod.DEBUG && worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1732: error: cannot find symbol worldObj.spawnEntityInWorld(new EntityDebugVector(worldObj, new Vector3f(lastPos), Vector3f.sub(currentRelPos, lastRelPos, null), 10, 1F, 0F, 0F)); ^ symbol: method spawnEntityInWorld(EntityDebugVector) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1735: error: cannot find symbol MovingObjectPosition hit = worldObj.rayTraceBlocks(lastPos, currentPos, crashInWater); ^ symbol: method rayTraceBlocks(Vec3,Vec3,boolean) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1741: error: cannot find symbol Block blockHit = worldObj.getBlock(x, y, z); ^ symbol: method getBlock(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1742: error: cannot find symbol int meta = worldObj.getBlockMetadata(x, y, z); ^ symbol: method getBlockMetadata(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1761: error: cannot find symbol worldObj.playAuxSFXAtEntity(null, 2001, x, y, z, Block.getIdFromBlock(blockHit) + (meta << 12)); ^ symbol: method playAuxSFXAtEntity(<null>,int,int,int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1763: error: cannot find symbol if(!worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1766: error: cannot find symbol worldObj.setBlockToAir(x, y, z); ^ symbol: method setBlockToAir(int,int,int) location: variable worldObj of type World
Et voici ma configuration gradle:
buildscript { repositories { mavenCentral() maven { name = "forge" url = "http://files.minecraftforge.net/maven" } maven { name = "sonatype" url = "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT' } } apply plugin: 'idea' idea { module { inheritOutputDirs = true } } apply plugin: 'forge' version = "4.10.0" group= "com.flansmod" archivesBaseName = "Union-RolePlay" minecraft { version = "1.7.10-10.13.4.1558-1.7.10" runDir = "eclipse" replace "@ALLOWED_VERSION@", "[4.10,4.11)" replace "@MC_VERSION@", project.minecraft.version replace "@VERSION@", project.version replaceIn "FlansMod.java" } 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, thats not the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } } version = "${project.minecraft.version}-${project.version}" task mechaParts(type: Jar) { from 'eclipse/Flan/Mecha Parts Pack' baseName = 'Mecha Parts' appendix = 'Content Pack' } task modernWeapons(type: Jar) { from (zipTree("${destinationDir}/${archiveName}")) { include 'com/flansmod/client/model/mw/'} from 'eclipse/Flan/Modern Weapons Pack' baseName = 'Modern Warfare' appendix = 'Content Pack' } task nerf(type: Jar) { from (zipTree("${destinationDir}/${archiveName}")) { include 'com/flansmod/client/model/nerf/'} from 'eclipse/Flan/Nerf Pack' baseName = 'Nerf' appendix = 'Content Pack' } task simpleParts(type: Jar) { from 'eclipse/Flan/Parts Pack' baseName = 'Simple Parts' appendix = 'Content Pack' } task titan(type: Jar) { from (zipTree("${destinationDir}/${archiveName}")) { include 'com/flansmod/client/model/titan/'} from 'eclipse/Flan/Titan Pack' baseName = 'Titan' appendix = 'Content Pack' } task ww2(type: Jar) { from (zipTree("${destinationDir}/${archiveName}")) { include 'com/flansmod/client/model/ww2/'} from 'eclipse/Flan/WW2 Pack' baseName = 'WW2' appendix = 'Content Pack' } task yeOlde(type: Jar) { from (zipTree("${destinationDir}/${archiveName}")) { include 'com/flansmod/client/model/yeolde/'} from 'eclipse/Flan/Ye Olde Pack' baseName = 'Ye Olde' appendix = 'Content Pack' } task zombie(type: Jar) { from (zipTree("${destinationDir}/${archiveName}")) { include 'com/flansmod/client/model/zombie/'} from 'eclipse/Flan/Zombie Pack' baseName = 'Zombie' appendix = 'Content Pack' } task contentPacks() { dependsOn mechaParts dependsOn modernWeapons dependsOn nerf dependsOn simpleParts dependsOn titan dependsOn ww2 dependsOn yeOlde dependsOn zombie } task clearOutput(type: Delete) { delete 'build/output/' } task outputJar(type: Jar) { destinationDir = new File("build/output/mods/") from (zipTree("build/libs/${archiveName}")) { exclude '**/mw/' exclude '**/nerf/' exclude '**/titan/' exclude '**/ww2/' exclude '**/yeolde/' exclude '**/zombie/' } } task outputPacks(type: Copy) { from ('build/libs/') { include "**/*${version}.jar" exclude "**/Flan's Mod*.jar" } into 'build/output/Flan/' } build { dependsOn contentPacks dependsOn clearOutput dependsOn outputJar dependsOn outputPacks } apply plugin: 'java' sourceCompatibility = 1.8 targetCompatibility = 1.8 compileJava.options.encoding = 'UTF-8' tasks.withType(JavaCompile) { options.encoding = 'UTF-8' }
Merci de vos réponse !</null></itemstack></itemstack>
-
Visiblement toutes les fonctions en rapport avec le world dans la classe EntityDriveable ne passe pas.
Tu aurait pas importé une autre classe world ? -
Hey, j’ai bien vérifié et c’est un import de net.minecraft pour le world, donc oui sur est certain ^^
-
Possible d’avoir la classe en question ?
-
La voici: https://pastebin.com/JHKBxiqE
C’est une classe de Flans, donc ca méthonnerai qu’il y ai une erreur :x
-
Je ne vois rien d’anormal en effet.
Tu peux envoyer les logs complet de gradle ? (il y a un fichier de log dans le dossier .gradle normalement). -
Les voici:
**************************** Powered By MCP: http://modcoderpack.com/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn, bspkrs MCP Data version : unknown **************************** Found AccessTransformer in main resources: craftingmod_at.cfg :compileApiJava UP-TO-DATE :processApiResources UP-TO-DATE :apiClasses UP-TO-DATE :sourceMainJava UP-TO-DATE :compileJavaC:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityAerationSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelAeration; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityAerationSpecialRenderer.java:13: error: cannot find symbol public static ModelAeration model = new ModelAeration(); ^ symbol: class ModelAeration location: class TileEntityAerationSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityBarrierSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelBarriere; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityBarrierSpecialRenderer.java:13: error: cannot find symbol public static ModelBarriere model = new ModelBarriere(); ^ symbol: class ModelBarriere location: class TileEntityBarrierSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityBoutonSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelBouton; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityBoutonSpecialRenderer.java:6: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelBureauD; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityBoutonSpecialRenderer.java:16: error: cannot find symbol public static ModelBouton model = new ModelBouton(); ^ symbol: class ModelBouton location: class TileEntityBoutonSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityBureauDSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelBouton; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityBureauDSpecialRenderer.java:6: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelBureauD; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityBureauDSpecialRenderer.java:15: error: cannot find symbol public static ModelBureauD model = new ModelBureauD(); ^ symbol: class ModelBureauD location: class TileEntityBureauDSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCafeSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelCafe; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCafeSpecialRenderer.java:13: error: cannot find symbol public static ModelCafe model = new ModelCafe(); ^ symbol: class ModelCafe location: class TileEntityCafeSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCaisseSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelCaisse; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCaisseSpecialRenderer.java:13: error: cannot find symbol public static ModelCaisse model = new ModelCaisse(); ^ symbol: class ModelCaisse location: class TileEntityCaisseSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCameraSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelCamera; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCameraSpecialRenderer.java:13: error: cannot find symbol public static ModelCamera model = new ModelCamera(); ^ symbol: class ModelCamera location: class TileEntityCameraSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCocaSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelDistributeur; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCocaSpecialRenderer.java:13: error: cannot find symbol public static ModelDistributeur model = new ModelDistributeur(); ^ symbol: class ModelDistributeur location: class TileEntityCocaSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCompteurSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelCompteur; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityCompteurSpecialRenderer.java:13: error: cannot find symbol public static ModelCompteur model = new ModelCompteur(); ^ symbol: class ModelCompteur location: class TileEntityCompteurSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityEssenceSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelEssence; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityEssenceSpecialRenderer.java:13: error: cannot find symbol public static ModelEssence model = new ModelEssence(); ^ symbol: class ModelEssence location: class TileEntityEssenceSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityEtalageSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelEtalage; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityEtalageSpecialRenderer.java:13: error: cannot find symbol public static ModelEtalage model = new ModelEtalage(); ^ symbol: class ModelEtalage location: class TileEntityEtalageSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityFootSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelFoot; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityFootSpecialRenderer.java:13: error: cannot find symbol public static ModelFoot model = new ModelFoot(); ^ symbol: class ModelFoot location: class TileEntityFootSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityGarageSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelGarage; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityGarageSpecialRenderer.java:13: error: cannot find symbol public static ModelGarage model = new ModelGarage(); ^ symbol: class ModelGarage location: class TileEntityGarageSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityPanderieSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelPanderie; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityPanderieSpecialRenderer.java:13: error: cannot find symbol public static ModelPanderie model = new ModelPanderie(); ^ symbol: class ModelPanderie location: class TileEntityPanderieSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityPerceuseSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelPerce; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityPerceuseSpecialRenderer.java:13: error: cannot find symbol public static ModelPerce model = new ModelPerce(); ^ symbol: class ModelPerce location: class TileEntityPerceuseSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityPhoneFixSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelPhone; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityPhoneFixSpecialRenderer.java:13: error: cannot find symbol public static ModelPhone model = new ModelPhone(); ^ symbol: class ModelPhone location: class TileEntityPhoneFixSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityStandSpecialRenderer.java:5: error: package fr.mrlebest.craftingmod.model does not exist import fr.mrlebest.craftingmod.model.ModelStand; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\fr\mrlebest\craftingmod\renderer\TileEntityStandSpecialRenderer.java:13: error: cannot find symbol public static ModelStand model = new ModelStand(); ^ symbol: class ModelStand location: class TileEntityStandSpecialRenderer C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:288: error: cannot find symbol case 5: return new GuiGunBox(player.inventory, ((BlockGunBox)world.getBlock(x, y, z)).type); ^ symbol: method getBlock(int,int,int) location: variable world of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:294: error: cannot find symbol case 11: return new GuiArmourBox(player.inventory, ((BlockArmourBox)world.getBlock(x, y, z)).type); ^ symbol: method getBlock(int,int,int) location: variable world of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:403: error: cannot find symbol if(player.worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:403: error: illegal start of type if(player.worldObj.isRemote) ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:412: error: cannot find symbol if(player.worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:412: error: illegal start of type if(player.worldObj.isRemote) ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:421: error: cannot find symbol if(driver.worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:421: error: illegal start of type if(driver.worldObj.isRemote) ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:487: error: cannot find symbol if (i == 1 && theWorld.rand.nextInt(3) == 0) ^ symbol: variable rand location: variable theWorld of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\ClientProxy.java:635: error: cannot find symbol float f = theWorld.rand.nextFloat() * 0.5F + 0.35F; ^ symbol: variable rand location: variable theWorld of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\client\model\RenderMecha.java:423: error: cannot find symbol Tessellator tessellator = Tessellator.instance; ^ symbol: variable instance location: class Tessellator C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:247: error: cannot find symbol worldObj.spawnEntityInWorld(seats*); ^ symbol: method spawnEntityInWorld(EntitySeat) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:256: error: cannot find symbol worldObj.spawnEntityInWorld(wheels*); ^ symbol: method spawnEntityInWorld(EntityWheel) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:380: error: cannot find symbol worldObj.spawnEntityInWorld(camera); ^ symbol: method spawnEntityInWorld(EntityLivingBase) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:453: error: cannot find symbol if(worldObj.isRemote || isDead) return true; ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:480: error: cannot find symbol Entity entity2 = this.worldObj.getEntityByID(entity.getEntityId()); ^ symbol: method getEntityByID(int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:503: error: cannot find symbol if(worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:503: error: illegal start of type if(worldObj.isRemote) ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:568: error: cannot find symbol if(worldObj.isRemote && ticksExisted % 5 == 0) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:579: error: cannot find symbol if(worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:579: error: illegal start of type if(worldObj.isRemote) ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:617: error: cannot find symbol if(!worldObj.isRemote && key == 9 && getDriveableType().modePrimary == EnumFireMode.SEMIAUTO) //Primary ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:622: error: cannot find symbol else if(!worldObj.isRemote && key == 8 && getDriveableType().modeSecondary == EnumFireMode.SEMIAUTO) //Secondary ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:633: error: cannot find symbol if(worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:633: error: illegal start of type if(worldObj.isRemote) ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:771: error: cannot find symbol worldObj.spawnEntityInWorld(((ItemShootable)bulletItemStack.getItem()).getEntity(worldObj, Vector3f.add(new Vector3f(posX, posY, posZ), gunVec, null), lookVector, (EntityLivingBase)seats[0].riddenByEntity, gunType.bulletSpread / 2, gunType.damage, shellSpeed,bulletItemStack.getItemDamage(), type)); ^ symbol: method spawnEntityInWorld(EntityShootable) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:834: error: cannot find symbol worldObj.spawnEntityInWorld(bulletEntity); ^ symbol: method spawnEntityInWorld(EntityShootable) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:898: error: cannot find symbol worldObj.spawnEntityInWorld(bulletEntity); //SHELL ^ symbol: method spawnEntityInWorld(EntityShootable) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1080: error: cannot find symbol for(int i = 0; i < worldObj.loadedEntityList.size(); i++) ^ symbol: variable loadedEntityList location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1082: error: cannot find symbol Object obj = worldObj.loadedEntityList.get(i); ^ symbol: variable loadedEntityList location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1161: error: cannot find symbol if(worldObj.isAnyLiquid(this.boundingBox) && !hugeBoat) ^ symbol: method isAnyLiquid(AxisAlignedBB) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1173: error: cannot find symbol if(worldObj.isAnyLiquid(this.boundingBox.copy().offset(0, type.maxDepth, 0))) ^ symbol: method isAnyLiquid(AxisAlignedBB) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1184: error: cannot find symbol if(!worldObj.isRemote && this.seats.length > 0 && lockOnSoundDelay <= 0) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1191: error: cannot find symbol for (Object obj : worldObj.loadedEntityList) ^ symbol: variable loadedEntityList location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1232: error: cannot find symbol if(!worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1239: error: cannot find symbol worldObj.spawnEntityInWorld(seats*); ^ symbol: method spawnEntityInWorld(EntitySeat) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1247: error: cannot find symbol worldObj.spawnEntityInWorld(wheels*); ^ symbol: method spawnEntityInWorld(EntityWheel) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1285: error: cannot find symbol Block block = worldObj.getBlock(blockX, blockY, blockZ); ^ symbol: method getBlock(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1291: error: cannot find symbol ArrayList <itemstack>stacks = block.getDrops(worldObj, blockX, blockY, blockZ, worldObj.getBlockMetadata(blockX, blockY, blockZ), 0); ^ symbol: method getBlockMetadata(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1296: error: cannot find symbol if(!InventoryHelper.addItemStackToInventory(driveableData, stack, driverIsCreative()) && !worldObj.isRemote && worldObj.getGameRules().getGameRuleBooleanValue("doTileDrops")) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1296: error: cannot find symbol if(!InventoryHelper.addItemStackToInventory(driveableData, stack, driverIsCreative()) && !worldObj.isRemote && worldObj.getGameRules().getGameRuleBooleanValue("doTileDrops")) ^ symbol: method getGameRules() location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1298: error: cannot find symbol worldObj.spawnEntityInWorld(new EntityItem(worldObj, blockX + 0.5F, blockY + 0.5F, blockZ + 0.5F, stack)); ^ symbol: method spawnEntityInWorld(EntityItem) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1302: error: cannot find symbol ArrayList <itemstack>stacks = block.getDrops(worldObj, blockX, blockY, blockZ, worldObj.getBlockMetadata(blockX, blockY, blockZ), 0); ^ symbol: method getBlockMetadata(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1306: error: cannot find symbol worldObj.spawnEntityInWorld(new EntityItem(worldObj, blockX + 0.5F, blockY + 0.5F, blockZ + 0.5F, stack)); ^ symbol: method spawnEntityInWorld(EntityItem) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1310: error: cannot find symbol worldObj.func_147480_a(blockX, blockY, blockZ, false); ^ symbol: method func_147480_a(int,int,int,boolean) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1330: error: cannot find symbol if(worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1330: error: illegal start of type if(worldObj.isRemote) ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1336: error: cannot find symbol worldObj.spawnParticle("flame", posX + pos.x, posY + pos.y, posZ + pos.z, 0, 0, 0); ^ symbol: method spawnParticle(String,double,double,double,int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1342: error: cannot find symbol worldObj.spawnParticle(part.health < part.maxHealth / 4 ? "largesmoke" : "smoke", posX + pos.x, posY + pos.y, posZ + pos.z, 0, 0, 0); ^ symbol: method spawnParticle(part.healt[…]moke",double,double,double,int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1349: error: cannot find symbol if(worldObj.isRaining() && rand.nextInt(40) == 0) ^ symbol: method isRaining() location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1354: error: cannot find symbol if(worldObj.getBlock(MathHelper.floor_double(posX + pos.x), MathHelper.floor_double(posY + pos.y), MathHelper.floor_double(posZ + pos.z)).getMaterial() == Material.water) ^ symbol: method getBlock(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1362: error: cannot find symbol if(worldObj.getBlock(MathHelper.floor_double(posX + pos.x), MathHelper.floor_double(posY + pos.y), MathHelper.floor_double(posZ + pos.z)).getMaterial() == Material.lava) ^ symbol: method getBlock(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1472: error: cannot find symbol if(!this.worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1486: error: cannot find symbol if(!worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1590: error: cannot find symbol if(worldObj.isRemote) return; ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1590: error: illegal start of type if(worldObj.isRemote) return; ^ C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1730: error: cannot find symbol if(FlansMod.DEBUG && worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1732: error: cannot find symbol worldObj.spawnEntityInWorld(new EntityDebugVector(worldObj, new Vector3f(lastPos), Vector3f.sub(currentRelPos, lastRelPos, null), 10, 1F, 0F, 0F)); ^ symbol: method spawnEntityInWorld(EntityDebugVector) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1735: error: cannot find symbol MovingObjectPosition hit = worldObj.rayTraceBlocks(lastPos, currentPos, crashInWater); ^ symbol: method rayTraceBlocks(Vec3,Vec3,boolean) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1741: error: cannot find symbol Block blockHit = worldObj.getBlock(x, y, z); ^ symbol: method getBlock(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1742: error: cannot find symbol int meta = worldObj.getBlockMetadata(x, y, z); ^ symbol: method getBlockMetadata(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1761: error: cannot find symbol worldObj.playAuxSFXAtEntity(null, 2001, x, y, z, Block.getIdFromBlock(blockHit) + (meta << 12)); ^ symbol: method playAuxSFXAtEntity(<null>,int,int,int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1763: error: cannot find symbol if(!worldObj.isRemote) ^ symbol: variable isRemote location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\com\flansmod\common\driveables\EntityDriveable.java:1766: error: cannot find symbol worldObj.setBlockToAir(x, y, z); ^ symbol: method setBlockToAir(int,int,int) location: variable worldObj of type World C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\GLLoader\GLApp.java:3706: warning: non-varargs call of varargs method with inexact argument type for last parameter; M = object.getClass().getMethod(methodName, null); ^ cast to Class for a varargs call cast to Class[] for a non-varargs call and to suppress this warning C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\GLLoader\GLApp.java:3737: warning: non-varargs call of varargs method with inexact argument type for last parameter; method.invoke(object, null); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning C:\Users\ph1823\Desktop\union-roleplay\build\sources\java\GLLoader\GLApp.java:3757: warning: non-varargs call of varargs method with inexact argument type for last parameter; method.invoke(this, null); ^ cast to Object for a varargs call cast to Object[] for a non-varargs call and to suppress this warning Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 100 errors 3 warnings FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details. * Try: Run with –stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 42.61 secs ```</null></itemstack></itemstack>
-
Tu as des packages manquant.
Eclipse ne t’indique aucune erreur lorsque tu es sur la workspace ? -
J’ai bien vérifier, utilisant intell jidea j’ai ouvert toutes les class, et on il n’y a vraiment pas d’erreur, j’ai même fait un clean cleanEclipse cleanCache et re setupDecompWorkspace idea genIntellJRuns et rien à faire, ca met tjr ca quand je veux runClient ou même build …
-
Je ne sais pas d’où ça peut venir alors
-
c’est un bug de idea j’ai deja eu ce soucis faut refaire un workspace
-
Hello, j’ai fais un clean CleanCache cleanIdea cleanEclipse, et cela ne chance pas, j’utilise irectement le fichier gradlew.bat la, mais quand je build ca met les même erreurs
-
Problème résolu ! En faite, l’auteur du mods à oublié de mettre un package qu’il avait mis en libs mais pas en download ! Merci à vous de votre aide