Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed May 13, 2021
0 parents commit e958af0
Show file tree
Hide file tree
Showing 169 changed files with 7,851 additions and 0 deletions.
420 changes: 420 additions & 0 deletions .classpath

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Gradle build system ignores
.gradle/
build/

# Other IDE related folders
.idea/
.settings/

# MCreator workspace
.mcreator/

# Minecraft client/server files
run/

# MacOS system files
.DS_STORE
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>markscoins</name>
<comment></comment>
<projects/>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments/>
</buildCommand>
</buildSpec>
<linkedResources/>
<filteredResources/>
</projectDescription>
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# coinmod
Simple Coin mod

Textures based off of Varied Commodities Mod
56 changes: 56 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net' }
mavenCentral()
}
dependencies {
classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '4.1.+', changing: true
}
}
apply plugin: 'net.minecraftforge.gradle'
apply plugin: 'eclipse'

version = '1.0'
group = 'com.yourname.modid'
archivesBaseName = 'modid'

java.toolchain.languageVersion = JavaLanguageVersion.of(8)

minecraft {
mappings channel: 'snapshot', version: '20201028-1.16.3'

runs {
client {
workingDirectory project.file('run')

property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'

mods {
examplemod {
source sourceSets.main
}
}
}

server {
workingDirectory project.file('run')

property 'forge.logging.markers', 'REGISTRIES'
property 'forge.logging.console.level', 'debug'

mods {
examplemod {
source sourceSets.main
}
}
}
}
}

dependencies {
minecraft 'net.minecraftforge:forge:1.16.5-36.1.0'
}

apply from: 'mcreator.gradle'

46 changes: 46 additions & 0 deletions elements/Amethystplatinum.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"_fv": 18,
"_type": "recipe",
"definition": {
"recipeType": "Crafting",
"xpReward": 0.0,
"cookingTime": 200,
"recipeRetstackSize": 4,
"group": "",
"recipeShapeless": true,
"recipeSlots": [
{
"value": ""
},
{
"value": ""
},
{
"value": ""
},
{
"value": ""
},
{
"value": "CUSTOM:Coinamethyst"
},
{
"value": ""
},
{
"value": ""
},
{
"value": ""
},
{
"value": ""
}
],
"recipeReturnStack": {
"value": "CUSTOM:Coinplatinum"
},
"name": "amethystplatinum",
"namespace": "mod"
}
}
46 changes: 46 additions & 0 deletions elements/Amethystsapphire.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"_fv": 18,
"_type": "recipe",
"definition": {
"recipeType": "Crafting",
"xpReward": 0.0,
"cookingTime": 200,
"recipeRetstackSize": 1,
"group": "",
"recipeShapeless": true,
"recipeSlots": [
{
"value": "CUSTOM:Coinamethyst"
},
{
"value": ""
},
{
"value": "CUSTOM:Coinamethyst"
},
{
"value": ""
},
{
"value": ""
},
{
"value": ""
},
{
"value": "CUSTOM:Coinamethyst"
},
{
"value": ""
},
{
"value": "CUSTOM:Coinamethyst"
}
],
"recipeReturnStack": {
"value": "CUSTOM:Coinsapphire"
},
"name": "amethystsapphire",
"namespace": "mod"
}
}
125 changes: 125 additions & 0 deletions elements/BankGUI.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"_fv": 18,
"_type": "gui",
"definition": {
"type": 1,
"width": 176,
"height": 166,
"inventoryOffsetX": 0,
"inventoryOffsetY": 0,
"renderBgLayer": true,
"doesPauseGame": false,
"components": [
{
"type": "label",
"data": {
"text": "Balance",
"color": {
"value": -16777216,
"falpha": 0.0
},
"name": "Balance",
"x": 131,
"y": 42
}
},
{
"type": "inputslot",
"data": {
"inputLimit": {
"value": ""
},
"id": 0,
"disableStackInteraction": false,
"dropItemsWhenNotBound": false,
"onSlotChanged": {
"name": "BankInputCalc"
},
"name": "Slot #0",
"x": 149,
"y": 89
}
},
{
"type": "outputslot",
"data": {
"id": 1,
"disableStackInteraction": true,
"dropItemsWhenNotBound": false,
"onTakenFromSlot": {
"name": "BankOutputCalc"
},
"name": "Slot #1",
"x": 257,
"y": 89
}
},
{
"type": "label",
"data": {
"text": "<VAR:money_disp>",
"color": {
"value": -16777215,
"falpha": 0.0
},
"name": "<VAR:money_disp>",
"x": 130,
"y": 53
}
},
{
"type": "image",
"data": {
"image": "cashout.png",
"use1Xscale": true,
"name": "cashout.png",
"x": 196,
"y": 77
}
},
{
"type": "button",
"data": {
"text": "Take",
"onClick": {
"name": "BankTransfer"
},
"width": 30,
"height": 20,
"name": "Take",
"x": 251,
"y": 53
}
},
{
"type": "label",
"data": {
"text": "Deposit",
"color": {
"value": -12829636,
"falpha": 0.0
},
"name": "Deposit",
"x": 140,
"y": 78
}
},
{
"type": "label",
"data": {
"text": "Withdraw",
"color": {
"value": -12829636,
"falpha": 0.0
},
"name": "Withdraw",
"x": 245,
"y": 78
}
}
],
"onTick": {
"name": "BankOutputCalc"
}
}
}
7 changes: 7 additions & 0 deletions elements/BankInputCalc.mod.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions elements/BankOpenGUI.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"_fv": 18,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"46\" y=\"121\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"entity_open_gui\"><field name=\"guiname\">BankGUI</field><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_y\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"z\"><block type=\"coord_z\"></block></value></block></next></block></xml>"
}
}
7 changes: 7 additions & 0 deletions elements/BankOutputCalc.mod.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions elements/BankTransfer.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"_fv": 18,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"65\" y=\"108\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"variables_get_number\"><field name=\"VAR\">global:money</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><field name=\"VAR\">global:money</field><value name=\"VAL\"><block type=\"math_dual_ops\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"variables_get_number\"><field name=\"VAR\">global:money</field></block></value><value name=\"B\"><block type=\"variables_get_number\"><field name=\"VAR\">global:transfer</field></block></value></block></value><next><block type=\"variables_set_number\"><field name=\"VAR\">global:transfer</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><next><block type=\"entity_add_item\"><value name=\"amount\"><block type=\"variables_get_number\"><field name=\"VAR\">global:display</field></block></value><value name=\"item\"><block type=\"gui_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><next><block type=\"gui_clear_slot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></next></block></next></block></next></block></statement></block></statement></block></next></block></xml>"
}
}
35 changes: 35 additions & 0 deletions elements/Coinamethyst.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"_fv": 18,
"_type": "item",
"definition": {
"renderType": 0,
"texture": "coin_amethyst",
"customModelName": "Normal",
"name": "Amethyst Coin",
"rarity": "RARE",
"creativeTab": {
"value": "No creative tab entry"
},
"stackSize": 64,
"enchantability": 0,
"useDuration": 0,
"toolType": 1.0,
"damageCount": 0,
"recipeRemainder": {
"value": ""
},
"destroyAnyBlock": false,
"immuneToFire": true,
"stayInGridWhenCrafting": false,
"damageOnCrafting": false,
"enableMeleeDamage": false,
"damageVsEntity": 0.0,
"specialInfo": [
"4,096PC"
],
"hasGlow": false,
"guiBoundTo": "<NONE>",
"inventorySize": 9,
"inventoryStackSize": 64
}
}
Loading

0 comments on commit e958af0

Please sign in to comment.