Class PrefabLoader

java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.assets.props.prefabprop.PrefabLoader

public class PrefabLoader extends Object
  • Constructor Details

    • PrefabLoader

      public PrefabLoader()
  • Method Details

    • traverseAllPrefabBuffersUnder

      public static void traverseAllPrefabBuffersUnder(@Nonnull Path path, @Nonnull BiConsumer<Path, IPrefabBuffer> prefabsOut)
    • loadPrefabBufferAt

      @Nullable public static IPrefabBuffer loadPrefabBufferAt(@Nonnull Path filePath)
    • isPrefabFile

      public static boolean isPrefabFile(@Nonnull Path path)
      Returns whether path names a prefab: a .json, or a .lpf that is not the generated .prefab.json.lpf load cache.