Extended Screen Handler Factory
public interface ExtendedScreenHandlerFactory implements NamedScreenHandlerFactory
Content copied to clipboard
An extension of {@code NamedScreenHandlerFactory}
that can write additional data to a screen opening packet.
See also
net.fabricmc.fabric.api.screenhandler.v1.ScreenHandlerRegistry
ScreenHandlerRegistry#registerExtended(net.minecraft.util.Identifier, ScreenHandlerRegistry.ExtendedClientHandlerFactory)
Functions
createMenu
Link copied to clipboard
abstract ScreenHandler createMenu(int syncId, PlayerInventory inv, PlayerEntity player)
Content copied to clipboard
getDisplayName
Link copied to clipboard
writeScreenOpeningData
Link copied to clipboard
abstract void writeScreenOpeningData(ServerPlayerEntity player, PacketByteBuf buf)
Content copied to clipboard
Sources
jvm source
Link copied to clipboard