Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Server->Client packets aren't working [1.16.3]


Recommended Posts

The following is my packet registry. The Client->Server packets work just fine, it's just the Server->Client ones where the context sender is null. so I'm certain I'm just missing something stupid:

 

public final class PacketRegistry
{
        /**
         * The ID for the next packet registration.
         */
        private static final String PROTOCOL_VERSION = Integer.toString(1);

        private byte nextPacketID = 0;
        /**
         * The internal network wrapper.
         */
        private static final SimpleChannel wrapper = NetworkRegistry.ChannelBuilder
                .named(new ResourceLocation(Withernauts.MODID, "main_channel"))
                .clientAcceptedVersions(PROTOCOL_VERSION::equals)
                .serverAcceptedVersions(PROTOCOL_VERSION::equals)
                .networkProtocolVersion(() -> PROTOCOL_VERSION)
                .simpleChannel();

        public void registerPackets()
        {
            //register packets going to the client
            registerServerToClient(MotionPlayerPacket.class,  MotionPlayerPacket::encode, MotionPlayerPacket::decode, MotionPlayerPacket::handle);
            registerServerToClient(PlayerLoadingPacket.class,  PlayerLoadingPacket::encode, PlayerLoadingPacket::decode, PlayerLoadingPacket::handle);
            //register packets going to the server
            registerClientToServer(CrouchSyncPacket.class, CrouchSyncPacket::encode, CrouchSyncPacket::decode, CrouchSyncPacket::handle);
            registerClientToServer(RunSyncPacket.class, RunSyncPacket::encode, RunSyncPacket::decode, RunSyncPacket::handle);
            registerClientToServer(AttackSyncPacket.class, AttackSyncPacket::encode, AttackSyncPacket::decode, AttackSyncPacket::handle);
            registerClientToServer(CombatActionPacket.class, CombatActionPacket::encode, CombatActionPacket::decode, CombatActionPacket::handle);
            registerClientToServer(ManaSyncPacket.class, ManaSyncPacket::encode, ManaSyncPacket::decode, ManaSyncPacket::handle);
            registerClientToServer(StaminaSyncPacket.class, StaminaSyncPacket::encode, StaminaSyncPacket::decode, StaminaSyncPacket::handle);
        }

        @SuppressWarnings({"unchecked", "rawtypes"})
        protected <MESSAGE> void registerServerToClient(Class<MESSAGE> type, BiConsumer<MESSAGE, PacketBuffer> encoder, Function<PacketBuffer, MESSAGE> decoder,
                                                    BiConsumer<MESSAGE, Supplier<NetworkEvent.Context>> consumer)
        {
            this.wrapper.registerMessage(nextPacketID++, type, encoder, decoder, consumer, Optional.of(NetworkDirection.PLAY_TO_CLIENT));
        }
        @SuppressWarnings({"unchecked", "rawtypes"})
        protected <MESSAGE> void registerClientToServer(Class<MESSAGE> type, BiConsumer<MESSAGE, PacketBuffer> encoder, Function<PacketBuffer, MESSAGE> decoder,
                                                    BiConsumer<MESSAGE, Supplier<NetworkEvent.Context>> consumer)
        {
            this.wrapper.registerMessage(nextPacketID++, type, encoder, decoder, consumer, Optional.of(NetworkDirection.PLAY_TO_SERVER));
        }

        /**
         * Sends the given packet to every client.
         *
         * @param message the packet to send.
         */
        public<MESSAGE> void sendToAll(MESSAGE message) {
            this.wrapper.send(PacketDistributor.ALL.noArg(), message);
        }

        /**
         * Sends the given packet to the given player.
         *
         * @param message the packet to send.
         * @param player  the player to send the packet to.
         */
        public<MESSAGE> void sendTo(MESSAGE message, ServerPlayerEntity player)
        {
            if (player.connection != null)
                this.wrapper.sendTo(message, player.connection.getNetworkManager(), NetworkDirection.PLAY_TO_CLIENT);
        }

        /**
         * Sends the given packet to all players around the given target point.
         *
         * @param message the packet to send.
         * @param point   the target point.
         */
        public<MESSAGE> void sendToAllAround(MESSAGE message, PacketDistributor.TargetPoint point)
        {
            this.wrapper.send(PacketDistributor.NEAR.with(()->point), message);
        }
        /**
         * Sends the given packet to the server.
         *
         * @param message the packet to send.
         */
        public<MESSAGE> void sendToServer(MESSAGE message)
        {
            this.wrapper.sendToServer(message);
        }

        public<MESSAGE> void sendToAllTracking(MESSAGE message, Entity entity) {
            this.wrapper.send(PacketDistributor.TRACKING_ENTITY.with(() -> entity), message);
        }
}

 

This class is called in the FMLCommonSetupEvent event hook within my main file.

 

This is a Server->Client packet that isn't working:

 

public class PlayerLoadingPacket
{
    private final int currentMana, maxMana, currentStamina, maxStamina;
    private final boolean staminaPunish;
    public PlayerLoadingPacket(int cMana, int mMana, int cStamina, int mStamina, boolean sPunish)
    {
        currentMana = cMana;
        maxMana = mMana;
        currentStamina = cStamina;
        maxStamina = mStamina;
        staminaPunish = sPunish;
    }
    public static void encode(PlayerLoadingPacket pkt, PacketBuffer buf)
    {
        buf.writeInt(pkt.currentMana);
        buf.writeInt(pkt.maxMana);
        buf.writeInt(pkt.currentStamina);
        buf.writeInt(pkt.maxStamina);
        buf.writeBoolean(pkt.staminaPunish);
    }
    public static PlayerLoadingPacket decode(PacketBuffer buf)
    {
        int cM = buf.readInt();
        int mM = buf.readInt();
        int cS = buf.readInt();
        int mS = buf.readInt();
        boolean sS = buf.readBoolean();

        return new PlayerLoadingPacket(cM, mM, cS, mS, sS);
    }
    public static void handle(PlayerLoadingPacket message, Supplier<NetworkEvent.Context> context)
    {
        NetworkEvent.Context ctx = context.get();
        ctx.enqueueWork(()->
                {
                    if (ctx.getSender()!= null)
                    {
                        EntityPlayer entityPlayer = new EntityPlayer(ctx.getSender());
                        entityPlayer.getPlayerCapability().setMana(message.currentMana);
                        entityPlayer.getPlayerCapability().setMaxMana(message.maxMana);
                        entityPlayer.getPlayerCapability().setStamina(message.currentStamina);
                        entityPlayer.getPlayerCapability().setMaxStamina(message.maxStamina);
                        entityPlayer.getPlayerCapability().setStaminaPunished(message.staminaPunish);
                        System.out.print("MANA: ");
                        System.out.print(entityPlayer.getPlayerCapability().getCurrentMana());
                        System.out.printf("%n");
                    }
                }
        );
        ctx.setPacketHandled(true);
    }
}

 

Edited by Turtledove
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • My game crash with [19:22:26] [Client thread/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: testymod:axe_copper Value: com.Testmod.objects.tools.ToolAxe@1f41742f [19:22:27] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:553]: ---- Minecraft Crash Report ---- // Hey, that tickles! Hehehe![19:22:26] [Client thread/WARN] [FML]: Registry Item: Override did not have an associated owner object. Name: testymod:axe_copper Value: com.Testmod.objects.tools.ToolAxe@1f41742f [19:22:27] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:553]: ---- Minecraft Crash Report ---- // Hey, that tickles! Hehehe!  
    • if I'm not mistaken: you just add two conditions in the json array for conditions, one to check for the tool enchantment, and one to check for a random rol. you can look at the glass loot table to see how to check for the enchantment, and at the grass loot table to see how to drop on a random chance with a given probability
    • Hello Im having some problems starting my server The error im getting is [main/WARN] [net.minecraft.server.Main/]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode java.util.concurrent.ExecutionException: java.lang.RuntimeException: Attempted to load class net/minecraft/client/entity/player/ClientPlayerEntity for invalid dist DEDICATED_SERVER at java.util.concurrent.CompletableFuture.reportGet(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.get(Unknown Source) ~[?:1.8.0_261] at net.minecraft.server.Main.main(Main.java:130) ~[?:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261] at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:51) ~[forgeserver.jar:36.1] at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63) [forgeserver.jar:?] at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60) [forgeserver.jar:?] at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) [forgeserver.jar:?] Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/entity/player/ClientPlayerEntity for invalid dist DEDICATED_SERVER at net.minecraftforge.fml.loading.RuntimeDistCleaner.processClassWithFlags(RuntimeDistCleaner.java:71) ~[forgeserver.jar:36.1] at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:85) ~[modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:265) ~[modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) ~[modlauncher-8.0.9.jar:?] at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) ~[modlauncher-8.0.9.jar:?] at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_261] at me.desht.pneumaticcraft.common.recipes.PneumaticCraftRecipeType.getRecipes(PneumaticCraftRecipeType.java:119) ~[pneumaticcraft:1.16.5-2.11.4-170] at me.desht.pneumaticcraft.common.fluid.FuelRegistry.findEntry(FuelRegistry.java:96) ~[pneumaticcraft:1.16.5-2.11.4-170] at me.desht.pneumaticcraft.common.fluid.FuelRegistry.lambda$getFuelValue$0(FuelRegistry.java:54) ~[pneumaticcraft:1.16.5-2.11.4-170] at java.util.HashMap.computeIfAbsent(Unknown Source) ~[?:1.8.0_261] at me.desht.pneumaticcraft.common.fluid.FuelRegistry.getFuelValue(FuelRegistry.java:54) ~[pneumaticcraft:1.16.5-2.11.4-170] at me.desht.pneumaticcraft.common.event.EventHandlerPneumaticCraft.lambda$handleFuelEvent$0(EventHandlerPneumaticCraft.java:80) ~[pneumaticcraft:1.16.5-2.11.4-170] at java.util.Optional.ifPresent(Unknown Source) ~[?:1.8.0_261] at me.desht.pneumaticcraft.common.event.EventHandlerPneumaticCraft.handleFuelEvent(EventHandlerPneumaticCraft.java:77) ~[pneumaticcraft:1.16.5-2.11.4-170] at net.minecraftforge.eventbus.ASMEventHandler_913_EventHandlerPneumaticCraft_handleFuelEvent_FurnaceFuelBurnTimeEvent.invoke(.dynamic) ~[?:?] at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] at net.minecraftforge.event.ForgeEventFactory.getItemBurnTime(ForgeEventFactory.java:227) ~[forge:?] at net.minecraftforge.common.ForgeHooks.getBurnTime(ForgeHooks.java:1260) ~[forge:?] at net.minecraft.tileentity.AbstractFurnaceTileEntity.func_213991_b(AbstractFurnaceTileEntity.java:333) ~[?:?] at com.valkyrieofnight.simplegens.data.item.ItemFuelRegistry.lambda$setupCustomRegistries$2(ItemFuelRegistry.java:148) ~[simplegens:1.16.5-3.0.8.0] at com.google.common.collect.Maps$KeySet.lambda$forEach$0(Maps.java:3822) ~[server-1.16.5-20210115.111550-extra.jar:?] at com.google.common.collect.HashBiMap$Inverse.lambda$forEach$0(HashBiMap.java:693) ~[server-1.16.5-20210115.111550-extra.jar:?] at com.google.common.collect.HashBiMap.forEach(HashBiMap.java:528) ~[server-1.16.5-20210115.111550-extra.jar:?] at com.google.common.collect.HashBiMap$Inverse.forEach(HashBiMap.java:693) ~[server-1.16.5-20210115.111550-extra.jar:?] at com.google.common.collect.Maps$KeySet.forEach(Maps.java:3822) ~[server-1.16.5-20210115.111550-extra.jar:?] at java.util.Collections$UnmodifiableCollection.forEach(Unknown Source) ~[?:1.8.0_261] at com.valkyrieofnight.simplegens.data.item.ItemFuelRegistry.setupCustomRegistries(ItemFuelRegistry.java:147) ~[simplegens:1.16.5-3.0.8.0] at com.valkyrieofnight.simplegens.data.item.ItemFuelRegistry.loadDataIntoRegistry(ItemFuelRegistry.java:62) ~[simplegens:1.16.5-3.0.8.0] at com.valkyrieofnight.vlib.registry.recipe.AbstractRecipeRegistry.reloadData(AbstractRecipeRegistry.java:99) ~[valkyrielib:1.16.5-3.0.8.0] at com.valkyrieofnight.vlib.core.io.datapack.JsonDataLoader.load(JsonDataLoader.java:106) ~[valkyrielib:1.16.5-3.0.8.0] at com.valkyrieofnight.vlib.core.io.datapack.JsonDataLoader.lambda$reload$0(JsonDataLoader.java:67) ~[valkyrielib:1.16.5-3.0.8.0] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniRun(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniRun.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$Completion.run(Unknown Source) ~[?:1.8.0_261] at net.minecraft.resources.AsyncReloader.func_219557_a(SourceFile:71) ~[?:?] at net.minecraft.resources.AsyncReloader.func_219560_a(SourceFile:70) ~[?:?] at java.util.concurrent.CompletableFuture$UniCompletion.claim(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.uniAccept(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$UniAccept.tryFire(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture.postComplete(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_261] at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) ~[?:1.8.0_261]  
    • I've tried many things like clearing my mods folder, restarting Minecraft, and reinstalling forge but it just seems to not work. 
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.