Class RelicHooks

java.lang.Object
net.darkhax.msmlegacy.RelicHooks

public class RelicHooks extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item>
     
    static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item>
     
    static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item>
     
    static final net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome>
     
    static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item>
     
    static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item>
     
    static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item>
     
    static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item>
     
    static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    doesPlayerHaveAdvancement(net.minecraft.server.level.ServerPlayer player, String id)
     
    static boolean
    doesPlayerHaveAdvancement(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.ResourceLocation id)
     
    static net.minecraft.world.item.ItemStack
    dye(net.minecraft.world.item.Item item, net.minecraft.world.item.DyeColor color)
     
    static void
    injectPiglinBarteringTrades(net.minecraft.world.entity.monster.piglin.Piglin piglin, List<net.minecraft.world.item.ItemStack> trades)
     
    static boolean
    isBiome(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> biome)
     
    static void
    onPlayerWinsRaid(net.minecraft.server.level.ServerPlayer player)
     
    static void
    setupDrowned(net.minecraft.world.entity.monster.Drowned drowned, net.minecraft.util.RandomSource rng, net.minecraft.world.DifficultyInstance difficulty)
     
    static void
    setupSkeleton(net.minecraft.world.entity.monster.AbstractSkeleton skeleton, net.minecraft.util.RandomSource rng, net.minecraft.world.DifficultyInstance difficulty)
     
    static void
    setupWitherSkeleton(net.minecraft.world.entity.monster.WitherSkeleton skeleton, net.minecraft.util.RandomSource rng, net.minecraft.world.DifficultyInstance difficulty)
     
    static void
    setupZombie(net.minecraft.world.entity.monster.Zombie zombie, net.minecraft.util.RandomSource rng, net.minecraft.world.DifficultyInstance difficulty)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • AQUEOUS_BLADE

      public static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item> AQUEOUS_BLADE
    • BLAZE_SWORD

      public static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item> BLAZE_SWORD
    • INFINITY_BLADE

      public static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item> INFINITY_BLADE
    • CAN_HEROES_SHADE_SPAWN

      public static final net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> CAN_HEROES_SHADE_SPAWN
    • MASTER_SWORD

      public static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item> MASTER_SWORD
    • KEY_BLADE

      public static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item> KEY_BLADE
    • MOLTEN_BLADE

      public static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item> MOLTEN_BLADE
    • PIE_CUTTER

      public static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item> PIE_CUTTER
    • ADMINIUM_ARK

      public static final net.darkhax.bookshelf.api.function.CachedSupplier<net.minecraft.world.item.Item> ADMINIUM_ARK
  • Constructor Details

    • RelicHooks

      public RelicHooks()
  • Method Details

    • setupDrowned

      public static void setupDrowned(net.minecraft.world.entity.monster.Drowned drowned, net.minecraft.util.RandomSource rng, net.minecraft.world.DifficultyInstance difficulty)
    • injectPiglinBarteringTrades

      public static void injectPiglinBarteringTrades(net.minecraft.world.entity.monster.piglin.Piglin piglin, List<net.minecraft.world.item.ItemStack> trades)
    • setupZombie

      public static void setupZombie(net.minecraft.world.entity.monster.Zombie zombie, net.minecraft.util.RandomSource rng, net.minecraft.world.DifficultyInstance difficulty)
    • setupSkeleton

      public static void setupSkeleton(net.minecraft.world.entity.monster.AbstractSkeleton skeleton, net.minecraft.util.RandomSource rng, net.minecraft.world.DifficultyInstance difficulty)
    • onPlayerWinsRaid

      public static void onPlayerWinsRaid(net.minecraft.server.level.ServerPlayer player)
    • setupWitherSkeleton

      public static void setupWitherSkeleton(net.minecraft.world.entity.monster.WitherSkeleton skeleton, net.minecraft.util.RandomSource rng, net.minecraft.world.DifficultyInstance difficulty)
    • dye

      public static net.minecraft.world.item.ItemStack dye(net.minecraft.world.item.Item item, net.minecraft.world.item.DyeColor color)
    • isBiome

      public static boolean isBiome(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> biome)
    • doesPlayerHaveAdvancement

      public static boolean doesPlayerHaveAdvancement(net.minecraft.server.level.ServerPlayer player, String id)
    • doesPlayerHaveAdvancement

      public static boolean doesPlayerHaveAdvancement(net.minecraft.server.level.ServerPlayer player, net.minecraft.resources.ResourceLocation id)