Example usage for Java net.minecraftforge.fml.network NetworkHooks fields, constructors, methods, implement or subclass
The text is from its open source code.
void | openGui(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. |
void | openGui(ServerPlayerEntity player, INamedContainerProvider containerSupplier, Consumer 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. |
void | openGui(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. |