Interface Icon
- All Known Implementing Classes:
ItemIcon,TextureIcon
public interface Icon
A square icon for a widget such as a button.
- Since:
- 2.2.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidpaint(net.minecraft.client.util.math.MatrixStack matrices, int x, int y, int size) Paints this icon.
-
Method Details
-
paint
@Environment(CLIENT) void paint(net.minecraft.client.util.math.MatrixStack matrices, int x, int y, int size) Paints this icon.- Parameters:
matrices- the GUI matrix stackx- the X coordinatey- the Y coordinatesize- the size of this icon in pixels (size N means a N*N square)
-