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/PropertyDelegateintermediary net/minecraft/class_3913official cqf
-
Method Summary
-
Method Details
-
get
int get(int index) - Mappings:
Namespace Name Mixin selector named getLnet/minecraft/screen/PropertyDelegate;get(I)Iintermediary method_17390Lnet/minecraft/class_3913;method_17390(I)Iofficial aLcqf;a(I)I
-
set
void set(int index, int value) - Mappings:
Namespace Name Mixin selector named setLnet/minecraft/screen/PropertyDelegate;set(II)Vintermediary method_17391Lnet/minecraft/class_3913;method_17391(II)Vofficial aLcqf;a(II)V
-
size
int size()- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/screen/PropertyDelegate;size()Iintermediary method_17389Lnet/minecraft/class_3913;method_17389()Iofficial aLcqf;a()I
-