Skip to content

Commit

Permalink
Copy resources, setup enviroment
Browse files Browse the repository at this point in the history
  • Loading branch information
StavWasPlayZ committed Oct 10, 2023
1 parent 097391c commit 3d2d366
Show file tree
Hide file tree
Showing 239 changed files with 4,654 additions and 26 deletions.
28 changes: 27 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,42 @@ repositories {
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
repositories {
maven {
name = 'ParchmentMC'
url = 'https://maven.parchmentmc.org'
}
maven { url 'https://maven.terraformersmc.com/releases/' }
}

exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
}

dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
mappings loom.layered() {
officialMojangMappings()
parchment("org.parchmentmc.data:parchment-${project.parchment_mappings}@zip")
}
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

modImplementation "maven.modrinth:genshin-instruments:${project.genshinstrument_version}"

modImplementation "com.terraformersmc:modmenu:${project.modmenu_version}"

// Uncomment the following line to enable the deprecated Fabric API modules.
// These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time.
Expand Down
6 changes: 4 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ org.gradle.parallel=true
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.1
yarn_mappings=1.20.1+build.10
parchment_mappings=1.20.1:2023.07.02
loader_version=0.14.23

# Mod Properties
Expand All @@ -14,4 +14,6 @@ maven_group=com.cstav.evenmoreinstruments
archives_base_name=evenmoreinstruments

# Dependencies
fabric_version=0.90.0+1.20.1
fabric_version=0.90.0+1.20.1
modmenu_version=7.1.0
genshinstrument_version=fabric-1.20+1.20.1-3.3.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"variants": {

"part=left,facing=north": {
"model": "evenmoreinstruments:block/keyboard_left",
"y": 0
},
"part=left,facing=east": {
"model": "evenmoreinstruments:block/keyboard_left",
"y": 90
},
"part=left,facing=south": {
"model": "evenmoreinstruments:block/keyboard_left",
"y": 180
},
"part=left,facing=west": {
"model": "evenmoreinstruments:block/keyboard_left",
"y": 270
},

"part=right": {
"model": "evenmoreinstruments:block/keyboard_right"
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"variants": {

"has_keyboard=false,facing=north": {
"model": "evenmoreinstruments:block/keyboard_stand",
"y": 0
},
"has_keyboard=false,facing=east": {
"model": "evenmoreinstruments:block/keyboard_stand",
"y": 90
},
"has_keyboard=false,facing=south": {
"model": "evenmoreinstruments:block/keyboard_stand",
"y": 180
},
"has_keyboard=false,facing=west": {
"model": "evenmoreinstruments:block/keyboard_stand",
"y": 270
},

"has_keyboard=true,facing=north": {
"model": "evenmoreinstruments:block/keyboard_stand_with_keyboard",
"y": 0
},
"has_keyboard=true,facing=east": {
"model": "evenmoreinstruments:block/keyboard_stand_with_keyboard",
"y": 90
},
"has_keyboard=true,facing=south": {
"model": "evenmoreinstruments:block/keyboard_stand_with_keyboard",
"y": 180
},
"has_keyboard=true,facing=west": {
"model": "evenmoreinstruments:block/keyboard_stand_with_keyboard",
"y": 270
}

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"variants": {

"playing=false,facing=north": {
"model": "evenmoreinstruments:block/looper_idle",
"y": 0
},
"playing=false,facing=east": {
"model": "evenmoreinstruments:block/looper_idle",
"y": 90
},
"playing=false,facing=south": {
"model": "evenmoreinstruments:block/looper_idle",
"y": 180
},
"playing=false,facing=west": {
"model": "evenmoreinstruments:block/looper_idle",
"y": 270
},


"playing=true,facing=north": {
"model": "evenmoreinstruments:block/looper_playing",
"y": 0
},
"playing=true,facing=east": {
"model": "evenmoreinstruments:block/looper_playing",
"y": 90
},
"playing=true,facing=south": {
"model": "evenmoreinstruments:block/looper_playing",
"y": 180
},
"playing=true,facing=west": {
"model": "evenmoreinstruments:block/looper_playing",
"y": 270
}

}
}
Binary file removed src/main/resources/assets/evenmoreinstruments/icon.png
Binary file not shown.
38 changes: 38 additions & 0 deletions src/main/resources/assets/evenmoreinstruments/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"evenmoreinstruments.keymaps": "Even More Instruments! Keymaps",
"evenmoreinstruments.keymaps.violin_type_modifier": "Lengthen/Shorten Violin Sound",

"itemGroup.evenmoreinstruments.instrument_accessories": "Instrument Accessories",


"item.evenmoreinstruments.violin": "Violin",
"item.evenmoreinstruments.guitar": "Guitar",
"item.evenmoreinstruments.trombone": "Trombone",
"item.evenmoreinstruments.note_block_instrument": "%s Note Block Instrument",

"item.evenmoreinstruments.looper_adapter": "Looper Wireless Adapter",
"item.evenmoreinstruments.looper_adapter.select_instrument": "Looper connected successfully. Please select an instrument to pair with it.",
"item.evenmoreinstruments.looper_adapter.select_looper": "Instrument connected successfully. Please select a looper to pair with it.",

"block.evenmoreinstruments.keyboard": "Keyboard",
"block.evenmoreinstruments.keyboard_stand": "Keyboard Stand",


"label.evenmoreinstruments.violin_options": "Violin Options",
"button.evenmoreinstruments.violin.soundType": "Violin Note Length",
"button.evenmoreinstruments.violin.soundType.half_note": "Half Note",
"button.evenmoreinstruments.violin.soundType.full_note": "Full Note",


"block.evenmoreinstruments.looper": "Looper",

"evenmoreinstruments.looper.success_pair": "Paired instrument successfully!",
"evenmoreinstruments.looper.pair_conflict": "This Looper already has recorded footage!",
"evenmoreinstruments.looper.no_footage": "This looper has no footage! Use an instrument to start recording",

"button.evenmoreinstruments.record": "Record",
"button.evenmoreinstruments.stop": "Stop",

"gamerule.evenmoreinstruments_looperMaxNotes": "Looper Max Notes",
"gamerule.evenmoreinstruments_looperMaxNotes.description": "Defines the maxumin amount of notes a looper can have. Any value below 0 will make the looper uncappable."
}
39 changes: 39 additions & 0 deletions src/main/resources/assets/evenmoreinstruments/lang/he_il.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"evenmoreinstruments.keymaps": "הגדרות המקשים של 'אפילו יותר כלי נגינה!'",
"evenmoreinstruments.keymaps.violin_type_modifier": "הארך/קצר את אורך צליל הכינור",

"itemGroup.evenmoreinstruments.instrument_accessories": "אביזרי כלי נגינה",


"item.evenmoreinstruments.violin": "כינור",
"item.evenmoreinstruments.guitar": "גיטרה",
"item.evenmoreinstruments.trombone": "טרומבון",
"item.evenmoreinstruments.note_block_instrument": "בלוק הצליל של %s",

"item.evenmoreinstruments.looper_adapter": "מתאם אלחוטי ללופר",
"item.evenmoreinstruments.looper_adapter.select_instrument": "לופר חובר בהצלחה. אנא בחר כלי נגינה לתאם עימו.",
"item.evenmoreinstruments.looper_adapter.select_looper": "כלי נגינה חובר בהצלחה. אנא בחר לופר לתאם עימו.",


"block.evenmoreinstruments.keyboard": "אורגן",
"block.evenmoreinstruments.keyboard_stand": "מעמד לאורגן",


"label.evenmoreinstruments.violin_options": "אפשרויות הכינור",
"button.evenmoreinstruments.violin.soundType": "אורך צליל הכינור",
"button.evenmoreinstruments.violin.soundType.half_note": "שתי פעמות",
"button.evenmoreinstruments.violin.soundType.full_note": "ארבעה פעמות",


"block.evenmoreinstruments.looper": "לופר",

"evenmoreinstruments.looper.success_pair": "כלי הנגינה תואם בהצלחה!",
"evenmoreinstruments.looper.pair_conflict": "לופר זה הינו תפוס!",
"evenmoreinstruments.looper.no_footage": "ללופר זה אין אף הקלטה! השתמש בכלי נגינה כדיי להתחיל להקליט",

"button.evenmoreinstruments.record": "הקלט",
"button.evenmoreinstruments.stop": "עצור",

"gamerule.evenmoreinstruments_looperMaxNotes": "מגבלת התווים ללופר",
"gamerule.evenmoreinstruments_looperMaxNotes.description": "מספר התווים שלופר יכול להכיל. כל ערך מתחת ל- 0 יגרום ללופר להיות חסר כל מגבלות."
}
Loading

0 comments on commit 3d2d366

Please sign in to comment.