Add missing setSeed calls to ForgeBlockModelRenderer (#5338)
This commit is contained in:
parent
36d2e67b07
commit
4e196a445a
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,7 @@ public class ForgeBlockModelRenderer extends BlockModelRenderer
|
||||||
lighter.setState(state);
|
lighter.setState(state);
|
||||||
lighter.setBlockPos(pos);
|
lighter.setBlockPos(pos);
|
||||||
boolean empty = true;
|
boolean empty = true;
|
||||||
|
rand.setSeed(seed);
|
||||||
List<BakedQuad> quads = model.getQuads(state, null, rand);
|
List<BakedQuad> quads = model.getQuads(state, null, rand);
|
||||||
if(!quads.isEmpty())
|
if(!quads.isEmpty())
|
||||||
{
|
{
|
||||||
|
@ -111,6 +112,7 @@ public class ForgeBlockModelRenderer extends BlockModelRenderer
|
||||||
}
|
}
|
||||||
for(EnumFacing side : EnumFacing.values())
|
for(EnumFacing side : EnumFacing.values())
|
||||||
{
|
{
|
||||||
|
rand.setSeed(seed);
|
||||||
quads = model.getQuads(state, side, rand);
|
quads = model.getQuads(state, side, rand);
|
||||||
if(!quads.isEmpty())
|
if(!quads.isEmpty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue