ArcticApples

Untitled

Nov 11th, 2022
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | Gaming | 0 0
  1. > Task :compileJava FAILED
  2. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:26: error: cannot find symbol
  3. @Mod("everythingishorses")
  4. ^
  5. symbol: class Mod
  6. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:39: error: cannot find symbol
  7. public static final SimpleChannel PACKET_HANDLER = NetworkRegistry.newSimpleChannel(new ResourceLocation(MODID, MODID), () -> PROTOCOL_VERSION,
  8. ^
  9. symbol: class SimpleChannel
  10. location: class EverythingishorsesMod
  11. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:43: error: cannot find symbol
  12. public static <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, T> decoder,
  13. ^
  14. symbol: class FriendlyByteBuf
  15. location: class EverythingishorsesMod
  16. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:43: error: cannot find symbol
  17. public static <T> void addNetworkMessage(Class<T> messageType, BiConsumer<T, FriendlyByteBuf> encoder, Function<FriendlyByteBuf, T> decoder,
  18. ^
  19. symbol: class FriendlyByteBuf
  20. location: class EverythingishorsesMod
  21. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:44: error: package NetworkEvent does not exist
  22. BiConsumer<T, Supplier<NetworkEvent.Context>> messageConsumer) {
  23. ^
  24. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:56: error: package TickEvent does not exist
  25. public void tick(TickEvent.ServerTickEvent event) {
  26. ^
  27. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:55: error: cannot find symbol
  28. @SubscribeEvent
  29. ^
  30. symbol: class SubscribeEvent
  31. location: class EverythingishorsesMod
  32. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:32: error: package MinecraftForge does not exist
  33. MinecraftForge.EVENT_BUS.register(this);
  34. ^
  35. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:34: error: cannot find symbol
  36. IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
  37. ^
  38. symbol: class IEventBus
  39. location: class EverythingishorsesMod
  40. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:34: error: cannot find symbol
  41. IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus();
  42. ^
  43. symbol: variable FMLJavaModLoadingContext
  44. location: class EverythingishorsesMod
  45. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:39: error: cannot find symbol
  46. public static final SimpleChannel PACKET_HANDLER = NetworkRegistry.newSimpleChannel(new ResourceLocation(MODID, MODID), () -> PROTOCOL_VERSION,
  47. ^
  48. symbol: class ResourceLocation
  49. location: class EverythingishorsesMod
  50. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:39: error: cannot find symbol
  51. public static final SimpleChannel PACKET_HANDLER = NetworkRegistry.newSimpleChannel(new ResourceLocation(MODID, MODID), () -> PROTOCOL_VERSION,
  52. ^
  53. symbol: variable NetworkRegistry
  54. location: class EverythingishorsesMod
  55. C:\Users\Marcum\MCreatorWorkspaces\everythingishorses\src\main\java\net\mcreator\everythingishorses\EverythingishorsesMod.java:57: error: package TickEvent does not exist
  56. if (event.phase == TickEvent.Phase.END) {
  57. ^
  58. 13 errors
  59. FAILURE: Build failed with an exception.
  60. * What went wrong:
  61. Execution failed for task ':compileJava'.
  62. > Compilation failed; see the compiler error output for details.
  63. * Try:
  64. > Run with --stacktrace option to get the stack trace.
  65. > Run with --info or --debug option to get more log output.
  66. > Run with --scan to get full insights.
  67. * Get more help at https://help.gradle.org
  68. BUILD FAILED in 2m 9s
  69. 1 actionable task: 1 executed
Advertisement
Add Comment
Please, Sign In to add comment