Jump to content

Trimsku

Members
  • Posts

    10
  • Joined

  • Last visited

Posts posted by Trimsku

  1. Just now, diesieben07 said:

    The method is called setScreen in official names.

    Hm, i try use it, but it doesn't work. 

    if(commandContext.getSource().getLevel().isClientSide) {
      	Minecraft.getInstance().setScreen(new TextGUI(new StringTextComponent("name"), new StringTextComponent("...test text...")));
    }

    It's should activate in my command function ( /screen )

×
×
  • Create New...

Important Information

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