Class MutableToolTier

java.lang.Object
dev.latvian.mods.kubejs.item.MutableToolTier
All Implemented Interfaces:
net.minecraft.world.item.Tier

public class MutableToolTier extends Object implements net.minecraft.world.item.Tier
  • Field Details

    • parent

      public final net.minecraft.world.item.Tier parent
  • Constructor Details

    • MutableToolTier

      public MutableToolTier(net.minecraft.world.item.Tier p)
  • Method Details

    • getUses

      @RemapForJS("getUses") public int getUses()
      Specified by:
      getUses in interface net.minecraft.world.item.Tier
    • setUses

      public void setUses(int i)
    • getSpeed

      @RemapForJS("getSpeed") public float getSpeed()
      Specified by:
      getSpeed in interface net.minecraft.world.item.Tier
    • setSpeed

      public void setSpeed(float f)
    • getAttackDamageBonus

      @RemapForJS("getAttackDamageBonus") public float getAttackDamageBonus()
      Specified by:
      getAttackDamageBonus in interface net.minecraft.world.item.Tier
    • setIncorrectBlocksForDropsTag

      public void setIncorrectBlocksForDropsTag(net.minecraft.resources.ResourceLocation tag)
    • getIncorrectBlocksForDropsTag

      public net.minecraft.resources.ResourceLocation getIncorrectBlocksForDropsTag()
    • getIncorrectBlocksForDrops

      public net.minecraft.tags.TagKey<net.minecraft.world.level.block.Block> getIncorrectBlocksForDrops()
      Specified by:
      getIncorrectBlocksForDrops in interface net.minecraft.world.item.Tier
    • setAttackDamageBonus

      public void setAttackDamageBonus(float f)
    • getEnchantmentValue

      @RemapForJS("getEnchantmentValue") public int getEnchantmentValue()
      Specified by:
      getEnchantmentValue in interface net.minecraft.world.item.Tier
    • setEnchantmentValue

      public void setEnchantmentValue(int i)
    • getRepairIngredient

      @RemapForJS("getVanillaRepairIngredient") public net.minecraft.world.item.crafting.Ingredient getRepairIngredient()
      Specified by:
      getRepairIngredient in interface net.minecraft.world.item.Tier
    • setRepairIngredient

      public void setRepairIngredient(net.minecraft.world.item.crafting.Ingredient in)