Skip to content

Commit

Permalink
Version 1.1.5
Browse files Browse the repository at this point in the history
Aether Legacy did some refactors for Version 3.1... some weird
refactors...

Anyway, this update is simply to support Aether Legacy 3.1. Dropped
support for older versions, because I kinda had to.
  • Loading branch information
Shnupbups committed Jul 23, 2018
1 parent 8630c13 commit 55a7ce8
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ 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.1.4"
version = "1.1.5"
group = "shnupbups.tinkersaether" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "tinkersaether"

Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions src/main/java/shnupbups/tinkersaether/TinkersAether.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
import slimeknights.tconstruct.library.materials.BowMaterialStats;
import slimeknights.tconstruct.tools.TinkerMaterials;

@Mod(modid = TinkersAether.modid, name = TinkersAether.name, version = TinkersAether.version, acceptedMinecraftVersions = "[1.12.2]", dependencies = "required-after:mantle;required-after:tconstruct;required-after:aether_legacy;")
@Mod(modid = TinkersAether.modid, name = TinkersAether.name, version = TinkersAether.version, acceptedMinecraftVersions = "[1.12.2]", dependencies = "required-after:mantle;required-after:tconstruct;required-after:aether_legacy@[1.12.2-v3.1,);")
public class TinkersAether {
public static final String modid = "tinkersaether";
public static final String name = "Tinkers Aether";
public static final String version = "1.1.4";
public static final String version = "1.1.5";

@Mod.Instance(modid)
public static TinkersAether instance;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/shnupbups/tinkersaether/blocks/TABlock.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package shnupbups.tinkersaether.blocks;

import com.legacy.aether.registry.creative_tabs.AetherCreativeTabs;
import com.legacy.aether.mc1122.registry.creative_tabs.AetherCreativeTabs;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.util.math.BlockPos;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/shnupbups/tinkersaether/items/TAItem.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package shnupbups.tinkersaether.items;

import com.legacy.aether.registry.creative_tabs.AetherCreativeTabs;
import com.legacy.aether.mc1122.registry.creative_tabs.AetherCreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import shnupbups.tinkersaether.TinkersAether;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/shnupbups/tinkersaether/misc/OreDict.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package shnupbups.tinkersaether.misc;

import com.legacy.aether.blocks.BlocksAether;
import com.legacy.aether.items.ItemsAether;
import com.legacy.aether.mc1122.blocks.BlocksAether;
import com.legacy.aether.mc1122.items.ItemsAether;
import net.minecraft.item.ItemStack;
import net.minecraftforge.oredict.OreDictionary;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package shnupbups.tinkersaether.tools;

import com.google.common.collect.ImmutableList;
import com.legacy.aether.entities.projectile.darts.EntityDartEnchanted;
import com.legacy.aether.entities.projectile.darts.EntityDartGolden;
import com.legacy.aether.entities.projectile.darts.EntityDartPoison;
import com.legacy.aether.items.ItemsAether;
import com.legacy.aether.mc1122.entities.projectile.darts.EntityDartEnchanted;
import com.legacy.aether.mc1122.entities.projectile.darts.EntityDartGolden;
import com.legacy.aether.mc1122.entities.projectile.darts.EntityDartPoison;
import com.legacy.aether.mc1122.items.ItemsAether;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/shnupbups/tinkersaether/traits/Antigrav.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package shnupbups.tinkersaether.traits;

import com.legacy.aether.entities.block.EntityFloatingBlock;
import com.legacy.aether.mc1122.entities.block.EntityFloatingBlock;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.math.BlockPos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package shnupbups.tinkersaether.traits;

import com.legacy.aether.items.ItemsAether;
import com.legacy.aether.mc1122.items.ItemsAether;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityItem;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/shnupbups/tinkersaether/traits/Festive.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package shnupbups.tinkersaether.traits;

import com.legacy.aether.items.ItemsAether;
import com.legacy.aether.mc1122.items.ItemsAether;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityItem;
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/shnupbups/tinkersaether/traits/Gilded.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package shnupbups.tinkersaether.traits;

import com.legacy.aether.blocks.BlocksAether;
import com.legacy.aether.blocks.util.EnumLogType;
import com.legacy.aether.items.ItemsAether;
import com.legacy.aether.mc1122.blocks.BlocksAether;
import com.legacy.aether.mc1122.blocks.util.EnumLogType;
import com.legacy.aether.mc1122.items.ItemsAether;
import net.minecraft.block.properties.PropertyEnum;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/shnupbups/tinkersaether/traits/Rooted.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package shnupbups.tinkersaether.traits;

import com.legacy.aether.Aether;
import com.legacy.aether.universal.AetherUtil;
import net.minecraft.block.properties.PropertyBool;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
Expand All @@ -25,8 +25,8 @@ public void afterBlockBreak(ItemStack tool, World world, IBlockState state, Bloc
if(entity instanceof EntityPlayer) {
EntityPlayer player = (EntityPlayer)entity;
if(tool.getDestroySpeed(world.getBlockState(pos)) > 1.0f || ForgeHooks.isToolEffective(world, pos, tool)) {
if(state.getProperties().containsKey(PropertyBool.create(Aether.doubleDropNotifier()))) {
boolean dropDouble = state.getValue(PropertyBool.create(Aether.doubleDropNotifier())).equals(true);
if(state.getProperties().containsKey(PropertyBool.create(AetherUtil.doubleDropName()))) {
boolean dropDouble = state.getValue(PropertyBool.create(AetherUtil.doubleDropName())).equals(true);
if(dropDouble && !world.isRemote) {
NonNullList<ItemStack> drops = NonNullList.create();
state.getBlock().getDrops(drops, world, pos, state, 0);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/shnupbups/tinkersaether/traits/Swetty.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package shnupbups.tinkersaether.traits;

import com.legacy.aether.entities.passive.mountable.EntitySwet;
import com.legacy.aether.mc1122.entities.passive.mountable.EntitySwet;
import net.minecraft.block.state.IBlockState;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.item.ItemStack;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/mcmod.info
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"modid": "tinkersaether",
"name": "Tinker's Aether",
"description": "Adds Aether materials and stuff to Tinker's Construct.",
"version": "1.1.4",
"version": "1.1.5",
"mcversion": "${mcversion}",
"url": "",
"updateUrl": "",
Expand Down

0 comments on commit 55a7ce8

Please sign in to comment.