mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 19:49:54 +00:00
Fix cart contents rendering as black in the End dimension
This commit is contained in:
1 parent
411b4959f2
commit
571bdd9b80
1 file changed
+7
-3
@@ -215,13 +215,17 @@ public class EntityMinecartBeehouse extends EntityMinecartContainer implements I
|
||||
breedingProgressPercent = data.readVarInt();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns scaled queen health or breeding progress
|
||||
*/
|
||||
@Override
|
||||
public int getHealthScaled(int i) {
|
||||
return (breedingProgressPercent * i) / 100;
|
||||
}
|
||||
|
||||
// fix cart contents rendering as black in the End dimension
|
||||
@Override
|
||||
public float getBrightness(float p_70013_1_) {
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onUpdate() {
|
||||
super.onUpdate();
|
||||
|
||||
Reference in new issue
Block a user