HACKING MINECRAFT. LET’S OVERCLOCK sudo raspi-config Change 7: Over clock 900Mhz at max Change 8: Select memory share = 128MB.

Slides:



Advertisements
Similar presentations
The Important Thing About By. The Important Thing About ******** The important thing about ***** is *****. It is true s/he can *****, *****, and *****.
Advertisements

COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
MINECRAFT MOD PROGRAMMING Part III of Minecraft: Pi Edition October 31, 2015.
Def f(n): if (n == 0): return else: print(“*”) return f(n-1) f(3)
V Avon High School Tech Club Agenda Old Business –Executive Committee –LCCUG meeting volunteer(s) –Reward Points Program New Business –Weekly.
Blockly Minecraft Task 1 ) Please copy the example task. Task by task
S A B D C T = 0 S gets message from above and sends messages to A, C and D S.
How to install the Zelle graphics package
Installing Hugs on Windows March 31, Installing Hugs Go to Click on the Hugs link under implementations.
Javascript & HTML5 Intro. Why Javascript? Next big thing in online games Flash is slowly on its way out Can be coded via any text editor, flash costs.
Python Basic Syntax. Basic Syntax - First Program 1 All python files will have extension.py put the following source code in a test.py file. print "Hello,
SliTaz GNU/Linux is a free operating system working completely in memory from removable media such as a CD rom or USB key. It is light, speedy and fully.
Hey, Ferb, I know what we’re gonna do today! Aims: Use formatted printing. Use the “while” loop. Understand functions. Objectives: All: Understand and.
Helping Plants Grow Well
Run your first C program.  Bring your computers to class  No prior programming experience is needed  Hours spent  Sakai  TAs.
Water Pollution How water polluted in world? Effects of water pollution.
Small Business Campaign. Messaging I want it all, because sometimes I have to do it all.
Save Her Save Her Save Her I SAID SAVE HER!.
Programming for GCSE 1.0 Beginning with Python T eaching L ondon C omputing Margaret Derrington KCL Easter 2014.
Make a dice challenge! This is a starter activity and should take 5 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.Copy the code below in.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
ALAN….ALAN… ALAN. WHO IS ALAN TURING?
Python module distribution. Modules in Python Modules are everywhere.
Lecture 2 Conditional Statement. chcslonline.org Conditional Statements in PHP Conditional Statements are used for decision making. Different actions.
Hacking Minecraft on the Raspberry Pi using Python
HACKING MINECRAFT.
As we explore the beautiful outdoors lets create some patterns! Click the birdhouse to enter our world of patterns!
Introduction to Eclipse Programming with an Integrated Development Environment.
Introduction to Minecraft Pi Aims: To know what Minecraft is To learn how to enter code into Minecraft Pi To successfully enter at least 2 Python programs.
Web Scraping with Python and Selenium. What is Web Scraping?  Software technique for extracting info from websites Get information programmatically that.
Main Parts of a Flowering Plant 2 nd Grade By: Christina Mitchell IRED 320.
HACKING MINECRAFT 1. LET’S OVERCLOCK Type sudo raspi-config Change 7: Over clock 900Mhz at max Change 8: Select memory share = 128MB.
Unit 3. Care for the Earth. the earth cut down trees.
Hacking Minecraft on the Raspberry Pi using Python Lesson 2 1.
Lecture 6: Basic Entities TEALS MINECRAFT PROJECT.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
IF STATEMENTS AND BOOLEAN EXPRESSIONS. BOOLEAN EXPRESSIONS Evaluate to a value of true or false Use relational or equivalence operators Boolean operators.
Login using your own username and password Go to programming -> geany Enter the following program: Open LX Terminal, enter these 2 commands from mcpi.minecraft.
LEARNING SCRATCH: PRESENTATION 4 PRESENTATION 1: GETTING STARTED 1 Broadcast Messages Today, we'll learn how to get our sprites to act together, and build.
Venture A guide to Advance ing
Student Monmouth College
Final Project 6 Submission
Perl A simple test.
Attach In Gmail very Easily
Hacking Minecraft on the Raspberry Pi using Python
Matlab Diary Matlab allows you to keep a log or diary of your work.
Hacking Minecraft on the Raspberry Pi using Python
Hacking Minecraft on the Raspberry Pi using Python
Use proper case (ie Caps for the beginnings of words)
TJC (The Joint Commission) Report Generating Feature…
Vinod Kulathumani West Virginia University
Hacking Minecraft on the Raspberry Pi using Python
4/21.
Python programming exercise
Ашық сабақ 7 сынып Файлдар мен қапшықтар Сабақтың тақырыбы:
Windows басқару элементтері
CSCI N207 Data Analysis Using Spreadsheet
Programming In Lesson 4.
Move this box to see the hints (there are two hints for this code)
More to Learn Creating a shortcut
CLICK TO START.
Input and Output Python3 Beginner #3.
CLICK TO START.
Accessing SMIRF Please go to: mwr. army
Project Name name.
if-then-else Conditional Control Statement
The for Loop © 2018 Kris Jordan.
Call Now : Click : -
Call Now : Click : -
Call Now : Click : -
Presentation transcript:

HACKING MINECRAFT

LET’S OVERCLOCK sudo raspi-config Change 7: Over clock 900Mhz at max Change 8: Select memory share = 128MB

HACKING MINECRAFT In the LX Terminal: sudo idle Open a ‘new’ window Type the code and click save Save into the PI/Home folder Pess F5 to save and run the code

SENDING A MESSAGE import sys sys.path.append("./mcpi/api/python/mcpi") import minecraft mc = minecraft.Minecraft.create() mc.postToChat("Hello world")

WHERE AM I? import sys import time sys.path.append("./mcpi/api/python/mcpi") import minecraft mc = minecraft.Minecraft.create() while True: time.sleep(1.0) pos = mc.player.getPos() print pos.x, pos.y, pos.z

TELEPORTATION import sys sys.path.append("./mcpi/api/python/mcpi") import minecraft mc = minecraft.Minecraft.create() x, y, z = mc.player.getPos() mc.player.setPos(x, y+100, z) TRY TELEPORTING SOMEWHERE ELSE

PLANTING A FLOWER import sys import time sys.path.append("./mcpi/api/python/mcpi") import minecraft mc = minecraft.Minecraft.create() flower = 38 while True: x, y, z = mc.player.getPos() mc.setBlock(x, y, z, flower) time.sleep(0.1)

10 x 10 x10 BLOCK import sys import time sys.path.append("./mcpi/api/python/mcpi") import minecraft mc = minecraft.Minecraft.create() stone = 1 x, y, z = mc.player.getPos() mc.setBlocks(x+1, y+1, z+1, x+11, y+11, z+11, stone)

WALKING ON WATER import sys import time sys.path.append("./mcpi/api/python/mcpi") import minecraft mc = minecraft.Minecraft.create() x, y, z = mc.player.getPos() blockBelow = mc.getBlock(x, y – 1, z) Water = 9 Ice = 79 If blockBelow == water: mc.setBlock(x, y – 1, z, ice)