mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-04 23:40:00 +00:00
eb2d617ed8
This uses pre-commit [1] to check patches are well formed and run several linters on them. We currently do some boring things (check files are syntactically valid) as well as some project-specific ones: - Run illuaminate on the Lua files - Run checkstyle on Java [1]: https://pre-commit.com/
99 lines
3.7 KiB
Plaintext
99 lines
3.7 KiB
Plaintext
ComputerCraft Public License
|
|
============================
|
|
|
|
Version 1.0.0 (Based on Minecraft Mod Public License 1.0.1)
|
|
|
|
0. Definitions
|
|
--------------
|
|
|
|
Minecraft: Denotes a copy of the PC Java version of the game “Minecraft” licensed by Mojang AB
|
|
|
|
User: Anybody that interacts with the software in one of the following ways:
|
|
- play
|
|
- decompile
|
|
- recompile or compile
|
|
- modify
|
|
- distribute
|
|
|
|
Mod: The mod code designated by the present license, in source form, binary
|
|
form, as obtained standalone, as part of a wider distribution or resulting from
|
|
the compilation of the original or modified sources.
|
|
|
|
Dependency: Code required for the mod to work properly. This includes
|
|
dependencies required to compile the code as well as any file or modification
|
|
that is explicitly or implicitly required for the mod to be working.
|
|
|
|
1. Scope
|
|
--------
|
|
|
|
The present license is granted to any user of the mod. As a prerequisite,
|
|
a user must own a legally acquired copy of Minecraft
|
|
|
|
2. Liability
|
|
------------
|
|
|
|
This mod is provided 'as is' with no warranties, implied or otherwise. The owner
|
|
of this mod takes no responsibility for any damages incurred from the use of
|
|
this mod. This mod alters fundamental parts of the Minecraft game, parts of
|
|
Minecraft may not work with this mod installed. All damages caused from the use
|
|
or misuse of this mod fall on the user.
|
|
|
|
3. Play rights
|
|
--------------
|
|
|
|
The user is allowed to install this mod on a Minecraft client or server and to play
|
|
without restriction.
|
|
|
|
4. Modification rights
|
|
----------------------
|
|
|
|
The user has the right to decompile the source code, look at either the
|
|
decompiled version or the original source code, and to modify it.
|
|
|
|
5. Distribution of original or modified copy rights
|
|
---------------------------------------------------
|
|
|
|
Is subject to distribution rights this entire mod in its various forms. This
|
|
include:
|
|
- original binary or source forms of this mod files
|
|
- modified versions of these binaries or source files, as well as binaries
|
|
resulting from source modifications
|
|
- patch to its source or binary files
|
|
- any copy of a portion of its binary source files
|
|
|
|
The user is allowed to redistribute this mod partially, in totality, or
|
|
included in a distribution.
|
|
|
|
When distributing binary files, the user must provide means to obtain its
|
|
entire set of sources or modified sources at no cost.
|
|
|
|
All distributions of this mod must remain licensed under the CCPL.
|
|
|
|
All dependencies that this mod have on other mods or classes must be licensed
|
|
under conditions comparable to this version of CCPL, with the exception of the
|
|
Minecraft code and the mod loading framework (e.g. Forge).
|
|
|
|
Modified version of binaries and sources, as well as files containing sections
|
|
copied from this mod, should be distributed under the terms of the present
|
|
license.
|
|
|
|
7. Use of mod code and assets in other projects
|
|
-----------------------------------------------
|
|
|
|
It is permitted to use the code and assets contained in this mod (and modified
|
|
versions thereof) in other Minecraft Mods, provided they are non-commercial.
|
|
However: the code and assets may not be used in commercial mods, mods for other
|
|
games, other games, other non-game projects, or any commercial projects.
|
|
|
|
When using code covered by this license in other projects, the source code used
|
|
must be made available at no cost and remain licensed under the CCPL.
|
|
|
|
8. Contributing
|
|
---------------
|
|
|
|
If you choose to contribute code or assets to be included in this mod, you
|
|
agree that, if added to to the main repository at
|
|
https://github.com/dan200/ComputerCraft, your contributions will be covered by
|
|
this license, and that Daniel Ratcliffe will retain the right to re-license the
|
|
mod, including your contributions, in part or in whole, under other licenses.
|