Package net.minecraft.client.renderer
Class MonitorHandler
- java.lang.Object
-
- net.minecraft.client.renderer.MonitorHandler
-
public class MonitorHandler extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private IMonitorFactory
monitorCreator
private it.unimi.dsi.fastutil.longs.Long2ObjectMap<Monitor>
monitors
-
Constructor Summary
Constructors Constructor Description MonitorHandler(IMonitorFactory p_i51171_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
clamp(int p_216513_0_, int p_216513_1_, int p_216513_2_)
Monitor
findBestMonitor(MainWindow p_216515_1_)
Monitor
getMonitor(long p_216512_1_)
private void
onMonitorChange(long p_216516_1_, int p_216516_3_)
void
shutdown()
-
-
-
Field Detail
-
monitors
private final it.unimi.dsi.fastutil.longs.Long2ObjectMap<Monitor> monitors
-
monitorCreator
private final IMonitorFactory monitorCreator
-
-
Constructor Detail
-
MonitorHandler
public MonitorHandler(IMonitorFactory p_i51171_1_)
-
-
Method Detail
-
onMonitorChange
private void onMonitorChange(long p_216516_1_, int p_216516_3_)
-
getMonitor
@Nullable public Monitor getMonitor(long p_216512_1_)
-
findBestMonitor
@Nullable public Monitor findBestMonitor(MainWindow p_216515_1_)
-
clamp
public static int clamp(int p_216513_0_, int p_216513_1_, int p_216513_2_)
-
shutdown
public void shutdown()
-
-