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.

Featured Replies

Posted

I am making a mod that has a command that requires me to create a new ArgumentType called FormationArgument. Everything works fine on a singleplayer world, but on a modded forge server something changes. Whenever a player logs in, it says 

[Server] Netty Epoll Server IO #1/ERROR Could not serialize com.albsein9.customstuff.commands.arguments.FormationArgument@326eceb4 (class com.albsein9.customstuff.commands.arguments.FormationArgument) - will not be sent to client!

 

Now I usually discard these warnings but I noticed that typing the argument for my custom command was showing that it was incorrect even though it was correct, as it works when pressing enter.

It looks like this when still in the ChatGUI

1289058589_ScreenShot2021-05-24at12_18_35PM.thumb.png.c2bdc69cf5254acb0e7833720bb29c5c.png

 

1869725671_ScreenShot2021-05-24at12_18_43PM.png.44e77c1dbe451d8574837cbf22738763.png

 

Note that the command does not have this behaviour on a singleplayer world. On a singleplayer world, when you finish typing the world 'circle', it becomes green.

 

So I was wondering if these 2 things are correlated, and if there is a way to fix this for my server.

Also, here is my code

https://paste.ee/p/UOKZH 

7 hours ago, diesieben07 said:

You have to register your argument type using ArgumentTypes.register.

^

Edited by aritod

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

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.