Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2020
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. public ActionResultType onBlockActivated(World worldIn, ServerPlayerEntity player, INamedContainerProvider containerSupplier, BlockPos pos){
  2. if(!worldIn.isRemote()) {
  3. NetworkHooks.openGui(player, containerSupplier, pos);
  4. }
  5. return ActionResultType.SUCCESS;
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement