mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-09-28 23:27:33 +02:00
Small final/static improvement
This commit is contained in:
parent
7d44a433d3
commit
bb588c322f
@ -41,8 +41,8 @@ public class HiresModelRenderer {
|
|||||||
|
|
||||||
private final String grassId;
|
private final String grassId;
|
||||||
|
|
||||||
private RenderSettings renderSettings;
|
private final RenderSettings renderSettings;
|
||||||
private BlockStateModelFactory modelFactory;
|
private final BlockStateModelFactory modelFactory;
|
||||||
|
|
||||||
public HiresModelRenderer(ResourcePack resourcePack, RenderSettings renderSettings) {
|
public HiresModelRenderer(ResourcePack resourcePack, RenderSettings renderSettings) {
|
||||||
this.renderSettings = renderSettings;
|
this.renderSettings = renderSettings;
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
public class BlockStateModelFactory {
|
public class BlockStateModelFactory {
|
||||||
|
|
||||||
private RenderSettings renderSettings;
|
private final RenderSettings renderSettings;
|
||||||
private ResourcePack resourcePack;
|
private final ResourcePack resourcePack;
|
||||||
|
|
||||||
public BlockStateModelFactory(ResourcePack resourcePack, RenderSettings renderSettings) {
|
public BlockStateModelFactory(ResourcePack resourcePack, RenderSettings renderSettings) {
|
||||||
this.renderSettings = renderSettings;
|
this.renderSettings = renderSettings;
|
||||||
@ -91,6 +91,6 @@ private BlockStateModel createModel(Block block, BlockState blockState) throws N
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private BlockState WATERLOGGED_BLOCKSTATE = new BlockState("minecraft:water");
|
private final static BlockState WATERLOGGED_BLOCKSTATE = new BlockState("minecraft:water");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user