public interface IHaveGoggleInformation
| Modifier and Type | Interface and Description |
|---|---|
static class |
IHaveGoggleInformation.Format |
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.util.text.ITextComponent |
componentSpacing |
static IHaveGoggleInformation.Format |
numberFormat |
static java.lang.String |
spacing |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
addToGoggleTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean isPlayerSneaking)
this method will be called when looking at a TileEntity that implemented this
interface
|
default boolean |
containedFluidTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean isPlayerSneaking,
net.minecraftforge.common.util.LazyOptional<net.minecraftforge.fluids.capability.IFluidHandler> handler) |
static java.lang.String |
format(double d) |
static final IHaveGoggleInformation.Format numberFormat
static final java.lang.String spacing
static final net.minecraft.util.text.ITextComponent componentSpacing
default boolean addToGoggleTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean isPlayerSneaking)
true if the tooltip creation was successful and should be displayed,
or false if the overlay should not be displayedstatic java.lang.String format(double d)
default boolean containedFluidTooltip(java.util.List<net.minecraft.util.text.ITextComponent> tooltip,
boolean isPlayerSneaking,
net.minecraftforge.common.util.LazyOptional<net.minecraftforge.fluids.capability.IFluidHandler> handler)