Class FrostWalkerEnchantment

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

public class FrostWalkerEnchantment extends Enchantment
Mappings:
Namespace Name
named net/minecraft/enchantment/FrostWalkerEnchantment
intermediary net/minecraft/class_1894
official daf
  • Constructor Details

    • FrostWalkerEnchantment

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

    • isTreasure

      public boolean isTreasure()
      Overrides:
      isTreasure in class Enchantment
      Mappings:
      Namespace Name Mixin selector
      named isTreasure Lnet/minecraft/enchantment/Enchantment;isTreasure()Z
      intermediary method_8193 Lnet/minecraft/class_1887;method_8193()Z
      official a Ldab;a()Z
    • freezeWater

      public static void freezeWater(LivingEntity entity, World world, BlockPos blockPos, int level)
      Mappings:
      Namespace Name Mixin selector
      named freezeWater Lnet/minecraft/enchantment/FrostWalkerEnchantment;freezeWater(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;I)V
      intermediary method_8236 Lnet/minecraft/class_1894;method_8236(Lnet/minecraft/class_1309;Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;I)V
      official a Ldaf;a(Lbtq;Ldbz;Liz;I)V
    • 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