Difference between revisions of "Code Snippets"
Jump to navigation
Jump to search
m (Added a mirror for Minecraft Skin Preview Creation) |
m (Replace dead link with archive.org snapshot) |
||
Line 4: | Line 4: | ||
* Minecraft Skin Preview Creation [ Python, PHP ]: https://web.archive.org/web/20120708072121/http://w.tkte.ch/minecraft/skin_previews '''Archived page''' | * Minecraft Skin Preview Creation [ Python, PHP ]: https://web.archive.org/web/20120708072121/http://w.tkte.ch/minecraft/skin_previews '''Archived page''' | ||
* zlib chunk decompression [ C ]: http://wiki.vg/Chunk_data_decompressing_%28Zlib%29 | * zlib chunk decompression [ C ]: http://wiki.vg/Chunk_data_decompressing_%28Zlib%29 | ||
− | * Java Hex Digest SHA-1 Hash Creation [ C# ]: https://gist.github.com/SirCmpwn/6d78aa1efd40124019ae | + | * Java Hex Digest SHA-1 Hash Creation [ C# ]: https://web.archive.org/web/20151022210954/https://gist.github.com/SirCmpwn/6d78aa1efd40124019ae |
* Slot Data Parsing [ C# ]: https://gist.github.com/SirCmpwn/860056fcc7da1036ebf3 | * Slot Data Parsing [ C# ]: https://gist.github.com/SirCmpwn/860056fcc7da1036ebf3 | ||
* Nibble array storage for chunk metadata, block light, sky light, etc [ C# ]: https://gist.github.com/SirCmpwn/17f848aa8ae87da7427f | * Nibble array storage for chunk metadata, block light, sky light, etc [ C# ]: https://gist.github.com/SirCmpwn/17f848aa8ae87da7427f | ||
* Minecraft protocol data types [ C# ]: https://gist.github.com/SirCmpwn/f97a066a0f05f750f32e | * Minecraft protocol data types [ C# ]: https://gist.github.com/SirCmpwn/f97a066a0f05f750f32e | ||
* Fluid dynamics simulation (water, lava) [ C# ]: https://github.com/SirCmpwn/TrueCraft/blob/4f66305ad9239477e26e0a23930c881f75c30edb/TrueCraft.Core/Logic/Blocks/FluidBlock.cs | * Fluid dynamics simulation (water, lava) [ C# ]: https://github.com/SirCmpwn/TrueCraft/blob/4f66305ad9239477e26e0a23930c881f75c30edb/TrueCraft.Core/Logic/Blocks/FluidBlock.cs |
Revision as of 06:37, 25 September 2019
Code Snippets
- Yggdrasil Authentication [ Python3 ]: https://gist.github.com/nickelpro/7015554
- Minecraft Skin Preview Creation [ Python, PHP ]: https://web.archive.org/web/20120708072121/http://w.tkte.ch/minecraft/skin_previews Archived page
- zlib chunk decompression [ C ]: http://wiki.vg/Chunk_data_decompressing_%28Zlib%29
- Java Hex Digest SHA-1 Hash Creation [ C# ]: https://web.archive.org/web/20151022210954/https://gist.github.com/SirCmpwn/6d78aa1efd40124019ae
- Slot Data Parsing [ C# ]: https://gist.github.com/SirCmpwn/860056fcc7da1036ebf3
- Nibble array storage for chunk metadata, block light, sky light, etc [ C# ]: https://gist.github.com/SirCmpwn/17f848aa8ae87da7427f
- Minecraft protocol data types [ C# ]: https://gist.github.com/SirCmpwn/f97a066a0f05f750f32e
- Fluid dynamics simulation (water, lava) [ C# ]: https://github.com/SirCmpwn/TrueCraft/blob/4f66305ad9239477e26e0a23930c881f75c30edb/TrueCraft.Core/Logic/Blocks/FluidBlock.cs