Uses of Record Class
net.minecraft.component.type.ConsumableComponent
Packages that use ConsumableComponent
-
Uses of ConsumableComponent in net.minecraft.component
Fields in net.minecraft.component with type parameters of type ConsumableComponentModifier and TypeFieldDescriptionstatic final ComponentType
<ConsumableComponent> DataComponentTypes.CONSUMABLE
-
Uses of ConsumableComponent in net.minecraft.component.type
Fields in net.minecraft.component.type declared as ConsumableComponentModifier and TypeFieldDescriptionstatic final ConsumableComponent
ConsumableComponents.CHORUS_FRUIT
static final ConsumableComponent
ConsumableComponents.DRIED_KELP
static final ConsumableComponent
ConsumableComponents.DRINK
static final ConsumableComponent
ConsumableComponents.ENCHANTED_GOLDEN_APPLE
static final ConsumableComponent
ConsumableComponents.FOOD
static final ConsumableComponent
ConsumableComponents.GOLDEN_APPLE
static final ConsumableComponent
ConsumableComponents.HONEY_BOTTLE
static final ConsumableComponent
ConsumableComponents.MILK_BUCKET
static final ConsumableComponent
ConsumableComponents.OMINOUS_BOTTLE
static final ConsumableComponent
ConsumableComponents.POISONOUS_POTATO
static final ConsumableComponent
ConsumableComponents.PUFFERFISH
static final ConsumableComponent
ConsumableComponents.RAW_CHICKEN
static final ConsumableComponent
ConsumableComponents.ROTTEN_FLESH
static final ConsumableComponent
ConsumableComponents.SPIDER_EYE
Fields in net.minecraft.component.type with type parameters of type ConsumableComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ConsumableComponent> ConsumableComponent.CODEC
static final PacketCodec
<RegistryByteBuf, ConsumableComponent> ConsumableComponent.PACKET_CODEC
Methods in net.minecraft.component.type that return ConsumableComponentMethods in net.minecraft.component.type with parameters of type ConsumableComponentModifier and TypeMethodDescriptionvoid
Consumable.onConsume
(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) void
FoodComponent.onConsume
(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) void
OminousBottleAmplifierComponent.onConsume
(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) void
PotionContentsComponent.onConsume
(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) void
SuspiciousStewEffectsComponent.onConsume
(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) -
Uses of ConsumableComponent in net.minecraft.item
Methods in net.minecraft.item with parameters of type ConsumableComponentModifier and TypeMethodDescriptionItem.Settings.food
(FoodComponent foodComponent, ConsumableComponent consumableComponent)