Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
232a650
Put in all my build specific stuff
Apr 5, 2017
90f628c
.player and .world and clamp due to new mappings
Apr 5, 2017
d2ad69f
Cleanup some of the unnecessary code
Apr 5, 2017
508815b
Unneeded class
Apr 5, 2017
f2850d3
Remove unsafe event registering, access event bus properly
Apr 5, 2017
5b3cc6e
Just patch in my previous bytecode edited update
Apr 5, 2017
8a4c46a
Target version 1.11.2
Apr 5, 2017
501c2a8
Shrink classes, automatic cleanup
Apr 5, 2017
2c0f3e7
Make mod compliant with Java 1.6
Apr 5, 2017
a9ba7a8
Update README, sorry Sonic Ether, but it is true...
Apr 5, 2017
61c0ac4
Remove Int3 (Used redundantly for BlockPos)
Apr 5, 2017
6c7fc30
Link Opcodes again, further clean up
Apr 6, 2017
5697cba
Further clean up
Apr 6, 2017
c43f1d3
Remove yet another set of unneeded methods
Apr 6, 2017
7e65ae1
A lot of cleanup of the main algorithm
Apr 7, 2017
89c7d1d
Version 1.0.1, mcmod.info cleaned up
Apr 7, 2017
6fb2a1a
Complete refactoring
Apr 11, 2017
b957155
Failed to commit without noticing
Apr 13, 2017
55f5c19
Build upon the latest forge version
Apr 13, 2017
949c6be
Fix git lowercase bug, step 1
Apr 13, 2017
7bd0d50
Fix git lowercase bug, step 2
Apr 13, 2017
b035597
Add back suppressing deprecation
Apr 13, 2017
2b2053a
Update to 1.12
JAD3N Jun 18, 2017
dc5db56
Merge pull request #7 from JAD3N/master
daipenger Jun 18, 2017
d35d778
Match mappings with forge build, build with 1.8
Jun 18, 2017
e0ede37
Include gradle directory (Issue #4)
Jun 18, 2017
d3cfc8b
Optimize Injector (check first, create InsnLists then)
Jun 19, 2017
2a16629
Change logging
Jun 19, 2017
9b61ffb
Clean up patchMethod
Jun 20, 2017
d14442e
Fix the pesky stereo sound files bug
Jun 20, 2017
7918cb3
Version 1.0.4
Jun 20, 2017
b732f33
Update to 1.12.1, small stuff
Aug 16, 2017
090dcbf
Revert "Fix the pesky stereo sound files bug"
Sep 16, 2017
bc4bb85
Forge update
Sep 16, 2017
0c817bb
Remove redundant values, move stuff around
Sep 16, 2017
9538e55
Remove all logging
Sep 16, 2017
ab8fec2
Altering default material absorption values
Sep 16, 2017
1aafd1a
Precompile regex patterns
Sep 17, 2017
6d0037e
1.12.2
Nov 14, 2017
0161754
Update README.md
daipenger May 9, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project

# idea
out
*.ipr
*.iws
*.iml
.idea

# gradle
build
.gradle

# other
eclipse
run
3 changes: 3 additions & 0 deletions BUILD.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
rd /s "./build/classes/main/"
del /s "./build/libs/"
gradlew build
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# Sound-Physics
A Minecraft mod that provides realistic sound attenuation, reverberation, and absorption through blocks.

Changes compared to sonicether/Sound-Physics:
- Updated to 1.12.2
- Cleaned up whole codebase (compiled binary shrank by a factor of ~4 in file size)

I am currently not working on this anymore, see https://github.com/djpadbit/Sound-Physics for a fork of this fork that brings some new features!
54 changes: 54 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
buildscript {
repositories {
jcenter()
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
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.

version = "1.12.2"
archivesBaseName = "Sound-Physics"

jar {
manifest {
attributes 'FMLCorePlugin': 'com.sonicether.soundphysics.CoreModLoader'
attributes 'FMLCorePluginContainsFMLMod': 'true'
}
}

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

minecraft {
version = "1.12.2-14.23.0.2542"
runDir = "run"
mappings = "snapshot_20171003"
}

dependencies {
}

processResources {
// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version

// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'

// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
}

// copy everything else except the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
# This is required to provide enough memory for the Minecraft decompilation process.
org.gradle.jvmargs=-Xmx3G
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#Mon Sep 14 12:28:28 PDT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14-bin.zip
164 changes: 164 additions & 0 deletions gradlew

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

90 changes: 90 additions & 0 deletions gradlew.bat

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

Loading