类 InfinityHoeItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.TieredItem
net.minecraft.world.item.DiggerItem
net.minecraft.world.item.HoeItem
committee.nova.mods.avaritia.common.item.tools.infinity.InfinityHoeItem
- 所有已实现的接口:
ISwitchable,IUndamageable,net.minecraft.world.flag.FeatureElement,net.minecraft.world.item.Vanishable,net.minecraft.world.level.ItemLike,net.minecraftforge.common.extensions.IForgeItem
public class InfinityHoeItem
extends net.minecraft.world.item.HoeItem
implements IUndamageable, ISwitchable
Description:
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties -
字段概要
从类继承的字段 net.minecraft.world.item.HoeItem
TILLABLES从类继承的字段 net.minecraft.world.item.DiggerItem
speed从类继承的字段 net.minecraft.world.item.Item
BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, canRepair, EAT_DURATION, MAX_BAR_WIDTH, MAX_STACK_SIZE从接口继承的字段 net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明@Nullable net.minecraft.world.entity.EntitycreateEntity(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity location, net.minecraft.world.item.ItemStack stack) com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getAttributeModifiers(net.minecraft.world.entity.EquipmentSlot slot, net.minecraft.world.item.ItemStack stack) floatgetDestroySpeed(@NotNull net.minecraft.world.item.ItemStack stack, @NotNull net.minecraft.world.level.block.state.BlockState state) intgetEnchantmentValue(net.minecraft.world.item.ItemStack stack) booleanhasCustomEntity(net.minecraft.world.item.ItemStack stack) booleanisDamageable(net.minecraft.world.item.ItemStack stack) booleanisFoil(@NotNull net.minecraft.world.item.ItemStack pStack) @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack>use(@NotNull net.minecraft.world.level.Level world, @NotNull net.minecraft.world.entity.player.Player player, @NotNull net.minecraft.world.InteractionHand hand) @NotNull net.minecraft.world.InteractionResultuseOn(net.minecraft.world.item.context.UseOnContext context) 从类继承的方法 net.minecraft.world.item.HoeItem
canPerformAction, changeIntoState, changeIntoStateAndDropItem, onlyIfAirAbove从类继承的方法 net.minecraft.world.item.DiggerItem
getAttackDamage, getDefaultAttributeModifiers, hurtEnemy, isCorrectToolForDrops, isCorrectToolForDrops, mineBlock从类继承的方法 net.minecraft.world.item.TieredItem
getEnchantmentValue, getTier, isValidRepairItem从类继承的方法 net.minecraft.world.item.Item
appendHoverText, asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDrinkingSound, getEatingSound, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isEdible, isEnchantable, isFireResistant, isRepairable, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, shouldOverrideMultiplayerNbt, toString, useOnRelease, verifyTagAfterLoad从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait从接口继承的方法 net.minecraft.world.flag.FeatureElement
isEnabled从接口继承的方法 net.minecraftforge.common.extensions.IForgeItem
canApplyAtEnchantingTable, canContinueUsing, canDisableShield, canElytraFly, canEquip, canGrindstoneRepair, canWalkOnPowderedSnow, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultTooltipHideFlags, getEnchantmentLevel, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getShareTag, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, initCapabilities, isBookEnchantable, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onInventoryTick, onItemUseFirst, onLeftClickEntity, onStopUsing, readShareTag, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation从接口继承的方法 committee.nova.mods.avaritia.api.iface.ISwitchable
cycleMode, getCurrentModeIndex, isActive, setMode, switchMode, switchToMode
-
构造器详细资料
-
InfinityHoeItem
public InfinityHoeItem()
-
-
方法详细资料
-
isFoil
public boolean isFoil(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack) - 覆盖:
isFoil在类中net.minecraft.world.item.Item
-
isDamageable
public boolean isDamageable(net.minecraft.world.item.ItemStack stack) - 指定者:
isDamageable在接口中net.minecraftforge.common.extensions.IForgeItem
-
getEnchantmentValue
public int getEnchantmentValue(net.minecraft.world.item.ItemStack stack) - 指定者:
getEnchantmentValue在接口中net.minecraftforge.common.extensions.IForgeItem
-
getDestroySpeed
public float getDestroySpeed(@NotNull @NotNull net.minecraft.world.item.ItemStack stack, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState state) - 覆盖:
getDestroySpeed在类中net.minecraft.world.item.DiggerItem
-
use
@NotNull public @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack> use(@NotNull @NotNull net.minecraft.world.level.Level world, @NotNull @NotNull net.minecraft.world.entity.player.Player player, @NotNull @NotNull net.minecraft.world.InteractionHand hand) - 覆盖:
use在类中net.minecraft.world.item.Item
-
useOn
@NotNull public @NotNull net.minecraft.world.InteractionResult useOn(net.minecraft.world.item.context.UseOnContext context) - 覆盖:
useOn在类中net.minecraft.world.item.HoeItem
-
hasCustomEntity
public boolean hasCustomEntity(net.minecraft.world.item.ItemStack stack) - 指定者:
hasCustomEntity在接口中net.minecraftforge.common.extensions.IForgeItem
-
createEntity
@Nullable public @Nullable net.minecraft.world.entity.Entity createEntity(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity location, net.minecraft.world.item.ItemStack stack) - 指定者:
createEntity在接口中net.minecraftforge.common.extensions.IForgeItem
-
getAttributeModifiers
public com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getAttributeModifiers(net.minecraft.world.entity.EquipmentSlot slot, net.minecraft.world.item.ItemStack stack) - 指定者:
getAttributeModifiers在接口中net.minecraftforge.common.extensions.IForgeItem
-