Class MeteorToast
java.lang.Object
meteordevelopment.meteorclient.utils.render.MeteorToast
- All Implemented Interfaces:
net.minecraft.client.toast.Toast
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.toast.Toast
net.minecraft.client.toast.Toast.Visibility -
Field Summary
FieldsFields inherited from interface net.minecraft.client.toast.Toast
BASE_HEIGHT, TEXTURE, TYPE -
Constructor Summary
ConstructorsConstructorDescriptionMeteorToast(@Nullable net.minecraft.item.Item item, @NotNull String title, @Nullable String text) MeteorToast(@Nullable net.minecraft.item.Item item, @NotNull String title, @Nullable String text, long duration) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.toast.Toast.Visibilitydraw(net.minecraft.client.util.math.MatrixStack matrices, net.minecraft.client.toast.ToastManager toastManager, long currentTime) net.minecraft.client.sound.SoundInstancegetSound()voidsetDuration(long duration) voidsetIcon(@Nullable net.minecraft.item.Item item) voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.toast.Toast
getHeight, getRequiredSpaceCount, getType, getWidth
-
Field Details
-
TITLE_COLOR
public static final int TITLE_COLOR -
TEXT_COLOR
public static final int TEXT_COLOR
-
-
Constructor Details
-
MeteorToast
-
MeteorToast
-
-
Method Details
-
draw
public net.minecraft.client.toast.Toast.Visibility draw(net.minecraft.client.util.math.MatrixStack matrices, net.minecraft.client.toast.ToastManager toastManager, long currentTime) - Specified by:
drawin interfacenet.minecraft.client.toast.Toast
-
setIcon
public void setIcon(@Nullable @Nullable net.minecraft.item.Item item) -
setTitle
-
setText
-
setDuration
public void setDuration(long duration) -
getSound
public net.minecraft.client.sound.SoundInstance getSound()
-