Package net.minecraft.screen
Class Property
java.lang.Object
net.minecraft.screen.Property
An integer property that is stored in a 
ScreenHandler.
 Property instances are used for tracking integer properties in property delegates
 and other sources of integer properties, and sending needed content updates to listeners.
- See Also:
 - Mappings:
 Namespace Name named net/minecraft/screen/Propertyintermediary net/minecraft/class_3915official cqn
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic Propertycreate()Creates a new property that is not attached to any other objects.static Propertycreate(int[] array, int index) Creates a new property that accesses theindexof thearray.static Propertycreate(PropertyDelegate delegate, int index) Creates a new property that accesses theindexof thedelegate.abstract intget()booleanReturns true if the value of this property has changed since the last call tohasChanged().abstract voidset(int value)  
- 
Field Details
- 
oldValue
private int oldValue- Mappings:
 Namespace Name Mixin selector named oldValueLnet/minecraft/screen/Property;oldValue:Iintermediary field_17307Lnet/minecraft/class_3915;field_17307:Iofficial aLcqn;a:I
 
 - 
 - 
Constructor Details
- 
Property
public Property() 
 - 
 - 
Method Details
- 
create
Creates a new property that accesses theindexof thedelegate.- Mappings:
 Namespace Name Mixin selector named createLnet/minecraft/screen/Property;create(Lnet/minecraft/screen/PropertyDelegate;I)Lnet/minecraft/screen/Property;intermediary method_17405Lnet/minecraft/class_3915;method_17405(Lnet/minecraft/class_3913;I)Lnet/minecraft/class_3915;official aLcqn;a(Lcqf;I)Lcqn;
 - 
create
Creates a new property that accesses theindexof thearray.- Mappings:
 Namespace Name Mixin selector named createLnet/minecraft/screen/Property;create([II)Lnet/minecraft/screen/Property;intermediary method_17406Lnet/minecraft/class_3915;method_17406([II)Lnet/minecraft/class_3915;official aLcqn;a([II)Lcqn;
 - 
create
Creates a new property that is not attached to any other objects.- Mappings:
 Namespace Name Mixin selector named createLnet/minecraft/screen/Property;create()Lnet/minecraft/screen/Property;intermediary method_17403Lnet/minecraft/class_3915;method_17403()Lnet/minecraft/class_3915;official aLcqn;a()Lcqn;
 - 
get
public abstract int get()- Mappings:
 Namespace Name Mixin selector named getLnet/minecraft/screen/Property;get()Iintermediary method_17407Lnet/minecraft/class_3915;method_17407()Iofficial bLcqn;b()I
 - 
set
public abstract void set(int value) - Mappings:
 Namespace Name Mixin selector named setLnet/minecraft/screen/Property;set(I)Vintermediary method_17404Lnet/minecraft/class_3915;method_17404(I)Vofficial aLcqn;a(I)V
 - 
hasChanged
public boolean hasChanged()Returns true if the value of this property has changed since the last call tohasChanged().- Mappings:
 Namespace Name Mixin selector named hasChangedLnet/minecraft/screen/Property;hasChanged()Zintermediary method_17408Lnet/minecraft/class_3915;method_17408()Zofficial cLcqn;c()Z
 
 -