Another Cleanup + Removal of GT-Harddep (#74)

* Update deps

* Fix generics

* Deobfuscate parameters

* Minor fixes

* Remove GT harddep

* Exclude GT6
This commit is contained in:
glowredman authored and GitHub committed 2024-03-26 19:45:31 +01:00
1 parent f7a608bf2b
commit 93dd3c91c2
51 files changed
+391 -400

No files matched your search

+4 -4
View File
@@ -111,7 +111,7 @@ public class ItemMaterials extends Item {
}
@Override
public void addInformation(ItemStack stack, EntityPlayer player, List result, boolean advanced) {
public void addInformation(ItemStack stack, EntityPlayer player, List<String> result, boolean advanced) {
switch (stack.getItemDamage()) {
case 16:
case 17:
@@ -152,7 +152,7 @@ public class ItemMaterials extends Item {
}
@SideOnly(Side.CLIENT)
public void getSubItems(Item item, CreativeTabs par2CreativeTabs, List list) {
public void getSubItems(Item item, CreativeTabs par2CreativeTabs, List<ItemStack> list) {
for (int i = 1; i <= 19; i++) {
list.add(new ItemStack(this, 1, i));
}
@@ -170,8 +170,8 @@ public class ItemMaterials extends Item {
- player.yOffset;
double playerZ = player.prevPosZ + ((player.posZ - player.prevPosZ) * f);
Vec3 playerLoc = Vec3.createVectorHelper(playerX, playerY, playerZ);
float f3 = MathHelper.cos((-f2 * 0.01745329F) - 3.141593F);
float f4 = MathHelper.sin((-f2 * 0.01745329F) - 3.141593F);
float f3 = MathHelper.cos((-f2 * 0.01745329F) - (float) Math.PI);
float f4 = MathHelper.sin((-f2 * 0.01745329F) - (float) Math.PI);
float f5 = -MathHelper.cos(-f1 * 0.01745329F);
float f6 = MathHelper.sin(-f1 * 0.01745329F);
float f7 = f4 * f5;