-
Recently Browsing
No registered users viewing this page.
-
Posts
-
i am trying to show my gui by clicking on my entity public ActionResultType func_230254_b_(PlayerEntity playerEntity, Hand hand) { if (!this.world.isRemote) { String en = getOwner(); String pl = playerEntity.getScoreboardName(); if(en.equals(pl)) { NetworkHooks.openGui((ServerPlayerEntity) playerEntity,new MyModContainer(0,playerEntity.inventory)); } else playerEntity.sendMessage(new TranslationTextComponent("You are not "+en),Util.DUMMY_UUID); } return ActionResultType.func_233537_a_(this.world.isRemote); }
-
By diesieben07 · Posted
Show what you have tried.
-
-
Topics
-
Who's Online (See full list)