- 11
- 1
- 3
Не так давно начал себя пробовать в моддинге, ну и захотелось с тинкером поработать. Какое-то время помучился с билд градлом, но с помощью гайдов на этом форуме справился в итоге. Теперь оно при таске compileJava выдает 100 ошибок, пробовал разные версии джавы, но не помогает.
Сама ошибка:
build.gradle на всякий
Уже несколько дней пытаюсь мод сбилдить, вообще ничего. У товарища также 100 ошибок. Пытался сбилдить его сборку другого мода, правда на 1.7.10, все получилось.
Сама ошибка:
Ошибка:
0:12:13: Executing task 'runClient'...
[QUOTE] Task :extractMcpMappings SKIPPED
Task :deobfCompileDeobfDepTask0 SKIPPED
Task :deobfCompileDeobfDepTask1 SKIPPED
Task :deobfCompileDeobfDepTask2 SKIPPED
Task :deobfCompileDeobfDepTask3
Task :deobfCompileDeobfDepTask4
Task :deobfCompileDeobfDepTask5 SKIPPED
Task :deobfCompileRemapDepSourcesTask10 SKIPPED
Task :deobfCompileRemapDepSourcesTask6 SKIPPED
Task :deobfCompileRemapDepSourcesTask7 SKIPPED
Task :deobfCompileRemapDepSourcesTask8 SKIPPED
Task :deobfCompileRemapDepSourcesTask9 SKIPPED
Task :deobfCompileDummyTask
Task :deobfProvidedDummyTask
Task :sourceApiJava UP-TO-DATE
Task :compileApiJava NO-SOURCE
Task :processApiResources NO-SOURCE
Task :apiClasses UP-TO-DATE
Task :sourceMainJava UP-TO-DATE[/QUOTE]
[QUOTE] Task :compileJava[/QUOTE]
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\CommonProxy.java:124: error: damagesTerrain has private access in Explosion
if(!explosion.damagesTerrain) {
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ClientProxy.java:251: error: cannot find symbol
return new ModelResourceLocation(new ResourceLocation(baseLocation.getResourceDomain(),
^
symbol: method getResourceDomain()
location: variable baseLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ClientProxy.java:252: error: cannot find symbol
baseLocation.getResourcePath() + suffix),
^
symbol: method getResourcePath()
location: variable baseLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\CustomFontRenderer.java:42: error: cannot find symbol
int i = this.sizeStringToWidth(str, wrapWidth);
^
symbol: method sizeStringToWidth(String,int)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\CustomFontRenderer.java:88: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\CustomFontRenderer.java:91: error: renderString(String,float,float,int,boolean) has private access in FontRenderer
return super.renderString(text, x, y, color, dropShadow);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\ToolModelLoader.java:45: error: cannot find symbol
return modelLocation.getResourcePath().endsWith(EXTENSION); // tinkertoolmodel extension. Foo.tcon.json
^
symbol: method getResourcePath()
location: variable modelLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\ToolModelLoader.java:139: error: cannot find symbol
String toolName = FilenameUtils.removeExtension(modelLocation.getResourcePath().substring(12));
^
symbol: method getResourcePath()
location: variable modelLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\ToolModelLoader.java:143: error: cannot find symbol
mods = ModelLoaderRegistry.getModel(ModifierModelLoader.getLocationForToolModifiers(modelLocation.getResourceDomain(), toolName));
^
symbol: method getResourceDomain()
location: variable modelLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\ToolModelLoader.java:156: error: cannot find symbol
IModel extraModel = ModelLoaderRegistry.getModel(ModifierModelLoader.getLocationForToolModifiers(modelLocation.getResourceDomain(), modifierName));
^
symbol: method getResourceDomain()
location: variable modelLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\MaterialModelLoader.java:47: error: cannot find symbol
return modelLocation.getResourcePath()
^
symbol: method getResourcePath()
location: variable modelLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\MaterialModelLoader.java:85: error: cannot find symbol
String path = location.getResourcePath();
^
symbol: method getResourcePath()
location: variable location of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\MaterialModelLoader.java:87: error: cannot find symbol
return new ResourceLocation(location.getResourceDomain(), path);
^
symbol: method getResourceDomain()
location: variable location of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\ModifierModelLoader.java:64: error: cannot find symbol
return modelLocation.getResourcePath().endsWith(EXTENSION); // tinkermodifier extension. Foo.mod.json
^
symbol: method getResourcePath()
location: variable modelLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\ModifierModelLoader.java:72: error: cannot find symbol
String toolname = FilenameUtils.getBaseName(modelLocation.getResourcePath());
^
symbol: method getResourcePath()
location: variable modelLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\ModifierModelLoader.java:82: error: cannot find symbol
String location = modelLocation.getResourcePath().substring(17); // remove models/modifiers/
^
symbol: method getResourcePath()
location: variable modelLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\client\model\ModifierModelLoader.java:83: error: cannot find symbol
ResourceLocation toolModifiers = new ResourceLocation(modelLocation.getResourceDomain(), "models/item/" + location);
^
symbol: method getResourceDomain()
location: variable modelLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\tools\ToolCore.java:171: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\tools\ToolCore.java:176: error: cannot find symbol
return super.getStrVsBlock(stack, state);
^
symbol: method getStrVsBlock(ItemStack,IBlockState)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\tools\ToolCore.java:466: error: cannot find symbol
return getRegistryName().getResourcePath();
^
symbol: method getResourcePath()
location: class ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\tools\ToolCore.java:472: error: cannot find symbol
return Util.translate(getUnlocalizedName() + ".name");
^
symbol: method getUnlocalizedName()
location: class ToolCore
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\tools\ToolCore.java:482: error: cannot find symbol
return Util.translate(getUnlocalizedName() + ".desc");
^
symbol: method getUnlocalizedName()
location: class ToolCore
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\item\ItemTinkerBook.java:42: error: cannot find symbol
if(I18n.canTranslate(super.getUnlocalizedName(stack) + ".tooltip")) {
^
symbol: method getUnlocalizedName(ItemStack)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\item\ItemTinkerBook.java:43: error: cannot find symbol
tooltip.addAll(LocUtils.getTooltips(TextFormatting.GRAY.toString() + LocUtils.translateRecursive(super.getUnlocalizedName(stack) + ".tooltip")));
^
symbol: method getUnlocalizedName(ItemStack)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ModelRegisterUtil.java:104: error: cannot find symbol
String path = "tools/" + itemLocation.getResourcePath() + ToolModelLoader.EXTENSION;
^
symbol: method getResourcePath()
location: variable itemLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ModelRegisterUtil.java:106: error: cannot find symbol
ResourceLocation location = new ResourceLocation(itemLocation.getResourceDomain(), path);
^
symbol: method getResourceDomain()
location: variable itemLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ModelRegisterUtil.java:114: error: cannot find symbol
if(!location.getResourcePath().endsWith(ToolModelLoader.EXTENSION)) {
^
symbol: method getResourcePath()
location: variable location of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ModelRegisterUtil.java:132: error: cannot find symbol
String path = "parts/" + itemLocation.getResourcePath() + MaterialModelLoader.EXTENSION;
^
symbol: method getResourcePath()
location: variable itemLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ModelRegisterUtil.java:133: error: cannot find symbol
ResourceLocation location = new ResourceLocation(itemLocation.getResourceDomain(), path);
^
symbol: method getResourceDomain()
location: variable itemLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ModelRegisterUtil.java:148: error: cannot find symbol
itemLocation = new ResourceLocation(itemLocation.getResourceDomain(),
^
symbol: method getResourceDomain()
location: variable itemLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ModelRegisterUtil.java:149: error: cannot find symbol
itemLocation.getResourcePath() + MaterialModelLoader.EXTENSION);
^
symbol: method getResourcePath()
location: variable itemLocation of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\ModelRegisterUtil.java:156: error: cannot find symbol
if(!location.getResourcePath().endsWith(MaterialModelLoader.EXTENSION)) {
^
symbol: method getResourcePath()
location: variable location of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\TinkerNetwork.java:102: error: cannot find symbol
Chunk chunk = world.getChunkFromBlockCoords(pos);
^
symbol: method getChunkFromBlockCoords(BlockPos)
location: variable world of type WorldServer
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\TinkerPulse.java:65: error: cannot find symbol
block.setUnlocalizedName(prefixedName);
^
symbol: method setUnlocalizedName(String)
location: variable block of type T
where T is a type-variable:
T extends Block declared in method <T>registerBlock(IForgeRegistry<Block>,T,String)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\TinkerPulse.java:79: error: cannot find symbol
itemBlock.setUnlocalizedName(block.getUnlocalizedName());
^
symbol: method getUnlocalizedName()
location: variable block of type T
where T is a type-variable:
T extends Block declared in method <T>registerItemBlock(IForgeRegistry<Item>,T)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\TinkerPulse.java:88: error: cannot find symbol
itemBlock.setUnlocalizedName(block.getUnlocalizedName());
^
symbol: method getUnlocalizedName()
location: variable block of type T
where T is a type-variable:
T extends EnumBlock<?> declared in method <T>registerEnumItemBlock(IForgeRegistry<Item>,T)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\TinkerPulse.java:97: error: cannot find symbol
itemBlock.setUnlocalizedName(itemBlock.getBlock().getUnlocalizedName());
^
symbol: method getUnlocalizedName()
location: class Block
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\TinkerPulse.java:105: error: cannot find symbol
itemBlock.setUnlocalizedName(itemBlock.getBlock().getUnlocalizedName());
^
symbol: method getUnlocalizedName()
location: class Block
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\TinkerPulse.java:116: error: cannot find symbol
itemBlock.setUnlocalizedName(block.getUnlocalizedName());
^
symbol: method getUnlocalizedName()
location: variable block of type T
where T is a type-variable:
T extends EnumBlockSlab<?> declared in method <T>registerEnumItemBlockSlab(IForgeRegistry<Item>,T)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\common\TinkerPulse.java:131: error: cannot find symbol
item.setUnlocalizedName(Util.prefix(name));
^
symbol: method setUnlocalizedName(String)
location: variable item of type T
where T is a type-variable:
T extends Item declared in method <T>registerItem(IForgeRegistry<Item>,T,String)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\shared\block\BlockTable.java:65: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\shared\block\BlockTable.java:147: error: cannot find symbol
this.onBlockDestroyedByPlayer(world, pos, state);
^
symbol: method onBlockDestroyedByPlayer(World,BlockPos,IBlockState)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\shared\block\BlockTable.java:182: error: cannot find symbol
if (!data.hasNoTags()) {
^
symbol: method hasNoTags()
location: variable data of type NBTTagCompound
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\shared\block\BlockTable.java:196: error: cannot find symbol
if (!tag.hasNoTags()) {
^
symbol: method hasNoTags()
location: variable tag of type NBTTagCompound
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\shared\block\BlockTable.java:327: error: cannot find symbol
return raytraceresult == null ? null : new RayTraceResult(raytraceresult.hitVec.addVector((double) pos.getX(), (double) pos.getY(), (double) pos.getZ()), raytraceresult.sideHit, pos);
^
symbol: method addVector(double,double,double)
location: variable hitVec of type Vec3d
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\block\BlockSlimeChannel.java:66: error: cannot find symbol
this.isBlockContainer = true; // has TE
^
symbol: variable isBlockContainer
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\block\BlockSlimeChannel.java:280: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\block\BlockSlimeChannel.java:537: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\item\ItemSlimeBoots.java:105: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\item\ItemSlimeBoots.java:109: error: cannot find symbol
return super.getUnlocalizedName(stack) + "." + LocUtils.makeLocString(SlimeType.values()[meta].name());
^
symbol: method getUnlocalizedName(ItemStack)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\item\ItemSlimeBoots.java:112: error: cannot find symbol
return super.getUnlocalizedName(stack);
^
symbol: method getUnlocalizedName(ItemStack)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\potion\TinkerPotion.java:18: error: cannot find symbol
setPotionName("potion." + location.getResourcePath());
^
symbol: method getResourcePath()
location: variable location of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\item\ItemThrowball.java:71: error: cannot find symbol
entity.setHeadingFromThrower(player, player.rotationPitch, player.rotationYaw, 0.0F, 2.1F, 0.5F);
^
symbol: method setHeadingFromThrower(EntityPlayer,float,float,float,float,float)
location: variable entity of type EntityThrowball
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\item\ItemThrowball.java:76: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\item\ItemThrowball.java:80: error: cannot find symbol
return super.getUnlocalizedName(stack) + "." + LocUtils.makeLocString(ThrowballType.values()[meta].name());
^
symbol: method getUnlocalizedName(ItemStack)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\item\ItemThrowball.java:83: error: cannot find symbol
return super.getUnlocalizedName(stack);
^
symbol: method getUnlocalizedName(ItemStack)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\modifiers\Modifier.java:171: error: cannot find symbol
if(!modifierTag.hasNoTags()) {
^
symbol: method hasNoTags()
location: variable modifierTag of type NBTTagCompound
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\modifiers\Modifier.java:273: error: lastDamage has protected access in EntityLivingBase
oldLastDamage = ((EntityLivingBase) entity).lastDamage;
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\modifiers\Modifier.java:289: error: lastDamage has protected access in EntityLivingBase
((EntityLivingBase) entity).lastDamage += oldLastDamage;
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\shared\block\BlockOre.java:35: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\shared\block\BlockGlow.java:62: error: cannot find symbol
return getDefaultState().withProperty(FACING, EnumFacing.getFront(meta));
^
symbol: method getFront(int)
location: class EnumFacing
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\shared\block\BlockGlow.java:180: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\shared\block\BlockClearStainedGlass.java:41: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\library\tools\ToolPart.java:198: error: cannot find symbol
String locString = getUnlocalizedName() + "." + material.getIdentifier();
^
symbol: method getUnlocalizedName()
location: class ToolPart
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\world\block\BlockSlimeLeaves.java:62: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\world\block\BlockSlimeLeaves.java:64: error: cannot find symbol
return Blocks.LEAVES.getBlockLayer();
^
symbol: method getBlockLayer()
location: variable LEAVES of type BlockLeaves
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\debug\CompareVanilla.java:221: error: cannot find symbol
float speed1 = tinker.getItem().getStrVsBlock(tinker, state);
^
symbol: method getStrVsBlock(ItemStack,IBlockState)
location: class Item
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\debug\CompareVanilla.java:222: error: cannot find symbol
float speed2 = vanilla.getItem().getStrVsBlock(vanilla, state);
^
symbol: method getStrVsBlock(ItemStack,IBlockState)
location: class Item
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\debug\TinkerDebug.java:83: error: cannot find symbol
if(!identifier.getResourceDomain().equals(Util.RESOURCE)) {
^
symbol: method getResourceDomain()
location: variable identifier of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\debug\TinkerDebug.java:101: error: cannot find symbol
if(!identifier.getResourceDomain().equals(Util.RESOURCE)) {
^
symbol: method getResourceDomain()
location: variable identifier of type ResourceLocation
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\block\BlockPunji.java:166: error: method does not override or implement a method from a supertype
@Override
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\client\RenderFancyItemFrame.java:73: error: cannot find symbol
this.renderItem(entity);
^
symbol: method renderItem(EntityItemFrame)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\client\RenderFancyItemFrame.java:76: error: cannot find symbol
this.renderName(entity, x + entity.facingDirection.getFrontOffsetX() * 0.3F, y - 0.25D, z + entity.facingDirection.getFrontOffsetZ() * 0.3F);
^
symbol: method getFrontOffsetX()
location: variable facingDirection of type EnumFacing
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\client\RenderFancyItemFrame.java:76: error: cannot find symbol
this.renderName(entity, x + entity.facingDirection.getFrontOffsetX() * 0.3F, y - 0.25D, z + entity.facingDirection.getFrontOffsetZ() * 0.3F);
^
symbol: method getFrontOffsetZ()
location: variable facingDirection of type EnumFacing
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\EntityFancyItemFrame.java:46: error: cannot find symbol
this.removeFrameFromMap(itemstack);
^
symbol: method removeFrameFromMap(ItemStack)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\EntityFancyItemFrame.java:59: error: cannot find symbol
this.removeFrameFromMap(itemstack);
^
symbol: method removeFrameFromMap(ItemStack)
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\EntityFancyItemFrame.java:100: error: cannot find symbol
EnumFacing facing = EnumFacing.getHorizontal(additionalData.readShort());
^
symbol: method getHorizontal(short)
location: class EnumFacing
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:43: error: size has private access in Explosion
float r = size * size;
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:43: error: size has private access in Explosion
float r = size * size;
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:52: error: x has private access in Explosion
BlockPos blockpos = new BlockPos(j, k, l).add(x, y, z);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:52: error: y has private access in Explosion
BlockPos blockpos = new BlockPos(j, k, l).add(x, y, z);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:52: error: z has private access in Explosion
BlockPos blockpos = new BlockPos(j, k, l).add(x, y, z);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:54: error: world has private access in Explosion
if(world.isAirBlock(blockpos)) {
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:59: error: size has private access in Explosion
float f = this.size * (1f - d / (r));
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:60: error: world has private access in Explosion
IBlockState iblockstate = this.world.getBlockState(blockpos);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:62: error: exploder has private access in Explosion
float f2 = this.exploder != null ? this.exploder.getExplosionResistance(this, this.world, blockpos, iblockstate) : iblockstate.getBlock().getExplosionResistance(world, blockpos, null, this);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:62: error: world has private access in Explosion
float f2 = this.exploder != null ? this.exploder.getExplosionResistance(this, this.world, blockpos, iblockstate) : iblockstate.getBlock().getExplosionResistance(world, blockpos, null, this);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:62: error: exploder has private access in Explosion
float f2 = this.exploder != null ? this.exploder.getExplosionResistance(this, this.world, blockpos, iblockstate) : iblockstate.getBlock().getExplosionResistance(world, blockpos, null, this);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:62: error: world has private access in Explosion
float f2 = this.exploder != null ? this.exploder.getExplosionResistance(this, this.world, blockpos, iblockstate) : iblockstate.getBlock().getExplosionResistance(world, blockpos, null, this);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:65: error: exploder has private access in Explosion
if(f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.world, blockpos, iblockstate, f))) {
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:65: error: world has private access in Explosion
if(f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.world, blockpos, iblockstate, f))) {
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:65: error: exploder has private access in Explosion
if(f > 0.0F && (this.exploder == null || this.exploder.canExplosionDestroyBlock(this, this.world, blockpos, iblockstate, f))) {
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:78: error: x has private access in Explosion
this.world.playSound(null, this.x, this.y, this.z, SoundEvents.ENTITY_GENERIC_EXPLODE, SoundCategory.BLOCKS, 4.0F, (1.0F + (this.world.rand.nextFloat() - this.world.rand.nextFloat()) * 0.2F) * 0.7F);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:78: error: y has private access in Explosion
this.world.playSound(null, this.x, this.y, this.z, SoundEvents.ENTITY_GENERIC_EXPLODE, SoundCategory.BLOCKS, 4.0F, (1.0F + (this.world.rand.nextFloat() - this.world.rand.nextFloat()) * 0.2F) * 0.7F);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:78: error: z has private access in Explosion
this.world.playSound(null, this.x, this.y, this.z, SoundEvents.ENTITY_GENERIC_EXPLODE, SoundCategory.BLOCKS, 4.0F, (1.0F + (this.world.rand.nextFloat() - this.world.rand.nextFloat()) * 0.2F) * 0.7F);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:78: error: world has private access in Explosion
this.world.playSound(null, this.x, this.y, this.z, SoundEvents.ENTITY_GENERIC_EXPLODE, SoundCategory.BLOCKS, 4.0F, (1.0F + (this.world.rand.nextFloat() - this.world.rand.nextFloat()) * 0.2F) * 0.7F);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:78: error: world has private access in Explosion
this.world.playSound(null, this.x, this.y, this.z, SoundEvents.ENTITY_GENERIC_EXPLODE, SoundCategory.BLOCKS, 4.0F, (1.0F + (this.world.rand.nextFloat() - this.world.rand.nextFloat()) * 0.2F) * 0.7F);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:78: error: world has private access in Explosion
this.world.playSound(null, this.x, this.y, this.z, SoundEvents.ENTITY_GENERIC_EXPLODE, SoundCategory.BLOCKS, 4.0F, (1.0F + (this.world.rand.nextFloat() - this.world.rand.nextFloat()) * 0.2F) * 0.7F);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:80: error: x has private access in Explosion
this.world.spawnParticle(EnumParticleTypes.EXPLOSION_LARGE, this.x, this.y, this.z, 1.0D, 0.0D, 0.0D);
^
C:\Users\lichn\Desktop\��� �������\TinkerWork\build\sources\main\java\slimeknights\tconstruct\gadgets\entity\ExplosionEFLN.java:80: error: y has private access in Explosion
this.world.spawnParticle(EnumParticleTypes.EXPLOSION_LARGE, this.x, this.y, this.z, 1.0D, 0.0D, 0.0D);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
[QUOTE] Task :compileJava FAILED[/QUOTE]
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
[QUOTE] Compilation failed; see the compiler error output for details.[/QUOTE]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 15s
7 actionable tasks: 5 executed, 2 up-to-date
0:12:31: Task execution finished 'runClient'.
build.gradle на всякий
Gradle:
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "https://maven.minecraftforge.net/"
}
maven {
name = "github"
url = "https://github.com/juanmuscaria/maven/raw/master"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle2:[2.3-1.0.0-SNAPSHOT,)'
}
}
repositories {
flatDir {
dirs 'deps'
}
maven {
name 'DVS1 Maven FS'
url 'http://dvs1.progwml6.com/files/maven'
}
maven { // TOP
name 'tterrag maven'
url "https://maven.tterrag.com/"
}
maven { // compatlayer
name 'K-4u maven'
url "https://maven.k-4u.nl/"
}
maven {
name 'forge'
url 'https://files.minecraftforge.net'
}
maven {
name "Tehnut Maven FS"
url "https://maven.tehnut.info"
}
maven {
name = "CoFH Maven"
url = "https://maven.covers1624.net"
}
maven { // Quark and ARL
name = "BlameJared"
url = "https://maven.blamejared.com"
}
}
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
apply plugin: 'net.minecraftforge.gradle.forge'
version = mod_version
group = mod_group
archivesBaseName = mod_archives_name
ext.configFile = file "build.properties"
configFile.withReader {
// Load config. It shall from now be referenced as simply config or project.config
def prop = new Properties()
prop.load(it)
project.ext.config = new ConfigSlurper().parse prop
}
configurations {
deployerJars
}
[compileJava, compileTestJava][I].options[/I].encoding = 'UTF-8'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
minecraft {
version = "1.12.2-14.23.5.2847"
mappings = "stable_39"
runDir = "eclipse"
replace '@VERSION@', project.version
// makeObfSourceJar = false
}
processResources {
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
// expand 'version': project.version,
// 'mod_id': mod_id,
// 'mod_name': mod_name,
// 'mod_author': mod_author,
// 'mod_description': mod_description,
// 'mc_version': mc_version,
// 'mod_version': mod_version,
// 'mod_icon': mod_icon
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
dependencies {
compile name: 'Baubles-1.12-1.5.2-dev'
deobfCompile "slimeknights.mantle:Mantle:${config.minecraft_version_short}-${config.mantle_version}"
//
// // compile against the JEI API
//deobfCompile "mezz:jei:jei_1.12.2:4.15.0.297:api"
// // at runtime, use the full JEI jar
//runtime "mezz:jei:jei_1.12.2:4.15.0.297"
//
deobfCompile "mcp.mobius.waila:Hwyla:${config.hwyla_version}"
deobfCompile "mcjty.theoneprobe:TheOneProbe-1.12:${config.probe_version}"
deobfCompile "cofh:RedstoneFlux:${config.redstoneflux_version}:universal"
deployerJars 'org.apache.maven.wagon:wagon-ssh:2.2'
//
// //deobfCompile "vazkii.autoreglib:AutoRegLib:${config.arl_version}"
deobfCompile "vazkii.quark:Quark:${config.quark_version}:api"
compile fileTree(dir: 'libs' , include: '*.jar')
}
jar {
manifest {
attributes 'FMLAT': 'tconstruct_at.cfg'
}
finalizedBy reobfJar
}
task deobfJar(type: Jar) {
from sourceSets.main.output
classifier = 'deobf'
manifest {
attributes 'FMLAT': 'tconstruct_at.cfg'
}
}
task devJar(type: Jar) {
classifier = 'dev'
from sourceSets.main.output
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
artifacts {
archives devJar
archives sourcesJar
}
Уже несколько дней пытаюсь мод сбилдить, вообще ничего. У товарища также 100 ошибок. Пытался сбилдить его сборку другого мода, правда на 1.7.10, все получилось.