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

[1.12.2][SOLVED!] Capabilities and networking


MCrafterzz
 Share

Recommended Posts

I do admit the isRemote thing was very dumb. I do return success tho. This is the end of the code (It's not the whole code):

 

if (axisalignedbb != Block.NULL_AABB && worldIn.checkNoEntityCollision(axisalignedbb.offset(blockpos))
     && worldIn.setBlockState(blockpos, iblockstate1, 10)) {
    SoundType soundtype = this.block.getSoundType(iblockstate1, worldIn, blockpos, player);
    worldIn.playSound(player, blockpos, soundtype.getPlaceSound(), SoundCategory.BLOCKS,
      (soundtype.getVolume() + 1.0F) / 2.0F, soundtype.getPitch() * 0.8F);
    if (player instanceof EntityPlayerMP) {
     CriteriaTriggers.PLACED_BLOCK.trigger((EntityPlayerMP) player, blockpos, itemstack);
    }
    itemstack.shrink(amount);
    return EnumActionResult.SUCCESS;
   }
 
EDIT:
printing out "PLACED" with my debugger prints this:
[16:27:31] [main/WARN] [ml]: PLACED
[16:27:31] [Server thread/WARN] [ml]: PLACED
 
Why aren't those two messages the same?
Edited by MCrafterzz
Link to comment
Share on other sites

It works like snow layers so you can build apon the block. Also I added the ability to place a four layers at the same time when clicking + CTRL. It's just so wierd as it is based on ItemBlockSnow but randomly workes differently (triggers two times instead of one). Here's the full code:

https://pastebin.com/fys1Mb4G

Edited by MCrafterzz
Link to comment
Share on other sites

I guess I'll have to look into that. The block setting methoud is the same as the vanilla itemblock tho so what do you mean with only place it on the server? Also I still don't understand the reasoning for it triggering twice as the canplayeredit methoud should prevent it.

 

Is there any easier way to detect the press of CTRL without using packets?

Edited by MCrafterzz
Link to comment
Share on other sites

Seems vanilla's ItemBlock actually does the placement on the client as well, very strange. At this point I suspect it triggering twice is not actually the two hands but server and client. Did you check which thread is calling the method?

 

10 minutes ago, MCrafterzz said:

Is there any easier way to detect the press of CTRL without using packets?

No, the server has no idea about the client's keyboard. The server may be located on the other side of the globe, the only way to communicate with it is packets.

And nothing about packets is hard.

Link to comment
Share on other sites

3 hours ago, MCrafterzz said:

Is there any easier way to detect the press of CTRL without using packets?

Isn't CTRL the key used to sneak?
Check if the player is sneaking.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

You might be right. I haven't actually played in a while.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

2 minutes ago, MCrafterzz said:

It still activates twice even tho I use worldIn.isRemote = false

If vanilla does not have the isRemote check, you do not need it either. It will active twice then, that is to be expected.

Please give more information about where these two activations are coming from (use the debugger): What hand? What logical side?

Link to comment
Share on other sites

Changing stuff eventually got it to work so now I just have to get the packages setup. Here is what I have so far:

public class KeybindMessage implements IMessage {

	private boolean keybindDown;

	public KeybindMessage(boolean keybindDown) {
		this.keybindDown = keybindDown;
	}

	@Override
	public void fromBytes(ByteBuf buf) {
		buf.readBoolean();
	}

	@Override
	public void toBytes(ByteBuf buf) {
		buf.writeBoolean(keybindDown);
	}

}
public class KeybindMessageHandler implements IMessageHandler<KeybindMessage, IMessage> {

	@Override
	public IMessage onMessage(KeybindMessage message, MessageContext ctx) {
		return null;
	}

}

What should be in the onMessage methoud?

Main class (some stuff has been removed)

@Mod(modid = "ml", name = "More Layers", version = "1.1.0", acceptedMinecraftVersions = "1.12,1.12.1,1.12.2")
@EventBusSubscriber
public class Main {

	public static final SimpleNetworkWrapper networkInstance = NetworkRegistry.INSTANCE.newSimpleChannel("ml");

	@EventHandler
	public static void preInit(FMLPreInitializationEvent event) {
		networkInstance.registerMessage(KeybindMessageHandler.class, KeybindMessage.class, 0, Side.SERVER);
	}

}

I know that I should call Main.networkInstance.sendToServer but where should I call this and how should I get the result?

 

Link to comment
Share on other sites

2 hours ago, MCrafterzz said:

Bump

No.

 

  • Your IMessage classes must have a public no-parameters constructor.
  • You need to remember on the server for each player whether they are currently pressing the button or not. You can do this using capabilities.
  • When the packet arrives, you store the current state in the player's capability.
  • In your ItemBlock you can then access the capability of the player placing the block.
  • "ml" is a terrible mod ID (and network channel). It should be "morelayers".
  • Thanks 1
Link to comment
Share on other sites

I think I got it working but where should I call the capability to update it? Is there a key press event?:

KeybindInterface keybindInterface = event.getEntityPlayer().getCapability(KeybindProvider.capability, event.getFace());
  keybindInterface.setKeybindDown(Minecraft.getMinecraft().gameSettings.keyBindSprint.isKeyDown());

Edited by MCrafterzz
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Hello,  everytime i start any modpack on MultiMC it gives me a whole set of errors. I've got no idea what i can do to fix this. Here is my log. MultiMC version: 0.6.14-3001 Launched instance in online mode authserver.mojang.com resolves to:     [13.227.199.74] session.minecraft.net resolves to:     [52.21.65.46, 34.205.58.168, 3.213.200.53] textures.minecraft.net resolves to:     [65.9.82.114, 65.9.82.27, 65.9.82.56, 65.9.82.87] api.mojang.com resolves to:     [52.222.138.66] Minecraft folder is: C:/Users/31625/Documents/MultiMC/instances/Vault Hunters - Official Modpack/minecraft Java path is: C:/Program Files (x86)/Common Files/Oracle/Java/javapath/javaw.exe Checking Java version... Java is version 1.8.0_321, using 64-bit architecture, from Oracle Corporation. Main Class:   io.github.zekerzhayard.forgewrapper.installer.Main Native path:   C:/Users/31625/Documents/MultiMC/instances/Vault Hunters - Official Modpack/natives Traits: traits XR:Initial traits FirstThreadOnMacOS Libraries:   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-glfw/3.2.2/lwjgl-glfw-3.2.2.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-jemalloc/3.2.2/lwjgl-jemalloc-3.2.2.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-openal/3.2.2/lwjgl-openal-3.2.2.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-opengl/3.2.2/lwjgl-opengl-3.2.2.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-stb/3.2.2/lwjgl-stb-3.2.2.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-tinyfd/3.2.2/lwjgl-tinyfd-3.2.2.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl/3.2.2/lwjgl-3.2.2.jar   C:/Users/31625/Documents/MultiMC/libraries/com/mojang/patchy/1.3.9/patchy-1.3.9.jar   C:/Users/31625/Documents/MultiMC/libraries/oshi-project/oshi-core/1.1/oshi-core-1.1.jar   C:/Users/31625/Documents/MultiMC/libraries/net/java/dev/jna/jna/4.4.0/jna-4.4.0.jar   C:/Users/31625/Documents/MultiMC/libraries/net/java/dev/jna/platform/3.4.0/platform-3.4.0.jar   C:/Users/31625/Documents/MultiMC/libraries/com/ibm/icu/icu4j/66.1/icu4j-66.1.jar   C:/Users/31625/Documents/MultiMC/libraries/com/mojang/javabridge/1.0.22/javabridge-1.0.22.jar   C:/Users/31625/Documents/MultiMC/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar   C:/Users/31625/Documents/MultiMC/libraries/io/netty/netty-all/4.1.25.Final/netty-all-4.1.25.Final.jar   C:/Users/31625/Documents/MultiMC/libraries/com/google/guava/guava/21.0/guava-21.0.jar   C:/Users/31625/Documents/MultiMC/libraries/org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar   C:/Users/31625/Documents/MultiMC/libraries/commons-io/commons-io/2.5/commons-io-2.5.jar   C:/Users/31625/Documents/MultiMC/libraries/commons-codec/commons-codec/1.10/commons-codec-1.10.jar   C:/Users/31625/Documents/MultiMC/libraries/com/mojang/brigadier/1.0.17/brigadier-1.0.17.jar   C:/Users/31625/Documents/MultiMC/libraries/com/mojang/datafixerupper/4.0.26/datafixerupper-4.0.26.jar   C:/Users/31625/Documents/MultiMC/libraries/com/google/code/gson/gson/2.8.0/gson-2.8.0.jar   C:/Users/31625/Documents/MultiMC/libraries/com/mojang/authlib/2.1.28/authlib-2.1.28.jar   C:/Users/31625/Documents/MultiMC/libraries/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar   C:/Users/31625/Documents/MultiMC/libraries/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.jar   C:/Users/31625/Documents/MultiMC/libraries/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar   C:/Users/31625/Documents/MultiMC/libraries/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.jar   C:/Users/31625/Documents/MultiMC/libraries/it/unimi/dsi/fastutil/8.2.1/fastutil-8.2.1.jar   C:/Users/31625/Documents/MultiMC/libraries/org/apache/logging/log4j/log4j-api/2.16.0/log4j-api-2.16.0.jar   C:/Users/31625/Documents/MultiMC/libraries/org/apache/logging/log4j/log4j-core/2.16.0/log4j-core-2.16.0.jar   C:/Users/31625/Documents/MultiMC/libraries/com/mojang/text2speech/1.11.3/text2speech-1.11.3.jar   C:/Users/31625/Documents/MultiMC/libraries/io/github/zekerzhayard/ForgeWrapper/mmc3/ForgeWrapper-mmc3.jar   C:/Users/31625/Documents/MultiMC/libraries/net/minecraftforge/forge/1.16.5-36.2.23/forge-1.16.5-36.2.23-launcher.jar   C:/Users/31625/Documents/MultiMC/libraries/org/ow2/asm/asm/9.1/asm-9.1.jar   C:/Users/31625/Documents/MultiMC/libraries/org/ow2/asm/asm-commons/9.1/asm-commons-9.1.jar   C:/Users/31625/Documents/MultiMC/libraries/org/ow2/asm/asm-tree/9.1/asm-tree-9.1.jar   C:/Users/31625/Documents/MultiMC/libraries/org/ow2/asm/asm-util/9.1/asm-util-9.1.jar   C:/Users/31625/Documents/MultiMC/libraries/org/ow2/asm/asm-analysis/9.1/asm-analysis-9.1.jar   C:/Users/31625/Documents/MultiMC/libraries/cpw/mods/modlauncher/8.0.9/modlauncher-8.0.9.jar   C:/Users/31625/Documents/MultiMC/libraries/cpw/mods/grossjava9hacks/1.3.3/grossjava9hacks-1.3.3.jar   C:/Users/31625/Documents/MultiMC/libraries/net/minecraftforge/accesstransformers/3.0.1/accesstransformers-3.0.1.jar   C:/Users/31625/Documents/MultiMC/libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar   C:/Users/31625/Documents/MultiMC/libraries/net/minecraftforge/eventbus/4.0.0/eventbus-4.0.0.jar   C:/Users/31625/Documents/MultiMC/libraries/net/minecraftforge/forgespi/3.2.0/forgespi-3.2.0.jar   C:/Users/31625/Documents/MultiMC/libraries/net/minecraftforge/coremods/4.0.6/coremods-4.0.6.jar   C:/Users/31625/Documents/MultiMC/libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar   C:/Users/31625/Documents/MultiMC/libraries/com/electronwill/night-config/core/3.6.3/core-3.6.3.jar   C:/Users/31625/Documents/MultiMC/libraries/com/electronwill/night-config/toml/3.6.3/toml-3.6.3.jar   C:/Users/31625/Documents/MultiMC/libraries/org/jline/jline/3.12.1/jline-3.12.1.jar   C:/Users/31625/Documents/MultiMC/libraries/org/apache/maven/maven-artifact/3.6.3/maven-artifact-3.6.3.jar   C:/Users/31625/Documents/MultiMC/libraries/net/jodah/typetools/0.8.3/typetools-0.8.3.jar   C:/Users/31625/Documents/MultiMC/libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar   C:/Users/31625/Documents/MultiMC/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar   C:/Users/31625/Documents/MultiMC/libraries/net/minecraftforge/nashorn-core-compat/15.1.1.1/nashorn-core-compat-15.1.1.1.jar   C:/Users/31625/Documents/MultiMC/libraries/com/mojang/minecraft/1.16.5/minecraft-1.16.5-client.jar Native libraries:   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-glfw/3.2.2/lwjgl-glfw-3.2.2-natives-windows.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-jemalloc/3.2.2/lwjgl-jemalloc-3.2.2-natives-windows.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-openal/3.2.2/lwjgl-openal-3.2.2-natives-windows.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-opengl/3.2.2/lwjgl-opengl-3.2.2-natives-windows.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-stb/3.2.2/lwjgl-stb-3.2.2-natives-windows.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl-tinyfd/3.2.2/lwjgl-tinyfd-3.2.2-natives-windows.jar   C:/Users/31625/Documents/MultiMC/libraries/org/lwjgl/lwjgl/3.2.2/lwjgl-3.2.2-natives-windows.jar   C:/Users/31625/Documents/MultiMC/libraries/com/mojang/text2speech/1.11.3/text2speech-1.11.3-natives-windows.jar Mods:   [✔️] appleskin-forge-mc1.16.x-2.2.0   [✔️] appliedenergistics2-8.4.6   [✔️] archers_paradox-1.16.5-1.4.0.1   [✔️] architectury-1.28.48   [✔️] AutoRegLib-1.6-49   [✔️] blockcarpentry-1.16-0.4.0   [✔️] Bookshelf-Forge-1.16.5-10.3.29   [✔️] Botania-1.16.5-420.1   [✔️] buildinggadgets-1.16.5-3.8.2   [✔️] byg-1.3.5   [✔️] camera-1.16.5-1.0.14   [✔️] Clumps-6.0.0.27   [✔️] cofh_core-1.16.5-1.4.0.6   [✔️] comforts-forge-1.16.5-4.0.1.3   [✔️] Compressium-1.16.5-1.2.3   [✔️] Controlling-7.0.0.28   [✔️] CookingForBlockheads_1.16.5-9.3.4   [✔️] corpse-1.16.5-1.0.6   [✔️] CraftTweaker-1.16.5-7.1.2.487   [✔️] create-mc1.16.5_v0.3.2g   [✔️] CreateTweaker-1.0.0.26   [✔️] Cucumber-1.16.5-4.1.12   [✔️] curios-forge-1.16.5-4.0.5.2   [✔️] dankstorage-3.19   [✔️] DarkUtilities-1.16.3-6.0.3   [✔️] decorative_blocks-1.16.4-1.7.2   [✔️] DimStorage-1.16.5-4.4.1   [✔️] easy_villagers-1.16.5-1.0.11   [✔️] elevatorid-1.16.5-1.7.13   [✔️] EnderMail-1.16.5-1.2.2   [✔️] engineersdecor-1.16.5-1.1.15   [✔️] entitydetectors-1.16.4-1.1.0.1   [✔️] enviromats-1.16.5-2.0.9.0   [✔️] fairylights-4.0.5-1.16.5   [✔️] FastWorkbench-1.16.5-4.6.1   [✔️] FluxNetworks-1.16.5-6.1.7.12   [✔️] flywheel-1.16-0.2.5   [✔️] framedcompactdrawers-1.16-2.2.1   [✔️] ftb-backups-2.1.2.2   [✔️] ftb-library-forge-1605.3.4-build.90   [✔️] furniture-7.0.0-pre19-1.16.3   [✔️] Hwyla-forge-1.10.11-B78_1.16.2   [✔️] ImmersiveEngineering-1.16.5-5.0.7-143   [✔️] industrial-foregoing-1.16.5-3.2.14.6-14   [✔️] invtweaks-1.16.4-1.0.1   [✔️] ironchest-1.16.5-11.2.21   [✔️] ironfurnaces-1.16.5-2.7.7   [✔️] IronJetpacks-1.16.5-4.2.3   [✔️] iskallutilities-1.4   [✔️] ispawner-0.1.7-forge   [✔️] jei-1.16.5-7.7.1.139   [✔️] jeiintegration_1.16.5-7.0.1.15   [✔️] JEITweaker-1.16.5-1.1.0.49   [✔️] JustEnoughResources-1.16.5-0.12.1.133   [✔️] Lollipop-1.16.5-3.2.9   [✔️] masonry-1.16.3-0.3.6   [✔️] mcjtylib-1.16-5.1.2   [✔️] mcw-bridges-2.0.1-mc1.16.5   [✔️] mcw-doors-1.0.5-mc1.16.5   [✔️] mcw-furniture-2.0.1-mc1.16.5   [✔️] mcw-roofs-2.0.1-mc1.16.5-4   [✔️] mcw-windows-2.0.2-mc1.16.5   [✔️] Mekanism-1.16.5-10.1.1.456   [✔️] MekanismGenerators-1.16.5-10.1.1.456   [✔️] metalbarrels-1.16.2-3.3b   [✔️] mininggadgets-1.7.5   [✔️] MmmMmmMmmMmm-1.16.5-1.3.1   [✔️] modular-routers-1.16.5-7.4.0-55   [✔️] Morpheus-1.16.5-4.2.70   [✔️] MouseTweaks-2.14-mc1.16.2   [✔️] movingelevators-1.2.34-mc1.16.5   [✔️] neoncraft-2.1   [✔️] OpenLoader-1.16.5-9.0.3   [✔️] Patchouli-1.16.4-53.2   [✔️] Placebo-1.16.5-4.6.1   [✔️] platforms-1.16-1.7.12   [✔️] Powah-1.16.5-2.3.16   [✔️] PrettyPipes-1.9.5   [✔️] Quark-r2.4-321   [✔️] rangedpumps-0.8.2   [✔️] refinedstorage-1.9.15   [✔️] refinedstorageaddons-0.7.3   [✔️] rftoolsbase-1.16-2.1.1   [✔️] rftoolsbuilder-1.16-3.1.4   [✔️] rftoolspower-1.16-3.0.11   [✔️] rftoolsstorage-1.16-2.0.15   [✔️] rftoolsutility-1.16-3.1.7   [✔️] rsgauges-1.16.5-1.2.13   [✔️] rsrequestify-1.16.5-2.1.4   [✔️] Runelic-1.16.5-7.0.2   [✔️] selene-1.16.5-1.9.0   [✔️] shetiphiancore-1.16-3.8.6   [✔️] simplybackpacks-1.16.5-2.0.1-build.27   [✔️] simplylight-1.16.5-1.4.0-build.24   [✔️] snad-1.0.9-forge   [✔️] storage_overhaul-1.16.5-1.0.4   [✔️] StorageDrawers-1.16.3-8.5.0   [✔️] supermartijn642corelib-1.0.16-mc1.16.5   [✔️] supplementaries-1.16.5-0.18.0   [✔️] the_vault-1.7.0p1.12.1   [✔️] thermal_expansion-1.16.5-1.4.1.3   [✔️] thermal_foundation-1.16.5-1.4.1.7   [✔️] titanium-1.16.5-3.2.8.4-10   [✔️] torchmaster-2.3.8   [✔️] torohealth-1.16.4-forge-4   [✔️] trashcans-1.0.11-mc1.16   [✔️] u_team_core-1.16.5-3.2.1.196   [✔️] useful_railroads-1.16.5-1.4.6.38   [✔️] valkyrielib-1.16.5-3.0.9.5   [✔️] Waddles-1.16.5-0.8.13   [✔️] Waystones_1.16.5-7.6.4   [✔️] Xaeros_Minimap_21.14.1_Forge_1.16.5   [✔️] XaerosWorldMap_1.16.0_Forge_1.16.5   [✔️] xnet-1.16-3.0.15 Params:   --username  --version MultiMC5 --gameDir C:/Users/31625/Documents/MultiMC/instances/Vault Hunters - Official Modpack/minecraft --assetsDir C:/Users/31625/Documents/MultiMC/assets --assetIndex 1.16 --uuid  --accessToken  --userType  --versionType release --launchTarget fmlclient --fml.forgeVersion 36.2.23 --fml.mcVersion 1.16.5 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20210115.111550 Window size: 854 x 480 Java Arguments: [-XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump, -Xms512m, -Xmx8192m, -Duser.language=en] Minecraft process ID: 1932 Using onesix launcher. Checking: MC_SLIM Checking: MAPPINGS Checking: MC_EXTRA Checking: PATCHED Checking: MC_SRG 2022-01-19 11:35:45,095 main WARN Advanced terminal features are not available in this environment [11:35:45] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, zBqdger, --version, MultiMC5, --gameDir, C:/Users/31625/Documents/MultiMC/instances/Vault Hunters - Official Modpack/minecraft, --assetsDir, C:/Users/31625/Documents/MultiMC/assets, --assetIndex, 1.16, --uuid, <PROFILE ID>, --accessToken, ????????, --userType, msa, --versionType, release, --launchTarget, fmlclient, --fml.forgeVersion, 36.2.23, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210115.111550, --width, 854, --height, 480] [11:35:45] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 1.8.0_321 by Oracle Corporation [11:35:45] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust [11:35:45] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/C:/Users/31625/Documents/MultiMC/libraries/org/spongepowered/mixin/0.8.4/mixin-0.8.4.jar Service=ModLauncher Env=CLIENT [11:35:47] [main/INFO] [STDERR/]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 1:0 token recognition error at: '~' [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launchWithMainClass:213]: Failed to start Minecraft: [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launch:245]: java.lang.reflect.InvocationTargetException [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launch:245]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launch:245]:     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launch:245]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launch:245]:     at java.lang.reflect.Method.invoke(Unknown Source) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launch:245]:     at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launch:245]:     at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launch:245]:     at org.multimc.EntryPoint.listen(EntryPoint.java:143) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launch:245]:     at org.multimc.EntryPoint.main(EntryPoint.java:34) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launchWithMainClass:214]: Caused by: java.lang.reflect.InvocationTargetException [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launchWithMainClass:214]:     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launchWithMainClass:214]:     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launchWithMainClass:214]:     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launchWithMainClass:214]:     at java.lang.reflect.Method.invoke(Unknown Source) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launchWithMainClass:214]:     at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:57) [11:35:48] [main/INFO] [STDERR/]: [org.multimc.onesix.OneSixLauncher:launchWithMainClass:214]:     ... 8 more [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]: Caused by: java.lang.NoSuchMethodError: sun.security.util.ManifestEntryVerifier.<init>(Ljava/util/jar/Manifest;)V [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.SecureJarHandler.createCodeSource(SecureJarHandler.java:66) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:275) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:136) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:98) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at java.lang.ClassLoader.loadClass(Unknown Source) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at java.lang.Class.forName0(Native Method) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at java.lang.Class.forName(Unknown Source) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at org.spongepowered.asm.service.modlauncher.ModLauncherClassProvider.findClass(ModLauncherClassProvider.java:67) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at org.spongepowered.asm.launch.platform.MixinConnectorManager.loadConnectors(MixinConnectorManager.java:70) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at org.spongepowered.asm.launch.platform.MixinConnectorManager.inject(MixinConnectorManager.java:59) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at org.spongepowered.asm.launch.platform.MixinPlatformManager.inject(MixinPlatformManager.java:196) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at org.spongepowered.asm.launch.MixinBootstrap.inject(MixinBootstrap.java:202) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.initializeLaunch(MixinLaunchPluginLegacy.java:201) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.initializeLaunch(MixinLaunchPluginLegacy.java:195) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.LaunchPluginHandler.lambda$announceLaunch$9(LaunchPluginHandler.java:97) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at java.util.HashMap.forEach(Unknown Source) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.LaunchPluginHandler.announceLaunch(LaunchPluginHandler.java:97) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:52) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [11:35:48] [main/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:-1]:     ... 13 more [11:35:48] [main/INFO] [STDOUT/]: [org.multimc.EntryPoint:main:37]: Exiting with -1 Process exited with code -1. Clipboard copy at: 19 Jan 2022 11:35:55 +0100  
    • I have mc afee anti virus and i use my smartphone with mobile data i dont have any vpn and i use my pc by connecting hotspot from smartphone only (don't know if it will sound wierd )  
    • Where is this code located? Why is this called "LoginMod"?
    • Server that I rented (10gb) that has been running fine for 5 days, now when on startup uses 60% of its ram and slowly creeps up to 100% RAM usage. This usually results in a crash. When using spark it says it is using 50% of the ram instead of the 100% the website was suggesting. Spark Profiling: https://spark.lucko.me/ZLfGYmlD0D  
    • Really old Minecraft versions are no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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