A little refactor
This commit is contained in:
parent
26b95bb250
commit
945c488b49
9 changed files with 20 additions and 18 deletions
|
@ -56,7 +56,7 @@ public class BiomeDefinition {
|
|||
private ConfiguredSurfaceBuilder<?> surface;
|
||||
|
||||
public BiomeDefinition(String name) {
|
||||
this.id = new Identifier(BetterEnd.MOD_ID, name);
|
||||
this.id = BetterEnd.getResId(name);
|
||||
}
|
||||
|
||||
public BiomeDefinition setSurface(Block surfaceBlock) {
|
||||
|
|
|
@ -76,6 +76,6 @@ public class BetterEndBiomeSource extends BiomeSource {
|
|||
}
|
||||
|
||||
public static void register() {
|
||||
Registry.register(Registry.BIOME_SOURCE, new Identifier(BetterEnd.MOD_ID, "better_end_biome_source"), CODEC);
|
||||
Registry.register(Registry.BIOME_SOURCE, BetterEnd.getResId("better_end_biome_source"), CODEC);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue