minor beacon beam height merge cleanup
This commit is contained in:
@@ -428,7 +428,7 @@ public class Config
|
||||
.build();
|
||||
|
||||
public static ConfigEntry<Integer> beaconRenderHeight = new ConfigEntry.Builder<Integer>()
|
||||
.setMinDefaultMax(1, 6000, Integer.MAX_VALUE)
|
||||
.setMinDefaultMax(1, 6000, 6_000_000)
|
||||
.comment(""
|
||||
+ "Sets the maximum height at which beacons will render."
|
||||
+ "This will only affect new beacons coming into LOD render distance."
|
||||
|
||||
+2
-1
@@ -96,9 +96,10 @@ public class BeaconRenderHandler
|
||||
|
||||
if (this.beaconBlockPosSet.add(beacon.blockPos))
|
||||
{
|
||||
int maxBeaconBeamHeight = Config.Client.Advanced.Graphics.GenericRendering.beaconRenderHeight.get();
|
||||
DhApiRenderableBox beaconBox = new DhApiRenderableBox(
|
||||
new DhApiVec3d(beacon.blockPos.getX(), beacon.blockPos.getY() + 1, beacon.blockPos.getZ()),
|
||||
new DhApiVec3d(beacon.blockPos.getX() + 1, Config.Client.Advanced.Graphics.GenericRendering.beaconRenderHeight.get(), beacon.blockPos.getZ() + 1),
|
||||
new DhApiVec3d(beacon.blockPos.getX() + 1, maxBeaconBeamHeight, beacon.blockPos.getZ() + 1),
|
||||
beacon.color,
|
||||
EDhApiBlockMaterial.ILLUMINATED
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user