Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ bin

# idea
out
classes
*.ipr
*.iws
*.iml
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# CHANGELOG

## 1.2.197
* Fixed Mapping Bug and Updated to Forge Recommended 1.12.2-14.23.3.2655
## 1.2.194
* Implemented MicroBrewerRecipes for JEI
## 1.1.185
* Implemented ISidedInventory for MicroBrewer, now you can automate it.
59 changes: 25 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,29 @@
# Beer Brewing Simulator Mod
For now this is the basic foundation for a future mod called Beer Brewing Simulator.
It's being developed by rafacost3d, for Minecraft 1.11.2
<p align="center">
<img src="https://raw.githubusercontent.com/rafacost/bbs_mod/1.12.2/src/main/resources/assets/bbs_mod/textures/gui/bbs_logo.png?raw=true" alt="BBS Logo"/>
</p>
This Mod is called: Beer Brewing Simulator.
And that's exactly what it is. If you are a homebrewer you are familiar with the various calculations of abv, ibu, og, fg, srm, and etc.
With this mod you can play and test with 137 types of hops and 7 types of liquid malt extracts.
The result of the process of fermentation will be a keg containing all final numbers of your beer.

**Resource Links for 1.11.2**
List of Attributes Calculated:
- ABV (Alcohol by Volume)
- IBU (International Bitterness Unit)
- SRM (Standard Reference Method)
- Lovibond Index
- Original Gravity
- Final Gravity

Current known limitations:
- Batch and Boil: For now we have fixed the Batch size and Boil Size for 5 gallons.
- Extract Method: All recipes are based on Extract Method.
- LME: Only Liquid Malts are available for now.
- OneHop: One Type of hops per fermentation.

Developed by rafacost3d, for Minecraft 1.12.2

**Resource Links for 1.12.2**

If your site is at the list below, thank you so much for your tutorials/code repositories, you guys helped me a lot!

Expand All @@ -19,35 +40,5 @@ If your site is at the list below, thank you so much for your tutorials/code rep


**To-Do List**
- [x] Implemented Basic HopSeedsItem
- [x] Implemented Hop Growth Block
- [x] Created Generic HopsLeafItem with Hops Type, and Alpha Acid
- [x] Implemented CreativeTabs
- [x] Added Support for The One Probe
- [x] Created BaseMachineBlock, with BaseTileEntity with TOP Support
- [x] Added HeatSource Algorithm
- [x] Created StirringSpoonItem
- [x] Create WaterGallonItem
- [x] Create LiquidMaltExtractItem
- [x] Implemented Fluids: Weizen Beer and Wort
- [x] Created ThermometerItem
- [x] Created SanitizerItem
- [x] Created YeastItem
- [x] Created PrimingSugarItem
- [x] Created HopsPelletsItem
- [x] Created Config File allowing selection between Metric System or US/Imperial
- [x] Created PelleterMachineBlock, to double Hops production
- [x] Created AluminiumPotBlock, implemented first Recipe Wort for Weizein Beer.
- [x] Created WortBucket, this Item store the information about the Brewing Process.
- [x] Created Rhizomes, Hops and Pellets for 137 types of Hops.
- [x] Created FermenterBlock
- [x] Added 7 types of Liquid Malt Extract
- [x] Implemented All Beer Statistics Variables, SRM, ABV, IBU, OG, FG, and etc...
- [x] Created 10 Buckets with Dynamic SRM Colors, 30 more to go...
- [x] Implemented Price and Quantity for Hops, Pellets and Rhizomes connection to Firebase Database
- [ ] Create AirlockItem
- [ ] Create BottlingBucketBlock
- [ ] Create BottlesItem
- [ ] Implement Recipes for Items and Blocks
- [x] Release Mod.
- [ ] Create Market System
- [ ] Release Mod.
114 changes: 70 additions & 44 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,63 +1,26 @@
def mainVersion = "0.1"
def buildNumber = "52"


buildscript {
repositories {
jcenter()
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
//Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.

repositories {
maven { // TOP
name 'tterrag maven'
url "http://maven.tterrag.com/"
}
maven { // The repo from which to get waila
name "Mobius Repo"
url "http://mobiusstrip.eu/maven"
}
maven { // JEI
url "http://dvs1.progwml6.com/files/maven"
}
}

version = "${mainVersion}.${buildNumber}"
version = "1.12.2-" + MAJOR + "." + MINOR + "." + BN
group = "com.rafacost3d.bbs_mod" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "bbs_mod"

sourceCompatibility = targetCompatibility = "1.7" // Need this here so eclipse task generates correctly.
sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
compileJava {
sourceCompatibility = targetCompatibility = "1.7"
sourceCompatibility = targetCompatibility = '1.8'
}

minecraft {
version = "1.11.2-latest"
version = "1.12.2-14.23.3.2655"
runDir = "run"

replace '${version}', project.version

// the mappings can be changed at any time, and must be in the following format.
// snapshot_YYYYMMDD snapshot are built nightly.
// stable_# stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not always work.
// simply re-run your setup task after changing the mappings to update your workspace.
mappings = "snapshot_20161220"
// makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
mappings = "snapshot_20171003"
}

dependencies {
deobfCompile "mcp.mobius.waila:Waila:1.7.1_1.11.2"
deobfCompile "mezz.jei:jei_1.11.2:4.3.5.277"
deobfCompile "mcjty.theoneprobe:TheOneProbe:1.1x-1.4.6-56"
}

processResources {
// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
Expand All @@ -75,4 +38,67 @@ processResources {
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
}

repositories {
maven {
// location of the maven that hosts JEI files
name = "Progwml6 maven"
url = "http://dvs1.progwml6.com/files/maven"
}
maven {
// location of a maven mirror for JEI files, as a fallback
name = "ModMaven"
url = "modmaven.k-4u.nl"
}
}

dependencies {
// compile against the JEI API but do not include it at runtime
deobfProvided "mezz.jei:jei_${mc_version}:${jei_version}:api"
// at runtime, use the full JEI jar
runtime "mezz.jei:jei_${mc_version}:${jei_version}"
}

task increaseVersion {
group 'VersionControl'
description 'My Versioning System'

doLast {
Properties props = new Properties()
File propsFile = new File('gradle.properties')
props.load(propsFile.newDataInputStream())
Integer nextbuildnum = (((props.getProperty('BN')) as Integer) + 1)
props.setProperty('BN', nextbuildnum.toString())
props.store(propsFile.newWriter(), null)
props.load(propsFile.newDataInputStream())
}
}
task newminor {
group 'VersionControl'
description 'My Versioning System'

doLast {
Properties props2 = new Properties()
File props2File = new File('gradle.properties')
props2.load(props2File.newDataInputStream())
Integer nextminornum = (((props2.getProperty('MINOR')) as Integer) + 1)
props2.setProperty('MINOR', nextminornum.toString())
props2.store(props2File.newWriter(), null)
props2.load(props2File.newDataInputStream())
}
}
task newmajor {
group 'VersionControl'
description 'My Versioning System'

doLast {
Properties props3 = new Properties()
File props3File = new File('gradle.properties')
props3.load(props3File.newDataInputStream())
Integer nextmajornum = (((props3.getProperty('MAJOR')) as Integer) + 1)
props3.setProperty('MAJOR', nextmajornum.toString())
props3.store(props3File.newWriter(), null)
props3.load(props3File.newDataInputStream())
}
}
7 changes: 7 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#Sun Apr 15 15:08:32 EDT 2018
MAJOR=1
org.gradle.jvmargs=-Xmx3G
MINOR=2
mc_version=1.12.2
jei_version=4.8.5.147
BN=198
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Apr 19 10:00:05 BRT 2017
#Mon Mar 12 21:08:16 EDT 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4-all.zip
74 changes: 41 additions & 33 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading