类 InfinityBucketItem
java.lang.Object
net.minecraft.world.item.Item
committee.nova.mods.avaritia.common.item.resources.ResourceItem
committee.nova.mods.avaritia.common.item.misc.InfinityBucketItem
- 所有已实现的接口:
ITooltip,net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.minecraftforge.common.extensions.IForgeItem
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.item.Item
net.minecraft.world.item.Item.Properties -
字段概要
字段从类继承的字段 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 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidappendHoverText(@NotNull net.minecraft.world.item.ItemStack pStack, @Nullable net.minecraft.world.level.Level pLevel, @NotNull List<net.minecraft.network.chat.Component> pTooltipComponents, @NotNull net.minecraft.world.item.TooltipFlag pIsAdvanced) static @NotNull StringgetFluidName(net.minecraftforge.fluids.FluidStack fluidStack) static List<net.minecraftforge.fluids.FluidStack>getFluids(net.minecraft.world.item.ItemStack stack) net.minecraftforge.common.capabilities.ICapabilityProviderinitCapabilities(net.minecraft.world.item.ItemStack stack, @Nullable net.minecraft.nbt.CompoundTag nbt) voidinventoryTick(@NotNull net.minecraft.world.item.ItemStack pStack, @NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.world.entity.Entity pEntity, int pSlotId, boolean pIsSelected) static @NotNull net.minecraftforge.fluids.FluidStackloadFluidStackFromNBT(net.minecraft.nbt.CompoundTag nbt) static voidsetFluids(net.minecraft.world.item.ItemStack stack, List<net.minecraftforge.fluids.FluidStack> fluids) @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack>use(@NotNull net.minecraft.world.level.Level pLevel, @NotNull net.minecraft.world.entity.player.Player pPlayer, @NotNull net.minecraft.world.InteractionHand pUsedHand) static @NotNull net.minecraft.nbt.CompoundTagwriteFluidStackToNBT(net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.nbt.CompoundTag nbt) 从类继承的方法 committee.nova.mods.avaritia.common.item.resources.ResourceItem
createEntity, getRarity, hasDescTooltip从类继承的方法 net.minecraft.world.item.Item
asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, shouldOverrideMultiplayerNbt, toString, useOn, 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, canPerformAction, canWalkOnPowderedSnow, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getAttributeModifiers, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultTooltipHideFlags, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getShareTag, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, isBookEnchantable, isCorrectToolForDrops, isDamageable, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onInventoryTick, onItemUseFirst, onLeftClickEntity, onStopUsing, readShareTag, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation
-
字段详细资料
-
构造器详细资料
-
InfinityBucketItem
public InfinityBucketItem()
-
-
方法详细资料
-
getFluids
public static List<net.minecraftforge.fluids.FluidStack> getFluids(net.minecraft.world.item.ItemStack stack) -
setFluids
public static void setFluids(net.minecraft.world.item.ItemStack stack, List<net.minecraftforge.fluids.FluidStack> fluids) -
loadFluidStackFromNBT
@NotNull public static @NotNull net.minecraftforge.fluids.FluidStack loadFluidStackFromNBT(net.minecraft.nbt.CompoundTag nbt) -
writeFluidStackToNBT
@NotNull public static @NotNull net.minecraft.nbt.CompoundTag writeFluidStackToNBT(net.minecraftforge.fluids.FluidStack fluidStack, net.minecraft.nbt.CompoundTag nbt) -
getFluidName
@NotNull public static @NotNull String getFluidName(net.minecraftforge.fluids.FluidStack fluidStack) -
initCapabilities
public net.minecraftforge.common.capabilities.ICapabilityProvider initCapabilities(net.minecraft.world.item.ItemStack stack, @Nullable @Nullable net.minecraft.nbt.CompoundTag nbt) -
appendHoverText
public void appendHoverText(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack, @Nullable @Nullable net.minecraft.world.level.Level pLevel, @NotNull @NotNull List<net.minecraft.network.chat.Component> pTooltipComponents, @NotNull @NotNull net.minecraft.world.item.TooltipFlag pIsAdvanced) - 覆盖:
appendHoverText在类中net.minecraft.world.item.Item
-
inventoryTick
public void inventoryTick(@NotNull @NotNull net.minecraft.world.item.ItemStack pStack, @NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.world.entity.Entity pEntity, int pSlotId, boolean pIsSelected) - 覆盖:
inventoryTick在类中net.minecraft.world.item.Item
-
use
@NotNull public @NotNull net.minecraft.world.InteractionResultHolder<net.minecraft.world.item.ItemStack> use(@NotNull @NotNull net.minecraft.world.level.Level pLevel, @NotNull @NotNull net.minecraft.world.entity.player.Player pPlayer, @NotNull @NotNull net.minecraft.world.InteractionHand pUsedHand) - 覆盖:
use在类中net.minecraft.world.item.Item
-