Class AstralTrinketPredicates

java.lang.Object
dev.jaxydog.astral.register.ContentRegistrar
dev.jaxydog.astral.content.trinket.AstralTrinketPredicates
All Implemented Interfaces:
Registered, Registered.All, Registered.Client, Registered.Common, Registered.Generated, Registered.Server

public final class AstralTrinketPredicates extends ContentRegistrar
Contains definitions of all modded-in trinket predicates.
Since:
2.0.0
  • Field Details

    • COSMETIC_HELMET_BLACKLIST

      public static final net.minecraft.registry.tag.TagKey<net.minecraft.item.Item> COSMETIC_HELMET_BLACKLIST
      The tag containing all items that may not be worn in the cosmetic helmet slot.
      Since:
      2.0.0
    • COSMETIC_HELMET_UNHIDEABLE

      public static final net.minecraft.registry.tag.TagKey<net.minecraft.item.Item> COSMETIC_HELMET_UNHIDEABLE
      The tag containing all items that may not be obscured by the cosmetic helmet slot.
      Since:
      2.0.0
    • COSMETIC_HELMET

      public static final AstralTrinketPredicate COSMETIC_HELMET
      The cosmetic helmet predicate.
      Since:
      2.0.0
  • Constructor Details

    • AstralTrinketPredicates

      public AstralTrinketPredicates()
  • Method Details

    • getCosmeticHelmet

      public static net.minecraft.item.ItemStack getCosmeticHelmet(net.minecraft.entity.LivingEntity entity)
      Returns the given entity's equipped cosmetic helmet item.
      Parameters:
      entity - The target entity.
      Returns:
      The given entity's equipped cosmetic helmet item.
      Since:
      2.0.0