added invalidate method
This commit is contained in:
parent
284e75519c
commit
a37b0c5cc2
@ -41,4 +41,8 @@ public class States {
|
|||||||
public static final StateSupplier SNOW_BLOCK = DefaultState.of("minecraft:snow_block").cache();
|
public static final StateSupplier SNOW_BLOCK = DefaultState.of("minecraft:snow_block").cache();
|
||||||
public static final StateSupplier STONE = DefaultState.of("minecraft:stone").cache();
|
public static final StateSupplier STONE = DefaultState.of("minecraft:stone").cache();
|
||||||
public static final StateSupplier WATER = DefaultState.of("minecraft:water").cache();
|
public static final StateSupplier WATER = DefaultState.of("minecraft:water").cache();
|
||||||
|
|
||||||
|
public static void invalidate() {
|
||||||
|
CachedState.clearAll();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user