C# Class OpenMinecraft.Block

Datei anzeigen Open project: N3X15/MineEdit Class Usage Examples

Public Properties

Property Type Description
Bottom BlockSide
Color Color
Emit byte
FromImage string
ID short
Image System.Drawing.Bitmap
Name string
Sides BlockSide
Stop byte
Top BlockSide

Public Methods

Method Description
Block ( ) : System
Block ( byte id, string name, Bitmap image, Color color ) : System
SideVisible ( Block adjacent ) : bool
ToString ( ) : string

Method Details

Block() public method

public Block ( ) : System
return System

Block() public method

public Block ( byte id, string name, Bitmap image, Color color ) : System
id byte
name string
image System.Drawing.Bitmap
color Color
return System

SideVisible() public method

public SideVisible ( Block adjacent ) : bool
adjacent Block
return bool

ToString() public method

public ToString ( ) : string
return string

Property Details

Bottom public_oe property

public BlockSide,OpenMinecraft Bottom
return BlockSide

Color public_oe property

public Color Color
return Color

Emit public_oe property

Emits light
public byte Emit
return byte

FromImage public_oe property

public string FromImage
return string

ID public_oe property

Item ID #.
public short ID
return short

Image public_oe property

Bitmap image of the object's icon.
public Bitmap,System.Drawing Image
return System.Drawing.Bitmap

Name public_oe property

Item's name
public string Name
return string

Sides public_oe property

public BlockSide,OpenMinecraft Sides
return BlockSide

Stop public_oe property

Stops light
public byte Stop
return byte

Top public_oe property

public BlockSide,OpenMinecraft Top
return BlockSide