Changes

4 bytes removed ,  06:59, 29 November 2020
m
monospaced font for certain header texts
Line 59: Line 59:  
Because all possible <code><nowiki>BlockState</nowiki></code>'s are generated at startup, you are free and encouraged to use the reference equality operator (<code><nowiki>==</nowiki></code>) to check if two <code><nowiki>BlockState</nowiki></code>'s are equal.
 
Because all possible <code><nowiki>BlockState</nowiki></code>'s are generated at startup, you are free and encouraged to use the reference equality operator (<code><nowiki>==</nowiki></code>) to check if two <code><nowiki>BlockState</nowiki></code>'s are equal.
   −
== Using <code>BlockState</code>s ==
+
== Using <tt>BlockState</tt>s ==
    
You can get the value of a property by calling <code><nowiki>BlockState#get(IProperty<?>)</nowiki></code>, passing it the property you want to get the value of.
 
You can get the value of a property by calling <code><nowiki>BlockState#get(IProperty<?>)</nowiki></code>, passing it the property you want to get the value of.
297

edits