Coder Social home page Coder Social logo

xboxone08 / making_mcpi_real Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 0.0 6.67 MB

This plugin for Minecraft: Pi edition aims to "update" it to be more like newer versions of Minecraft Bedrock Edition

Python 100.00%
mcpi minecraft-pi-edition minecraft-plugin python3

making_mcpi_real's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Medhansh Choudhury
  • ๐Ÿ‘€ Iโ€™m interested in Python in general
  • ๐ŸŒฑ Iโ€™m currently learning how to use GitHub properly (just look at my repository histories and you'll know what I mean)
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on my repository making_mcpi_real because I'm too dumb for this
  • ๐Ÿ“ซ I'm available at xboxone08#9868 on Discord or Discussions for a specific repository

making_mcpi_real's People

Contributors

xboxone08 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

making_mcpi_real's Issues

The coded "3rd person mode" fails to switch back randomly with one of two errors

Pressing f5 switches back and forth between normal and the coded "3rd person mode". This sometimes errors out with:

Drained Data:  <b''>
Last Message: <events.block.hits()>
Traceback (most recent call last):
  File "foo_bar.py", line <irrelevant>, in <module>
    events = game.events.pollBlockHits()
  File "/usr/lib/python3/dist-packages/mcpi/minecraft.py", line 172, in pollBlockHits
    return [BlockEvent.Hit(*list(map(int, e.split(",")))) for e in events]
  File "/usr/lib/python3/dist-packages/mcpi/minecraft.py", line 172, in <listcomp>
    return [BlockEvent.Hit(*list(map(int, e.split(",")))) for e in events]
TypeError: Hit() missing 4 required positional arguments: 'y', 'z', 'face', and 'entityId'

or

Drained Data: <b'525'>
Last Message: <world.getPlayerIds()>
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self.kwargs)
  File "/usr/local/lib/python3.7/dist-packages/keyboard/_generic.py", line 58, in process
    if self.pre_process_event(event)
  File "/usr/local/lib/python3.7/dist-packages/keyboard/__init__.py", line 213, in pre_process_event
    key_hook(event)
  File "/usr/local/lib/python3.7/dist-packages/keyboard/__init__.py", line 516, in <lambda>
    return hook_key(key, lambda e: e.event_type == KEY_DOWN or callback(e), suppress=suppress)
  File "foo_bar.py", line <earlier_irrelevant>, in toggle_view
    game.camera.setFollow(game.getPlayerEntityIds()[0])
  File "usr/lib/python3/dist-packages/mcpi/minecraft.py", line 351, in getPlayerEntityIds
    return list(map(int, ids.split("|")))
ValueError: invalid literal for int() with base 10: ''

as mentioned in the issue on the mcpi repository.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.