Skip to content

Commit 9ae56df

Browse files
committed
ImageMod for Minecraft 1.16 (#3)
* Removed duplicate root folder * removed irrellevant files * Included full mod src, bug fixes, boilerplate code for new structure creation system * Create README.md * Code refactoring and continued work on new structure creation system * Image creation now uses new structure creation system, also implementead threading for rastering * set Indent tabs 4 * Undo and redo stack set up. Whole image creation process now running as it's own thread. Added command success/failiure prompts * refactoring * Lower minecraft versions support added * Deleted leftover file * added forge files * Added readme * moved into forge folder * Added readme images ---------
1 parent e67775c commit 9ae56df

36 files changed

+14217
-0
lines changed

HOW_TO_USE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## How to use
2+
This mod has one main feature - **/image** command that lets you create images in your Minecraft world as a surface of blocks from files on your computer.
3+
4+
![Options for the /image command](res/options.png)
5+
6+
### Setup
7+
/image setDirectory <*DirectoryPath*> - Set a directory for your images to avoid copying & pasting full paths all the time! (*Suggestion is to use your downloads folder*)
8+
9+
![Options for the /image command](res/setup.png)
10+
11+
### Usage
12+
/image create <*ImagePath*> -width <*width*> - create image with a defined block width (height to scale)
13+
14+
/image create <*ImagePath*> -height <*height*> - create image with a defined block height (width to scale)
15+
16+
/image create <*ImagePath*> <*width*> <*height*> - create image with a defined block width & height
17+
18+
![Select an image to create](res/cmd1.png)
19+
![Choose the width and/or height in blocks](res/cmd2.png)
20+
![An example of a full command - "/image create 'mcr.jpg' -width 200"](res/cmd3.png)
21+
![Successful image creation prompt"](res/cmd4.png)
22+
![The views of the image created from a distance"](res/result.png)

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
# ImageMod
22
A simple mod for creation of pixel-art in Minecraft
3+
4+
## Minecraft 1.21+
5+
To read about how to use this mod in minecraft [click here](HOW_TO_USE.md)
6+
7+
## Installation
8+

forge/.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Disable autocrlf on generated files, they always generate with LF
2+
# Add any extra files or paths here to make git stop saying they
3+
# are changed when only line endings change.
4+
src/generated/**/.cache/cache text eol=lf
5+
src/generated/**/*.json text eol=lf

forge/.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# eclipse
2+
bin
3+
*.launch
4+
.settings
5+
.metadata
6+
.classpath
7+
.project
8+
9+
# idea
10+
out
11+
*.ipr
12+
*.iws
13+
*.iml
14+
.idea
15+
16+
# gradle
17+
build
18+
.gradle
19+
20+
# other
21+
eclipse
22+
run
23+
24+
# Files from Forge MDK
25+
forge*changelog.txt

forge/CREDITS.txt

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
Minecraft Forge: Credits/Thank You
2+
3+
Forge is a set of tools and modifications to the Minecraft base game code to assist
4+
mod developers in creating new and exciting content. It has been in development for
5+
several years now, but I would like to take this time thank a few people who have
6+
helped it along it's way.
7+
8+
First, the people who originally created the Forge projects way back in Minecraft
9+
alpha. Eloraam of RedPower, and SpaceToad of Buildcraft, without their acceptiance
10+
of me taking over the project, who knows what Minecraft modding would be today.
11+
12+
Secondly, someone who has worked with me, and developed some of the core features
13+
that allow modding to be as functional, and as simple as it is, cpw. For developing
14+
FML, which stabelized the client and server modding ecosystem. As well as the base
15+
loading system that allows us to modify Minecraft's code as elegently as possible.
16+
17+
Mezz, who has stepped up as the issue and pull request manager. Helping to keep me
18+
sane as well as guiding the community into creating better additions to Forge.
19+
20+
Searge, Bspks, Fesh0r, ProfMobious, and all the rest over on the MCP team {of which
21+
I am a part}. For creating some of the core tools needed to make Minecraft modding
22+
both possible, and as stable as can be.
23+
On that note, here is some specific information of the MCP data we use:
24+
* Minecraft Coder Pack (MCP) *
25+
Forge Mod Loader and Minecraft Forge have permission to distribute and automatically
26+
download components of MCP and distribute MCP data files. This permission is not
27+
transitive and others wishing to redistribute the Minecraft Forge source independently
28+
should seek permission of MCP or remove the MCP data files and request their users
29+
to download MCP separately.
30+
31+
And lastly, the countless community members who have spent time submitting bug reports,
32+
pull requests, and just helping out the community in general. Thank you.
33+
34+
--LexManos
35+
36+
=========================================================================
37+
38+
This is Forge Mod Loader.
39+
40+
You can find the source code at all times at https://github.com/MinecraftForge/MinecraftForge/tree/1.12.x/src/main/java/net/minecraftforge/fml
41+
42+
This minecraft mod is a clean open source implementation of a mod loader for minecraft servers
43+
and minecraft clients.
44+
45+
The code is authored by cpw.
46+
47+
It began by partially implementing an API defined by the client side ModLoader, authored by Risugami.
48+
http://www.minecraftforum.net/topic/75440-
49+
This support has been dropped as of Minecraft release 1.7, as Risugami no longer maintains ModLoader.
50+
51+
It also contains suggestions and hints and generous helpings of code from LexManos, author of MinecraftForge.
52+
http://www.minecraftforge.net/
53+
54+
Additionally, it contains an implementation of topological sort based on that
55+
published at http://keithschwarz.com/interesting/code/?dir=topological-sort
56+
57+
It also contains code from the Maven project for performing versioned dependency
58+
resolution. http://maven.apache.org/
59+
60+
It also contains a partial repackaging of the javaxdelta library from http://sourceforge.net/projects/javaxdelta/
61+
with credit to it's authors.
62+
63+
Forge Mod Loader downloads components from the Minecraft Coder Pack
64+
(http://mcp.ocean-labs.de/index.php/Main_Page) with kind permission from the MCP team.
65+

0 commit comments

Comments
 (0)