4
4
5
5
public class VanillaMechanicsFeature extends Feature {
6
6
private int fallingBlockDelay = 2 ;
7
- private boolean fixedItemFrame = false ;
7
+ private boolean immutableItemFrame = false ;
8
8
private int minItemFrameInteractOpLevel = 0 ;
9
9
10
10
public VanillaMechanicsFeature () {
@@ -15,15 +15,15 @@ public VanillaMechanicsFeature() {
15
15
public void readConfig (JsonObject jsonObject ) {
16
16
super .readConfig (jsonObject );
17
17
this .fallingBlockDelay = jsonObject .get ("fallingBlockDelay" ).getAsInt ();
18
- this .fixedItemFrame = jsonObject .get ("fixedItemFrame " ).getAsBoolean ();
18
+ this .immutableItemFrame = jsonObject .get ("immutableItemFrame " ).getAsBoolean ();
19
19
this .minItemFrameInteractOpLevel = jsonObject .get ("minItemFrameInteractOpLevel" ).getAsInt ();
20
20
}
21
21
22
22
@ Override
23
23
public JsonObject writeConfig () {
24
24
JsonObject jsonObject = super .writeConfig ();
25
25
jsonObject .addProperty ("fallingBlockDelay" , fallingBlockDelay );
26
- jsonObject .addProperty ("fixedItemFrame " , fixedItemFrame );
26
+ jsonObject .addProperty ("immutableItemFrame " , immutableItemFrame );
27
27
jsonObject .addProperty ("minItemFrameInteractOpLevel" , minItemFrameInteractOpLevel );
28
28
return jsonObject ;
29
29
}
@@ -32,8 +32,8 @@ public int getFallingBlockDelay() {
32
32
return fallingBlockDelay ;
33
33
}
34
34
35
- public boolean getFixedItemFrame () {
36
- return fixedItemFrame ;
35
+ public boolean getImmutableItemFrame () {
36
+ return immutableItemFrame ;
37
37
}
38
38
public int getMinItemFrameInteractOpLevel () {
39
39
return minItemFrameInteractOpLevel ;
0 commit comments