mirror of
https://github.com/TeamMidnightDust/MidnightControls.git
synced 2025-12-17 08:55:10 +01:00
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:
@@ -34,7 +34,6 @@ public class ButtonBindingRingAction extends RingAction {
|
||||
this.binding = binding;
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull String getName() {
|
||||
return this.binding.getTranslationKey();
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user