类 BaseBlockItem

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.BlockItem
committee.nova.mods.avaritia.api.common.item.BaseBlockItem
所有已实现的接口:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, net.minecraftforge.common.extensions.IForgeItem

public class BaseBlockItem extends net.minecraft.world.item.BlockItem
Author cnlimiter CreateTime 2023/6/14 18:19 Name BaseItemBlock Description
  • 嵌套类概要

    从类继承的嵌套类/接口 net.minecraft.world.item.Item

    net.minecraft.world.item.Item.Properties
  • 字段概要

    从类继承的字段 net.minecraft.world.item.BlockItem

    BLOCK_ENTITY_TAG, BLOCK_STATE_TAG

    从类继承的字段 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
  • 构造器概要

    构造器
    构造器
    说明
    BaseBlockItem(net.minecraft.world.level.block.Block block)
     
    BaseBlockItem(net.minecraft.world.level.block.Block block, Function<net.minecraft.world.item.Item.Properties,net.minecraft.world.item.Item.Properties> properties)
     
  • 方法概要

    从类继承的方法 net.minecraft.world.item.BlockItem

    appendHoverText, canFitInsideContainerItems, canPlace, getBlock, getBlockEntityData, getDescriptionId, getPlacementState, getPlaceSound, getPlaceSound, mustSurvive, onDestroyed, place, placeBlock, registerBlocks, removeFromBlockToItemMap, requiredFeatures, setBlockEntityData, updateCustomBlockEntityTag, updateCustomBlockEntityTag, updatePlacementContext, useOn

    从类继承的方法 net.minecraft.world.item.Item

    asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canBeDepleted, canBeHurtBy, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDescription, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getEnchantmentValue, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getRenderPropertiesInternal, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, hurtEnemy, initializeClient, interactLivingEntity, inventoryTick, isBarVisible, isComplex, isCorrectToolForDrops, isEdible, isEnchantable, isFireResistant, isFoil, isRepairable, isValidRepairItem, mineBlock, onCraftedBy, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, shouldOverrideMultiplayerNbt, toString, use, 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, createEntity, damageItem, doesSneakBypassUse, elytraFlightTick, getAllEnchantments, getArmorTexture, getAttributeModifiers, getBurnTime, getCraftingRemainingItem, getCreatorModId, getDamage, getDefaultTooltipHideFlags, getEnchantmentLevel, getEnchantmentValue, getEntityLifespan, getEquipmentSlot, getFoodProperties, getHighlightTip, getMaxDamage, getMaxStackSize, getShareTag, getSweepHitBox, getXpRepairRatio, hasCraftingRemainingItem, hasCustomEntity, initCapabilities, isBookEnchantable, isCorrectToolForDrops, isDamageable, isDamaged, isEnderMask, isNotReplaceableByPickAction, isPiglinCurrency, makesPiglinsNeutral, onArmorTick, onBlockStartBreak, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onHorseArmorTick, onInventoryTick, onItemUseFirst, onLeftClickEntity, onStopUsing, readShareTag, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation
  • 构造器详细资料

    • BaseBlockItem

      public BaseBlockItem(net.minecraft.world.level.block.Block block)
    • BaseBlockItem

      public BaseBlockItem(net.minecraft.world.level.block.Block block, Function<net.minecraft.world.item.Item.Properties,net.minecraft.world.item.Item.Properties> properties)