Remove non-deprecated references of LambdaJCommon

Sorry Lambda!
This is needed for Neoforge support and to reduce the file size in the future.
This commit is contained in:
Martin Prokoph
2024-07-18 00:27:32 +02:00
parent 241228dcde
commit 0d2bd6e4cb
15 changed files with 80 additions and 92 deletions

View File

@@ -34,7 +34,6 @@ public class ButtonBindingRingAction extends RingAction {
this.binding = binding;
}
@Override
public @NotNull String getName() {
return this.binding.getTranslationKey();
}

View File

@@ -27,21 +27,12 @@ import java.util.function.Supplier;
* @version 1.5.0
* @since 1.4.0
*/
public abstract class RingAction implements Nameable {
public abstract class RingAction {
protected boolean activated = false;
public RingAction() {
}
/**
* Gets the text name of the ring action.
*
* @return the text name
*/
public Text getTextName() {
return Text.translatable(this.getName());
}
/**
* Returns whether the action is activated or not.
*