Optional
todo: numberOptional
todo: numberDestroys block on coords by entity using specified item or without it.
whether to provide drop for the block or not
Optional
entityUid: numberentity ID or -1 ID if entity is not specified
Optional
item: ItemInstancetool which broke block
Destroys block on coords by entity using specified item.
whether to provide drop for the block or not
tool which broke block
Same as breakBlock, but returns object containing drop and experience.
Optional
entityUid: numberentity ID or -1 ID if entity is not specified
Optional
item: ItemInstancetool which broke block
Same as breakBlock, but returns object containing drop and experience.
tool which broke block
Optional
type: numberentity type, since 2.3.1b115 could be used
to fetch all entities via 0
or 256
Optional
blacklist: booleanIterator of entity IDs in given box,
that are equal to the given type, if blacklist value is false
,
and all except the entities of the given type, if blacklist value is true
.
entity namespace, e.g. "minecraft"
entity type, e.g. "chicken"
Iterator of entity IDs in given box, that are equal to the given type.
namespaced entity type, e.g. "minecraft:chicken"; if there is no namespace, default "minecraft" will be used instead, e.g. "chicken"
Iterator of entity IDs in given box, that are equal to the given type.
X coord of the block
Y coord of the block
Z coord of the block
Object of the block on given coords or Tile object in Legacy pack.
Interface to the vanilla TileEntity (chest, furnace, etc.) on the coords, and null if it's not found.
Object of the extra block on given coords.
Optional
type: numberentity type, since 2.3.1b115 could be used
to fetch all entities via 0
or 256
Optional
blacklist: booleanList of entity IDs in given box,
that are equal to the given type, if blacklist value is false
,
and all except the entities of the given type, if blacklist value is true
.
entity namespace, e.g. "minecraft"
entity type, e.g. "chicken"
List of entity IDs in given box, that are equal to the given type.
namespaced entity type, e.g. "minecraft:chicken"; if there is no namespace, default "minecraft" will be used instead, e.g. "chicken"
List of entity IDs in given box, that are equal to the given type.
Sets block on coords.
ID of the block to set
data of the block to set
Sets block on coords.
ID of the block to set
Sets block by given BlockState on coords.
Sets extra block (for example, water inside another blocks), on given coords by given ID and data.
Optional
data: numberSets extra block (for example, water inside another blocks), on given coords by given BlockState.
Creates dropped item and returns entity ID.
ID of the item to drop
count of the item to drop
data of the item to drop
Optional
extra: ItemExtraDataextra of the item to drop
Drop entity ID.
Spawns entity of given numeric or namespaced type on coords.
numeric entity type, e.g. EEntityType.CHICKEN
or
namespaced type with possible ommitions, e.g. "minecraft:chicken:",
"minecraft:chicken", "chicken" does same
Spawns entity of given namespace by string type on coords with optional spawn events data.
Optional
initData: stringStatic
getBlockSource for the current client.
Static
getBlockSource for world generation.
Static
getInterface to the dimension where the given entity is
(null
if given entity does not exist or the dimension is not loaded
and interface was not created).
Static
getInterface to given dimension by default
(null
if given dimension is not loaded and this interface
was not created yet).
Static
getStatic
getStatic
resetCopyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
New class to work with world instead of some methods from World module.