Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NGoop

Members
  • Joined

  • Last visited

  1. I know it's the wrong choice, but I don't know how to delete it.
  2. ChatListener.class @SubscribeEvent public void onClientChatReceivedEvent(ClientChatReceivedEvent event) { if(event.getType() == ChatType.SYSTEM) { String ft = cc.getFormattedText(); .... build.gradle buildscript { repositories { jcenter() maven { url = "http://files.minecraftforge.net/maven" } } dependencies { classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT' classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.4' } } apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'com.github.johnrengelman.shadow' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. version = "1.0" group = "com.ng8p.chateditor" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "chateditor" sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. compileJava { sourceCompatibility = targetCompatibility = '1.8' } project.tasks.build.dependsOn project.tasks.shadowJar minecraft { version = "1.12-14.21.1.2443" runDir = "run" // the mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD snapshot are built nightly. // stable_# stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // simply re-run your setup task after changing the mappings to update your workspace. mappings = "snapshot_20170624" // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. } dependencies { compile 'org.jsoup:jsoup:1.11.3' shadow 'org.jsoup:jsoup:1.11.3' } processResources { // this will ensure that this task is redone when the versions change. inputs.property "version", project.version inputs.property "mcversion", project.minecraft.version // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include 'mcmod.info' // replace version and mcversion expand 'version':project.version, 'mcversion':project.minecraft.version } // copy everything else except the mcmod.info from(sourceSets.main.resources.srcDirs) { exclude 'mcmod.info' } } Exception Error executing task java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: net.minecraft.util.text.ITextComponent.getFormattedText()Ljava/lang/String; at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at net.minecraft.util.Util.func_181617_a(SourceFile:47) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1086) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) Caused by: java.lang.NoSuchMethodError: net.minecraft.util.text.ITextComponent.getFormattedText()Ljava/lang/String; at com.ng8p.chateditor.event.ChatListener.onClientChatReceivedEvent(ChatListener.java:34) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_28_ChatListener_onClientChatReceivedEvent_ClientChatReceivedEvent.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:179) at net.minecraftforge.event.ForgeEventFactory.onClientChat(ForgeEventFactory.java:347) at net.minecraft.client.network.NetHandlerPlayClient.func_147251_a(NetHandlerPlayClient.java:841) at net.minecraft.network.play.server.SPacketChat.func_148833_a(SourceFile:41) at net.minecraft.network.play.server.SPacketChat.func_148833_a(SourceFile:10) at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at net.minecraft.util.Util.func_181617_a(SourceFile:46) ... 9 more I am trying to change chatting using keywords using jsoup. It did not happen until jsoup was added, but when jsoup was added as shadow. What should I do?

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.