Slices & Articles Get by the slice or add to your own ebook
|Matt Miller||University of North Texas Press|
|Arun Gupta||O'Reilly Media||ePub|
Most entities in Minecraft—such as creepers, pigs, and zombies—move in the game. But they don’t have the capability to jump or get damaged when they fall. Also, none of the entities except spiders can climb up walls, and spiders can climb only up to three blocks high. In this chapter, you’ll learn how to change all this by modding the movement of the player.
First, you will make the player jump much higher; then you will add a parachute so that the player can avoid fall damage. Finally, you will make a mod that lets snow golems and iron golems climb up walls to reach hostile mobs that they can kill.
A Minecraft player can normally jump up to 1.252 blocks. This is typically done to jump over a block or get out of a cave. But what if you were to jump over a cliff that is much higher or a cave that is much deeper? This mod will give you the ability to jump much higher and reach new heights.
First, make a new class and call it
|David Morley||Carcanet Press Ltd.|
|Paul Ferrill||O'Reilly Media||ePub|
In this chapter, Im going to dive deeper into building applications with more functionality. In reality, that means Ill be writing some code to make these sample apps do more when it comes to filtering and displaying data. While Visual Studio LightSwitch supports both C# and Visual Basic, Ill be using Visual Basic for all the code examples.
Ill also introduce you to LightSwitch extensions and using Silverlight to spruce things up a bit. Extensions make it possible to add features to Visual Studio LightSwitch to enhance the out-of-the-box capabilities. Examples Ill be using include the LightSwitch Filter control extension for filtering query results. In Chapter5, Ill use the Excel export extension for two separate examples. Both of these free extensions are available on the Microsoft Visual Studio Gallery website under the LightSwitch section (http://visualstudiogallery.msdn.microsoft.com/).
On the same site, youll find an entire third-party ecosystem built around extensions for mainstream Visual Studio. Many of those same vendors are adapting their products for use with LightSwitch. Ill use one of those in Chapter5 to connect to a Google data source. Microsoft provided a cookbook for developing Visual Studio LightSwitch extensions during the beta period of the product and now offers a number of tutorials and samples to help you write your own.See All
|Edward Lear||Carcanet Press Ltd.|
Business & Economics