-
Notifications
You must be signed in to change notification settings - Fork 9
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
ee243b7
commit fac46ce
Showing
122 changed files
with
542 additions
and
582 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
3 changes: 3 additions & 0 deletions
3
src/generated/resources/.cache/103d9f3f36b01595f1aa5172191e60eff02e6924
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 @@ | ||
// 1.19.4 2023-07-15T14:23:06.4598326 Registries | ||
763791e06f5c4ed4d0050991e7e3c0c6ea8b233b data/locusazzurro_icaruswings/damage_type/spear.json | ||
91d8a4c4673f585a6c9e320542ca3d96c355297f data/locusazzurro_icaruswings/damage_type/time_rift.json |
1 change: 1 addition & 0 deletions
1
src/generated/resources/.cache/3ad3c4526bc19707067928568367be95fefa33f1
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 @@ | ||
// 1.19.4 2023-07-15T14:23:06.453831 Item Models: locusazzurro_icaruswings |
1 change: 1 addition & 0 deletions
1
src/generated/resources/.cache/636274dd245a3d898f68344c2253b73cd985170e
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 @@ | ||
// 1.19.4 2023-07-15T14:23:06.4558333 Block States: locusazzurro_icaruswings |
7 changes: 7 additions & 0 deletions
7
src/generated/resources/.cache/75b6aaf6155f06a86b4bbdd88db80e772c960ed5
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 @@ | ||
// 1.19.4 2023-07-15T14:23:06.4608334 Icarus WingsBlock Tags | ||
979e25ed888a5b20cda2e2dc21e351998f39b80e data/minecraft/tags/blocks/mineable/pickaxe.json | ||
ff9f99cbd343a66dce509bf27bebcc63722eb35d data/minecraft/tags/blocks/mineable/shovel.json | ||
56bb632cd5fdd7cbeda8e09be29e0b908a983f9a data/minecraft/tags/blocks/needs_iron_tool.json | ||
967c11dbf3deb9d153a4175268222efc8b5f94fe data/minecraft/tags/blocks/needs_stone_tool.json | ||
f8a20788de08f2ee43580cbaae130bc1047d6734 data/minecraft/tags/blocks/wool.json | ||
0dbfd1ccd4c1029ebbd512b4eca46286318dcc5f data/minecraft/tags/blocks/wool_carpets.json |
1 change: 1 addition & 0 deletions
1
src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e
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 @@ | ||
// 1.19.4 2023-07-15T14:23:06.4558333 Recipes |
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
src/generated/resources/.cache/fe29277b4ba34f8d18bfab3b93fec645bdce4cdb
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,10 @@ | ||
// 1.19.4 2023-07-15T14:23:06.454832 Icarus WingsItem Tags | ||
b7e91efe4995c4b86573a2bd926e4182eee7cdec data/locusazzurro_icaruswings/tags/items/colored_feathers.json | ||
d66b65c515fdb20ffc9c22a41ecd1bc17b61d0f6 data/locusazzurro_icaruswings/tags/items/crop_grains.json | ||
1f8ac3247f3d11f23b38d6da6f4916a06e72aa05 data/locusazzurro_icaruswings/tags/items/crop_strings.json | ||
3a890ef8d740b0103c0e54a67c55349a6e1f966b data/locusazzurro_icaruswings/tags/items/fallen_relics.json | ||
31b4f1eaa4dd3828a846f05b4b2ec79cf961cb3d data/locusazzurro_icaruswings/tags/items/herbs.json | ||
7e5a857845e9eedfba30a8556abe866ecce677d6 data/locusazzurro_icaruswings/tags/items/restored_fallen_relics.json | ||
32f3b055773092e08427b0ce90302c627390d345 data/locusazzurro_icaruswings/tags/items/synapse_armor.json | ||
e588fd94a320df5a6b4e19ca18827ce2374f7656 data/locusazzurro_icaruswings/tags/items/world_essences.json | ||
a83382822f5079fc344889eeba2d88894566d277 data/locusazzurro_icaruswings/tags/items/world_ingots.json |
5 changes: 5 additions & 0 deletions
5
src/generated/resources/data/locusazzurro_icaruswings/damage_type/spear.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 @@ | ||
{ | ||
"exhaustion": 0.1, | ||
"message_id": "spear", | ||
"scaling": "when_caused_by_living_non_player" | ||
} |
5 changes: 5 additions & 0 deletions
5
src/generated/resources/data/locusazzurro_icaruswings/damage_type/time_rift.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 @@ | ||
{ | ||
"exhaustion": 0.1, | ||
"message_id": "time_rift", | ||
"scaling": "when_caused_by_living_non_player" | ||
} |
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/locusazzurro_icaruswings/tags/items/colored_feathers.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
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/locusazzurro_icaruswings/tags/items/crop_grains.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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"locusazzurro_icaruswings:wheat_grains", | ||
"locusazzurro_icaruswings:flax_seeds" | ||
|
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/locusazzurro_icaruswings/tags/items/crop_strings.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
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/locusazzurro_icaruswings/tags/items/fallen_relics.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
4 changes: 0 additions & 4 deletions
4
src/generated/resources/data/locusazzurro_icaruswings/tags/items/herbs.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 |
---|---|---|
@@ -1,14 +1,10 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"#minecraft:small_flowers", | ||
"#minecraft:tall_flowers", | ||
"#minecraft:saplings", | ||
"minecraft:fern", | ||
"minecraft:sea_pickle", | ||
"minecraft:sweet_berries" | ||
], | ||
"remove": [ | ||
"minecraft:wither_rose" | ||
] | ||
} |
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/locusazzurro_icaruswings/tags/items/restored_fallen_relics.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
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/locusazzurro_icaruswings/tags/items/synapse_armor.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
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/locusazzurro_icaruswings/tags/items/world_essences.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
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/locusazzurro_icaruswings/tags/items/world_ingots.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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"locusazzurro_icaruswings:steel_ingot", | ||
"locusazzurro_icaruswings:magma_ingot", | ||
|
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/minecraft/tags/blocks/mineable/pickaxe.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
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/minecraft/tags/blocks/mineable/shovel.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
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/minecraft/tags/blocks/needs_iron_tool.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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"locusazzurro_icaruswings:mead_pot" | ||
] | ||
|
1 change: 0 additions & 1 deletion
1
src/generated/resources/data/minecraft/tags/blocks/needs_stone_tool.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"locusazzurro_icaruswings:golden_wool_block" | ||
] | ||
|
1 change: 0 additions & 1 deletion
1
...s/data/minecraft/tags/blocks/carpets.json → ...a/minecraft/tags/blocks/wool_carpets.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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"locusazzurro_icaruswings:golden_wool_carpet" | ||
] | ||
|
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
19 changes: 0 additions & 19 deletions
19
src/main/java/org/mineplugin/locusazzurro/icaruswings/damage/DamageTimeRift.java
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
34 changes: 31 additions & 3 deletions
34
src/main/java/org/mineplugin/locusazzurro/icaruswings/data/ModDamageSources.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,13 +1,41 @@ | ||
package org.mineplugin.locusazzurro.icaruswings.data; | ||
|
||
import net.minecraft.core.registries.Registries; | ||
import net.minecraft.data.worldgen.BootstapContext; | ||
import net.minecraft.resources.ResourceKey; | ||
import net.minecraft.world.damagesource.DamageSource; | ||
import net.minecraft.world.entity.Entity; | ||
import org.mineplugin.locusazzurro.icaruswings.damage.DamageTimeRift; | ||
import net.minecraft.world.level.Level; | ||
import org.mineplugin.locusazzurro.icaruswings.registry.DamageTypeRegistry; | ||
import net.minecraft.world.damagesource.DamageType; | ||
import net.minecraft.core.Holder.Reference; | ||
|
||
public class ModDamageSources { | ||
|
||
public static DamageSource timeRift(Entity source){ | ||
return new DamageTimeRift(source); | ||
public static void bootstrap(BootstapContext<DamageType> context) | ||
{ | ||
context.register(DamageTypeRegistry.SPEAR, new DamageType("spear", 0.1F)); | ||
context.register(DamageTypeRegistry.TIME_RIFT, new DamageType("time_rift", 0.1F)); | ||
} | ||
|
||
public static Reference<DamageType> damageTypeReference(Level pLevel, ResourceKey<DamageType> type){ | ||
return pLevel.registryAccess().registryOrThrow(Registries.DAMAGE_TYPE).getHolderOrThrow(type); | ||
} | ||
|
||
public static DamageSource spear(Level level, Entity projectile, Entity owner){ | ||
return new DamageSource(damageTypeReference(level, DamageTypeRegistry.SPEAR), projectile, owner); | ||
} | ||
|
||
public static DamageSource timeRift(Level level, Entity projectile, Entity owner){ | ||
return new DamageSource(damageTypeReference(level, DamageTypeRegistry.TIME_RIFT), projectile, owner); | ||
} | ||
|
||
public static DamageSource timeRift(Level level, Entity source){ | ||
return new DamageSource(damageTypeReference(level, DamageTypeRegistry.TIME_RIFT), source); | ||
} | ||
|
||
public static DamageSource timeRift(Level level){ | ||
return new DamageSource(damageTypeReference(level, DamageTypeRegistry.TIME_RIFT)); | ||
} | ||
|
||
} |
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: 0 additions & 20 deletions
20
src/main/java/org/mineplugin/locusazzurro/icaruswings/data/ModGroup.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.