Fix fabric-api version
This commit is contained in:
+2
-1
@@ -29,7 +29,7 @@ repositories {
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url = "http://maven.fabricmc.net/" }
|
||||
maven { url = "https://maven.fabricmc.net/" }
|
||||
maven {
|
||||
name = "BuildCraft"
|
||||
url = "https://mod-buildcraft.com/maven"
|
||||
@@ -37,6 +37,7 @@ repositories {
|
||||
maven {
|
||||
name = "HYWLA"
|
||||
url = "https://maven.tehnut.info/"
|
||||
|
||||
}
|
||||
maven {
|
||||
name = 'Earthcomputer Mods'
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ yarn_mappings=1.16.1+build.19
|
||||
loader_version=0.8.9+build.203
|
||||
|
||||
#Fabric api
|
||||
fabric_version=0.15.0+local-indigo-flat-lighting-fix
|
||||
fabric_version=0.16.0+build.384-1.16.1
|
||||
|
||||
loom_version=0.4-SNAPSHOT
|
||||
|
||||
|
||||
@@ -562,8 +562,7 @@ public abstract class AppEngBase implements AppEng {
|
||||
LibStructure.registerStructure(MeteoriteStructure.ID, MeteoriteStructure.INSTANCE,
|
||||
GenerationStep.Feature.TOP_LAYER_MODIFICATION, new StructureConfig(32, 8, 124895654),
|
||||
new MeteoriteStructure(DefaultFeatureConfig.CODEC).configure(DefaultFeatureConfig.INSTANCE));
|
||||
Registry.register(Registry.FEATURE, AppEng.makeId("charged_quartz_ore"),
|
||||
new ChargedQuartzOreFeature(ChargedQuartzOreConfig.CODEC));
|
||||
Registry.register(Registry.FEATURE, AppEng.makeId("charged_quartz_ore"), ChargedQuartzOreFeature.INSTANCE);
|
||||
|
||||
Biome.BIOMES.forEach(b -> {
|
||||
addMeteoriteWorldGen(b);
|
||||
|
||||
@@ -99,7 +99,7 @@ public class StorageHelper {
|
||||
ChunkStatus.FULL, true);
|
||||
|
||||
if (entity instanceof ServerPlayerEntity
|
||||
&& link.dim.getDimensionRegistryKey().equals(SpatialDimensionManager.STORAGE_DIMENSION_TYPE)) {
|
||||
&& link.dim.getDimensionRegistryKey() == SpatialDimensionManager.STORAGE_DIMENSION_TYPE) {
|
||||
AppEng.instance().getAdvancementTriggers().getSpatialExplorer().trigger((ServerPlayerEntity) entity);
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ public class ChargedQuartzOreFeature extends Feature<ChargedQuartzOreConfig> {
|
||||
|
||||
public static final ChargedQuartzOreFeature INSTANCE = new ChargedQuartzOreFeature(ChargedQuartzOreConfig.CODEC);
|
||||
|
||||
public ChargedQuartzOreFeature(Codec<ChargedQuartzOreConfig> codec) {
|
||||
private ChargedQuartzOreFeature(Codec<ChargedQuartzOreConfig> codec) {
|
||||
super(codec);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user