Class DepthStriderEnchantment

java.lang.Object
net.minecraft.enchantment.Enchantment
net.minecraft.enchantment.DepthStriderEnchantment
All Implemented Interfaces:
ToggleableFeature

public class DepthStriderEnchantment extends Enchantment
Mappings:
Namespace Name
named net/minecraft/enchantment/DepthStriderEnchantment
intermediary net/minecraft/class_1913
official dar
  • Constructor Details

    • DepthStriderEnchantment

      public DepthStriderEnchantment(Enchantment.Properties weight)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/enchantment/DepthStriderEnchantment;<init>(Lnet/minecraft/enchantment/Enchantment$Properties;)V
      intermediary <init> Lnet/minecraft/class_1913;<init>(Lnet/minecraft/class_1887$class_9427;)V
      official <init> Ldar;<init>(Ldab$b;)V
  • Method Details

    • canAccept

      public boolean canAccept(Enchantment other)
      Returns whether this enchantment can exist on an item stack with the other enchantment.
      Overrides:
      canAccept in class Enchantment
      Returns:
      whether this enchantment can exist on an item stack with the other enchantment
      Mappings:
      Namespace Name Mixin selector
      named canAccept Lnet/minecraft/enchantment/Enchantment;canAccept(Lnet/minecraft/enchantment/Enchantment;)Z
      intermediary method_8180 Lnet/minecraft/class_1887;method_8180(Lnet/minecraft/class_1887;)Z
      official a Ldab;a(Ldab;)Z