Your main mod file did not compile correctly.

Started by l1ve on Fri, 11/06/2020 - 08:53

Topic category: Bugs and solutions

Last seen on 18:06, 7. Nov 2020
Joined Nov 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Your main mod file did not compile correctly.
Fri, 11/06/2020 - 08:53

I'm trying to make a food mod . but i cant get it run and builded. Here is the code:

 

Executing Gradle task: build
Build info: MCreator 2020.4.32115, forge-1.15.2, 64-bit, 8140 MB, Windows 10, JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
BUILD FAILED
Task completed in 282448 milliseconds
> Configure project :
New Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1
> Task :compileJava
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:13: error: cannot find symbol public static final Item block = null;
^
symbol: class Item
location: class GoldSimitItem
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:26: error: cannot find symbol public final List<Supplier<Block>> blocks = new ArrayList<>();
^
symbol: class Block
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:27: error: cannot find symbol public final List<Supplier<Item>> items = new ArrayList<>();
^
symbol: class Item
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:28: error: cannot find symbol public final List<Supplier<Biome>> biomes = new ArrayList<>();
^
symbol: class Biome
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:29: error: cannot find symbol public final List<Supplier<EntityType<?>>> entities = new ArrayList<>();
^
symbol: class EntityType
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:30: error: cannot find symbol public final List<Supplier<Enchantment>> enchantments = new ArrayList<>();
^
symbol: class Enchantment
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:31: error: cannot find symbol public static Map<ResourceLocation, net.minecraft.util.SoundEvent> sounds = new HashMap<>();
^
symbol: class ResourceLocation
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:52: error: package RegistryEvent does not exist public void registerSounds(RegistryEvent.Register<net.minecraft.util.SoundEvent> event) {
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:57: error: cannot find symbol public <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, PacketBuffer> encoder, Function<PacketBuffer, T> decoder,
^
symbol: class PacketBuffer
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:57: error: cannot find symbol public <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, PacketBuffer> encoder, Function<PacketBuffer, T> decoder,
^
symbol: class PacketBuffer
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:58: error: package NetworkEvent does not exist BiConsumer<T, Supplier<NetworkEvent.Context>> messageConsumer) {
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:67: error: cannot find symbol public List<Supplier<Block>> getBlocks() {
^
symbol: class Block
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:71: error: cannot find symbol public List<Supplier<Item>> getItems() {
^
symbol: class Item
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:75: error: cannot find symbol public List<Supplier<Biome>> getBiomes() {
^
symbol: class Biome
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:79: error: cannot find symbol public List<Supplier<EntityType<?>>> getEntities() {
^
symbol: class EntityType
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:83: error: cannot find symbol public List<Supplier<Enchantment>> getEnchantments() {
^
symbol: class Enchantment
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:100: error: cannot find symbol public void init(FMLCommonSetupEvent event) {
^
symbol: class FMLCommonSetupEvent
location: class ModElement
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:103: error: cannot find symbol public void serverLoad(FMLServerStartingEvent event) {
^
symbol: class FMLServerStartingEvent
location: class ModElement
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:107: error: cannot find symbol public void clientLoad(FMLClientSetupEvent event) {
^
symbol: class FMLClientSetupEvent
location: class ModElement
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:22: error: cannot find symbol public static class FoodItemCustom extends Item {
^
symbol: class Item
location: class GoldSimitItem
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:30: error: cannot find symbol public boolean hasEffect(ItemStack itemstack) {
^
symbol: class ItemStack
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:35: error: cannot find symbol public UseAction getUseAction(ItemStack par1ItemStack) {
^
symbol: class ItemStack
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:35: error: cannot find symbol public UseAction getUseAction(ItemStack par1ItemStack) {
^
symbol: class UseAction
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:40: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class ItemStack
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:40: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class World
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:40: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class ITextComponent
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:40: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class ITooltipFlag
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:13: error: cannot find symbol public static final Item block = null;
^
symbol: class Item
location: class SimitciiiiiiiItem
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:22: error: cannot find symbol public static class MusicDiscItemCustom extends MusicDiscItem {
^
symbol: class MusicDiscItem
location: class SimitciiiiiiiItem
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:31: error: cannot find symbol public boolean hasEffect(ItemStack itemstack) {
^
symbol: class ItemStack
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:36: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class ItemStack
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:36: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class World
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:36: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class ITextComponent
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:36: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class ITooltipFlag
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:13: error: cannot find symbol public static final Item block = null;
^
symbol: class Item
location: class SimitItem
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:22: error: cannot find symbol public static class FoodItemCustom extends Item {
^
symbol: class Item
location: class SimitItem
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:29: error: cannot find symbol public UseAction getUseAction(ItemStack par1ItemStack) {
^
symbol: class ItemStack
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:29: error: cannot find symbol public UseAction getUseAction(ItemStack par1ItemStack) {
^
symbol: class UseAction
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:34: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class ItemStack
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:34: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class World
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:34: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class ITextComponent
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:34: error: cannot find symbol public void addInformation(ItemStack itemstack, World world, List<ITextComponent> list, ITooltipFlag flag) {
^
symbol: class ITooltipFlag
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:22: error: cannot find symbol @Mod("simitayranmodu")
^
symbol: class Mod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:25: error: cannot find symbol public static final SimpleChannel PACKET_HANDLER = NetworkRegistry.newSimpleChannel(new ResourceLocation("simitayranmodu", "simitayranmodu"),
^
symbol: class SimpleChannel
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:35: error: cannot find symbol private void init(FMLCommonSetupEvent event) {
^
symbol: class FMLCommonSetupEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:40: error: cannot find symbol public void serverLoad(FMLServerStartingEvent event) {
^
symbol: class FMLServerStartingEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:46: error: cannot find symbol public void clientLoad(FMLClientSetupEvent event) {
^
symbol: class FMLClientSetupEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:51: error: package RegistryEvent does not exist public void registerBlocks(RegistryEvent.Register<Block> event) {
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:51: error: cannot find symbol public void registerBlocks(RegistryEvent.Register<Block> event) {
^
symbol: class Block
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:56: error: package RegistryEvent does not exist public void registerItems(RegistryEvent.Register<Item> event) {
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:56: error: cannot find symbol public void registerItems(RegistryEvent.Register<Item> event) {
^
symbol: class Item
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:61: error: package RegistryEvent does not exist public void registerBiomes(RegistryEvent.Register<Biome> event) {
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:61: error: cannot find symbol public void registerBiomes(RegistryEvent.Register<Biome> event) {
^
symbol: class Biome
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:66: error: package RegistryEvent does not exist public void registerEntities(RegistryEvent.Register<EntityType<?>> event) {
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:66: error: cannot find symbol public void registerEntities(RegistryEvent.Register<EntityType<?>> event) {
^
symbol: class EntityType
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:71: error: package RegistryEvent does not exist public void registerEnchantments(RegistryEvent.Register<Enchantment> event) {
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:71: error: cannot find symbol public void registerEnchantments(RegistryEvent.Register<Enchantment> event) {
^
symbol: class Enchantment
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:76: error: package RegistryEvent does not exist public void registerSounds(RegistryEvent.Register<net.minecraft.util.SoundEvent> event) {
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:12: error: incompatible types: ObjectHolder cannot be converted to Annotation @ObjectHolder("simitayranmodu:gold_simit")
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:106: error: cannot find symbol @OnlyIn(Dist.CLIENT)
^
symbol: class OnlyIn
location: class ModElement
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:29: error: cannot find symbol @OnlyIn(Dist.CLIENT)
^
symbol: class OnlyIn
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:12: error: incompatible types: ObjectHolder cannot be converted to Annotation @ObjectHolder("simitayranmodu:simitciiiiiii")
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:30: error: cannot find symbol @OnlyIn(Dist.CLIENT)
^
symbol: class OnlyIn
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:12: error: incompatible types: ObjectHolder cannot be converted to Annotation @ObjectHolder("simitayranmodu:simit")
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:39: error: cannot find symbol @SubscribeEvent
^
symbol: class SubscribeEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:44: error: cannot find symbol @SubscribeEvent
^
symbol: class SubscribeEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:45: error: cannot find symbol @OnlyIn(Dist.CLIENT)
^
symbol: class OnlyIn
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:50: error: cannot find symbol @SubscribeEvent
^
symbol: class SubscribeEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:55: error: cannot find symbol @SubscribeEvent
^
symbol: class SubscribeEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:60: error: cannot find symbol @SubscribeEvent
^
symbol: class SubscribeEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:65: error: cannot find symbol @SubscribeEvent
^
symbol: class SubscribeEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:70: error: cannot find symbol @SubscribeEvent
^
symbol: class SubscribeEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduMod.java:75: error: cannot find symbol @SubscribeEvent
^
symbol: class SubscribeEvent
location: class SimitayranmoduMod
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:33: error: cannot find symbol sounds.put(new ResourceLocation("simitayranmodu", "bakkalamca"),
^
symbol: class ResourceLocation
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:34: error: cannot find symbol new net.minecraft.util.SoundEvent(new ResourceLocation("simitayranmodu", "bakkalamca")));
^
symbol: class ResourceLocation
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:36: error: cannot find symbol ModFileScanData modFileInfo = ModList.get().getModFileById("simitayranmodu").getFile().getScanResult();
^
symbol: class ModFileScanData
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:37: error: package ModFileScanData does not exist Set<ModFileScanData.AnnotationData> annotations = modFileInfo.getAnnotations();
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:38: error: package ModFileScanData does not exist for (ModFileScanData.AnnotationData annotationData : annotations) {
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\SimitayranmoduModElements.java:53: error: cannot find symbol for (Map.Entry<ResourceLocation, net.minecraft.util.SoundEvent> sound : sounds.entrySet())
^
symbol: class ResourceLocation
location: class SimitayranmoduModElements
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:24: error: cannot find symbol super(new Item.Properties().group(ItemGroup.FOOD).maxStackSize(64).food((new Food.Builder()).hunger(10).saturation(0.3f).build()));
^
symbol: variable ItemGroup
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:24: error: package Item does not exist super(new Item.Properties().group(ItemGroup.FOOD).maxStackSize(64).food((new Food.Builder()).hunger(10).saturation(0.3f).build()));
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:24: error: package Food does not exist super(new Item.Properties().group(ItemGroup.FOOD).maxStackSize(64).food((new Food.Builder()).hunger(10).saturation(0.3f).build()));
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:25: error: cannot find symbol setRegistryName("gold_simit");
^
symbol: method setRegistryName(String)
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:28: error: method does not override or implement a method from a supertype @Override
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:34: error: method does not override or implement a method from a supertype @Override
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:36: error: cannot find symbol return UseAction.EAT;
^
symbol: variable UseAction
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:39: error: method does not override or implement a method from a supertype @Override
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:41: error: non-static variable super cannot be referenced from a static context super.addInformation(itemstack, world, list, flag);
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\GoldSimitItem.java:42: error: cannot find symbol list.add(new StringTextComponent("Oa gold simt 10 bar dolduruo"));
^
symbol: class StringTextComponent
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:24: error: cannot find symbol super(0, SimitayranmoduModElements.sounds.get(new ResourceLocation("simitayranmodu:bakkalamca")),
^
symbol: class ResourceLocation
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:25: error: cannot find symbol new Item.Properties().group(ItemGroup.MISC).maxStackSize(1).rarity(Rarity.RARE));
^
symbol: variable Rarity
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:25: error: cannot find symbol new Item.Properties().group(ItemGroup.MISC).maxStackSize(1).rarity(Rarity.RARE));
^
symbol: variable ItemGroup
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:25: error: package Item does not exist new Item.Properties().group(ItemGroup.MISC).maxStackSize(1).rarity(Rarity.RARE));
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:26: error: cannot find symbol setRegistryName("simitciiiiiii");
^
symbol: method setRegistryName(String)
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:29: error: method does not override or implement a method from a supertype @Override
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:35: error: method does not override or implement a method from a supertype @Override
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:37: error: non-static variable super cannot be referenced from a static context super.addInformation(itemstack, world, list, flag);
^
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitciiiiiiiItem.java:38: error: cannot find symbol list.add(new StringTextComponent("veri nays"));
^
symbol: class StringTextComponent
location: class MusicDiscItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:24: error: cannot find symbol super(new Item.Properties().group(ItemGroup.FOOD).maxStackSize(64).food((new Food.Builder()).hunger(3).saturation(0.4f).build()));
^
symbol: variable ItemGroup
location: class FoodItemCustom
C:\Users\salih\MCreatorWorkspaces\simitayranmodu\src\main\java\net\mcreator\simitayranmodu\item\SimitItem.java:24: error: package Item does not exist super(new Item.Properties().group(ItemGroup.FOOD).maxStackSize(64).food((new Food.Builder()).hunger(3).saturation(0.4f).build()));
^
100 errors
> Task :compileJava 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. 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.10.3/userguide/command_line_interface.html#sec:command_line_warnings
BU�LD FAILED in 3s
1 actionable task: 1 executed
BUILD FAILED
Task completed in 102146 milliseconds

 

 

Last seen on 16:49, 23. Jan 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
The solution to this problem…
Fri, 11/06/2020 - 09:30

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.

Also, keep in mind the rules regarding logs that you did not follow: https://mcreator.net/wiki/general-publishing-guidelines