Skip to content

Commit 8a7520b

Browse files
committed
Blender and compatibility hacks
1 parent e82f50a commit 8a7520b

176 files changed

Lines changed: 7518 additions & 364 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

_VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.1
1+
0.2.4

build.bat

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
@echo off
2-
call preprocess.bat
2+
set "STARTTIME=%time: =0%"
3+
call preprocess.bat -DNDEBUG
34
if %ERRORLEVEL% EQU 0 (
45
REM set "JAVA_HOME=E:/java/graalvm-ee-java8-21.3.4"
56
set "JAVA_HOME=C:/Program Files/Java/jre1.8.0_191"
67
call gradlew.bat build
78
)
8-
build_stats_manager.bat 0 %ERRORLEVEL%
9+
set "ENDTIME=%time: =0%"
10+
build_stats_manager.bat 0 %ERRORLEVEL% %STARTTIME% %ENDTIME%
911
exit /b %ERRORLEVEL%

build_stats.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
; Stats tracked as of version 0.0.9
2-
TotalBuilds=1038
3-
TotalRuns=963
4-
SuccessRuns=681
5-
FailedRuns=282
6-
TotalReleases=75
7-
SuccessReleases=68
8-
FailedReleases=7
2+
TotalBuilds=1217
3+
TotalRuns=1091
4+
SuccessRuns=744
5+
FailedRuns=347
6+
TotalReleases=126
7+
SuccessReleases=107
8+
FailedReleases=19
9+
; Build times tracked as of version 0.2.2
10+
PrevReleaseBuildTime=00:06:12.13

build_stats_manager.bat

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,13 @@
22
setlocal enabledelayedexpansion
33
setlocal
44
for /f usebackq^ delims^=^=^ tokens^=1^,2 %%G in ("build_stats.txt") do call set "$%%G=%%H"
5-
if "%*"=="" (
6-
set $
7-
) else (
8-
set /a $TotalBuilds+=1
9-
if "%1"=="0" (
10-
set /a $TotalReleases+=1
5+
if "%*"=="" ( set $
6+
) else ( set /a $TotalBuilds+=1
7+
if "%1"=="0" ( set /a $TotalReleases+=1
118
if "%2"=="0" ( set /a $SuccessReleases+=1
129
) else ( set /a $FailedReleases+=1
1310
)
14-
) else (
15-
set /a $TotalRuns+=1
11+
) else ( set /a $TotalRuns+=1
1612
if "%2"=="0" ( set /a $SuccessRuns+=1
1713
) else ( set /a $FailedRuns+=1
1814
)
@@ -26,6 +22,17 @@ echo FailedRuns=!$FailedRuns!
2622
echo TotalReleases=!$TotalReleases!
2723
echo SuccessReleases=!$SuccessReleases!
2824
echo FailedReleases=!$FailedReleases!
25+
echo ; Build times tracked as of version 0.2.2
26+
if "%1"=="0" (
27+
:: IDK how this works, I just copied this https://stackoverflow.com/questions/9922498/calculate-time-difference-in-windows-batch-file
28+
set "startTime=%3"
29+
set "endTime=%4"
30+
set "end=!endTime:%time:~8,1%=%%100)*100+1!" & set "start=!startTime:%time:~8,1%=%%100)*100+1!"
31+
set /A "elap=((((10!end:%time:~2,1%=%%100)*60+1!%%100)-((((10!start:%time:~2,1%=%%100)*60+1!%%100), elap-=(elap>>31)*24*60*60*100"
32+
set /A "cc=elap%%100+100,elap/=100,ss=elap%%60+100,elap/=60,mm=elap%%60+100,hh=elap/60+100"
33+
echo PrevReleaseBuildTime=!hh:~1!!time:~2,1!!mm:~1!!time:~2,1!!ss:~1!!time:~8,1!!cc:~1!
34+
) else ( echo PrevReleaseBuildTime=!$PrevReleaseBuildTime!
35+
)
2936
)>build_stats.txt
3037
)
3138
endlocal

feature_list.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ Glue Blocks:
2323
- Can indefinitely support adjacent blocks that would otherwise need mortar
2424
- Can be used with pulleys/platforms to move blocks
2525

26+
Blender Block:
27+
- Crafted from iron ingots, a screw, and wooden corners
28+
- Bulk crafting block that can create foods
29+
- Requires mechanical power instead of fire
30+
2631
Observers:
2732
- Crafted at a soul forge similar to buddy blocks, but replacing the redstone torches with quartz
2833
- Retain the vanilla behavior of detecting block "shape" changes rather than block updates
@@ -96,6 +101,9 @@ Platforms:
96101
- Connect to other platforms when moved by pistons
97102
- Fixed broken code that prevented lifting redstone/rails
98103

104+
Cows:
105+
- Can be milked automatically by squishing them against a block with a piston over a bucket
106+
99107
Pistons:
100108
- Completely rewrote the implementation of block/entity pushing
101109
- Attempted to make moving blocks match their normal collision
@@ -189,5 +197,4 @@ Known Issues
189197
- Sloped rails don't flatten out when the rail they're connected to is moved down by a piston
190198
- Block placers/breakers have lazy texturing
191199
- Minecart hitboxes obstruct the rail they are placed on (maybe not an issue? Only needed for merged cart jank)
192-
- Platforms delete tile entities
193200
- This file doesn't really explain new platform mechanics

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ archives_base_name = zero_btw_addon_test
1010

1111
org.gradle.jvmargs=-Xmx4g
1212
org.gradle.daemon=false
13-
mod_version = 0.2.1
13+
mod_version = 0.2.4

libs/Deco-Addon-4.1.2.zip

1.68 MB
Binary file not shown.

libs/craft-guide-3.0.1.zip

295 KB
Binary file not shown.

libs/grossfabrichacks-4.5.jar

2.98 MB
Binary file not shown.
52.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)