Optionaltodo: numberOptionaltodo: numberDestroys block on coords by entity using specified item or without it.
whether to provide drop for the block or not
OptionalentityUid: numberentity ID or -1 ID if entity is not specified
Optionalitem: 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.
OptionalentityUid: numberentity ID or -1 ID if entity is not specified
Optionalitem: ItemInstancetool which broke block
Same as breakBlock, but returns object containing drop and experience.
tool which broke block
Optionaltype: numberentity type, since 2.3.1b115 could be used
to fetch all entities via 0 or 256
Optionalblacklist: 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.
Optionaltype: numberentity type, since 2.3.1b115 could be used
to fetch all entities via 0 or 256
Optionalblacklist: 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.
Optionaldata: 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
Optionalextra: 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.
OptionalinitData: stringStaticgetBlockSource for the current client.
StaticgetBlockSource for world generation.
StaticgetInterface 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).
StaticgetInterface to given dimension by default
(null if given dimension is not loaded and this interface
was not created yet).
StaticgetStaticgetStaticresetCopyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
New class to work with world instead of some methods from World module.