mirror of
https://github.com/architectury/architectury-api.git
synced 2026-03-30 13:05:25 -05:00
committed by
GitHub
parent
dc2e644ed2
commit
dbb955808f
@@ -25,7 +25,6 @@ import net.minecraft.sounds.SoundEvent;
|
||||
import net.minecraft.world.entity.EntityType;
|
||||
import net.minecraft.world.entity.MobCategory;
|
||||
import net.minecraft.world.level.biome.*;
|
||||
import net.minecraft.world.level.biome.Biome.BiomeCategory;
|
||||
import net.minecraft.world.level.biome.BiomeSpecialEffects.GrassColorModifier;
|
||||
import net.minecraft.world.level.levelgen.GenerationStep;
|
||||
import net.minecraft.world.level.levelgen.carver.ConfiguredWorldCarver;
|
||||
@@ -85,11 +84,6 @@ public final class BiomeHooks {
|
||||
public SpawnProperties getSpawnProperties() {
|
||||
return spawnProperties;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BiomeCategory getCategory() {
|
||||
return biome.biomeCategory;
|
||||
}
|
||||
}
|
||||
|
||||
public static class MutableBiomeWrapped extends BiomeWrapped implements BiomeProperties.Mutable {
|
||||
@@ -134,12 +128,6 @@ public final class BiomeHooks {
|
||||
public SpawnProperties.Mutable getSpawnProperties() {
|
||||
return (SpawnProperties.Mutable) super.getSpawnProperties();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Mutable setCategory(BiomeCategory category) {
|
||||
biome.biomeCategory = category;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class ClimateWrapped implements ClimateProperties.Mutable {
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
|
||||
package dev.architectury.hooks.level.biome;
|
||||
|
||||
import net.minecraft.world.level.biome.Biome.BiomeCategory;
|
||||
|
||||
public interface BiomeProperties {
|
||||
ClimateProperties getClimateProperties();
|
||||
|
||||
@@ -30,8 +28,6 @@ public interface BiomeProperties {
|
||||
|
||||
SpawnProperties getSpawnProperties();
|
||||
|
||||
BiomeCategory getCategory();
|
||||
|
||||
interface Mutable extends BiomeProperties {
|
||||
@Override
|
||||
ClimateProperties.Mutable getClimateProperties();
|
||||
@@ -44,7 +40,5 @@ public interface BiomeProperties {
|
||||
|
||||
@Override
|
||||
SpawnProperties.Mutable getSpawnProperties();
|
||||
|
||||
Mutable setCategory(BiomeCategory category);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,8 +58,6 @@ accessible method net/minecraft/world/entity/Entity getEncodeId ()Ljava/lang/Str
|
||||
accessible field net/minecraft/server/packs/repository/PackRepository sources Ljava/util/Set;
|
||||
mutable field net/minecraft/server/packs/repository/PackRepository sources Ljava/util/Set;
|
||||
accessible field net/minecraft/world/level/biome/Biome climateSettings Lnet/minecraft/world/level/biome/Biome$ClimateSettings;
|
||||
accessible field net/minecraft/world/level/biome/Biome biomeCategory Lnet/minecraft/world/level/biome/Biome$BiomeCategory;
|
||||
mutable field net/minecraft/world/level/biome/Biome biomeCategory Lnet/minecraft/world/level/biome/Biome$BiomeCategory;
|
||||
accessible field net/minecraft/world/level/biome/Biome$ClimateSettings precipitation Lnet/minecraft/world/level/biome/Biome$Precipitation;
|
||||
mutable field net/minecraft/world/level/biome/Biome$ClimateSettings precipitation Lnet/minecraft/world/level/biome/Biome$Precipitation;
|
||||
accessible field net/minecraft/world/level/biome/Biome$ClimateSettings temperature F
|
||||
|
||||
Reference in New Issue
Block a user