public class HabitatSlot extends Widget
| Modifier and Type | Field and Description |
|---|---|
boolean |
isActive |
| Constructor and Description |
|---|
HabitatSlot(WidgetManager widgetManager,
int xPos,
int yPos,
java.lang.String name,
java.util.Collection<net.minecraftforge.common.BiomeDictionary.Type> biomes) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(int startX,
int startY) |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getIcon() |
ToolTip |
getToolTip(int mouseX,
int mouseY) |
void |
setActive(java.util.Collection<net.minecraftforge.common.BiomeDictionary.Type> biomes) |
getHeight, getWidth, getX, getY, handleMouseClick, handleMouseMove, handleMouseRelease, isMouseOver, isToolTipVisible, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisRelativeToGuipublic HabitatSlot(WidgetManager widgetManager, int xPos, int yPos, java.lang.String name, java.util.Collection<net.minecraftforge.common.BiomeDictionary.Type> biomes)
public ToolTip getToolTip(int mouseX, int mouseY)
getToolTip in interface IToolTipProvidergetToolTip in class Widgetpublic net.minecraft.client.renderer.texture.TextureAtlasSprite getIcon()
public void setActive(java.util.Collection<net.minecraftforge.common.BiomeDictionary.Type> biomes)