Java net.minecraftforge.fml.network NetworkHooks fields, constructors, methods, implement or subclass

Example usage for Java net.minecraftforge.fml.network NetworkHooks fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for net.minecraftforge.fml.network NetworkHooks.

The text is from its open source code.

Method

voidopenGui(ServerPlayerEntity player, INamedContainerProvider containerSupplier, BlockPos pos)
Request to open a GUI on the client, from the server Refer to net.minecraftforge.fml.ExtensionPoint#GUIFACTORY for how to provide a function to consume these GUI requests on the client.
voidopenGui(ServerPlayerEntity player, INamedContainerProvider containerSupplier, Consumer extraDataWriter)
Request to open a GUI on the client, from the server Refer to net.minecraftforge.fml.ExtensionPoint#GUIFACTORY for how to provide a function to consume these GUI requests on the client.
voidopenGui(ServerPlayerEntity player, INamedContainerProvider containerSupplier)
Request to open a GUI on the client, from the server Refer to net.minecraftforge.fml.ExtensionPoint#GUIFACTORY for how to provide a function to consume these GUI requests on the client.