-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f3f2c6
commit 55388c8
Showing
27 changed files
with
567 additions
and
101 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[Architectury Transformer DEBUG] Closed File Systems for V:\dev\minecraft\BEStyleWither\common\build\libs\bestylewither-1.4.0.jar |
7 changes: 7 additions & 0 deletions
7
common/src/main/java/net/morimori0317/bestylewither/BEStyleWither.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,9 +1,16 @@ | ||
package net.morimori0317.bestylewither; | ||
|
||
import net.morimori0317.bestylewither.config.BESConfig; | ||
import net.morimori0317.bestylewither.explatform.BSWExpectPlatform; | ||
|
||
public class BEStyleWither { | ||
public static final String MODID = "bestylewither"; | ||
|
||
public static void init() { | ||
|
||
} | ||
|
||
public static BESConfig getConfig() { | ||
return BSWExpectPlatform.getConfig(); | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
common/src/main/java/net/morimori0317/bestylewither/config/BESConfig.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 net.morimori0317.bestylewither.config; | ||
|
||
public interface BESConfig { | ||
BESConfig DEFAULT = new DefaultBESConfig(); | ||
|
||
boolean isEnableBounceBlueWitherSkull(); | ||
|
||
boolean isEnableMoreInertialBlueWitherSkull(); | ||
|
||
boolean isEnableShootMoreBlueWitherSkull(); | ||
|
||
boolean isEnableSpinAndWhiteSummon(); | ||
|
||
boolean isEnableExplodeByHalfHealth(); | ||
|
||
boolean isEnableExplodeByDie(); | ||
|
||
boolean isEnableChargeAttack(); | ||
|
||
boolean isEnableDoubleHealth(); | ||
|
||
boolean isEnableMaintainWeakenedState(); | ||
} |
48 changes: 48 additions & 0 deletions
48
common/src/main/java/net/morimori0317/bestylewither/config/DefaultBESConfig.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,48 @@ | ||
package net.morimori0317.bestylewither.config; | ||
|
||
public class DefaultBESConfig implements BESConfig { | ||
@Override | ||
public boolean isEnableBounceBlueWitherSkull() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean isEnableMoreInertialBlueWitherSkull() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean isEnableShootMoreBlueWitherSkull() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean isEnableSpinAndWhiteSummon() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean isEnableExplodeByHalfHealth() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean isEnableExplodeByDie() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean isEnableChargeAttack() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean isEnableDoubleHealth() { | ||
return true; | ||
} | ||
|
||
@Override | ||
public boolean isEnableMaintainWeakenedState() { | ||
return true; | ||
} | ||
} |
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
15 changes: 15 additions & 0 deletions
15
.../src/main/java/net/morimori0317/bestylewither/mixin/AttributeSupplierBuilderAccessor.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,15 @@ | ||
package net.morimori0317.bestylewither.mixin; | ||
|
||
import net.minecraft.world.entity.ai.attributes.Attribute; | ||
import net.minecraft.world.entity.ai.attributes.AttributeInstance; | ||
import net.minecraft.world.entity.ai.attributes.AttributeSupplier; | ||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.gen.Accessor; | ||
|
||
import java.util.Map; | ||
|
||
@Mixin(AttributeSupplier.Builder.class) | ||
public interface AttributeSupplierBuilderAccessor { | ||
@Accessor | ||
Map<Attribute, AttributeInstance> getBuilder(); | ||
} |
Oops, something went wrong.