Class FlwUtil

java.lang.Object
com.jozufozu.flywheel.util.FlwUtil

public class FlwUtil extends Object
  • 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

      public static String repeatChar(char c, int n)
    • numDigits

      public static int numDigits(int number)
    • mapValues

      public static <R> Stream<R> mapValues(Map<?,R> map)