Checked some ToDo's

This commit is contained in:
Frank 2022-06-08 19:37:41 +02:00
parent 72bb944fb2
commit 237e0385cf
2 changed files with 1 additions and 3 deletions

View file

@ -59,7 +59,6 @@ public class REIPlugin implements REIClientPlugin {
registry.registerRecipeFiller(AnvilRecipe.class, AnvilRecipe.TYPE, REIAnvilDisplay::new);
registry.registerRecipeFiller(InfusionRecipe.class, InfusionRecipe.TYPE, REIInfusionDisplay::new);
//TODO: Migrate to 1.18/1.18.2
if (FuelRegistry.INSTANCE instanceof FuelRegistryImpl fabricImpl) {
fabricImpl.getFuelTimes().forEach((item, time) -> {
if (time >= 2000) {

View file

@ -32,8 +32,7 @@ public abstract class FeatureBaseStructure extends Structure {
context.chunkGenerator(),
context.heightAccessor(),
context.randomState());
//TODO: 1.19 Do we need isValidBiome? This should now be handled by the BiomeTags...
if (pos.getZ() >= 20 && BCLStructure.isValidBiome(context)) {
if (pos.getZ() >= 20 ) {
return Optional.of(new Structure.GenerationStub(pos, (structurePiecesBuilder) -> {
generatePieces(structurePiecesBuilder, context);
}));