Skip to content

Commit

Permalink
Update to 1.12.2, fix west- and east-facing conveyors
Browse files Browse the repository at this point in the history
  • Loading branch information
falkreon committed Nov 14, 2017
1 parent d4bf7ba commit 4eaef90
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ apply plugin: 'net.minecraftforge.gradle.forge'

group = "io.github.elytra"
archivesBaseName = "Engination"
version = "MC1.12.0_ver1.07.01"
version = "MC1.12.2_ver1.07.02"

sourceCompatibility = 1.8
targetCompatibility = 1.8

minecraft {
//version = "1.11.2-13.20.0.2226";
//mappings = "snapshot_20170205";
version = "1.12-14.21.1.2443";
mappings = "snapshot_20170817";
//version = '1.12.1-14.22.0.2446'
version = '1.12.2-14.23.0.2542'
mappings = 'snapshot_20171114'
//mappings = 'snapshot_20170817'

runDir = "minecraft"

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/io/github/elytra/engination/Engination.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,9 @@
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.Mod.Instance;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.registry.EntityRegistry;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.oredict.OreDictionary;
import net.minecraftforge.oredict.ShapedOreRecipe;
import net.minecraftforge.registries.IForgeRegistry;
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/io/github/elytra/engination/Proxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@

public class Proxy {
public void preInit() {}

@SubscribeEvent
public void onModelRegister(ModelRegistryEvent e) {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ private void shootPlayer(World world, BlockPos pos, Entity ent) {
//double scale = 1.2d;
Vec3d motion = new Vec3d(vec.getX()*scale, vec.getY()*scale, vec.getZ()*scale);

ent.motionX = adjustScalar(ent.motionX, motion.y);
ent.motionY = adjustScalar(ent.motionY, motion.x);
ent.motionX = adjustScalar(ent.motionX, motion.x);
ent.motionY = adjustScalar(ent.motionY, motion.y);
ent.motionZ = adjustScalar(ent.motionZ, motion.z);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public ActionResult<ItemStack> onItemRightClick(World world, EntityPlayer player

if (!world.isRemote) {
EntityTomato tomato = new EntityTomato(world, player);
tomato.setHeadingFromThrower(player, player.rotationPitch, player.rotationYaw, 0.0F, 1.5F, 1.0F);
tomato.shoot(player, player.rotationPitch, player.rotationYaw, 0.0F, 1.5F, 1.0F);
//Adjustments are because newly-aggressive clientside collisions were causing premature tomato-face
tomato.posX += player.getLookVec().x*2f;
tomato.posY += player.getLookVec().y*1.5f;
Expand Down

0 comments on commit 4eaef90

Please sign in to comment.