Package vazkii.botania.common.component
Class BotaniaDataComponents
java.lang.Object
vazkii.botania.common.component.BotaniaDataComponents
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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<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<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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterComponents(BiConsumer<net.minecraft.core.component.DataComponentType<?>, net.minecraft.resources.ResourceLocation> biConsumer)
-
Field Details
-
ACTIVE
public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> ACTIVEGeneral 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_TRANSIENTTransient "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_FULLHelper 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
Current amount of mana in the item. -
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
Mana backlog to be processed later through some other means. If this component exists, it receives the same delta amounts as theMANAcomponent. -
CAN_RECEIVE_MANA_FROM_ITEM
public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CAN_RECEIVE_MANA_FROM_ITEMDefines 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_POOLDefines 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_ITEMDefines 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_POOLDefines 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_MANADefined 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_POSBound pool of a mana mirror. (Not part of the default mana item implementation.) -
HALO_ROTATION_BASE
-
LAST_RECIPE_ID
public static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation> LAST_RECIPE_ID -
STORED_RECIPES
-
LAST_TRIGGER_TIME
-
LENS_TINT
public static final net.minecraft.core.component.DataComponentType<net.minecraft.world.item.DyeColor> LENS_TINTDefines the dyed lens color value. Should not be used together withLENS_RAINBOW_TINT. -
LENS_RAINBOW_TINT
public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> LENS_RAINBOW_TINTDefines that the lens is rainbow-tinted. Takes precedence overLENS_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
-
REMAINING_USES
-
RANDOM_SEED
-
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
-
RANGE
-
SIZE
-
MOB_TYPE
public static final net.minecraft.core.component.DataComponentType<net.minecraft.resources.ResourceLocation> MOB_TYPE -
NOT_MY_NAME_STEP
-
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
-
SOULBOUND
-
BOUND_POSITIONS
public static final net.minecraft.core.component.DataComponentType<Map<net.minecraft.resources.ResourceLocation,net.minecraft.core.BlockPos>> BOUND_POSITIONS -
TIARA_VARIANT
-
REMAINING_TICKS
-
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
-
SHARD_LEVEL
-
SHARD_POINTY
-
SHARD_HEIGHT_SCALE
-
LAPUTA_STATE
-
CLIP
public static final net.minecraft.core.component.DataComponentType<net.minecraft.util.Unit> CLIP -
CLIP_POS
-
ATTACHED_LENSES
public static final net.minecraft.core.component.DataComponentType<List<net.minecraft.world.item.ItemStack>> ATTACHED_LENSES -
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
-
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
-
OLD_POS
public static final net.minecraft.core.component.DataComponentType<net.minecraft.world.phys.Vec3> OLD_POS -
TARGET_ENTITY
-
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)
-