-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create tile entity topping #20
Conversation
Pokechu22
commented
Oct 30, 2016
- Lists all tile entities
- Finds the update tile entity packet (all versions >= 13w41a)
- Lists the numeric ID used in the update tile entity packet
- Lists the blocks associated with each tile entity (1.9+)
* Finds the update tile entity packet (all versions >= 13w41a) * Lists all tile entities * Lists the blocks associated with each tile entity * Lists the numeric ID used in the update tile entity packet
PEP8? :) |
Done except for some cases where lines are longer than 79 chars, because in those cases I feel like it would be more messy to try and split the line than to keep it as is. |
I'm an annoying stickler when it comes to PEP8, sorry about that. I'm also a stickler for 80 characters because [in python] I find if I'm going over that I've almost always made something more complex than it needs to be. This would be just fine for example (I think, just doing it on the phone :))
This has no problem being two lines:
I'm surprised your editor is not yelling at you for the wildcard import, it's evil (yeah I know I've done it places too :() and makes static analysis so much harder (most tools just straight up won't be able to tell you if you have unused variables):
Always treat print as a function, it's a simple thing that keeps it forward and backwards compatible:
I will try to go through burger and cleanup some of these things when I get a chance, I haven't been reviewing as well as I should have been, sorry. |
How about this, though?
How should I split that onto multiple lines? It seems like it's possible to split it, but I'm not sure how I should be doing that stylistically. Should I be doing this:
Or this:
Or something else? Also, with |
I completely forgot about this PR, my apologies @Pokechu22. Is this still up to date with the current jars? |
Yep, still up to date (including listing bed as a tile entity now, which it is). |
Add bitfield extraction. Closes TkTech#17.
Add bitfield extraction. Closes #17.