Package net.minecraft.screen
Interface PropertyDelegate
- All Known Implementing Classes:
ArrayPropertyDelegate
public interface PropertyDelegate
A property delegate represents an indexed list of integer properties.
The delegate is passed when creating the screen handler. On the server, access to the property's value is delegated to the delegate (which in turn delegates to another object like a block entity instance). On the client, access to the property's value still uses the synced value.
- See Also:
- Mappings:
Namespace Name official cil
intermediary net/minecraft/class_3913
named net/minecraft/screen/PropertyDelegate
-
Method Summary
-
Method Details
-
get
int get(int index) - Mappings:
Namespace Name Mixin selector official a
Lcil;a(I)I
intermediary method_17390
Lnet/minecraft/class_3913;method_17390(I)I
named get
Lnet/minecraft/screen/PropertyDelegate;get(I)I
-
set
void set(int index, int value) - Mappings:
Namespace Name Mixin selector official a
Lcil;a(II)V
intermediary method_17391
Lnet/minecraft/class_3913;method_17391(II)V
named set
Lnet/minecraft/screen/PropertyDelegate;set(II)V
-
size
int size()- Mappings:
Namespace Name Mixin selector official a
Lcil;a()I
intermediary method_17389
Lnet/minecraft/class_3913;method_17389()I
named size
Lnet/minecraft/screen/PropertyDelegate;size()I
-