Make your own eBooks

Use our Remix App to mix & match content. In minutes make your own course packs, training bundles, custom travel guides, you name it. Even add your own title & cover.

Education
Research
Travel
Health

Slices & Articles Get by the slice or add to your own ebook

Medium 9781574415049

Aruba, One Happy Island

Matt Miller University of North Texas Press PDF
Medium 9781491918890

5. Movement

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 SuperJump. Register it in the main file to activate the mod. The event handler method code that needs to be added to this class is shown in Example 5-1.

See All
Medium 9781847771247

Marriage Vows of a Rom to a Gadji

David Morley Carcanet Press Ltd. PDF
Medium 9781449321161

Administration Tools

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
Medium 9781857547597

The Cummerbund: An Indian Poem

Edward Lear Carcanet Press Ltd. PDF

See All Slices