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<List<String>>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.ItemStack>
     
    static final net.minecraft.core.component.DataComponentType<List<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.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<Map<net.minecraft.resources.ResourceLocation,net.minecraft.core.BlockPos>>
     
    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>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    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.world.item.ItemStack>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    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<Integer>
     
    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.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<LaputaState>
     
    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<List<net.minecraft.core.BlockPos>>
     
    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<Integer>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation>
     
    static final net.minecraft.core.component.DataComponentType<Integer>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.world.phys.Vec3>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    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<Integer>
     
    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<net.minecraft.core.BlockPos>
     
    static final net.minecraft.core.component.DataComponentType<String>
     
    static final net.minecraft.core.component.DataComponentType<Float>
     
    static final net.minecraft.core.component.DataComponentType<Integer>
     
    static final net.minecraft.core.component.DataComponentType<Boolean>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<Integer>
     
    static final net.minecraft.core.component.DataComponentType<UUID>
     
    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<Float>
     
    static final net.minecraft.core.component.DataComponentType<StoredIds>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.core.Direction>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.core.Direction>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.world.phys.Vec3>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit>
     
    static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation>
     
    static final net.minecraft.core.component.DataComponentType<Float>
     
    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<Integer>
     
    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>
     
    static final net.minecraft.core.component.DataComponentType<Integer>
     
  • 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.
    • COSMETIC_OVERRIDE

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.ItemStack> COSMETIC_OVERRIDE
    • 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.)
    • 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<StoredIds> 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
    • RANGE

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

      public static final net.minecraft.core.component.DataComponentType<Integer> SIZE
    • MOB_TYPE

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation> MOB_TYPE
    • NOT_MY_NAME_STEP

      public static final net.minecraft.core.component.DataComponentType<Integer> NOT_MY_NAME_STEP
    • SEXTANT_MODE

      public static final net.minecraft.core.component.DataComponentType<String> SEXTANT_MODE
    • LOKI_RING_OFFSET_LIST

      public static final net.minecraft.core.component.DataComponentType<List<net.minecraft.core.BlockPos>> LOKI_RING_OFFSET_LIST
    • ANCIENT_WILLS

      public static final net.minecraft.core.component.DataComponentType<List<String>> ANCIENT_WILLS
    • SOULBOUND

      public static final net.minecraft.core.component.DataComponentType<UUID> SOULBOUND
    • BOUND_POSITIONS

      public static final net.minecraft.core.component.DataComponentType<Map<net.minecraft.resources.ResourceLocation,net.minecraft.core.BlockPos>> BOUND_POSITIONS
    • TIARA_VARIANT

      public static final net.minecraft.core.component.DataComponentType<Integer> TIARA_VARIANT
    • REMAINING_TICKS

      public static final net.minecraft.core.component.DataComponentType<Integer> REMAINING_TICKS
    • MAX_USE_TICKS

      public static final net.minecraft.core.component.DataComponentType<Integer> MAX_USE_TICKS
    • FLYING

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> FLYING
    • IS_SPRINTING

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> IS_SPRINTING
    • CREATIVE_FLIGHT

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CREATIVE_FLIGHT
    • BOOST_PENDING

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> BOOST_PENDING
    • IS_GLIDING

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> IS_GLIDING
    • CHARGING

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CHARGING
    • WEAPONS_SPAWNED

      public static final net.minecraft.core.component.DataComponentType<Integer> WEAPONS_SPAWNED
    • SHARD_LEVEL

      public static final net.minecraft.core.component.DataComponentType<Integer> SHARD_LEVEL
    • SHARD_POINTY

      public static final net.minecraft.core.component.DataComponentType<Boolean> SHARD_POINTY
    • SHARD_HEIGHT_SCALE

      public static final net.minecraft.core.component.DataComponentType<Float> SHARD_HEIGHT_SCALE
    • LAPUTA_STATE

      public static final net.minecraft.core.component.DataComponentType<LaputaState> LAPUTA_STATE
    • CLIP

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CLIP
    • CLIP_POS

      public static final net.minecraft.core.component.DataComponentType<Integer> CLIP_POS
    • ATTACHED_LENSES

      public static final net.minecraft.core.component.DataComponentType<List<net.minecraft.world.item.ItemStack>> ATTACHED_LENSES
    • COOLDOWN

      public static final net.minecraft.core.component.DataComponentType<Integer> COOLDOWN
    • SILK_HACK

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> SILK_HACK
    • TEMPERANCE_ACTIVE

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> TEMPERANCE_ACTIVE
    • SWAPPING

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> SWAPPING
    • EXTRA_RANGE

      public static final net.minecraft.core.component.DataComponentType<Integer> EXTRA_RANGE
    • SELECTED_POS

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.core.BlockPos> SELECTED_POS
    • SWAP_CLICK_AXIS

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.core.Direction> SWAP_CLICK_AXIS
    • TARGET_BLOCK

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation> TARGET_BLOCK
    • PLACED_ITEM

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation> PLACED_ITEM
    • SWAP_DIRECTION

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.core.Direction> SWAP_DIRECTION
    • SWAP_HIT_VEC

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.world.phys.Vec3> SWAP_HIT_VEC
    • SPEED

      public static final net.minecraft.core.component.DataComponentType<Float> SPEED
    • OLD_POS

      public static final net.minecraft.core.component.DataComponentType<net.minecraft.world.phys.Vec3> OLD_POS
    • TARGET_ENTITY

      public static final net.minecraft.core.component.DataComponentType<Integer> TARGET_ENTITY
    • TARGET_DIST

      public static final net.minecraft.core.component.DataComponentType<Float> TARGET_DIST
  • Constructor Details

    • BotaniaDataComponents

      public BotaniaDataComponents()
  • Method Details

    • registerComponents

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