Remove a bunch of todos I don't really care about

This commit is contained in:
Vincent Lee committed 2020-07-09 13:36:20 -05:00
1 parent 77a2fa15fe
commit 1522d8bbb3
7 files changed
+1 -20

No files matched your search

@@ -128,7 +128,6 @@ public class RenderTileAltar extends TileEntityRenderer<TileAltar> {
int green = ((color >> 8) & 0xFF);
int blue = (color & 0xFF);
Matrix4f mat = ms.getLast().getMatrix();
// todo 1.15 check the normals
builder.pos(mat, 0, 16, 0).color(red, green, blue, (int) (alpha * 255F)).tex(sprite.getMinU(), sprite.getMaxV()).overlay(overlay).lightmap(light).normal(0, 0, 1).endVertex();
builder.pos(mat, 16, 16, 0).color(red, green, blue, (int) (alpha * 255F)).tex(sprite.getMaxU(), sprite.getMaxV()).overlay(overlay).lightmap(light).normal(0, 0, 1).endVertex();
builder.pos(mat, 16, 0, 0).color(red, green, blue, (int) (alpha * 255F)).tex(sprite.getMaxU(), sprite.getMinV()).overlay(overlay).lightmap(light).normal(0, 0, 1).endVertex();
@@ -79,7 +79,6 @@ public class HeadRecipe extends RecipeRuneAltar {
public static class Serializer extends ForgeRegistryEntry<IRecipeSerializer<?>> implements IRecipeSerializer<HeadRecipe> {
// todo 1.15 reduce this duplication with RecipeRuneAltar, probably by introducing an abstract superclass
@Nonnull
@Override
public HeadRecipe read(@Nonnull ResourceLocation id, @Nonnull JsonObject json) {
@@ -119,7 +119,6 @@ public class BotaniaAPIImpl implements BotaniaAPI {
@Override
public float func_230304_f_() {
// todo 1.16 armor toughness. move terrasteel's bonus here?
return 0;
}
}
@@ -33,7 +33,6 @@ public class ItemOvergrowthSeed extends Item {
World world = ctx.getWorld();
BlockPos pos = ctx.getPos();
// todo 1.13 grass tag
BlockState state = world.getBlockState(pos);
if (state.getBlock() == Blocks.GRASS_BLOCK) {
if (!world.isRemote) {
@@ -44,7 +44,7 @@ public class LensRedirect extends Lens {
if (collideShape.isEmpty()) {
axis = new AxisAlignedBB(coords, coords.add(1, 1, 1));
} else {
axis = collideShape.getBoundingBox().offset(coords); // todo 1.13 more granular collisions?
axis = collideShape.getBoundingBox().offset(coords);
}
if (!axis.contains(sourceVec)) {
@@ -35,20 +35,6 @@ import java.util.List;
public class ItemTerraformRod extends Item implements IManaUsingItem, IBlockProvider {
private static final int COST_PER = 55;
// todo 1.13 migrate rest of these
private static final List<String> validBlocks = ImmutableList.of(
"hardenedClay",
"snowLayer",
"mycelium",
"sandstone",
// Mod support
"marble",
"blockMarble",
"limestone",
"blockLimestone"
);
public ItemTerraformRod(Properties props) {
super(props);
}
@@ -46,7 +46,6 @@ public class RuneProvider extends RecipeProvider {
@Override
protected void registerRecipes(Consumer<IFinishedRecipe> consumer) {
// todo 1.13 re-tagify these once the community settles down on some names
final int costTier1 = 5200;
final int costTier2 = 8000;
final int costTier3 = 12000;