mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-01 11:36:43 +01:00
Fixed rainbows rendering on the wrong layer
This commit is contained in:
parent
5d6588c9e8
commit
9834507162
2 changed files with 5 additions and 1 deletions
|
@ -40,6 +40,11 @@ public class EntityRainbow extends EntityWeatherEffect {
|
|||
height = width;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldRenderInPass(int pass) {
|
||||
return pass == 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPosition(double x, double y, double z) {
|
||||
posX = x;
|
||||
|
|
|
@ -25,7 +25,6 @@ import com.minelittlepony.util.vector.VecHelper;
|
|||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockLeaves;
|
||||
import net.minecraft.block.BlockLog;
|
||||
import net.minecraft.block.BlockPlanks;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.block.properties.IProperty;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
|
|
Loading…
Reference in a new issue