<commit_before># mcpipy.com retrieved from URL below, written by astrotutor
# http://www.minecraftforum.net/topic/1698103-camerasetpos-not-working-magic-trick/

from .. import minecraft
import time as time

mc = minecraft.Minecraft.create()

# Find player position
playerPos = mc.player.getPos()

#Find block type below player
Block = mc.getBlock(playerPos.x, playerPos.y - 1, playerPos.z) 

# Set camera to above player position
mc.camera.setFollow()

# Build 1st wall across in front to right

length = 0
height = 0

while length < 5:
<commit_msg>Update astrotutor_magic.py<commit_after># mcpipy.com retrieved from URL below, written by astrotutor
# http://www.minecraftforum.net/topic/1698103-camerasetpos-not-working-magic-trick/

import mcpi.minecraft as minecraft
import time as time

mc = minecraft.Minecraft.create()

# Find player position
playerPos = mc.player.getPos()

#Find block type below player
Block = mc.getBlock(playerPos.x, playerPos.y - 1, playerPos.z) 

# Set camera to above player position
mc.camera.setFollow()

# Build 1st wall across in front to right

length = 0
height = 0

while length < 5:

{'fraction_non_alphanumeric': 0.09634255129348795, 'fraction_numerical': 0.021409455842997322, 'mean_word_length': 4.394230769230769, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7289520', 'n_tokens_mistral': 400, 'n_tokens_neox': 372, 'n_words': 114}