2020-03-08 18:18:57 -04:00
|
|
|
CLASS net/minecraft/class_3917 net/minecraft/screen/ScreenHandlerType
|
2022-08-13 09:37:06 -04:00
|
|
|
COMMENT Screen handler type is used to create screen handlers on the client.
|
|
|
|
COMMENT It is a holder object holding a factory (usually a reference to the constructor).
|
2022-09-10 05:33:18 -04:00
|
|
|
COMMENT They are registered in the registry under {@link
|
|
|
|
COMMENT net.minecraft.util.registry.Registry#SCREEN_HANDLER}.
|
2022-08-13 09:37:06 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Technically speaking, screen handlers do not have to register screen handler
|
|
|
|
COMMENT types. However, such screen handlers are practically useless as they cannot be
|
|
|
|
COMMENT opened server-side using conventional methods.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @apiNote Screen handler types should not be used to create a new screen handler
|
|
|
|
COMMENT on the server. See {@link ScreenHandlerFactory} for server-side creation.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see ScreenHandler
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_17344 factory Lnet/minecraft/class_3917$class_3918;
|
2019-07-08 12:09:22 -04:00
|
|
|
METHOD <init> (Lnet/minecraft/class_3917$class_3918;)V
|
2019-01-12 06:41:47 -05:00
|
|
|
ARG 1 factory
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_17434 create (ILnet/minecraft/class_1661;)Lnet/minecraft/class_1703;
|
2019-01-12 06:41:47 -05:00
|
|
|
ARG 1 syncId
|
|
|
|
ARG 2 playerInventory
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_17435 register (Ljava/lang/String;Lnet/minecraft/class_3917$class_3918;)Lnet/minecraft/class_3917;
|
2019-01-12 06:41:47 -05:00
|
|
|
ARG 0 id
|
|
|
|
ARG 1 factory
|
2021-11-22 10:32:05 -05:00
|
|
|
METHOD method_17436 (ILnet/minecraft/class_1661;)Lnet/minecraft/class_3916;
|
|
|
|
ARG 0 syncId
|
|
|
|
ARG 1 playerInventory
|
2019-12-02 08:55:18 -05:00
|
|
|
CLASS class_3918 Factory
|
2022-08-13 09:37:06 -04:00
|
|
|
COMMENT A functional interface that creates a screen handler instance on the client.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>Screen handlers usually have a constructor that can be used as an implementation.
|
|
|
|
COMMENT See the note on {@link ScreenHandler}.
|
2019-12-02 08:55:18 -05:00
|
|
|
METHOD create (ILnet/minecraft/class_1661;)Lnet/minecraft/class_1703;
|
|
|
|
ARG 1 syncId
|
|
|
|
ARG 2 playerInventory
|