Small final/static improvement

This commit is contained in:
Blue (Lukas Rieger) 2021-06-25 11:05:24 +02:00
parent 7d44a433d3
commit bb588c322f
No known key found for this signature in database
GPG Key ID: 904C4995F9E1F800
2 changed files with 5 additions and 5 deletions

View File

@ -41,8 +41,8 @@ public class HiresModelRenderer {
private final String grassId;
private RenderSettings renderSettings;
private BlockStateModelFactory modelFactory;
private final RenderSettings renderSettings;
private final BlockStateModelFactory modelFactory;
public HiresModelRenderer(ResourcePack resourcePack, RenderSettings renderSettings) {
this.renderSettings = renderSettings;

View File

@ -35,8 +35,8 @@ import de.bluecolored.bluemap.core.world.BlockState;
public class BlockStateModelFactory {
private RenderSettings renderSettings;
private ResourcePack resourcePack;
private final RenderSettings renderSettings;
private final ResourcePack resourcePack;
public BlockStateModelFactory(ResourcePack resourcePack, RenderSettings renderSettings) {
this.renderSettings = renderSettings;
@ -91,6 +91,6 @@ public class BlockStateModelFactory {
}
private BlockState WATERLOGGED_BLOCKSTATE = new BlockState("minecraft:water");
private final static BlockState WATERLOGGED_BLOCKSTATE = new BlockState("minecraft:water");
}