Package net.frozenblock.wilderwild.item
Class MilkweedPod
java.lang.Object
net.minecraft.world.item.Item
net.frozenblock.wilderwild.item.MilkweedPod
- All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike
public class MilkweedPod
extends net.minecraft.world.item.Item
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item.TooltipContext -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final doublestatic final doubleFields inherited from class net.minecraft.world.item.Item
ABSOLUTE_MAX_STACK_SIZE, BASE_ATTACK_DAMAGE_ID, BASE_ATTACK_SPEED_ID, BY_BLOCK, CODEC, DEFAULT_MAX_STACK_SIZE, descriptionId, MAX_BAR_WIDTHFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull net.minecraft.world.item.ItemUseAnimationgetUseAnimation(@NotNull net.minecraft.world.item.ItemStack stack) @NotNull net.minecraft.world.InteractionResultuse(@NotNull net.minecraft.world.level.Level level, @NotNull net.minecraft.world.entity.player.Player user, @NotNull net.minecraft.world.InteractionHand hand) Methods inherited from class net.minecraft.world.item.Item
appendHoverText, asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getBreakingSound, getCraftingRemainder, getDamageSource, getDefaultInstance, getDefaultMaxStackSize, getDescriptionId, getDestroySpeed, getId, getName, getName, getPlayerPOVHitResult, getTooltipImage, getUseDuration, hurtEnemy, interactLivingEntity, inventoryTick, isBarVisible, isCorrectToolForDrops, isFoil, mineBlock, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, requiredFeatures, toString, useOn, useOnRelease, verifyComponentsAfterLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabled
-
Field Details
-
SHOOT_DISTANCE_FROM_EYE
public static final double SHOOT_DISTANCE_FROM_EYE- See Also:
-
PARTICLE_Y_OFFSET
public static final double PARTICLE_Y_OFFSET- See Also:
-
MIN_SEEDS
public static final int MIN_SEEDS- See Also:
-
MAX_SEEDS
public static final int MAX_SEEDS- See Also:
-
-
Constructor Details
-
MilkweedPod
public MilkweedPod(@NotNull @NotNull net.minecraft.world.item.Item.Properties settings)
-
-
Method Details
-
use
@NotNull public @NotNull net.minecraft.world.InteractionResult use(@NotNull @NotNull net.minecraft.world.level.Level level, @NotNull @NotNull net.minecraft.world.entity.player.Player user, @NotNull @NotNull net.minecraft.world.InteractionHand hand) - Overrides:
usein classnet.minecraft.world.item.Item
-
getUseAnimation
@NotNull public @NotNull net.minecraft.world.item.ItemUseAnimation getUseAnimation(@NotNull @NotNull net.minecraft.world.item.ItemStack stack) - Overrides:
getUseAnimationin classnet.minecraft.world.item.Item
-