yarn/mappings/net/minecraft/screen/NamedScreenHandlerFactory.m...

12 lines
726 B
Plaintext

CLASS net/minecraft/class_3908 net/minecraft/screen/NamedScreenHandlerFactory
COMMENT A screen handler factory with a name (title). This is passed to {@link
COMMENT net.minecraft.entity.player.PlayerEntity#openHandledScreen} to open a screen
COMMENT handler.
COMMENT
COMMENT <p>In vanilla, most block entity instances implement this interface, allowing them to be used
COMMENT as a factory. {@link SimpleNamedScreenHandlerFactory} is a screen handler factory
COMMENT implementation for use cases that do not involve a block entity.
METHOD method_5476 getDisplayName ()Lnet/minecraft/class_2561;
COMMENT Returns the title of this screen handler; will be a part of the open
COMMENT screen packet sent to the client.