Hey, seriously, read this wall of text before using my mod
- I Wont use FScript anymore, will be switching to Java scripting
- I will make a CPU Version which loads .class files. ISNT THAT AWESOME?
Redstone IO will be delayed, because FScript doesnt have the requirements i need
Weather will maybe be added to 2.3
The Programmable CPU Block is a mod which adds a new scripting language into Minecraft.
Fixed the GUI Issue, Horray!
Now using a "trigger" to run script (look under this Quote for sample script)
Updated to 1.5_01
Updated folder structure (Now place scritps in SAVES/(YOUR SAVE)/cpu/script)
func onTrigger(int global, int x, int y, int z, int random) BlockPos(x, y+1, z, 1) if global==0 BlockSpawn() ChatMessage("Floodgate ON") return 1 elseif global==1 BlockDel() ChatMessage("Floodgate OFF") return 0 endif endfunc
Its very easy to learn and easy to implement into Java, Thats why i choosed it
Remember that this works on 1.5_01 and not on Multiplayer.
Break() #Stops the script BlockPos(int X, int Y, int Z, int BlockID) #Set XYZ where the block BlockID shall spawn BlockSpawn() #Spawn the block BlockDel() #Replaces the selected block with Air ChatMessage(String Chatmessage) #Add text to Chat ChatGlowMessage(String Chatmessage) #Make the text glow (Like the "Now Playing: Cat") PlayerHealth(int Health) #Change the health of the player PlayerJump() #Make the Player Jump PlayerHurt() #Hurt the player 2 Lifes WorldTime(int Time) #Change the world time