Checked some ToDo's
This commit is contained in:
parent
72bb944fb2
commit
237e0385cf
2 changed files with 1 additions and 3 deletions
|
@ -59,7 +59,6 @@ public class REIPlugin implements REIClientPlugin {
|
||||||
registry.registerRecipeFiller(AnvilRecipe.class, AnvilRecipe.TYPE, REIAnvilDisplay::new);
|
registry.registerRecipeFiller(AnvilRecipe.class, AnvilRecipe.TYPE, REIAnvilDisplay::new);
|
||||||
registry.registerRecipeFiller(InfusionRecipe.class, InfusionRecipe.TYPE, REIInfusionDisplay::new);
|
registry.registerRecipeFiller(InfusionRecipe.class, InfusionRecipe.TYPE, REIInfusionDisplay::new);
|
||||||
|
|
||||||
//TODO: Migrate to 1.18/1.18.2
|
|
||||||
if (FuelRegistry.INSTANCE instanceof FuelRegistryImpl fabricImpl) {
|
if (FuelRegistry.INSTANCE instanceof FuelRegistryImpl fabricImpl) {
|
||||||
fabricImpl.getFuelTimes().forEach((item, time) -> {
|
fabricImpl.getFuelTimes().forEach((item, time) -> {
|
||||||
if (time >= 2000) {
|
if (time >= 2000) {
|
||||||
|
|
|
@ -32,8 +32,7 @@ public abstract class FeatureBaseStructure extends Structure {
|
||||||
context.chunkGenerator(),
|
context.chunkGenerator(),
|
||||||
context.heightAccessor(),
|
context.heightAccessor(),
|
||||||
context.randomState());
|
context.randomState());
|
||||||
//TODO: 1.19 Do we need isValidBiome? This should now be handled by the BiomeTags...
|
if (pos.getZ() >= 20 ) {
|
||||||
if (pos.getZ() >= 20 && BCLStructure.isValidBiome(context)) {
|
|
||||||
return Optional.of(new Structure.GenerationStub(pos, (structurePiecesBuilder) -> {
|
return Optional.of(new Structure.GenerationStub(pos, (structurePiecesBuilder) -> {
|
||||||
generatePieces(structurePiecesBuilder, context);
|
generatePieces(structurePiecesBuilder, context);
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue