Class U
java.lang.Object
com.wdiscute.starcatcher.U
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanalwaysFalse(Object... o) static booleanalwaysTrue(Object... o) static StringcalculateRealLifeTimeFromTicks(long ticks) static <T> booleancontainsAll(List<T> list, T... contains) static <T> booleancontainsAny(List<T> list, T... contains) static <T> booleancontainsNone(List<T> list, T... contains) static FishPropertiesgetFpFromRl(net.minecraft.core.Registry<FishProperties> registry, net.minecraft.resources.Identifier resourceLocation) static FishPropertiesgetFpFromRl(net.minecraft.core.RegistryAccess registryAccess, net.minecraft.resources.Identifier rl) static FishPropertiesgetFpFromRl(net.minecraft.world.level.Level level, net.minecraft.resources.Identifier rl) static List<FishProperties> getFpsFromRls(net.minecraft.core.Registry<FishProperties> registry, List<net.minecraft.resources.Identifier> resourceLocations) static List<FishProperties> getFpsFromRls(net.minecraft.core.RegistryAccess registryAccess, List<net.minecraft.resources.Identifier> rls) static List<FishProperties> getFpsFromRls(net.minecraft.world.level.Level level, List<net.minecraft.resources.Identifier> rls) static net.minecraft.resources.IdentifiergetRlFromFp(net.minecraft.core.Registry<FishProperties> registry, FishProperties fp) static net.minecraft.resources.IdentifiergetRlFromFp(net.minecraft.core.RegistryAccess registryAccess, FishProperties tp) static net.minecraft.resources.IdentifiergetRlFromFp(net.minecraft.world.level.Level level, FishProperties tp) static List<net.minecraft.resources.Identifier> getRlsFromFps(net.minecraft.core.Registry<FishProperties> registry, List<FishProperties> fishProperties) static List<net.minecraft.resources.Identifier> getRlsFromFps(net.minecraft.core.RegistryAccess registryAccess, List<FishProperties> fps) static List<net.minecraft.resources.Identifier> getRlsFromFps(net.minecraft.world.level.Level level, List<FishProperties> fps) static longgetTime()static net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>> holderEntity(String ns, String path) static net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>> holderEntity(Supplier<net.minecraft.world.entity.EntityType<FishEntity>> entity) static net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>> holderEntity(net.minecraft.world.entity.EntityType<?> entityType) static net.minecraft.core.Holder<net.minecraft.world.item.Item> holderItem(String ns, String path) static net.minecraft.core.Holder<net.minecraft.world.item.Item> holderItem(net.minecraft.world.item.Item item) static net.minecraft.core.Holder<net.minecraft.world.item.Item> holderItem(net.neoforged.neoforge.registries.DeferredItem<net.minecraft.world.item.Item> item) static intintToBlue(int packedColor) static intintToGreen(int packedColor) static intintToRed(int packedColor) static voidstatic voidrenderFatString(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component c, int x, int y, int color) static voidrenderString(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component c, int x, int y, int color) static net.minecraft.resources.Identifierstatic net.minecraft.resources.Identifierstatic intsign(float x)
-
Field Details
-
r
-
-
Constructor Details
-
U
public U()
-
-
Method Details
-
getRlsFromFps
public static List<net.minecraft.resources.Identifier> getRlsFromFps(net.minecraft.core.Registry<FishProperties> registry, List<FishProperties> fishProperties) -
getRlsFromFps
public static List<net.minecraft.resources.Identifier> getRlsFromFps(net.minecraft.core.RegistryAccess registryAccess, List<FishProperties> fps) -
getRlsFromFps
public static List<net.minecraft.resources.Identifier> 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.Identifier> resourceLocations) -
getFpsFromRls
public static List<FishProperties> getFpsFromRls(net.minecraft.core.RegistryAccess registryAccess, List<net.minecraft.resources.Identifier> rls) -
getFpsFromRls
public static List<FishProperties> getFpsFromRls(net.minecraft.world.level.Level level, List<net.minecraft.resources.Identifier> rls) -
getFpFromRl
public static FishProperties getFpFromRl(net.minecraft.core.Registry<FishProperties> registry, net.minecraft.resources.Identifier resourceLocation) -
getFpFromRl
public static FishProperties getFpFromRl(net.minecraft.core.RegistryAccess registryAccess, net.minecraft.resources.Identifier rl) -
getFpFromRl
public static FishProperties getFpFromRl(net.minecraft.world.level.Level level, net.minecraft.resources.Identifier rl) -
getRlFromFp
public static net.minecraft.resources.Identifier getRlFromFp(net.minecraft.core.Registry<FishProperties> registry, FishProperties fp) -
getRlFromFp
public static net.minecraft.resources.Identifier getRlFromFp(net.minecraft.core.RegistryAccess registryAccess, FishProperties tp) -
getRlFromFp
public static net.minecraft.resources.Identifier getRlFromFp(net.minecraft.world.level.Level level, FishProperties tp) -
calculateRealLifeTimeFromTicks
-
renderString
public static void renderString(net.minecraft.client.gui.GuiGraphicsExtractor 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.GuiGraphicsExtractor guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component c, int x, int y, int color) -
containsAny
-
containsAll
-
containsNone
-
rl
-
rl
-
holderItem
-
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
-
holderEntity
public static net.minecraft.core.Holder<net.minecraft.world.entity.EntityType<?>> holderEntity(Supplier<net.minecraft.world.entity.EntityType<FishEntity>> entity) -
alwaysTrue
-
alwaysFalse
-
nothing
-
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()
-