Jump to content


viniciuslrangel's Content

There have been 6 items by viniciuslrangel (Search limited from 10-February 22)


By content type

See this member's

Sort by                Order  

#243875 [1.8]Creative Peripheral

Posted by viniciuslrangel on 22 January 2016 - 02:24 AM in Peripherals and Turtle Upgrades

View PostWaitdev_, on 22 January 2016 - 02:16 AM, said:

Now this is something i'm gonna use in my survival world! also, want some help with those textures? i'm not the best, but i can do something you can work off
My friend made a model for me, I'll implement later, anyways thanks. :D



#243861 [1.8]Creative Peripheral

Posted by viniciuslrangel on 21 January 2016 - 10:23 PM in Peripherals and Turtle Upgrades

This is a single peripheral that add minecraft world manipulation commands, such change block states(wip), change blocks, entity and blocks nbt(including players) and world properties.


Downloads: https://github.com/v...pheral/releases

Command already implements:
getPlayers([boolean uuid]) //Return all nick/uuid of the players
getWorlds() //Return all dimensions id and his names.
getWorldSeed() //Return world seed
getWorldTime(number dimension) //Return dimension time
isWorldBlockLoaded(number dimensionId, number x, number y, number z) //Check if the block's chunk is loaded
getBlock(number dimensionId, number x, number y, number z) //Return block name
getAllBlocksName() //Return table of all game's block
setBlock(number dimensionId, number x, number y, number z, name) //Set block
setBlockState //WIP
getBlockState(number dimensionId, number x, number y, number z) //Return table with blockstate
getBlockNbt(number dimensionId, number x, number y, number z) //Return table with nbt of this block, if he has TileEntity or false
setBlockNbt(number dimensionId, number x, number y, number z, json nbt) //Set block nbt using table getted in last command !!Warning. Can bug your game with invalid nbt!!
addBlockNbt(number dimensionId, number x, number y, number z, json nbt) //Plus block nbt with the argument nbt, I recommend you this instead setBlockNbt
getEntityList([number dimensionId, number x, number y, number z,] string match) //Get list with all entities UUID from the match minecraft's style (http://minecraft.gamepedia.com/Commands#Target_selector_arguments), default coord/world is 0,0,0,0
getPlayer(nick/uuid) //Return table with some player stats, but for more complexity action, use commands for change entity nbt.
getEntityNbt(UUID) //Return table with entity nbt.
setEntityNbt(UUID, nbt) //Set entity nbt !!Warning. Can bug your game with invalid nbt.!!addEntityNbt(UUID, nbt) //Plus entity nbt with the argument nbt, safer than setEntityNbt.
setEntityPosition(UUID, boolean relative, number x, number y, number z) //More efficient than change position via nbt.
setEntityRotation(UUID, boolean relative, number yaw, number pitch) //More efficient than change rotation via nbt.
setEntityVelocity(UUID, boolean relative, number x, number y, number z) //More efficient than change motion via nbt.


This mod still in WIP, I'll add new command and update to 1.8.9 later.

@Edit
This mod don't have texture yet.
@Edit2
Now have :D/>
@Edit3
Updated to 1.8.9 (check Github for new commands)


Sorry for my bad english.



#243700 Method return

Posted by viniciuslrangel on 20 January 2016 - 01:15 AM in Peripheral Help and Discussion

View PostSquidDev, on 19 January 2016 - 08:52 PM, said:

CC doesn't provide a way to attach a metatable. You are limited to either a basic lookup table (a map) or a series of functions (ILuaObject)
Oh... Okay... I will use lua program as interface, thanks.



#243649 Method return

Posted by viniciuslrangel on 19 January 2016 - 04:10 PM in Peripheral Help and Discussion

I'm writing a peripheral and callMethod function I can return a lua table using Map, but, how can I put metatable in this?



#231752 [MC 1.7.10][CC 1.74] CCLights2 v0.4.3 - THE graphical addon for ComputerCraft

Posted by viniciuslrangel on 03 September 2015 - 07:04 PM in Peripherals and Turtle Upgrades

Monitor and tablet are working?



#209889 read api

Posted by viniciuslrangel on 16 March 2015 - 09:59 PM in APIs and Utilities

This api make a limited read.

pastebin get XaUkiU5a readAPI

Example:
Spoiler


Deleting function wil be added later.