Fix fabric-api version

This commit is contained in:
Sebastian Hartte
2020-07-28 21:54:10 +02:00
parent b9ece3a18a
commit a8e79826bd
5 changed files with 6 additions and 6 deletions
+1 -2
View File
@@ -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);
}