mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-05 15:26:28 +00:00
RN to jigsaw
This commit is contained in:
@@ -19,8 +19,8 @@ public class IrisDataManager
|
||||
private ResourceLoader<IrisDimension> dimensionLoader;
|
||||
private ResourceLoader<IrisGenerator> generatorLoader;
|
||||
private ResourceLoader<IrisStructure> structureLoader;
|
||||
private ResourceLoader<IrisStructurePiece> structurePieceLoader;
|
||||
private ResourceLoader<IrisStructurePool> structurePoolLoader;
|
||||
private ResourceLoader<IrisJigsawPiece> structurePieceLoader;
|
||||
private ResourceLoader<IrisJigsawPool> structurePoolLoader;
|
||||
private ResourceLoader<IrisEntity> entityLoader;
|
||||
private ResourceLoader<IrisBlockData> blockLoader;
|
||||
private ObjectResourceLoader objectLoader;
|
||||
@@ -82,8 +82,8 @@ public class IrisDataManager
|
||||
this.biomeLoader = new ResourceLoader<>(packs, this, "biomes", "Biome", IrisBiome.class);
|
||||
this.dimensionLoader = new ResourceLoader<>(packs, this, "dimensions", "Dimension", IrisDimension.class);
|
||||
this.structureLoader = new ResourceLoader<>(packs, this, "structures", "Structure", IrisStructure.class);
|
||||
this.structurePoolLoader = new ResourceLoader<>(packs, this, "jigsaw-pools", "Jigsaw Pool", IrisStructurePool.class);
|
||||
this.structurePieceLoader = new ResourceLoader<>(packs, this, "jigsaw-pieces", "Jigsaw Piece", IrisStructurePiece.class);
|
||||
this.structurePoolLoader = new ResourceLoader<>(packs, this, "jigsaw-pools", "Jigsaw Pool", IrisJigsawPool.class);
|
||||
this.structurePieceLoader = new ResourceLoader<>(packs, this, "jigsaw-pieces", "Jigsaw Piece", IrisJigsawPiece.class);
|
||||
this.generatorLoader = new ResourceLoader<>(packs, this, "generators", "Generator", IrisGenerator.class);
|
||||
this.blockLoader = new ResourceLoader<>(packs,this, "blocks", "Block", IrisBlockData.class);
|
||||
this.objectLoader = new ObjectResourceLoader(packs, this, "objects", "Object");
|
||||
@@ -143,12 +143,12 @@ public class IrisDataManager
|
||||
return loadAny(key, (dm) -> dm.getStructureLoader().load(key, false));
|
||||
}
|
||||
|
||||
public static IrisStructurePiece loadAnyStructurePiece(String key)
|
||||
public static IrisJigsawPiece loadAnyStructurePiece(String key)
|
||||
{
|
||||
return loadAny(key, (dm) -> dm.getStructurePieceLoader().load(key, false));
|
||||
}
|
||||
|
||||
public static IrisStructurePool loadAnyStructurePool(String key)
|
||||
public static IrisJigsawPool loadAnyStructurePool(String key)
|
||||
{
|
||||
return loadAny(key, (dm) -> dm.getStructurePoolLoader().load(key, false));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user