forked from Jorbon/cool_elytra
-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run configs are fucked, but i couldnt care less for now
- Loading branch information
Showing
172 changed files
with
180 additions
and
5,470 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
common/src/client/resources/do-a-barrel-roll.client.mixins.json
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
common/src/client/resources/do-a-barrel-roll.compat.cameraoverhaul.mixins.json
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
common/src/client/resources/do-a-barrel-roll.compat.controlify.mixins.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
...oll/fabric/DoABarrelRollFabricClient.java → ...oll/fabric/DoABarrelRollFabricClient.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
fabric/src/main/java/nl/enjarai/doabarrelroll/CicadaInitializer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package nl.enjarai.doabarrelroll; | ||
|
||
import nl.enjarai.cicada.api.conversation.ConversationManager; | ||
import nl.enjarai.cicada.api.util.CicadaEntrypoint; | ||
import nl.enjarai.cicada.api.util.JsonSource; | ||
|
||
public class CicadaInitializer implements CicadaEntrypoint { | ||
@Override | ||
public void registerConversations(ConversationManager conversationManager) { | ||
conversationManager.registerSource( | ||
JsonSource.fromUrl("https://raw.githubusercontent.com/enjarai/do-a-barrel-roll/master/src/main/resources/cicada/do_a_barrel_roll/conversations.json") | ||
.or(JsonSource.fromResource("cicada/do_a_barrel_roll/conversations.json")), | ||
DoABarrelRoll.LOGGER::info | ||
); | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
fabric/src/main/java/nl/enjarai/doabarrelroll/DABRMixinCanceller.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package nl.enjarai.doabarrelroll; | ||
|
||
import com.bawnorton.mixinsquared.api.MixinCanceller; | ||
import com.bawnorton.mixinsquared.tools.MixinAnnotationReader; | ||
|
||
import java.util.List; | ||
|
||
public class DABRMixinCanceller implements MixinCanceller { | ||
@Override | ||
public boolean shouldCancel(List<String> targetClassNames, String mixinClassName) { | ||
if (mixinClassName.equals("com.anthonyhilyard.equipmentcompare.mixin.KeyMappingMixin") && MixinAnnotationReader.getPriority(mixinClassName) == 1000) { | ||
DoABarrelRoll.LOGGER.warn("Equipment Compare detected, disabling their overly invasive keybinding mixin. Report any relevant issues to them."); | ||
DoABarrelRoll.LOGGER.warn("If the author of Equipment Compare is reading this: see #31 on your github. Once the issue is resolved, you can set the priority of this mixin to anything other than 1000 to stop it being disabled."); | ||
return true; | ||
} | ||
// if (mixinClassName.equals("me.fzzyhmstrs.keybind_fix.mixins.KeybindingMixin") && MixinAnnotationReader.getPriority(mixinClassName) == 1000) { | ||
// DoABarrelRoll.LOGGER.warn("Keybind Fix detected, disabling their overly invasive keybinding mixin (Ironic, I know). Report any relevant issues to them."); | ||
// DoABarrelRoll.LOGGER.warn("If the author of Keybind Fix is reading this: please don't use unconditionally cancelled injects... try looking into MixinExtras! Once the issue is resolved, you can set the priority of this mixin to anything other than 1000 to stop it being disabled."); | ||
// return true; | ||
// } | ||
return false; | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
fabric/src/main/java/nl/enjarai/doabarrelroll/platform/FabricPlatformHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,25 @@ | ||
package nl.enjarai.doabarrelroll.platform; | ||
|
||
import me.lucko.fabric.api.permissions.v0.Permissions; | ||
import net.minecraft.server.network.ServerPlayNetworkHandler; | ||
import nl.enjarai.cicada.api.util.ProperLogger; | ||
import nl.enjarai.doabarrelroll.DoABarrelRoll; | ||
import nl.enjarai.doabarrelroll.platform.services.PlatformHelper; | ||
import org.slf4j.Logger; | ||
|
||
public class FabricPlatformHelper implements PlatformHelper { | ||
@Override | ||
public String getPlatformName() { | ||
return "Fabric"; | ||
} | ||
|
||
@Override | ||
public Logger getLogger() { | ||
return ProperLogger.getLogger(DoABarrelRoll.MODID); | ||
} | ||
|
||
@Override | ||
public boolean checkPermission(ServerPlayNetworkHandler source, String permission, int defaultPermissionLevel) { | ||
return Permissions.check(source.getPlayer(), permission, defaultPermissionLevel); | ||
} | ||
} |
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
forge/src/main/java/nl/enjarai/doabarrelroll/DoABarrelRollForge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package nl.enjarai.doabarrelroll; | ||
|
||
import net.minecraftforge.fml.common.Mod; | ||
|
||
@Mod(DoABarrelRoll.MODID) | ||
public class DoABarrelRollForge { | ||
} |
Oops, something went wrong.