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 named net/minecraft/screen/PropertyDelegate
intermediary net/minecraft/class_3913
official cpt
-
Method Summary
-
Method Details
-
get
int get(int index) - Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/screen/PropertyDelegate;get(I)I
intermediary method_17390
Lnet/minecraft/class_3913;method_17390(I)I
official a
Lcpt;a(I)I
-
set
void set(int index, int value) - Mappings:
Namespace Name Mixin selector named set
Lnet/minecraft/screen/PropertyDelegate;set(II)V
intermediary method_17391
Lnet/minecraft/class_3913;method_17391(II)V
official a
Lcpt;a(II)V
-
size
int size()- Mappings:
Namespace Name Mixin selector named size
Lnet/minecraft/screen/PropertyDelegate;size()I
intermediary method_17389
Lnet/minecraft/class_3913;method_17389()I
official a
Lcpt;a()I
-