mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-24 22:04:33 +00:00
Update Mantle to 1.14.4.
This commit is contained in:
1 parent
8d87b6a338
commit
568c976a80
4 files changed
+11
-11
No files matched your search
@@ -14,7 +14,7 @@ import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.Direction;
|
||||
import net.minecraft.util.NonNullList;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.ServerWorld;
|
||||
import net.minecraft.world.server.ServerWorld;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.util.LazyOptional;
|
||||
import net.minecraftforge.items.CapabilityItemHandler;
|
||||
|
||||
@@ -64,11 +64,11 @@ public class BlockStateJsonGenerator implements IDataProvider {
|
||||
generatedEntries++;
|
||||
|
||||
Path path = this.generator.getOutputFolder().resolve("assets/" + this.modId + "/blockstates/" + resourcelocation.getPath() + ".json");
|
||||
IDataProvider.func_218426_a(GSON, cache, blockState, path);
|
||||
IDataProvider.save(GSON, cache, blockState, path);
|
||||
}
|
||||
|
||||
if (generatedEntries != 0) {
|
||||
IDataProvider.func_218426_a(GSON, cache, blockstateCache, cacheP);
|
||||
IDataProvider.save(GSON, cache, blockstateCache, cacheP);
|
||||
}
|
||||
|
||||
cache.func_218456_c(cacheP);
|
||||
|
||||
@@ -74,10 +74,10 @@ public class LanguageJsonGenerator implements IDataProvider {
|
||||
}
|
||||
|
||||
Path path = this.generator.getOutputFolder().resolve("assets/" + this.modId + "/lang/en_us.json");
|
||||
IDataProvider.func_218426_a(GSON, cache, names, path);
|
||||
IDataProvider.save(GSON, cache, names, path);
|
||||
|
||||
if (generatedEntries != 0) {
|
||||
IDataProvider.func_218426_a(GSON, cache, langCache, cacheP);
|
||||
IDataProvider.save(GSON, cache, langCache, cacheP);
|
||||
}
|
||||
|
||||
cache.func_218456_c(cacheP);
|
||||
|
||||
Reference in new issue
Block a user