minerllabs / minerl

MineRL Competition for Sample Efficient Reinforcement Learning - Python Package
http://minerl.io/docs/
Other
709 stars 153 forks source link

Installation error #740

Open Jerebenice opened 1 year ago

Jerebenice commented 1 year ago

I checked the java version(followed the installation instruction):

openjdk version "1.8.0_382"
OpenJDK Runtime Environment (build 1.8.0_382-8u382-ga-1~20.04.1-b05)
OpenJDK 64-Bit Server VM (build 25.382-b05, mixed mode)

When I install the minerl:pip install git+https://github.com/minerllabs/minerl An installation error happened:

 | - [FAIL]: maven -> https://repo.spongepowered.org/maven/
     | - [FAIL]: maven2 -> https://maven.minecraftforge.net/
     | - [ OK ]: BUNDELED_710113627 (accepted custom MC repo)
     | - [FAIL]: maven3 -> https://libraries.minecraft.net/

    > Task :clean
    > Task :deleteSchemas
    > Task :copySchemas
    > Task :jaxb

    > Task :compileJava
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:7: 错误: 程序包net.minecraft.client.gui.screen不存在
    import net.minecraft.client.gui.screen.DirtMessageScreen;
                                          ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:8: 错误: 程序包net.minecraft.client.gui.screen不存在
    import net.minecraft.client.gui.screen.MainMenuScreen;
                                          ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:9: 错误: 程序包net.minecraft.client.util不存在
    import net.minecraft.client.util.InputMappings;
                                    ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:10: 错误: 程序包net.minecraft.util.text不存在
    import net.minecraft.util.text.TranslationTextComponent;
                                  ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:127: 错误: 程序包MouseHelper不存在
        public void addAction(MouseHelper.State mouseState, KeyboardListener.State keyboardState) {
                                         ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:127: 错误: 程序包KeyboardListener不存在
        public void addAction(MouseHelper.State mouseState, KeyboardListener.State keyboardState) {
                                                                            ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:153: 错误: 程序包KeyboardListener不存在
        private static KeyboardListener.State getKeyboardState(JsonObject action) {
                                       ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:158: 错误: 程序包MouseHelper不存在
        private static MouseHelper.State getMouseState(JsonObject action) {
                                  ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:233: 错误: 程序包MouseHelper不存在
        private void execMouseMove(MouseHelper.State mouseState) {
                                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:268: 错误: 程序包KeyboardListener不存在
        private void execKeyboard(KeyboardListener.State state) {
                                                  ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:3: 错误: 程序包net.minecraft.resources.data不存在
    import net.minecraft.resources.data.IMetadataSectionSerializer;
                                       ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:4: 错误: 程序包net.minecraft.util不存在
    import net.minecraft.util.ResourceLocation;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:16: 错误: 找不到符号
    public class JavaResourcePack implements IResourcePack {
                                             ^
      符号: 类 IResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:35: 错误: 找不到符号
        public InputStream getResourceStream(ResourcePackType type, ResourceLocation location) throws IOException {
                                             ^
      符号:   类 ResourcePackType
      位置: 类 JavaResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:35: 错误: 找不到符号
        public InputStream getResourceStream(ResourcePackType type, ResourceLocation location) throws IOException {
                                                                    ^
      符号:   类 ResourceLocation
      位置: 类 JavaResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:40: 错误: 找不到符号
        public Collection<ResourceLocation> getAllResourceLocations(ResourcePackType type, String namespaceIn, String pathIn, int maxDepthIn, Predicate<String> filterIn) {
                                                                    ^
      符号:   类 ResourcePackType
      位置: 类 JavaResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:40: 错误: 找不到符号
        public Collection<ResourceLocation> getAllResourceLocations(ResourcePackType type, String namespaceIn, String pathIn, int maxDepthIn, Predicate<String> filterIn) {
                          ^
      符号:   类 ResourceLocation
      位置: 类 JavaResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:48: 错误: 找不到符号
        private static ResourceLocation getResourceLocation(String path) {
                       ^
      符号:   类 ResourceLocation
      位置: 类 JavaResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:60: 错误: 找不到符号
        public boolean resourceExists(ResourcePackType type, ResourceLocation location) {
                                      ^
      符号:   类 ResourcePackType
      位置: 类 JavaResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:60: 错误: 找不到符号
        public boolean resourceExists(ResourcePackType type, ResourceLocation location) {
                                                             ^
      符号:   类 ResourceLocation
      位置: 类 JavaResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:65: 错误: 找不到符号
        public Set<String> getResourceNamespaces(ResourcePackType type) {
                                                 ^
      符号:   类 ResourcePackType
      位置: 类 JavaResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:71: 错误: 找不到符号
        public <T> T getMetadata(IMetadataSectionSerializer<T> deserializer) throws IOException {
                                 ^
      符号:   类 IMetadataSectionSerializer
      位置: 类 JavaResourcePack
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:13: 错误: 程序包net.minecraft.client.entity.player不存在
    import net.minecraft.client.entity.player.ClientPlayerEntity;
                                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:14: 错误: 程序包net.minecraft.client.gui.screen不存在
    import net.minecraft.client.gui.screen.ConnectingScreen;
                                          ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:15: 错误: 程序包net.minecraft.client.gui.screen不存在
    import net.minecraft.client.gui.screen.MainMenuScreen;
                                          ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:16: 错误: 程序包net.minecraft.client.multiplayer不存在
    import net.minecraft.client.multiplayer.ServerAddress;
                                           ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:17: 错误: 程序包net.minecraft.client.multiplayer不存在
    import net.minecraft.client.multiplayer.ServerData;
                                           ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:18: 错误: 程序包net.minecraft.entity.player不存在
    import net.minecraft.entity.player.PlayerEntity;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:19: 错误: 程序包net.minecraft.entity.player不存在
    import net.minecraft.entity.player.PlayerInventory;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:20: 错误: 程序包net.minecraft.inventory不存在
    import net.minecraft.inventory.EquipmentSlotType;
                                  ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:21: 错误: 程序包net.minecraft.item不存在
    import net.minecraft.item.Item;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:22: 错误: 程序包net.minecraft.item不存在
    import net.minecraft.item.ItemStack;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:23: 错误: 程序包net.minecraft.profiler不存在
    import net.minecraft.profiler.IResultableProfiler;
                                 ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:24: 错误: 程序包net.minecraft.server不存在
    import net.minecraft.server.MinecraftServer;
                               ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:25: 错误: 程序包net.minecraft.util不存在
    import net.minecraft.util.ResourceLocation;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:26: 错误: 程序包net.minecraft.util.datafix.codec不存在
    import net.minecraft.util.datafix.codec.DatapackCodec;
                                           ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:27: 错误: 程序包net.minecraft.util.registry不存在
    import net.minecraft.util.registry.DynamicRegistries;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:28: 错误: 程序包net.minecraft.util.registry不存在
    import net.minecraft.util.registry.Registry;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:29: 错误: 程序包net.minecraft.util不存在
    import net.minecraft.util.SoundCategory;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:30: 错误: 程序包net.minecraft.world不存在
    import net.minecraft.world.Difficulty;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:31: 错误: 程序包net.minecraft.world不存在
    import net.minecraft.world.GameRules;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:32: 错误: 程序包net.minecraft.world不存在
    import net.minecraft.world.GameType;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:33: 错误: 程序包net.minecraft.world不存在
    import net.minecraft.world.WorldSettings;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:34: 错误: 程序包net.minecraft.world.gen.settings不存在
    import net.minecraft.world.gen.settings.DimensionGeneratorSettings;
                                           ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:294: 错误: 找不到符号
        private void setAgentInventory(ClientPlayerEntity player, MissionInit missionInit) {
                                       ^
      符号:   类 ClientPlayerEntity
      位置: 类 EnvServer
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:313: 错误: 找不到符号
        private void setAgentPosition(ClientPlayerEntity player, MissionInit missionInit) {
                                      ^
      符号:   类 ClientPlayerEntity
      位置: 类 EnvServer
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:590: 错误: 找不到符号
        private static String getEquipmentJsonObjectFromPlayer(PlayerEntity player, EquipmentSlotType type) {
                                                               ^
      符号:   类 PlayerEntity
      位置: 类 EnvServer
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:590: 错误: 找不到符号
        private static String getEquipmentJsonObjectFromPlayer(PlayerEntity player, EquipmentSlotType type) {
                                                                                    ^
      符号:   类 EquipmentSlotType
      位置: 类 EnvServer
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:606: 错误: 程序包KeyboardListener不存在
        private static KeyboardListener.State constructKeyboardState(String actions) {
                                       ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/EnvServer.java:622: 错误: 程序包MouseHelper不存在
        private static MouseHelper.State constructMouseState(String actions) {
                                  ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:3: 错误: 程序包com.mojang.blaze3d.matrix不存在
    import com.mojang.blaze3d.matrix.MatrixStack;
                                    ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:4: 错误: 程序包com.mojang.blaze3d.platform不存在
    import com.mojang.blaze3d.platform.GlStateManager;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:5: 错误: 程序包com.mojang.blaze3d.systems不存在
    import com.mojang.blaze3d.systems.RenderSystem;
                                     ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:6: 错误: 找不到符号
    import net.minecraft.client.GameSettings;
                               ^
      符号:   类 GameSettings
      位置: 程序包 net.minecraft.client
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:7: 错误: 找不到符号
    import net.minecraft.client.Minecraft;
                               ^
      符号:   类 Minecraft
      位置: 程序包 net.minecraft.client
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:8: 错误: 程序包net.minecraft.client.gui.screen不存在
    import net.minecraft.client.gui.screen.Screen;
                                          ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:9: 错误: 程序包net.minecraft.client.renderer.texture不存在
    import net.minecraft.client.renderer.texture.SimpleTexture;
                                                ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:10: 错误: 程序包net.minecraft.client.renderer.texture不存在
    import net.minecraft.client.renderer.texture.TextureManager;
                                                ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:12: 错误: 程序包net.minecraft.util不存在
    import net.minecraft.util.ResourceLocation;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:26: 错误: 找不到符号
        public void render(MatrixStack matrixStack, Screen screen, int x, int y) {
                           ^
      符号:   类 MatrixStack
      位置: 类 FakeMouseCursor
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:26: 错误: 找不到符号
        public void render(MatrixStack matrixStack, Screen screen, int x, int y) {
                                                    ^
      符号:   类 Screen
      位置: 类 FakeMouseCursor
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/AzureUpload.java:7: 错误: 程序包net.minecraft.util不存在
    import net.minecraft.util.LoggingPrintStream;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:8: 错误: 程序包com.mojang.blaze3d.systems不存在
    import com.mojang.blaze3d.systems.RenderSystem;
                                     ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:11: 错误: 找不到符号
    import net.minecraft.client.KeyboardListener;
                               ^
      符号:   类 KeyboardListener
      位置: 程序包 net.minecraft.client
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:12: 错误: 找不到符号
    import net.minecraft.client.Minecraft;
                               ^
      符号:   类 Minecraft
      位置: 程序包 net.minecraft.client
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:13: 错误: 找不到符号
    import net.minecraft.client.MouseHelper;
                               ^
      符号:   类 MouseHelper
      位置: 程序包 net.minecraft.client
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:15: 错误: 程序包net.minecraft.client.entity.player不存在
    import net.minecraft.client.entity.player.ClientPlayerEntity;
                                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:16: 错误: 程序包net.minecraft.client.gui.screen.inventory不存在
    import net.minecraft.client.gui.screen.inventory.HorseInventoryScreen;
                                                    ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:17: 错误: 程序包net.minecraft.client.gui.screen.inventory不存在
    import net.minecraft.client.gui.screen.inventory.InventoryScreen;
                                                    ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:18: 错误: 程序包net.minecraft.client.shader不存在
    import net.minecraft.client.shader.Framebuffer;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:19: 错误: 程序包net.minecraft.server.integrated不存在
    import net.minecraft.server.integrated.IntegratedServer;
                                          ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:25: 错误: 程序包net.minecraft.block不存在
    import net.minecraft.block.Block;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:26: 错误: 程序包net.minecraft.block不存在
    import net.minecraft.block.BlockState;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:27: 错误: 程序包net.minecraft.block.material不存在
    import net.minecraft.block.material.Material;
                                       ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:28: 错误: 找不到符号
    import net.minecraft.client.Minecraft;
                               ^
      符号:   类 Minecraft
      位置: 程序包 net.minecraft.client
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:29: 错误: 程序包net.minecraft.client.entity.player不存在
    import net.minecraft.client.entity.player.ClientPlayerEntity;
                                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:30: 错误: 程序包net.minecraft.entity不存在
    import net.minecraft.entity.LivingEntity;
                               ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:31: 错误: 程序包net.minecraft.entity不存在
    import net.minecraft.entity.MobEntity;
                               ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:32: 错误: 程序包net.minecraft.item不存在
    import net.minecraft.item.BlockItem;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:33: 错误: 程序包net.minecraft.item不存在
    import net.minecraft.item.Item;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:34: 错误: 程序包net.minecraft.item不存在
    import net.minecraft.item.ItemStack;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:35: 错误: 程序包net.minecraft.item.crafting不存在
    import net.minecraft.item.crafting.IRecipe;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:36: 错误: 程序包net.minecraft.item.crafting不存在
    import net.minecraft.item.crafting.Ingredient;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:37: 错误: 程序包net.minecraft.item.crafting不存在
    import net.minecraft.item.crafting.ShapedRecipe;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:38: 错误: 程序包net.minecraft.state不存在
    import net.minecraft.state.DirectionProperty;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:39: 错误: 程序包net.minecraft.state不存在
    import net.minecraft.state.EnumProperty;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:40: 错误: 程序包net.minecraft.state不存在
    import net.minecraft.state.Property;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:41: 错误: 程序包net.minecraft.stats不存在
    import net.minecraft.stats.Stat;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:42: 错误: 程序包net.minecraft.stats不存在
    import net.minecraft.stats.StatType;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:43: 错误: 程序包net.minecraft.stats不存在
    import net.minecraft.stats.Stats;
                              ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:44: 错误: 程序包net.minecraft.tileentity不存在
    import net.minecraft.tileentity.FurnaceTileEntity;
                                   ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:45: 错误: 程序包net.minecraft.util不存在
    import net.minecraft.util.NonNullList;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:46: 错误: 程序包net.minecraft.util不存在
    import net.minecraft.util.RegistryKey;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:47: 错误: 程序包net.minecraft.util不存在
    import net.minecraft.util.ResourceLocation;
                             ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:48: 错误: 程序包net.minecraft.util.datafix.fixes不存在
    import net.minecraft.util.datafix.fixes.FurnaceRecipes;
                                           ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:49: 错误: 程序包net.minecraft.util.registry不存在
    import net.minecraft.util.registry.Registry;
                                      ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:49: 错误: 找不到符号
        private Framebuffer fbo;
                ^
      符号:   类 Framebuffer
      位置: 类 PlayRecorder
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:65: 错误: 找不到符号
        Minecraft mc = Minecraft.getInstance();
        ^
      符号:   类 Minecraft
      位置: 类 PlayRecorder
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:318: 错误: 程序包MouseHelper不存在
        public void setMouseKeyboardState(MouseHelper.State mouseState, KeyboardListener.State keyboardState) {
                                                     ^
    /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:318: 错误: 程序包KeyboardListener不存在
        public void setMouseKeyboardState(MouseHelper.State mouseState, KeyboardListener.State keyboardState) {
                                                                                        ^
    注: /tmp/pip-req-build-0unykne_/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java使用或覆盖了已过时的 API。
    注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
    100 个错误

    > 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 7.0.
    Use '--warning-mode all' to show the individual deprecation warnings.
    See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec:command_line_warnings

    BUILD FAILED in 8m 13s
    6 actionable tasks: 6 executed
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-0unykne_/setup.py", line 214, in <module>
        prep_mcp()
      File "/tmp/pip-req-build-0unykne_/setup.py", line 198, in prep_mcp
        subprocess.check_call('{} clean build shadowJar'.format(gradlew).split(' '), cwd=workdir)
      File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['./gradlew', 'clean', 'build', 'shadowJar']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Miffyli commented 1 year ago

Hey, did you also check javac -version? It should also report 1.8. Make sure these java versions are used during the compilation process.

Also please paste the full log, as the informative part might be somewhere inbetween.

Ray7788 commented 11 months ago

Hi, thanks for your reply but I also got an error about this:

> Task :compileJava
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:7: error: package net.minecraft.client.gui.screen does not exist
101.8     import net.minecraft.client.gui.screen.DirtMessageScreen;
101.8                                           ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:8: error: package net.minecraft.client.gui.screen does not exist
101.8     import net.minecraft.client.gui.screen.MainMenuScreen;
101.8                                           ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:9: error: package net.minecraft.client.util does not exist
101.8     import net.minecraft.client.util.InputMappings;
101.8                                     ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:10: error: package net.minecraft.util.text does not exist
101.8     import net.minecraft.util.text.TranslationTextComponent;
101.8                                   ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:127: error: package MouseHelper does not exist
101.8         public void addAction(MouseHelper.State mouseState, KeyboardListener.State keyboardState) {
101.8                                          ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:127: error: package KeyboardListener does not exist
101.8         public void addAction(MouseHelper.State mouseState, KeyboardListener.State keyboardState) {
101.8                                                                             ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:153: error: package KeyboardListener does not exist
101.8         private static KeyboardListener.State getKeyboardState(JsonObject action) {
101.8                                        ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:158: error: package MouseHelper does not exist
101.8         private static MouseHelper.State getMouseState(JsonObject action) {
101.8                                   ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:233: error: package MouseHelper does not exist
101.8         private void execMouseMove(MouseHelper.State mouseState) {
101.8                                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/client/ReplaySender.java:268: error: package KeyboardListener does not exist
101.8         private void execKeyboard(KeyboardListener.State state) {
101.8                                                   ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:3: error: package net.minecraft.resources.data does not exist
101.8     import net.minecraft.resources.data.IMetadataSectionSerializer;
101.8                                        ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:4: error: package net.minecraft.util does not exist
101.8     import net.minecraft.util.ResourceLocation;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:16: error: cannot find symbol
101.8     public class JavaResourcePack implements IResourcePack {
101.8                                              ^
101.8       symbol: class IResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:35: error: cannot find symbol
101.8         public InputStream getResourceStream(ResourcePackType type, ResourceLocation location) throws IOException {
101.8                                              ^
101.8       symbol:   class ResourcePackType
101.8       location: class JavaResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:35: error: cannot find symbol
101.8         public InputStream getResourceStream(ResourcePackType type, ResourceLocation location) throws IOException {
101.8                                                                     ^
101.8       symbol:   class ResourceLocation
101.8       location: class JavaResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:40: error: cannot find symbol
101.8         public Collection<ResourceLocation> getAllResourceLocations(ResourcePackType type, String namespaceIn, String pathIn, int maxDepthIn, Predicate<String> filterIn) {
101.8                                                                     ^
101.8       symbol:   class ResourcePackType
101.8       location: class JavaResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:40: error: cannot find symbol
101.8         public Collection<ResourceLocation> getAllResourceLocations(ResourcePackType type, String namespaceIn, String pathIn, int maxDepthIn, Predicate<String> filterIn) {
101.8                           ^
101.8       symbol:   class ResourceLocation
101.8       location: class JavaResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:48: error: cannot find symbol
101.8         private static ResourceLocation getResourceLocation(String path) {
101.8                        ^
101.8       symbol:   class ResourceLocation
101.8       location: class JavaResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:60: error: cannot find symbol
101.8         public boolean resourceExists(ResourcePackType type, ResourceLocation location) {
101.8                                       ^
101.8       symbol:   class ResourcePackType
101.8       location: class JavaResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:60: error: cannot find symbol
101.8         public boolean resourceExists(ResourcePackType type, ResourceLocation location) {
101.8                                                              ^
101.8       symbol:   class ResourceLocation
101.8       location: class JavaResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:65: error: cannot find symbol
101.8         public Set<String> getResourceNamespaces(ResourcePackType type) {
101.8                                                  ^
101.8       symbol:   class ResourcePackType
101.8       location: class JavaResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java:71: error: cannot find symbol
101.8         public <T> T getMetadata(IMetadataSectionSerializer<T> deserializer) throws IOException {
101.8                                  ^
101.8       symbol:   class IMetadataSectionSerializer
101.8       location: class JavaResourcePack
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:27: error: package net.minecraft.block does not exist
101.8     import net.minecraft.block.Block;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:28: error: package net.minecraft.block does not exist
101.8     import net.minecraft.block.BlockState;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:29: error: cannot find symbol
101.8     import net.minecraft.client.Minecraft;
101.8                                ^
101.8       symbol:   class Minecraft
101.8       location: package net.minecraft.client
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:30: error: package net.minecraft.client.entity.player does not exist
101.8     import net.minecraft.client.entity.player.ClientPlayerEntity;
101.8                                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:31: error: package net.minecraft.network.play.client does not exist
101.8     import net.minecraft.network.play.client.CClientStatusPacket;
101.8                                             ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:32: error: package net.minecraft.stats does not exist
101.8     import net.minecraft.stats.Stat;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:33: error: package net.minecraft.stats does not exist
101.8     import net.minecraft.stats.StatType;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:34: error: package net.minecraft.stats does not exist
101.8     import net.minecraft.stats.StatisticsManager;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:35: error: package net.minecraft.stats does not exist
101.8     import net.minecraft.stats.Stats;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:36: error: package net.minecraft.util does not exist
101.8     import net.minecraft.util.RegistryKey;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:37: error: package net.minecraft.util does not exist
101.8     import net.minecraft.util.ResourceLocation;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:38: error: package net.minecraft.util.math does not exist
101.8     import net.minecraft.util.math.BlockPos;
101.8                                   ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:39: error: package net.minecraft.util.registry does not exist
101.8     import net.minecraft.util.registry.Registry;
101.8                                       ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:40: error: package net.minecraft.world.biome does not exist
101.8     import net.minecraft.world.biome.Biome;
101.8                                     ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:111: error: cannot find symbol
101.8         public static void buildAllStats(JsonObject json, ClientPlayerEntity player){
101.8                                                           ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class JSONWorldDataHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:123: error: cannot find symbol
101.8         public static void buildBaseMinecraftStats(JsonObject json, ClientPlayerEntity player)
101.8                                                                     ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class JSONWorldDataHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:150: error: cannot find symbol
101.8         public static void oldBuildBaseMinecraftStats(JsonObject json, ClientPlayerEntity player)
101.8                                                                        ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class JSONWorldDataHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:216: error: cannot find symbol
101.8         public static void buildLifeStats(JsonObject json, ClientPlayerEntity player)
101.8                                                            ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class JSONWorldDataHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:232: error: cannot find symbol
101.8         public static void buildPositionStats(JsonObject json, ClientPlayerEntity player)
101.8                                                                ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class JSONWorldDataHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:245: error: cannot find symbol
101.8         public static void buildBiomeStats(JsonObject json, ClientPlayerEntity player)
101.8                                                             ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class JSONWorldDataHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/JSONWorldDataHelper.java:265: error: cannot find symbol
101.8         public static void buildWeatherStats(JsonObject json, ClientPlayerEntity player)
101.8                                                               ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class JSONWorldDataHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:25: error: package net.minecraft.block does not exist
101.8     import net.minecraft.block.Block;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:26: error: package net.minecraft.block does not exist
101.8     import net.minecraft.block.BlockState;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:27: error: package net.minecraft.block.material does not exist
101.8     import net.minecraft.block.material.Material;
101.8                                        ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:28: error: cannot find symbol
101.8     import net.minecraft.client.Minecraft;
101.8                                ^
101.8       symbol:   class Minecraft
101.8       location: package net.minecraft.client
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:29: error: package net.minecraft.client.entity.player does not exist
101.8     import net.minecraft.client.entity.player.ClientPlayerEntity;
101.8                                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:30: error: package net.minecraft.entity does not exist
101.8     import net.minecraft.entity.LivingEntity;
101.8                                ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:31: error: package net.minecraft.entity does not exist
101.8     import net.minecraft.entity.MobEntity;
101.8                                ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:32: error: package net.minecraft.item does not exist
101.8     import net.minecraft.item.BlockItem;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:33: error: package net.minecraft.item does not exist
101.8     import net.minecraft.item.Item;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:34: error: package net.minecraft.item does not exist
101.8     import net.minecraft.item.ItemStack;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:35: error: package net.minecraft.item.crafting does not exist
101.8     import net.minecraft.item.crafting.IRecipe;
101.8                                       ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:36: error: package net.minecraft.item.crafting does not exist
101.8     import net.minecraft.item.crafting.Ingredient;
101.8                                       ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:37: error: package net.minecraft.item.crafting does not exist
101.8     import net.minecraft.item.crafting.ShapedRecipe;
101.8                                       ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:38: error: package net.minecraft.state does not exist
101.8     import net.minecraft.state.DirectionProperty;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:39: error: package net.minecraft.state does not exist
101.8     import net.minecraft.state.EnumProperty;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:40: error: package net.minecraft.state does not exist
101.8     import net.minecraft.state.Property;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:41: error: package net.minecraft.stats does not exist
101.8     import net.minecraft.stats.Stat;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:42: error: package net.minecraft.stats does not exist
101.8     import net.minecraft.stats.StatType;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:43: error: package net.minecraft.stats does not exist
101.8     import net.minecraft.stats.Stats;
101.8                               ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:44: error: package net.minecraft.tileentity does not exist
101.8     import net.minecraft.tileentity.FurnaceTileEntity;
101.8                                    ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:45: error: package net.minecraft.util does not exist
101.8     import net.minecraft.util.NonNullList;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:46: error: package net.minecraft.util does not exist
101.8     import net.minecraft.util.RegistryKey;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:47: error: package net.minecraft.util does not exist
101.8     import net.minecraft.util.ResourceLocation;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:48: error: package net.minecraft.util.datafix.fixes does not exist
101.8     import net.minecraft.util.datafix.fixes.FurnaceRecipes;
101.8                                            ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:49: error: package net.minecraft.util.registry does not exist
101.8     import net.minecraft.util.registry.Registry;
101.8                                       ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:58: error: cannot find symbol
101.8         private static Map<ClientPlayerEntity, Integer> fuelCaches = new HashMap<ClientPlayerEntity, Integer>();
101.8                            ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:82: error: cannot find symbol
101.8         public static NonNullList<ItemStack> consolidateItemStacks(NonNullList<ItemStack> inputStacks) {
101.8                                                                    ^
101.8       symbol:   class NonNullList
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:82: error: cannot find symbol
101.8         public static NonNullList<ItemStack> consolidateItemStacks(NonNullList<ItemStack> inputStacks) {
101.8                                                                                ^
101.8       symbol:   class ItemStack
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:82: error: cannot find symbol
101.8         public static NonNullList<ItemStack> consolidateItemStacks(NonNullList<ItemStack> inputStacks) {
101.8                       ^
101.8       symbol:   class NonNullList
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:82: error: cannot find symbol
101.8         public static NonNullList<ItemStack> consolidateItemStacks(NonNullList<ItemStack> inputStacks) {
101.8                                   ^
101.8       symbol:   class ItemStack
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:109: error: cannot find symbol
101.8         public static boolean playerHasIngredients(ClientPlayerEntity player, List<ItemStack> ingredients) {
101.8                                                    ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:109: error: cannot find symbol
101.8         public static boolean playerHasIngredients(ClientPlayerEntity player, List<ItemStack> ingredients) {
101.8                                                                                    ^
101.8       symbol:   class ItemStack
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:133: error: cannot find symbol
101.8         private static boolean itemStackIngredientsMatch(ItemStack A, ItemStack B) {
101.8                                                          ^
101.8       symbol:   class ItemStack
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:133: error: cannot find symbol
101.8         private static boolean itemStackIngredientsMatch(ItemStack A, ItemStack B) {
101.8                                                                       ^
101.8       symbol:   class ItemStack
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:149: error: cannot find symbol
101.8         public static int totalBurnTimeInInventory(ClientPlayerEntity player) {
101.8                                                    ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:207: error: cannot find symbol
101.8         public static void removeIngredientsFromPlayer(ClientPlayerEntity player, List<ItemStack> ingredients) {
101.8                                                        ^
101.8       symbol:   class ClientPlayerEntity
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:207: error: cannot find symbol
101.8         public static void removeIngredientsFromPlayer(ClientPlayerEntity player, List<ItemStack> ingredients) {
101.8                                                                                        ^
101.8       symbol:   class ItemStack
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:541: error: cannot find symbol
101.8         private static JsonObject listIngredients(NonNullList<ItemStack> ingredients){
101.8                                                   ^
101.8       symbol:   class NonNullList
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:541: error: cannot find symbol
101.8         private static JsonObject listIngredients(NonNullList<ItemStack> ingredients){
101.8                                                               ^
101.8       symbol:   class ItemStack
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/microsoft/Malmo/Utils/CraftingHelper.java:735: error: cannot find symbol
101.8         private static int getRecipeSize(IRecipe recipe) {
101.8                                          ^
101.8       symbol:   class IRecipe
101.8       location: class CraftingHelper
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:8: error: package com.mojang.blaze3d.systems does not exist
101.8     import com.mojang.blaze3d.systems.RenderSystem;
101.8                                      ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:11: error: cannot find symbol
101.8     import net.minecraft.client.KeyboardListener;
101.8                                ^
101.8       symbol:   class KeyboardListener
101.8       location: package net.minecraft.client
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:12: error: cannot find symbol
101.8     import net.minecraft.client.Minecraft;
101.8                                ^
101.8       symbol:   class Minecraft
101.8       location: package net.minecraft.client
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:13: error: cannot find symbol
101.8     import net.minecraft.client.MouseHelper;
101.8                                ^
101.8       symbol:   class MouseHelper
101.8       location: package net.minecraft.client
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:15: error: package net.minecraft.client.entity.player does not exist
101.8     import net.minecraft.client.entity.player.ClientPlayerEntity;
101.8                                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:16: error: package net.minecraft.client.gui.screen.inventory does not exist
101.8     import net.minecraft.client.gui.screen.inventory.HorseInventoryScreen;
101.8                                                     ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:17: error: package net.minecraft.client.gui.screen.inventory does not exist
101.8     import net.minecraft.client.gui.screen.inventory.InventoryScreen;
101.8                                                     ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:18: error: package net.minecraft.client.shader does not exist
101.8     import net.minecraft.client.shader.Framebuffer;
101.8                                       ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:19: error: package net.minecraft.server.integrated does not exist
101.8     import net.minecraft.server.integrated.IntegratedServer;
101.8                                           ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:49: error: cannot find symbol
101.8         private Framebuffer fbo;
101.8                 ^
101.8       symbol:   class Framebuffer
101.8       location: class PlayRecorder
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:65: error: cannot find symbol
101.8         Minecraft mc = Minecraft.getInstance();
101.8         ^
101.8       symbol:   class Minecraft
101.8       location: class PlayRecorder
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:318: error: package MouseHelper does not exist
101.8         public void setMouseKeyboardState(MouseHelper.State mouseState, KeyboardListener.State keyboardState) {
101.8                                                      ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/PlayRecorder.java:318: error: package KeyboardListener does not exist
101.8         public void setMouseKeyboardState(MouseHelper.State mouseState, KeyboardListener.State keyboardState) {
101.8                                                                                         ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/recorder/AzureUpload.java:7: error: package net.minecraft.util does not exist
101.8     import net.minecraft.util.LoggingPrintStream;
101.8                              ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:3: error: package com.mojang.blaze3d.matrix does not exist
101.8     import com.mojang.blaze3d.matrix.MatrixStack;
101.8                                     ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:4: error: package com.mojang.blaze3d.platform does not exist
101.8     import com.mojang.blaze3d.platform.GlStateManager;
101.8                                       ^
101.8     /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/com/minerl/multiagent/env/FakeMouseCursor.java:5: error: package com.mojang.blaze3d.systems does not exist
101.8     import com.mojang.blaze3d.systems.RenderSystem;
101.8                                      ^
101.8     Note: /tmp/pip-req-build-ghtq6yhy/minerl/MCP-Reborn/src/main/java/net/minecraft/resources/JavaResourcePack.java uses or overrides a deprecated API.
101.8     Note: Recompile with -Xlint:deprecation for details.
101.8     100 errors
101.8
101.8     > Task :compileJava FAILED

My java version

openjdk version "1.8.0_392"
OpenJDK Runtime Environment (build 1.8.0_392-8u392-ga-1~20.04-b08)
OpenJDK 64-Bit Server VM (build 25.392-b08, mixed mode)

javac version

javac 1.8.0_392
Miffyli commented 10 months ago

hmm curious, building did function for me before I disappeared on holidays (I can not remember the exact Java versions, but they were some recent-ish 1.8.0). The only option that comes to mind quickly is that, for some reason, the environment where you are installing MineRL is using different java/javac from the one you checked. This has happened before in some questions, but not super common.

Ray7788 commented 10 months ago

OK I see, thank you Anssi!