Class U

java.lang.Object
com.wdiscute.starcatcher.U

public class U extends Object
  • Field Details

    • r

      public static final Random r
  • Constructor Details

    • U

      public U()
  • Method Details

    • getRlsFromFps

      public static List<net.minecraft.resources.ResourceLocation> getRlsFromFps(net.minecraft.core.Registry<FishProperties> registry, List<FishProperties> fishProperties)
    • getRlsFromFps

      public static List<net.minecraft.resources.ResourceLocation> getRlsFromFps(net.minecraft.core.RegistryAccess registryAccess, List<FishProperties> fps)
    • getRlsFromFps

      public static List<net.minecraft.resources.ResourceLocation> getRlsFromFps(net.minecraft.world.level.Level level, List<FishProperties> fps)
    • getFpsFromRls

      public static List<FishProperties> getFpsFromRls(net.minecraft.core.Registry<FishProperties> registry, List<net.minecraft.resources.ResourceLocation> resourceLocations)
    • getFpsFromRls

      public static List<FishProperties> getFpsFromRls(net.minecraft.core.RegistryAccess registryAccess, List<net.minecraft.resources.ResourceLocation> rls)
    • getFpsFromRls

      public static List<FishProperties> getFpsFromRls(net.minecraft.world.level.Level level, List<net.minecraft.resources.ResourceLocation> rls)
    • getFpFromRl

      public static FishProperties getFpFromRl(net.minecraft.core.Registry<FishProperties> registry, net.minecraft.resources.ResourceLocation resourceLocation)
    • getFpFromRl

      public static FishProperties getFpFromRl(net.minecraft.core.RegistryAccess registryAccess, net.minecraft.resources.ResourceLocation rl)
    • getFpFromRl

      public static FishProperties getFpFromRl(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceLocation rl)
    • getRlFromFp

      public static net.minecraft.resources.ResourceLocation getRlFromFp(net.minecraft.core.Registry<FishProperties> registry, FishProperties fp)
    • getRlFromFp

      public static net.minecraft.resources.ResourceLocation getRlFromFp(net.minecraft.core.RegistryAccess registryAccess, FishProperties tp)
    • getRlFromFp

      public static net.minecraft.resources.ResourceLocation getRlFromFp(net.minecraft.world.level.Level level, FishProperties tp)
    • calculateRealLifeTimeFromTicks

      public static String calculateRealLifeTimeFromTicks(long ticks)
    • renderString

      public static void renderString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component c, int x, int y, int color)
    • renderFatString

      public static void renderFatString(net.minecraft.client.gui.GuiGraphics guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component c, int x, int y, int color)
    • containsAny

      @SafeVarargs public static <T> boolean containsAny(List<T> list, T... contains)
    • containsAll

      @SafeVarargs public static <T> boolean containsAll(List<T> list, T... contains)
    • containsNone

      @SafeVarargs public static <T> boolean containsNone(List<T> list, T... contains)
    • rl

      public static net.minecraft.resources.ResourceLocation rl(String ns, String path)
    • rl

      public static net.minecraft.resources.ResourceLocation rl(String path)
    • holderItem

      public static net.minecraft.core.Holder<net.minecraft.world.item.Item> holderItem(String ns, String path)
    • holderItem

      public static net.minecraft.core.Holder<net.minecraft.world.item.Item> holderItem(net.neoforged.neoforge.registries.DeferredItem<net.minecraft.world.item.Item> item)
    • holderItem

      public static net.minecraft.core.Holder<net.minecraft.world.item.Item> holderItem(net.minecraft.world.item.Item item)
    • holderEntity

      public static net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>> holderEntity(net.minecraft.world.entity.EntityType<?> entityType)
    • holderEntity

      public static net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>> holderEntity(String ns, String path)
    • holderEntity

      public static net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>> holderEntity(Supplier<net.minecraft.world.entity.EntityType<FishEntity>> entity)
    • alwaysTrue

      public static boolean alwaysTrue(Object... o)
    • alwaysFalse

      public static boolean alwaysFalse(Object... o)
    • nothing

      public static void nothing(Object... o)
    • intToRed

      public static int intToRed(int packedColor)
    • intToGreen

      public static int intToGreen(int packedColor)
    • intToBlue

      public static int intToBlue(int packedColor)
    • sign

      public static int sign(float x)
    • getTime

      public static long getTime()