Jump to content

Owen1212055

Members
  • Posts

    12
  • Joined

  • Last visited

Owen1212055's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. 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.
  2. @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)
  3. 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?
  4. By typing .load in chat, it will give the player an item. This is in multiplayer when the player is in creative.
  5. 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.
  6. This is a client-side mod and doesn't add any new items to the game.
  7. 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?
  8. Well, I want to give the player a certain ItemStack (in a server).
  9. 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
×
×
  • Create New...

Important Information

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