Trimsku
-
Posts
10 -
Joined
-
Last visited
Posts posted by Trimsku
-
-
Just now, diesieben07 said:
Commands are server-side only, so this if statement will never run.
Ohhhhh, sorry, thanks!
-
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 )
-
Just now, uSkizzik said:
Are you using official mappings or MCP (snapshot) mappings?
mappings channel: 'official', version: '1.16.5'
-
12 minutes ago, uSkizzik said:
As you pointed out yourself, it's Minecraft#displayGuiScreen.
The method displayGuiScreen(TextGUI) is undefined for the type Minecraft
It's 1.16.5 version(official snapshot)
-
Hello! I start create temp screen, but I can't use Minecraft.getInstance().displayGuiScreen(...) in my mod. I use official snapshot. Where is displayGuiScreen(...)?
-
Hmm, ok,
thanks!
-
@Luis_ST I want that when a player buys my item from a merchant, the villager is destroyed
-
Is there a forge event for successful trading with a villager?
I searched but did not find anything similar
-
I'm working on a gui for config, but I found that SliderPercentageOption doesn't work for Float, is it possible to use it for Float?
Where is displayGuiScreen in minecraft 1.16.5?
in Modder Support
Posted
Thanks!