1.19.2
This commit is contained in:
+5
-5
@@ -2,13 +2,13 @@
|
|||||||
org.gradle.jvmargs=-Xmx1G
|
org.gradle.jvmargs=-Xmx1G
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://modmuss50.me/fabric.html
|
# check these on https://modmuss50.me/fabric.html
|
||||||
minecraft_version=1.19
|
minecraft_version=1.19.2
|
||||||
yarn_mappings=1.19+build.1
|
yarn_mappings=1.19.2+build.28
|
||||||
loader_version=0.14.6
|
loader_version=0.14.10
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version=1.0-SNAPSHOT
|
mod_version=1.0-SNAPSHOT
|
||||||
maven_group=dev.u9g
|
maven_group=dev.u9g
|
||||||
archives_base_name=minecrft-data-generator-server
|
archives_base_name=minecraft-data-generator-server
|
||||||
# Dependencies
|
# Dependencies
|
||||||
# check this on https://modmuss50.me/fabric.html
|
# check this on https://modmuss50.me/fabric.html
|
||||||
fabric_version=0.55.2+1.19
|
fabric_version=0.67.0+1.19.2
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ package dev.u9g.minecraftdatagenerator.mixin;
|
|||||||
|
|
||||||
import net.fabricmc.fabric.impl.biome.TheEndBiomeData;
|
import net.fabricmc.fabric.impl.biome.TheEndBiomeData;
|
||||||
import net.fabricmc.fabric.impl.biome.WeightedPicker;
|
import net.fabricmc.fabric.impl.biome.WeightedPicker;
|
||||||
|
import net.minecraft.tag.BiomeTags;
|
||||||
import net.minecraft.util.registry.RegistryKey;
|
import net.minecraft.util.registry.RegistryKey;
|
||||||
import net.minecraft.world.biome.Biome;
|
import net.minecraft.world.biome.Biome;
|
||||||
import org.spongepowered.asm.mixin.Mixin;
|
import org.spongepowered.asm.mixin.Mixin;
|
||||||
@@ -12,15 +13,15 @@ import java.util.Map;
|
|||||||
|
|
||||||
@Mixin(TheEndBiomeData.class)
|
@Mixin(TheEndBiomeData.class)
|
||||||
public interface TheEndBiomeDataAccessor {
|
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() {
|
public static Map<RegistryKey<Biome>, WeightedPicker<RegistryKey<Biome>>> END_BIOMES_MAP() {
|
||||||
throw new IllegalStateException("Should never be called.");
|
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() {
|
public static Map<RegistryKey<Biome>, WeightedPicker<RegistryKey<Biome>>> END_MIDLANDS_MAP() {
|
||||||
throw new IllegalStateException("Should never be called.");
|
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() {
|
public static Map<RegistryKey<Biome>, WeightedPicker<RegistryKey<Biome>>> END_BARRENS_MAP() {
|
||||||
throw new IllegalStateException("Should never be called.");
|
throw new IllegalStateException("Should never be called.");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,6 +23,6 @@
|
|||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.14.4",
|
"fabricloader": ">=0.14.4",
|
||||||
"fabric": "*",
|
"fabric": "*",
|
||||||
"minecraft": "1.19"
|
"minecraft": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user