Skip to content

Commit

Permalink
First Beta :D
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev0Louis committed Mar 17, 2024
1 parent b028032 commit 8ca5988
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ org.gradle.jvmargs=-Xmx1G
minecraft_version=1.20.4
supported_version=>=1.20.2
yarn_mappings=1.20.4+build.3
loader_version=0.15.6
loader_version=0.15.7
# Mod Properties
mod_version=5.2.0
mod_version=6.0.0-beta.1
maven_group=dev.louis
archives_base_name=Nebula
# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.95.0+1.20.4
fabric_version=0.96.4+1.20.4
1 change: 0 additions & 1 deletion src/main/java/dev/louis/nebula/api/NebulaPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ default SpellManager setSpellManager(SpellManager spellManager) {
throw new UnsupportedOperationException("Injected Interface method was not overridden!");
}


static ManaManager getManaManager(ServerPlayerEntity serverPlayer) {
return serverPlayer.getManaManager();
}
Expand Down
7 changes: 1 addition & 6 deletions src/main/java/dev/louis/nebula/api/spell/Spell.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

import dev.louis.nebula.api.manager.spell.SpellManager;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.util.Identifier;

/**
* This class represents an attempt to cast a spell. It holds a reference to the caster of the Spell.
*
*/
public abstract class Spell {
private static final int DEFAULT_SPELL_AGE = 3 * 20;
private static final int DEFAULT_SPELL_AGE = 0;

protected final SpellType<?> spellType;
protected final PlayerEntity caster;
Expand Down Expand Up @@ -41,10 +40,6 @@ public void applyCost() {
public void tick() {
}

public Identifier getId() {
return this.getType().getId();
}

public PlayerEntity getCaster() {
return this.caster;
}
Expand Down

0 comments on commit 8ca5988

Please sign in to comment.