This commit is contained in:
u9g
2022-11-22 10:31:42 -05:00
parent 4395173dd9
commit e6bc81b03c
3 changed files with 10 additions and 9 deletions
@@ -2,6 +2,7 @@ package dev.u9g.minecraftdatagenerator.mixin;
import net.fabricmc.fabric.impl.biome.TheEndBiomeData;
import net.fabricmc.fabric.impl.biome.WeightedPicker;
import net.minecraft.tag.BiomeTags;
import net.minecraft.util.registry.RegistryKey;
import net.minecraft.world.biome.Biome;
import org.spongepowered.asm.mixin.Mixin;
@@ -12,15 +13,15 @@ import java.util.Map;
@Mixin(TheEndBiomeData.class)
public interface TheEndBiomeDataAccessor {
@Accessor("END_BIOMES_MAP")
@Accessor(value = "END_BIOMES_MAP", remap = false)
public static Map<RegistryKey<Biome>, WeightedPicker<RegistryKey<Biome>>> END_BIOMES_MAP() {
throw new IllegalStateException("Should never be called.");
}
@Accessor("END_MIDLANDS_MAP")
@Accessor(value = "END_MIDLANDS_MAP", remap = false)
public static Map<RegistryKey<Biome>, WeightedPicker<RegistryKey<Biome>>> END_MIDLANDS_MAP() {
throw new IllegalStateException("Should never be called.");
}
@Accessor("END_BARRENS_MAP")
@Accessor(value = "END_BARRENS_MAP", remap = false)
public static Map<RegistryKey<Biome>, WeightedPicker<RegistryKey<Biome>>> END_BARRENS_MAP() {
throw new IllegalStateException("Should never be called.");
}
+1 -1
View File
@@ -23,6 +23,6 @@
"depends": {
"fabricloader": ">=0.14.4",
"fabric": "*",
"minecraft": "1.19"
"minecraft": "*"
}
}