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 cbnintermediary net/minecraft/class_3913named net/minecraft/screen/PropertyDelegate
-
Method Summary
-
Method Details
-
get
int get(int index) - Mappings:
Namespace Name Mixin selector official aLcbn;a(I)Iintermediary method_17390Lnet/minecraft/class_3913;method_17390(I)Inamed getLnet/minecraft/screen/PropertyDelegate;get(I)I
-
set
void set(int index, int value) - Mappings:
Namespace Name Mixin selector official aLcbn;a(II)Vintermediary method_17391Lnet/minecraft/class_3913;method_17391(II)Vnamed setLnet/minecraft/screen/PropertyDelegate;set(II)V
-
size
int size()- Mappings:
Namespace Name Mixin selector official aLcbn;a()Iintermediary method_17389Lnet/minecraft/class_3913;method_17389()Inamed sizeLnet/minecraft/screen/PropertyDelegate;size()I
-