---
title:  "WoL 2.0.0 is Released"
date:   2018-05-01 12:00:00
categories: release
excerpt_separator: <!--more-->
author: mickkay
layout: post
---
We proudly announce the release of Wizards of Lua 2.0.0. This is finally our first non-alpha release!
We have been working towards this for about 2 years.
<!--more-->

This release brings a lot of changes. Among them are some that break backwards compatibility, so sorry for that.
For example, the Spell class not not a subclass of Entity anymore. Instead it became a subclass of VirtualEntity.
This was necessary because of some changes in Forge from MC 1.11.2 to 1.12.2.
But anyway, everything is better now.

As you might have already realized, release 2.0.0 makes also the big step to Minecraft 1.12.2.

Here is the list of changes.

* Fixed [#141](https://github.com/wizards-of-lua/wizards-of-lua/issues/141) - Update to Minecraft 1.12.2.
* Fixed [#161](https://github.com/wizards-of-lua/wizards-of-lua/issues/161) - Add Entity.sneaking.
* Added [UseItemStartEvent](/modules/UseItemStartEvent), [UseItemStopEvent](/modules/UseItemStopEvent), and [UseItemTickEvent](/modules/UseItemTickEvent).
* Fixed [#169](https://github.com/wizards-of-lua/wizards-of-lua/issues/169) - 500 Internal Server Error when opening file in web editor.
* Fixed [#168](https://github.com/wizards-of-lua/wizards-of-lua/issues/168) - An exeption in an event interceptor can crash the server.
* Fixed [#154](https://github.com/wizards-of-lua/wizards-of-lua/issues/154) - Add a World API.
* Fixed [#172](https://github.com/wizards-of-lua/wizards-of-lua/issues/172) - Add function to get the nearest village.
* Fixed [#173](https://github.com/wizards-of-lua/wizards-of-lua/issues/173) - Add Spells module for finding spell entities.
* Fixed [#145](https://github.com/wizards-of-lua/wizards-of-lua/issues/145) - Rename Events.connect and Events.subscribe. The new function names are now: [Events.collect](/modules/Events#collect) and [Events.intercept](/modules/Events#intercept).
* Fixed [#166](https://github.com/wizards-of-lua/wizards-of-lua/issues/166) - Add Lua module that gives the WoL version information.
* Fixed [#164](https://github.com/wizards-of-lua/wizards-of-lua/issues/164) - Links to edit suggested files don't work when running WoL on Windows.
* Fixed [#171](https://github.com/wizards-of-lua/wizards-of-lua/issues/171) - Error " Fatally missing registry entries" for Forge clients in MC 1.12.2.
* Fixed [#177](https://github.com/wizards-of-lua/wizards-of-lua/issues/177) - Migrate SpellEntity to be a subclass of a "virtual" entity.
