Make the mixin classes abstract
This commit is contained in:
parent
d72ea9ba19
commit
1b656ee8b1
|
@ -9,7 +9,7 @@ import org.spongepowered.asm.mixin.injection.Inject;
|
||||||
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
|
||||||
|
|
||||||
@Mixin(Minecraft.class)
|
@Mixin(Minecraft.class)
|
||||||
public class EndTickMixin implements EventSnowy {
|
abstract class EndTickMixin implements EventSnowy {
|
||||||
@NotNull
|
@NotNull
|
||||||
@Override
|
@Override
|
||||||
public String getType() {
|
public String getType() {
|
||||||
|
|
|
@ -20,7 +20,7 @@ import java.util.Map;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
|
|
||||||
@Mixin(Options.class)
|
@Mixin(Options.class)
|
||||||
class KeyMappings {
|
abstract class KeyMappings {
|
||||||
private static final Collection<KeyMapping> keysToAdd = AddKeyMaps.INSTANCE.getList().keySet();
|
private static final Collection<KeyMapping> keysToAdd = AddKeyMaps.INSTANCE.getList().keySet();
|
||||||
|
|
||||||
@Mutable @Shadow @Final public KeyMapping[] keyMappings;
|
@Mutable @Shadow @Final public KeyMapping[] keyMappings;
|
||||||
|
|
Loading…
Reference in New Issue