Package dev.jaxydog.astral.mixin
Class AxeItemMixin
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.ToolItem
net.minecraft.item.MiningToolItem
dev.jaxydog.astral.mixin.AxeItemMixin
- All Implemented Interfaces:
net.fabricmc.fabric.api.item.v1.FabricItem,net.minecraft.item.ItemConvertible,net.minecraft.item.Vanishable,net.minecraft.resource.featuretoggle.ToggleableFeature
public abstract class AxeItemMixin
extends net.minecraft.item.MiningToolItem
Allows log slabs to be stripped.
- Since:
- 2.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
net.minecraft.item.Item.Settings -
Field Summary
Fields inherited from class net.minecraft.item.MiningToolItem
miningSpeedFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, DEFAULT_MAX_COUNT, DEFAULT_MAX_USE_TIME, ITEM_BAR_STEPSFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
ConstructorsConstructorDescriptionAxeItemMixin(float attackDamage, float attackSpeed, net.minecraft.item.ToolMaterial material, net.minecraft.registry.tag.TagKey<net.minecraft.block.Block> effectiveBlocks, net.minecraft.item.Item.Settings settings) Creates a new instance of this mixin. -
Method Summary
Methods inherited from class net.minecraft.item.MiningToolItem
getAttackDamage, getAttributeModifiers, getMiningSpeedMultiplier, isSuitableFor, postHit, postMineMethods inherited from class net.minecraft.item.ToolItem
canRepair, getEnchantability, getMaterialMethods inherited from class net.minecraft.item.Item
appendTooltip, asItem, byRawId, canBeNested, canMine, damage, finishUsing, fromBlock, getDefaultStack, getDrinkSound, getEatSound, getFoodComponent, getItemBarColor, getItemBarStep, getMaxCount, getMaxDamage, getMaxUseTime, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getRegistryEntry, getRequiredFeatures, getTooltipData, getTranslationKey, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isItemBarVisible, isNbtSynced, isNetworkSynced, isUsedOnRelease, onClicked, onCraft, onItemEntityDestroyed, onStackClicked, onStoppedUsing, postProcessNbt, raycast, toString, usageTick, use, useOnBlock, useOnEntityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fabricmc.fabric.api.item.v1.FabricItem
allowContinuingBlockBreaking, allowNbtUpdateAnimation, getAttributeModifiers, getRecipeRemainder, isSuitableForMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Constructor Details
-
AxeItemMixin
public AxeItemMixin(float attackDamage, float attackSpeed, net.minecraft.item.ToolMaterial material, net.minecraft.registry.tag.TagKey<net.minecraft.block.Block> effectiveBlocks, net.minecraft.item.Item.Settings settings) Creates a new instance of this mixin.- Parameters:
attackDamage- The item's attack damage.attackSpeed- The item's attack speed.material- The item's tool material.effectiveBlocks- A tag of effective blocks.settings- The item's settings.- Since:
- 2.2.0
-