Clean up more TODOs

This commit is contained in:
James Seibel
2026-01-29 07:48:35 -06:00
parent f1deb7e592
commit c58a8d8e69
4 changed files with 4 additions and 7 deletions
@@ -103,7 +103,7 @@ public class WrapperFactory implements IWrapperFactory
@Override
public IBiomeWrapper deserializeBiomeWrapper(String str, ILevelWrapper levelWrapper) throws IOException { return BiomeWrapper.deserialize(str, levelWrapper); }
@Override
public IBiomeWrapper getPlainsBiomeWrapper(ILevelWrapper levelWrapper) // TODO is there a way we could get this without the levelWrapper? it isn't necessary but would clean up the code a bit
public IBiomeWrapper getPlainsBiomeWrapper(ILevelWrapper levelWrapper)
{
try
{
@@ -106,8 +106,7 @@ public class TexturedButtonWidget extends Button
#if MC_VER < MC_1_20_2
super(x, y, width, height, u, v, hoveredVOffset, textureResourceLocation, textureWidth, textureHeight, pressAction, text);
#else
// We don't pass on the text option as otherwise it will render (we normally pass it for narration)
// TODO: Find a fix for it
// We don't pass in the text option since it will render (we normally pass it in for narration)
super(x, y, width, height, Component.empty(), pressAction, DEFAULT_NARRATION);
this.u = u;
@@ -34,8 +34,6 @@ import java.util.*;
*
* @author coolGi
*/
// TODO: After finishing the config, rewrite this in Java Swing as well
// and also maybe add this suggestion https://discord.com/channels/881614130614767666/1035863487110467625/1035949054485594192
public class UpdateModScreen extends DhScreen
{
private static final DhLogger LOGGER = new DhLoggerBuilder().build();
@@ -105,7 +103,7 @@ public class UpdateModScreen extends DhScreen
195, 65,
// Create the button and tell it where to go
// For now it goes to the client option by default
(buttonWidget) -> System.out.println("Nice, you found an easter egg :)"), // TODO: Add a proper easter egg to pressing the logo (maybe with confetti)
(buttonWidget) -> LOGGER.info("Nice, you found an Easter egg :)"),
// Add a title to the button
Translatable(ModInfo.ID + ".updater.title"),
// Dont render the background of the button