Class BotaniaDataComponents

java.lang.Object
vazkii.botania.common.component.BotaniaDataComponents

public class BotaniaDataComponents extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
    General persisted "active" flag for items that can be toggled and need to remember their state later.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
    Transient "active" flag for items with an active state that does not need to be persisted.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.ItemStack>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.core.GlobalPos>
     
    static final net.minecraft.core.component.DataComponentType<Integer>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
    Defines that the item can provide mana to mana-consuming items in the player's inventory.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
    Defines that the item can be drained into a mana pool.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
    Defines that the item can receive mana while in the player's inventory, e.g.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
    Defines that the item can be filled in a mana pool.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
    Defined that the item can provide infinite mana without draining itself.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<Float>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation>
     
    static final net.minecraft.core.component.DataComponentType<Long>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
    Defines that the lens is rainbow-tinted.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.DyeColor>
    Defines the dyed lens color value.
    static final net.minecraft.core.component.DataComponentType<Integer>
    Current amount of mana in the item.
    static final net.minecraft.core.component.DataComponentType<Integer>
    Mana backlog to be processed later through some other means.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.core.GlobalPos>
    Bound pool of a mana mirror.
    static final net.minecraft.core.component.DataComponentType<Integer>
    Maximum amount of mana in the item.
    static final net.minecraft.core.component.DataComponentType<Integer>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<Long>
     
    static final net.minecraft.core.component.DataComponentType<Integer>
     
    static final net.minecraft.core.component.DataComponentType<Integer>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
    Helper component that causes mana pool items to be rendered with mana content.
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<List<net.minecraft.core.BlockPos>>
     
    static final net.minecraft.core.component.DataComponentType<List<Integer>>
     
    static final net.minecraft.core.component.DataComponentType<HaloRecipeStorageComponent>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.DyeColor>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.DyeColor>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    registerComponents(BiConsumer<net.minecraft.core.component.DataComponentType<?>,net.minecraft.resources.ResourceLocation> biConsumer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ACTIVE

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> ACTIVE
      General persisted "active" flag for items that can be toggled and need to remember their state later. (examples: stone of temperance, manufactory halo's auto-crafting, terra shatterer)
    • ACTIVE_TRANSIENT

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> ACTIVE_TRANSIENT
      Transient "active" flag for items with an active state that does not need to be persisted. (examples: slime in a bottle being happy, assembly halo being held, bauble box being open)
    • PHANTOM_INKED

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> PHANTOM_INKED
    • RESOLUTE_IVY

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> RESOLUTE_IVY
    • ELEMENTIUM_TIPPED

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> ELEMENTIUM_TIPPED
    • ELVEN_UNLOCK

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> ELVEN_UNLOCK
    • RENDER_FULL

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> RENDER_FULL
      Helper component that causes mana pool items to be rendered with mana content.
    • WAND_COLOR1

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.DyeColor> WAND_COLOR1
    • WAND_COLOR2

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.DyeColor> WAND_COLOR2
    • WAND_BIND_MODE

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> WAND_BIND_MODE
    • BINDING_POS

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.core.GlobalPos> BINDING_POS
    • MANA

      public static final net.minecraft.core.component.DataComponentType<Integer> MANA
      Current amount of mana in the item.
    • MAX_MANA

      public static final net.minecraft.core.component.DataComponentType<Integer> MAX_MANA
      Maximum amount of mana in the item. Not fixed and may become zero if the item can temporarily not store any mana.
    • MANA_BACKLOG

      public static final net.minecraft.core.component.DataComponentType<Integer> MANA_BACKLOG
      Mana backlog to be processed later through some other means. If this component exists, it receives the same delta amounts as the MANA component.
    • CAN_RECEIVE_MANA_FROM_ITEM

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CAN_RECEIVE_MANA_FROM_ITEM
      Defines that the item can receive mana while in the player's inventory, e.g. from mana producers or nearby dispersive sparks.
    • CAN_RECEIVE_MANA_FROM_POOL

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CAN_RECEIVE_MANA_FROM_POOL
      Defines that the item can be filled in a mana pool.
    • CAN_EXPORT_MANA_TO_ITEM

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CAN_EXPORT_MANA_TO_ITEM
      Defines that the item can provide mana to mana-consuming items in the player's inventory.
    • CAN_EXPORT_MANA_TO_POOL

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CAN_EXPORT_MANA_TO_POOL
      Defines that the item can be drained into a mana pool.
    • CREATIVE_MANA

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CREATIVE_MANA
      Defined that the item can provide infinite mana without draining itself.
    • MANA_POOL_POS

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.core.GlobalPos> MANA_POOL_POS
      Bound pool of a mana mirror. (Not part of the default mana item implementation.)
    • RANGE

      public static final net.minecraft.core.component.DataComponentType<Integer> RANGE
    • HALO_ROTATION_BASE

      public static final net.minecraft.core.component.DataComponentType<Float> HALO_ROTATION_BASE
    • LAST_RECIPE_ID

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation> LAST_RECIPE_ID
    • STORED_RECIPES

      public static final net.minecraft.core.component.DataComponentType<HaloRecipeStorageComponent> STORED_RECIPES
    • LAST_TRIGGER_TIME

      public static final net.minecraft.core.component.DataComponentType<Long> LAST_TRIGGER_TIME
    • LENS_TINT

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.DyeColor> LENS_TINT
      Defines the dyed lens color value. Should not be used together with LENS_RAINBOW_TINT.
    • LENS_RAINBOW_TINT

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> LENS_RAINBOW_TINT
      Defines that the lens is rainbow-tinted. Takes precedence over LENS_TINT.
    • ATTACHED_LENS

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.ItemStack> ATTACHED_LENS
    • BREW

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation> BREW
    • MAX_USES

      public static final net.minecraft.core.component.DataComponentType<Integer> MAX_USES
    • REMAINING_USES

      public static final net.minecraft.core.component.DataComponentType<Integer> REMAINING_USES
    • RANDOM_SEED

      public static final net.minecraft.core.component.DataComponentType<Long> RANDOM_SEED
    • SPECTATOR_HIGHLIGHT_ENTITIES

      public static final net.minecraft.core.component.DataComponentType<List<Integer>> SPECTATOR_HIGHLIGHT_ENTITIES
    • SPECTATOR_HIGHLIGHT_BLOCKS

      public static final net.minecraft.core.component.DataComponentType<List<net.minecraft.core.BlockPos>> SPECTATOR_HIGHLIGHT_BLOCKS
    • BLOCK_TYPE

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation> BLOCK_TYPE
    • BLOCK_COUNT

      public static final net.minecraft.core.component.DataComponentType<Integer> BLOCK_COUNT
  • Constructor Details

    • BotaniaDataComponents

      public BotaniaDataComponents()
  • Method Details

    • registerComponents

      public static void registerComponents(BiConsumer<net.minecraft.core.component.DataComponentType<?>,net.minecraft.resources.ResourceLocation> biConsumer)