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 ConsumableComponentConsumableComponents.CHORUS_FRUITstatic final ConsumableComponentConsumableComponents.DRIED_KELPstatic final ConsumableComponentConsumableComponents.DRINKstatic final ConsumableComponentConsumableComponents.ENCHANTED_GOLDEN_APPLEstatic final ConsumableComponentConsumableComponents.FOODstatic final ConsumableComponentConsumableComponents.GOLDEN_APPLEstatic final ConsumableComponentConsumableComponents.HONEY_BOTTLEstatic final ConsumableComponentConsumableComponents.MILK_BUCKETstatic final ConsumableComponentConsumableComponents.OMINOUS_BOTTLEstatic final ConsumableComponentConsumableComponents.POISONOUS_POTATOstatic final ConsumableComponentConsumableComponents.PUFFERFISHstatic final ConsumableComponentConsumableComponents.RAW_CHICKENstatic final ConsumableComponentConsumableComponents.ROTTEN_FLESHstatic final ConsumableComponentConsumableComponents.SPIDER_EYEFields in net.minecraft.component.type with type parameters of type ConsumableComponentModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ConsumableComponent> ConsumableComponent.CODECstatic final PacketCodec<RegistryByteBuf, ConsumableComponent> ConsumableComponent.PACKET_CODECMethods in net.minecraft.component.type that return ConsumableComponentMethods in net.minecraft.component.type with parameters of type ConsumableComponentModifier and TypeMethodDescriptionvoidConsumable.onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) voidFoodComponent.onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) voidOminousBottleAmplifierComponent.onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) voidPotionContentsComponent.onConsume(World world, LivingEntity user, ItemStack stack, ConsumableComponent consumable) voidSuspiciousStewEffectsComponent.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)