java.lang.CloneableAgeable, AnaloguePowerable, Attachable, Bed, Bisected, BrewingStand, BubbleColumn, Cake, Chest, Cocoa, CommandBlock, Comparator, CoralWallFan, DaylightDetector, Directional, Dispenser, Door, EnderChest, EndPortalFrame, Farmland, Fence, Fire, Furnace, Gate, GlassPane, Hopper, Jukebox, Ladder, Leaves, Levelled, Lightable, MultipleFacing, NoteBlock, Observer, Openable, Orientable, Piston, PistonHead, Powerable, Rail, RedstoneRail, RedstoneWallTorch, RedstoneWire, Repeater, Rotatable, Sapling, SeaPickle, Sign, Slab, Snow, Snowable, Stairs, StructureBlock, Switch, TechnicalPiston, TrapDoor, Tripwire, TripwireHook, TurtleEgg, WallSign, Waterloggedpublic interface BlockData
extends java.lang.Cloneable
| Modifier and Type | Method | Description |
|---|---|---|
BlockData |
clone() |
Returns a copy of this BlockData.
|
java.lang.String |
getAsString() |
Gets a string, which when passed into a method such as
Server.createBlockData(java.lang.String) will unambiguously
recreate this instance. |
Material |
getMaterial() |
Get the Material represented by this block data.
|
Material getMaterial()
java.lang.String getAsString()
Server.createBlockData(java.lang.String) will unambiguously
recreate this instance.BlockData clone()
Copyright © 2018. All rights reserved.