-
Notifications
You must be signed in to change notification settings - Fork 7
WorldObjectWrapper
The WorldObjectWrapper does not contain any accessible fields.
World internal();
List<String> getOwnPropertyNames();
EntityObjectWrapper newEntity(String identifier);
EntityObjectWrapper newEntity(CompoundTagWrapper nbt);
EntityObjectWrapper newEntity(String identifier, CompoundTagWrapper nbt);
Object eval(String script);
int command(String command);
List<EntityObjectWrapper> getEntities(String selector);
EntityObjectWrapper getEntity(String selector);
List<EntityObjectWrapper> getEntitiesByName(String name);
EntityObjectWrapper getEntityByName(String name);
BlockStateObjectWrapper getBlockState(int x, int y, int z);
BlockStateObjectWrapper getBlockState(MutableBlockPos pos);
BlockStateObjectWrapper getBlockState(BlockPos pos);
BlockObjectWrapper getBlock(int x, int y, int z);
BlockObjectWrapper getBlock(MutableBlockPos pos);
BlockObjectWrapper getBlock(BlockPos pos);
void setBlock(BlockPos pos, String type);
void setBlock(BlockPos pos, IBlockState blockState);
void setBlock(MutableBlockPos pos, IBlockState blockState);
void setBlock(MutableBlockPos pos, BlockObjectWrapper blockObjectWrapper);
void setBlock(MutableBlockPos pos, BlockStateObjectWrapper blockStateObjectWrapper);
void setBlock(int x, int y, int z, String type);
void setBlock(int x, int y, int z, IBlockState blockState);
void setBlock(int x, int y, int z, BlockObjectWrapper blockObjectWrapper);
void setBlock(int x, int y, int z, BlockStateObjectWrapper blockStateObjectWrapper);
float getBrightness(int x, int y, int z);
float getBrightness(MutableBlockPos pos);
float getBrightness(BlockPos pos);
ScoreboardObjectWrapper getScoreboard();
void setTime(long time);
long getTime();
long getTotalTime();
long getSeed();
GameRulesObjectWrapper getGameRules();
WorldBorderObjectWrapper getWorldBorder();
CompoundTagWrapper getData();
The WorldObjectWrapper class can be found here.
Talecraft Scripting Wiki