Skip to content

Commit

Permalink
ImageMod for Minecraft 1.16 (#3)
Browse files Browse the repository at this point in the history
* 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

---------
  • Loading branch information
Kevsterking committed Dec 14, 2024
1 parent e67775c commit 9ae56df
Show file tree
Hide file tree
Showing 36 changed files with 14,217 additions and 0 deletions.
22 changes: 22 additions & 0 deletions HOW_TO_USE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## How to use
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.

![Options for the /image command](res/options.png)

### Setup
/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*)

![Options for the /image command](res/setup.png)

### Usage
/image create <*ImagePath*> -width <*width*> - create image with a defined block width (height to scale)

/image create <*ImagePath*> -height <*height*> - create image with a defined block height (width to scale)

/image create <*ImagePath*> <*width*> <*height*> - create image with a defined block width & height

![Select an image to create](res/cmd1.png)
![Choose the width and/or height in blocks](res/cmd2.png)
![An example of a full command - "/image create 'mcr.jpg' -width 200"](res/cmd3.png)
![Successful image creation prompt"](res/cmd4.png)
![The views of the image created from a distance"](res/result.png)
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# ImageMod
A simple mod for creation of pixel-art in Minecraft

## Minecraft 1.21+
To read about how to use this mod in minecraft [click here](HOW_TO_USE.md)

## Installation

5 changes: 5 additions & 0 deletions forge/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Disable autocrlf on generated files, they always generate with LF
# Add any extra files or paths here to make git stop saying they
# are changed when only line endings change.
src/generated/**/.cache/cache text eol=lf
src/generated/**/*.json text eol=lf
25 changes: 25 additions & 0 deletions forge/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# eclipse
bin
*.launch
.settings
.metadata
.classpath
.project

# idea
out
*.ipr
*.iws
*.iml
.idea

# gradle
build
.gradle

# other
eclipse
run

# Files from Forge MDK
forge*changelog.txt
65 changes: 65 additions & 0 deletions forge/CREDITS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
Minecraft Forge: Credits/Thank You

Forge is a set of tools and modifications to the Minecraft base game code to assist
mod developers in creating new and exciting content. It has been in development for
several years now, but I would like to take this time thank a few people who have
helped it along it's way.

First, the people who originally created the Forge projects way back in Minecraft
alpha. Eloraam of RedPower, and SpaceToad of Buildcraft, without their acceptiance
of me taking over the project, who knows what Minecraft modding would be today.

Secondly, someone who has worked with me, and developed some of the core features
that allow modding to be as functional, and as simple as it is, cpw. For developing
FML, which stabelized the client and server modding ecosystem. As well as the base
loading system that allows us to modify Minecraft's code as elegently as possible.

Mezz, who has stepped up as the issue and pull request manager. Helping to keep me
sane as well as guiding the community into creating better additions to Forge.

Searge, Bspks, Fesh0r, ProfMobious, and all the rest over on the MCP team {of which
I am a part}. For creating some of the core tools needed to make Minecraft modding
both possible, and as stable as can be.
On that note, here is some specific information of the MCP data we use:
* Minecraft Coder Pack (MCP) *
Forge Mod Loader and Minecraft Forge have permission to distribute and automatically
download components of MCP and distribute MCP data files. This permission is not
transitive and others wishing to redistribute the Minecraft Forge source independently
should seek permission of MCP or remove the MCP data files and request their users
to download MCP separately.

And lastly, the countless community members who have spent time submitting bug reports,
pull requests, and just helping out the community in general. Thank you.

--LexManos

=========================================================================

This is Forge Mod Loader.

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

This minecraft mod is a clean open source implementation of a mod loader for minecraft servers
and minecraft clients.

The code is authored by cpw.

It began by partially implementing an API defined by the client side ModLoader, authored by Risugami.
http://www.minecraftforum.net/topic/75440-
This support has been dropped as of Minecraft release 1.7, as Risugami no longer maintains ModLoader.

It also contains suggestions and hints and generous helpings of code from LexManos, author of MinecraftForge.
http://www.minecraftforge.net/

Additionally, it contains an implementation of topological sort based on that
published at http://keithschwarz.com/interesting/code/?dir=topological-sort

It also contains code from the Maven project for performing versioned dependency
resolution. http://maven.apache.org/

It also contains a partial repackaging of the javaxdelta library from http://sourceforge.net/projects/javaxdelta/
with credit to it's authors.

Forge Mod Loader downloads components from the Minecraft Coder Pack
(http://mcp.ocean-labs.de/index.php/Main_Page) with kind permission from the MCP team.

Loading

0 comments on commit 9ae56df

Please sign in to comment.