-
Notifications
You must be signed in to change notification settings - Fork 8
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
Showing
55 changed files
with
1,357 additions
and
28 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
4 changes: 2 additions & 2 deletions
4
common/src/generated/resources/.cache/735031f3addf80804addae5e3f53249900116f1e
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,2 +1,2 @@ | ||
// 1.21.1 2024-11-17T14:36:09.2472511 Sound Definitions | ||
a1261f8ceb7c165ba55dde15a14a105ac86ea5b0 assets/eternal_starlight/sounds.json | ||
// 1.21.1 2024-12-08T15:27:10.7369329 Sound Definitions | ||
b96fd1377a2af53fad5e8542582bc0249e73c9f2 assets/eternal_starlight/sounds.json |
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
3 changes: 3 additions & 0 deletions
3
common/src/generated/resources/assets/eternal_starlight/models/item/creteor_spawn_egg.json
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,3 @@ | ||
{ | ||
"parent": "minecraft:item/template_spawn_egg" | ||
} |
3 changes: 3 additions & 0 deletions
3
.../src/generated/resources/assets/eternal_starlight/models/item/tiny_creteor_spawn_egg.json
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,3 @@ | ||
{ | ||
"parent": "minecraft:item/template_spawn_egg" | ||
} |
5 changes: 5 additions & 0 deletions
5
common/src/generated/resources/assets/eternal_starlight/particles/explosion_shock.json
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,5 @@ | ||
{ | ||
"textures": [ | ||
"eternal_starlight:explosion_shock" | ||
] | ||
} |
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
36 changes: 36 additions & 0 deletions
36
common/src/generated/resources/data/eternal_starlight/loot_table/entities/creteor.json
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,36 @@ | ||
{ | ||
"type": "minecraft:entity", | ||
"pools": [ | ||
{ | ||
"bonus_rolls": 0.0, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"functions": [ | ||
{ | ||
"add": false, | ||
"count": { | ||
"type": "minecraft:uniform", | ||
"max": 5.0, | ||
"min": 3.0 | ||
}, | ||
"function": "minecraft:set_count" | ||
}, | ||
{ | ||
"count": { | ||
"type": "minecraft:uniform", | ||
"max": 1.0, | ||
"min": 0.0 | ||
}, | ||
"enchantment": "minecraft:looting", | ||
"function": "minecraft:enchanted_count_increase" | ||
} | ||
], | ||
"name": "eternal_starlight:raw_aethersent" | ||
} | ||
], | ||
"rolls": 1.0 | ||
} | ||
], | ||
"random_sequence": "eternal_starlight:entities/creteor" | ||
} |
36 changes: 36 additions & 0 deletions
36
common/src/generated/resources/data/eternal_starlight/loot_table/entities/tiny_creteor.json
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,36 @@ | ||
{ | ||
"type": "minecraft:entity", | ||
"pools": [ | ||
{ | ||
"bonus_rolls": 0.0, | ||
"entries": [ | ||
{ | ||
"type": "minecraft:item", | ||
"functions": [ | ||
{ | ||
"add": false, | ||
"count": { | ||
"type": "minecraft:uniform", | ||
"max": 3.0, | ||
"min": 1.0 | ||
}, | ||
"function": "minecraft:set_count" | ||
}, | ||
{ | ||
"count": { | ||
"type": "minecraft:uniform", | ||
"max": 1.0, | ||
"min": 0.0 | ||
}, | ||
"enchantment": "minecraft:looting", | ||
"function": "minecraft:enchanted_count_increase" | ||
} | ||
], | ||
"name": "eternal_starlight:raw_aethersent" | ||
} | ||
], | ||
"rolls": 1.0 | ||
} | ||
], | ||
"random_sequence": "eternal_starlight:entities/tiny_creteor" | ||
} |
2 changes: 2 additions & 0 deletions
2
common/src/generated/resources/data/minecraft/tags/entity_type/fall_damage_immune.json
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
45 changes: 45 additions & 0 deletions
45
...leolezury/eternalstarlight/common/client/model/animation/definition/CreteorAnimation.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,45 @@ | ||
package cn.leolezury.eternalstarlight.common.client.model.animation.definition; | ||
|
||
import net.fabricmc.api.EnvType; | ||
import net.fabricmc.api.Environment; | ||
import net.minecraft.client.animation.AnimationChannel; | ||
import net.minecraft.client.animation.AnimationDefinition; | ||
import net.minecraft.client.animation.Keyframe; | ||
import net.minecraft.client.animation.KeyframeAnimations; | ||
|
||
@Environment(EnvType.CLIENT) | ||
public class CreteorAnimation { | ||
public static final AnimationDefinition IDLE = AnimationDefinition.Builder.withLength(10.0F).looping() | ||
.addAnimation("root", new AnimationChannel(AnimationChannel.Targets.POSITION, | ||
new Keyframe(0.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(5.0F, KeyframeAnimations.posVec(0.0F, -0.5F, 0.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(10.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM) | ||
)) | ||
.addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, | ||
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(5.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 5.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(10.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM) | ||
)) | ||
.addAnimation("right_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, | ||
new Keyframe(10.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM) | ||
)) | ||
.addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.ROTATION, | ||
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(5.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, -5.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(10.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM) | ||
)) | ||
.addAnimation("left_leg", new AnimationChannel(AnimationChannel.Targets.POSITION, | ||
new Keyframe(10.0F, KeyframeAnimations.posVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM) | ||
)) | ||
.addAnimation("right_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, | ||
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(5.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 5.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(10.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM) | ||
)) | ||
.addAnimation("left_arm", new AnimationChannel(AnimationChannel.Targets.ROTATION, | ||
new Keyframe(0.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(5.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, -5.0F), AnimationChannel.Interpolations.CATMULLROM), | ||
new Keyframe(10.0F, KeyframeAnimations.degreeVec(0.0F, 0.0F, 0.0F), AnimationChannel.Interpolations.CATMULLROM) | ||
)) | ||
.build(); | ||
} |
Oops, something went wrong.