Package com.jozufozu.flywheel.util
Class FlwUtil
java.lang.Object
com.jozufozu.flywheel.util.FlwUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<net.minecraft.world.level.block.entity.BlockEntityType<?>,net.minecraft.client.renderer.blockentity.BlockEntityRenderer<?>> Get the (effectively global) map of BlockEntityTypes to Renderers.static <R> Stream<R>static intnumDigits(int number) static StringrepeatChar(char c, int n)
-
Constructor Details
-
FlwUtil
public FlwUtil()
-
-
Method Details
-
getBlockEntityRenderers
public static Map<net.minecraft.world.level.block.entity.BlockEntityType<?>,net.minecraft.client.renderer.blockentity.BlockEntityRenderer<?>> getBlockEntityRenderers()Get the (effectively global) map of BlockEntityTypes to Renderers.- Returns:
- An immutable map of BlockEntityTypes to BlockEntityRenderers.
-
repeatChar
-
numDigits
public static int numDigits(int number) -
mapValues
-