
Owen1212055
Members-
Content Count
12 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Owen1212055
-
Rank
Tree Puncher
-
Is this in 1.14?
-
Hello, I am curious if there is a way to make client-side commands that can be autocompleted with tab like any command normally would.
-
@SubscribeEvent public void onServerStarting(FMLServerStartingEvent event) { // event.getServer().getCommandManager().getDispatcher().register(Commands.literal CommandDispatcher dispatcher = event.getServer().getCommandManager().getDispatcher(); dispatcher.register(Commands.literal("import") .then(Commands.argument("code", StringArgumentType.string()) .executes(ctx -> { Currently, when joining a server it loads this command. How would I be able to also make it load when joining multiplayer servers? (Like what event is it)
-
Okay so I’ll try looking
-
When I do that though, the player cannot place the block down until they open their inventory. It acts almost like a ghost item (it disappears when opening a container). Would I be able to manually "refresh" the inventory?
-
By typing .load in chat, it will give the player an item. This is in multiplayer when the player is in creative.
-
Since when I try to add an item when on creative mode on a multiplayer server I cannot place down that block until I open my inventory.
-
This is a client-side mod and doesn't add any new items to the game.
-
Well don't you have to send a packet to the server if you want to send an item to a player on a multiplayer server?
-
Well, I want to give the player a certain ItemStack (in a server).
-
Hello, I need some help with sending items using packets. This is so I can give players items if they are on creative mode on a server. Is there anywhere where I can learn to do this? 1.14