Class IcarusHelper

java.lang.Object
dev.cammiescorner.icarus.util.IcarusHelper

public class IcarusHelper extends Object
  • Field Details

    • hasWings

      @Internal public static Predicate<net.minecraft.world.entity.LivingEntity> hasWings
    • getEquippedWings

      @Internal public static Function<net.minecraft.world.entity.LivingEntity,net.minecraft.world.item.ItemStack> getEquippedWings
    • equipFunc

      @Internal public static BiPredicate<net.minecraft.world.entity.LivingEntity,net.minecraft.world.item.ItemStack> equipFunc
    • fallbackValues

      @Internal public static IcarusPlayerValues fallbackValues
  • Constructor Details

    • IcarusHelper

      public IcarusHelper()
  • Method Details

    • onFallFlyingTick

      public static boolean onFallFlyingTick(net.minecraft.world.entity.LivingEntity entity, @Nullable @Nullable net.minecraft.world.item.ItemStack wings, boolean tick)
    • hasWings

      public static boolean hasWings(net.minecraft.world.entity.LivingEntity entity)
    • getEquippedWings

      @Nullable public static @Nullable net.minecraft.world.item.ItemStack getEquippedWings(net.minecraft.world.entity.LivingEntity entity)
    • getConfigValues

      public static IcarusPlayerValues getConfigValues(net.minecraft.world.entity.LivingEntity entity)
    • onPlayerTick

      public static boolean onPlayerTick(net.minecraft.server.level.ServerPlayer player, net.minecraft.world.level.Level level)
    • stopFlying

      public static void stopFlying(net.minecraft.world.entity.player.Player player)
    • onServerPlayerJoin

      public static void onServerPlayerJoin(net.minecraft.server.level.ServerPlayer player)