-
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.
Added Assorted Cuisine OST "CHEESE" by sisthek/boarddoctor75. Thank y…
…ou so much!
- Loading branch information
JuniorWolfgamingDE
committed
Jun 30, 2024
1 parent
1c1162d
commit 4ea7de1
Showing
10 changed files
with
103 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"_fv": 57, | ||
"_type": "musicdisc", | ||
"definition": { | ||
"name": "Cheese Music Disc", | ||
"rarity": "COMMON", | ||
"texture": "cheeseblock_item", | ||
"description": "sisthek - CHEESE", | ||
"creativeTab": { | ||
"value": "No creative tab entry" | ||
}, | ||
"specialInformation": { | ||
"fixedValue": [] | ||
}, | ||
"glowCondition": { | ||
"fixedValue": false | ||
}, | ||
"music": { | ||
"value": "CUSTOM:cheese_music_disc" | ||
}, | ||
"lengthInTicks": 2760, | ||
"analogOutput": 2 | ||
} | ||
} |
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
26 changes: 26 additions & 0 deletions
26
src/main/java/net/juniorwmg/assortedcuisine/item/CheeseMusicDiscItem.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,26 @@ | ||
|
||
package net.juniorwmg.assortedcuisine.item; | ||
|
||
import net.minecraftforge.registries.ForgeRegistries; | ||
|
||
import net.minecraft.world.level.Level; | ||
import net.minecraft.world.item.TooltipFlag; | ||
import net.minecraft.world.item.RecordItem; | ||
import net.minecraft.world.item.Rarity; | ||
import net.minecraft.world.item.ItemStack; | ||
import net.minecraft.world.item.Item; | ||
import net.minecraft.resources.ResourceLocation; | ||
import net.minecraft.network.chat.Component; | ||
|
||
import java.util.List; | ||
|
||
public class CheeseMusicDiscItem extends RecordItem { | ||
public CheeseMusicDiscItem() { | ||
super(2, () -> ForgeRegistries.SOUND_EVENTS.getValue(new ResourceLocation("assortedcuisine:cheese_music_disc")), new Item.Properties().stacksTo(1).rarity(Rarity.COMMON), 2760); | ||
} | ||
|
||
@Override | ||
public void appendHoverText(ItemStack itemstack, Level world, List<Component> list, TooltipFlag flag) { | ||
super.appendHoverText(itemstack, world, list, flag); | ||
} | ||
} |
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
6 changes: 6 additions & 0 deletions
6
src/main/resources/assets/assortedcuisine/models/item/cheese_music_disc.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,6 @@ | ||
{ | ||
"parent": "item/generated", | ||
"textures": { | ||
"layer0": "assortedcuisine:item/cheeseblock_item" | ||
} | ||
} |
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
Binary file added
BIN
+1.66 MB
src/main/resources/assets/assortedcuisine/sounds/cheese_music_disc.ogg
Binary file not shown.
6 changes: 6 additions & 0 deletions
6
src/main/resources/data/minecraft/tags/items/music_discs.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,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"assortedcuisine:cheese_music_disc" | ||
] | ||
} |