Class DisplayInfo

java.lang.Object
net.minecraft.advancements.DisplayInfo

public class DisplayInfo extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • setLocation

      public void setLocation(float p_14979_, float p_14980_)
    • getTitle

      public Component getTitle()
    • getDescription

      public Component getDescription()
    • getIcon

      public ItemStack getIcon()
    • getBackground

      public Optional<ClientAsset> getBackground()
    • getType

      public AdvancementType getType()
    • getX

      public float getX()
    • getY

      public float getY()
    • shouldShowToast

      public boolean shouldShowToast()
    • shouldAnnounceChat

      public boolean shouldAnnounceChat()
    • isHidden

      public boolean isHidden()
    • serializeToNetwork

      private void serializeToNetwork(RegistryFriendlyByteBuf p_319889_)
    • fromNetwork

      private static DisplayInfo fromNetwork(RegistryFriendlyByteBuf p_319903_)