Class PartialModel

java.lang.Object
dev.engine_room.flywheel.lib.model.baked.PartialModel

public final class PartialModel extends Object
A helper class for loading and accessing JSON models not directly used by any blocks or items.
Creating a PartialModel will make Minecraft automatically load the associated modelLocation.
Once Minecraft has finished baking all models, all PartialModels will have their bakedModel fields populated.
  • Method Details

    • of

      public static PartialModel of(net.minecraft.resources.ResourceLocation modelLocation)
    • get

      public @UnknownNullability net.minecraft.client.resources.model.BakedModel get()
    • modelLocation

      public net.minecraft.resources.ResourceLocation modelLocation()