Package hiiragi283.lib.item
Class HTBlockItem
-
- All Implemented Interfaces:
-
net.minecraft.world.flag.FeatureElement,net.minecraft.world.level.ItemLike,net.neoforged.neoforge.common.extensions.IItemExtension
public class HTBlockItem<BLOCK extends Block> extends BlockItemブロックのクラスを指定できるBlockItemの拡張クラスです。
- Since:
0.1.0
Hiiragi Tsubasa
-
-
Field Summary
Fields Modifier and Type Field Description private final StringdescriptionIdprivate final IntegerdefaultMaxStackSizeprivate final BLOCKblockprivate final ItemStackdefaultInstanceprivate final ItemStackTemplatecraftingRemainder
-
Constructor Summary
Constructors Constructor Description HTBlockItem(BLOCK block, Item.Properties properties)
-
Method Summary
-
Methods inherited from class net.minecraft.world.item.Item
appendHoverText, builtInRegistryHolder, canDestroyBlock, canFitInsideContainerItems, components, computeDefaultResource, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getCraftingRemainder, getDefaultInstance, getDefaultMaxStackSize, getDescriptionId, getDestroySpeed, getItemDamageSource, getTooltipImage, getUseAnimation, getUseDuration, hurtEnemy, interactLivingEntity, inventoryTick, isBarVisible, isCorrectToolForDrops, isFoil, mineBlock, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, resetDefaultResource, shouldPrintOpWarning, use, useOn, useOnRelease -
Methods inherited from class hiiragi283.lib.item.HTBlockItem
getBlock -
Methods inherited from class net.minecraft.world.item.BlockItem
place, registerBlocks, updatePlacementContext -
Methods inherited from class net.neoforged.neoforge.common.extensions.IItemExtension
applyEnchantments, canBeHurtBy, canContinueUsing, canEquip, canFitInsideContainerItems, canGrindstoneRepair, canPerformAction, canWalkOnPowderedSnow, createEntity, damageItem, doesSneakBypassUse, getAllEnchantments, getBurnTime, getCraftingRemainder, getCreatorModId, getDamage, getDefaultAttributeModifiers, getEnchantmentLevel, getEntityLifespan, getEquipmentSlot, getHighlightTip, getMaxDamage, getMaxStackSize, getSweepHitBox, getXpRepairRatio, hasCustomEntity, isCombineRepairable, isDamageable, isDamaged, isGazeDisguise, isNotReplaceableByPickAction, isPiglinCurrency, isPrimaryItemFor, makesPiglinsNeutral, onAnimalArmorTick, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUseFirst, onLeftClickEntity, onStopUsing, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, supportsEnchantment -
Methods inherited from class net.minecraft.world.flag.FeatureElement
isEnabled, requiredFeatures -
Methods inherited from class net.minecraft.world.level.ItemLike
asItem -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-