2020-03-08 18:18:57 -04:00
|
|
|
CLASS net/minecraft/class_3913 net/minecraft/screen/PropertyDelegate
|
2020-01-21 13:21:12 -05:00
|
|
|
COMMENT A property delegate represents an indexed list of integer properties.
|
|
|
|
COMMENT
|
2022-08-13 09:37:06 -04:00
|
|
|
COMMENT <p>The delegate is passed when creating the screen handler.
|
|
|
|
COMMENT On the server, access to the property's value is delegated to the delegate (which in
|
|
|
|
COMMENT turn delegates to another object like a block entity instance).
|
|
|
|
COMMENT On the client, access to the property's value still uses the synced value.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see Property#create(PropertyDelegate, int)
|
|
|
|
COMMENT @see ScreenHandler#addProperties(PropertyDelegate)
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_17389 size ()I
|
|
|
|
METHOD method_17390 get (I)I
|
2020-01-21 13:21:12 -05:00
|
|
|
ARG 1 index
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_17391 set (II)V
|
2020-01-21 13:21:12 -05:00
|
|
|
ARG 1 index
|
2019-01-12 06:41:47 -05:00
|
|
|
ARG 2 value
|