Package net.minecraft.screen
Class SimpleNamedScreenHandlerFactory
java.lang.Object
net.minecraft.screen.SimpleNamedScreenHandlerFactory
- All Implemented Interfaces:
NamedScreenHandlerFactory
,ScreenHandlerFactory
public final class SimpleNamedScreenHandlerFactory extends Object implements NamedScreenHandlerFactory
- Mappings:
Namespace Name official apw
intermediary net/minecraft/class_747
named net/minecraft/screen/SimpleNamedScreenHandlerFactory
-
Field Summary
Fields Modifier and Type Field Description private ScreenHandlerFactory
baseFactory
private Text
name
-
Constructor Summary
Constructors Constructor Description SimpleNamedScreenHandlerFactory(ScreenHandlerFactory baseFactory, Text name)
-
Method Summary
Modifier and Type Method Description ScreenHandler
createMenu(int syncId, PlayerInventory inv, PlayerEntity player)
Text
getDisplayName()
Returns the title of this screen handler; will be a part of the open screen packet sent to the client.
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official a
Lapw;a:Loi;
intermediary field_3947
Lnet/minecraft/class_747;field_3947:Lnet/minecraft/class_2561;
named name
Lnet/minecraft/screen/SimpleNamedScreenHandlerFactory;name:Lnet/minecraft/text/Text;
-
baseFactory
- Mappings:
Namespace Name Mixin selector official b
Lapw;b:Lbkt;
intermediary field_17280
Lnet/minecraft/class_747;field_17280:Lnet/minecraft/class_1270;
named baseFactory
Lnet/minecraft/screen/SimpleNamedScreenHandlerFactory;baseFactory:Lnet/minecraft/screen/ScreenHandlerFactory;
-
-
Constructor Details
-
SimpleNamedScreenHandlerFactory
- Mappings:
Namespace Name Mixin selector official <init>
Lapw;<init>(Lbkt;Loi;)V
intermediary <init>
Lnet/minecraft/class_747;<init>(Lnet/minecraft/class_1270;Lnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/screen/SimpleNamedScreenHandlerFactory;<init>(Lnet/minecraft/screen/ScreenHandlerFactory;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
getDisplayName
Returns the title of this screen handler; will be a part of the open screen packet sent to the client.- Specified by:
getDisplayName
in interfaceNamedScreenHandlerFactory
- Mappings:
Namespace Name Mixin selector official d
Lapt;d()Loi;
intermediary method_5476
Lnet/minecraft/class_3908;method_5476()Lnet/minecraft/class_2561;
named getDisplayName
Lnet/minecraft/screen/NamedScreenHandlerFactory;getDisplayName()Lnet/minecraft/text/Text;
-
createMenu
- Specified by:
createMenu
in interfaceScreenHandlerFactory
- Mappings:
Namespace Name Mixin selector official createMenu
Lbkt;createMenu(ILbhk;Lbhl;)Lbjr;
intermediary createMenu
Lnet/minecraft/class_1270;createMenu(ILnet/minecraft/class_1661;Lnet/minecraft/class_1657;)Lnet/minecraft/class_1703;
named createMenu
Lnet/minecraft/screen/ScreenHandlerFactory;createMenu(ILnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
-