-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparing to separate API from implementations
- Loading branch information
1 parent
17ef4d5
commit 570401d
Showing
19 changed files
with
193 additions
and
155 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
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
20 changes: 13 additions & 7 deletions
20
mod/src/main/java/com/floralquafloral/mariodata/MarioData.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,18 +1,24 @@ | ||
package com.floralquafloral.mariodata; | ||
|
||
import com.floralquafloral.registries.states.action.ParsedAction; | ||
import com.floralquafloral.registries.states.character.ParsedCharacter; | ||
import com.floralquafloral.registries.states.powerup.ParsedPowerUp; | ||
import com.floralquafloral.stats.CharaStat; | ||
import net.minecraft.entity.player.PlayerEntity; | ||
import net.minecraft.util.Identifier; | ||
|
||
public interface MarioData { | ||
PlayerEntity getMario(); | ||
boolean isClient(); | ||
boolean useMarioPhysics(); | ||
|
||
double getStat(CharaStat stat); | ||
double getStatMultiplier(CharaStat stat); | ||
int getBumpStrengthModifier(); | ||
boolean isSneakProhibited(); | ||
|
||
|
||
|
||
boolean isEnabled(); | ||
ParsedAction getAction(); | ||
boolean getSneakProhibited(); | ||
ParsedPowerUp getPowerUp(); | ||
ParsedCharacter getCharacter(); | ||
Identifier getActionID(); | ||
Identifier getPowerUpID(); | ||
Identifier getCharacterID(); | ||
|
||
} |
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
3 changes: 3 additions & 0 deletions
3
mod/src/main/java/com/floralquafloral/mariodata/moveable/MarioTravelData.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
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
Oops, something went wrong.