File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/java/net/cortex/clientAddon/cracker Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ org.gradle.jvmargs=-Xmx1G
33
44# Fabric Properties
55 # check these on https://modmuss50.me/fabric.html
6- minecraft_version =1.16-pre3
7- yarn_mappings =1.16-pre3 +build.1
8- loader_version =0.8.7 +build.201
6+ minecraft_version =1.16
7+ yarn_mappings =1.16+build.1
8+ loader_version =0.8.8 +build.202
99
1010# Mod Properties
1111 mod_version = 2.3.7-pre6
@@ -14,4 +14,4 @@ org.gradle.jvmargs=-Xmx1G
1414
1515# Dependencies
1616 # also check this on https://modmuss50.me/fabric.html
17- fabric_version =0.11.8 +build.357 -1.16
17+ fabric_version =0.13.1 +build.370 -1.16
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public static void crack(OnCrack Callback){
9393 public static void onEntityCreation (EntitySpawnS2CPacket packet ) {
9494 if (packet .getEntityTypeId () == EntityType .ITEM && SeedCracker .expectedItems >0 ) {
9595
96- long rand_val = (long ) ((Math .atan2 (packet .getVelocityz (), packet .getVelocityX ()) + Math .PI ) / (Math .PI * 2 ) * ((float ) (1 << 24 )));
96+ long rand_val = (long ) ((Math .atan2 (packet .getVelocityZ (), packet .getVelocityX ()) + Math .PI ) / (Math .PI * 2 ) * ((float ) (1 << 24 )));
9797 long top_bits = rand_val ;
9898 short value = (short ) (((top_bits >> (24 - 4 )) ^ 0x8L )&0xFL );//INSTEAD OF ^0x8L MAYBE DO +math.pi OR SOMETHING ELSE
9999 SeedCracker .bits [20 -SeedCracker .expectedItems ]=(long )value ;//could be improved
You can’t perform that action at this time.
0 commit comments