Class HoneycombItem
java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.HoneycombItem
- All Implemented Interfaces:
FeatureElement, SignApplicator, ItemLike, IItemExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class Item
Item.Properties, Item.TooltipContext -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.Deprecated.Neo: Use thedata map, this field will be ignored in a future versionprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringstatic final com.google.common.collect.ImmutableMap<Block, Pair<RecipeCategory, String>> Fields inherited from class Item
ABSOLUTE_MAX_STACK_SIZE, APPROXIMATELY_INFINITE_USE_DURATION, BASE_ATTACK_DAMAGE_ID, BASE_ATTACK_SPEED_ID, BY_BLOCK, canCombineRepair, CODEC, CODEC_WITH_BOUND_COMPONENTS, DEFAULT_MAX_STACK_SIZE, descriptionId, MAX_BAR_WIDTH, STREAM_CODECFields inherited from interface FeatureElement
FILTERED_REGISTRIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanApplyToSign(SignText text, ItemStack item, Player player) static Optional<BlockState> getWaxed(BlockState oldState) booleantryApplyToSign(Level level, SignBlockEntity sign, boolean isFrontText, ItemStack item, Player player) useOn(UseOnContext context) Methods inherited from class Item
appendHoverText, asItem, builtInRegistryHolder, byBlock, byId, canDestroyBlock, canFitInsideContainerItems, components, computeDefaultResource, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getCraftingRemainder, getDefaultInstance, getDefaultMaxStackSize, getDescriptionId, getDestroySpeed, getId, getItemDamageSource, getName, getPlayerPOVHitResult, getTooltipImage, getUseAnimation, getUseDuration, hurtEnemy, interactLivingEntity, inventoryTick, isBarVisible, isCombineRepairable, isCorrectToolForDrops, isFoil, mineBlock, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, postHurtEnemy, releaseUsing, requiredFeatures, resetDefaultResource, shouldPrintOpWarning, toString, use, useOnReleaseMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface FeatureElement
isEnabledMethods inherited from interface 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, isDamageable, isDamaged, isGazeDisguise, isNotReplaceableByPickAction, isPiglinCurrency, isPrimaryItemFor, makesPiglinsNeutral, onAnimalArmorTick, onDestroyed, onDroppedByPlayer, onEntityItemUpdate, onEntitySwing, onItemUseFirst, onLeftClickEntity, onStopUsing, setDamage, shouldCauseBlockBreakReset, shouldCauseReequipAnimation, supportsEnchantment
-
Field Details
-
WAXABLES
Deprecated.Neo: Use thedata map, this field will be ignored in a future version -
WAX_OFF_BY_BLOCK
@Deprecated public static final Supplier<com.google.common.collect.BiMap<Block,Block>> WAX_OFF_BY_BLOCKDeprecated.Use theinverse mapgenerated from the data map, this field will be ignored in a future version -
WAXED_COPPER_DOOR
- See Also:
-
WAXED_COPPER_TRAPDOOR
- See Also:
-
WAXED_COPPER_GOLEM_STATUE
- See Also:
-
WAXED_COPPER_CHEST
- See Also:
-
WAXED_LIGHTNING_ROD
- See Also:
-
WAXED_COPPER_BAR
- See Also:
-
WAXED_COPPER_CHAIN
- See Also:
-
WAXED_COPPER_LANTERN
- See Also:
-
WAXED_COPPER_BLOCK
- See Also:
-
WAXED_RECIPES
public static final com.google.common.collect.ImmutableMap<Block, Pair<RecipeCategory, String>> WAXED_RECIPES
-
-
Constructor Details
-
HoneycombItem
-
-
Method Details
-
useOn
-
getWaxed
-
tryApplyToSign
public boolean tryApplyToSign(Level level, SignBlockEntity sign, boolean isFrontText, ItemStack item, Player player) - Specified by:
tryApplyToSignin interfaceSignApplicator
-
canApplyToSign
- Specified by:
canApplyToSignin interfaceSignApplicator
-
inverse mapgenerated from the data map, this field will be ignored in a future version