youdirk / youdirk_numeric_io Goto Github PK
View Code? Open in Web Editor NEWYouDirk Numeric I/O Minecraft mod for decimal I/O support.
Home Page: https://youdirk.github.io/youdirk_numeric_io/
License: GNU General Public License v3.0
YouDirk Numeric I/O Minecraft mod for decimal I/O support.
Home Page: https://youdirk.github.io/youdirk_numeric_io/
License: GNU General Public License v3.0
Update: Linux compatibility looks better than expected. The most make
targets seems to work. Exceptions are only the following targets
mf_install
install
run_productive
But the recommended way to test your code works fine. Use the targets
run_client
and run_server
Don't currently know what is the default way to install Minecraft on Linux. An official Linux-Launcher does not exist. Leaving this issue open.
tested on system:
Linux 4.19.0-5-amd64
1.8.0_211
for Linux amd64
direct rendering: Yes
glx vendor string: NVIDIA Corporation
glx version string: 1.4
OpenGL renderer string: GeForce GTX 850M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 430.14
OpenGL core profile shading language version string: 4.60 NVIDIA
Known related issues could be
makefile.check.mk
: BROWSER_CMD
could/will not set correctlymakefile.check.mk
: make sure that _2WINPATH
worksmakefile.check.mk
: make sure that _2UNIXPATH
worksmakefile.check.mk
: LAUNCHER_PROD_CMD
will not detectedmakefile.check.mk
: LAUNCHER_PATH
will not detected, APPDATA
does not exist on Linuxmakefile.check.mk
: MY_JAVA_HOME
will not set. JDK
will not detectedAdditional tasks
CONTRIBUTING.md
how it works on LinuxThe current mostly used development environment is
MSYS2
as POSIX compatible bash
shell environmentGNU make
to define build rules. To install run command in MSYS2 shell $> pacman -S msys/make
makefile.check.mk
and outputs an error with an instruction what and how to installUntil CONTRIBUTING.md
#4 was not fully written, here comes a short reference about the currently implemented (commit 4b8eeed) make
targets:
. You can run it using the command $> make <target>
all <default>: Runs Java compiler and build all Mod classes (same as CLASSES)
classes: Same as official Forge command `$> ./gradlew classes`
run_client: Same as official Forge command `$> ./gradlew runClient`
run_server: Same as official Forge command `$> ./gradlew runServer`
build: Same as official Forge command `$> ./gradlew build`
run_productive: Run MF_INSTALL, INSTALL and runs the official Minecraft Launcher, downloadable from https://www.minecraft.net/download/
javadoc: Generate a Javadoc documentation for the Mod-API and open it in browser
mf_javadoc: Generate a Javadoc documentation for the Forge-API and open it in browser
clean_run: Reset all Minecraft runtime-configuration which were set during RUN_CLIENT, RUN_SERVER
clean: Remove all temporay/cache files which were generated during work
jdk_version: Output JDK version which will be used. Useful if you have more than one installed on your system
bootstrap: Runs FORGE followed by CONFIG_ALL
mf_publish: Build Forge Installer Jars, copy it to maven repository and add Version-Data to website
publish: Runs BUILD, copy Mod-Jar to maven repository and add Version-Data to website
clean_all: Delete all files which are possible to re-generate. Also files which were commited to Git. Useful for maintaining and upgrade to a new Minecraft-Version and/or Forge-Version
website_addtag: Same as WEBSITE_ADDTAG_NODEP, but check if Mod was PUBLISH before
website_addtag_nodep: Add a Tag of the current Mod-Version on website
website_rmtag: Same as WEBSITE_RMTAG_NODEP, but check if Mod was PUBLISH before
website_rmtag_nodep: Remove a Tag of the current Mod-Version from website
website_mf_addtag: Add a Tag of the current Forge-Version on website
website_mf_rmtag: Remove a Tag of the current Forge-Version from website
config_all: Generate all config files which are generally needed for the whole project. Normally it will called automatically
forge: clone/checkout Git submodule `forge`, the latest official Minecraft Forge source for branch defined in makefile.config.mk
install: Run BUILD, MF_INSTALL and install the Mod-Jar to the official Minecraft Launcher, downloadable from https://www.minecraft.net/download/
website_forge: Same as MF_PUBLISH, but a copy of the Forge Jars must be already available in maven repository
clean_bootstrap: Delete all files which were generated via BOOTSTRAP
clean_forge: Delete all files which were generated via FORGE
mf_deinit: Deinit the Forge Git submodule `forge` which was generated via FORGE
mf_install: Compile Forge Installer Jar and install it to official Minecraft Launcher, downloadable from https://www.minecraft.net/download/
website_mod: Same as PUBLISH, but a copy of the Mod-Jar must be already available in maven repository
README.md
I have tested the Forge 1.14.x
branch https://github.com/MinecraftForge/MinecraftForge/tree/1.14.x ... It works well, but many classes were renamed and changed there packages ...
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
<empty text> -- Fast written down during brain storming ...
<empty text> -- Fast written down during brain storming ...
Towards #3 ...
<empty text> -- Fast written down during brain storming ...
<empty text> -- Fast written down during brain storming ...
<empty text> -- Fast written down during brain storming ...
A modded client should be possible to connect to unmodded vanilla server.
Result:
Vanilla server is displayed as incompatible in server list, but connection to it works
"Incompatible Vanilla server"
Try to remove the incompatible icon in server list, submenu Multiplayer
Net.java
comment: Missing quotesNet.java
comment: Replace Remote.Version > Local.Version
with Remote.Version >= Local.Version
makefile.variables.mk
rename VERSION_API
to VERSION_SPEC
build.gradle
: Specification-Version
should not include Minecraft versionPlaces to replace
/trunk/
/src/main/resources/
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
dummy
instead of pre
branch 1.13.x
will be the main developement branchmaster
is using Minecraft version 1.14.x
1.13.x -> master
docs
in master
1.13.x
then make a final
release and the main devlopment branch is switched to master
PacketDistributor
Whooooooaaaah, whaats thaaat ๐
CreditsBlock
which displays special Patreons on Right-ClickThis feature will be have high priority if the Patreon Goal (patreon.com/YouDirk) was reached.
So become a Patron! (patreon.com/YouDirk) ๐ฐ โค๏ธ
Result
To test try $> git grep -i todo
...
update.json
should link to /downloads
/
is missingDescribe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Self-reminder: To build the currunt 1.13-pre, use the following gradle
tasks:
./gradlew setup :forge:licenseFormat :forge:build :forge:installerJar
Needed for update.json
...
SoundType
for own sound-set assets used for place
, break
, step
, hit
, fall
soundsrightClick
(activateBlock)Forge Documentation: https://mcforge.readthedocs.io/en/latest/
Make it possible to dye Numeric I/O Blocks
... To install custom builds into productive Minecraft Launcher
Make sure, that online-mode=false
in server.properties
during $> make run_server
...
<empty text> -- Fast written down during brain storming ...
MY_JAVA_HOME
will be set to emtpy (in PATH
set?).makefile.cache.inc
to .makefile.cache.mk
Makefile
into some includesmake maven
: Sometime MY_JAVA_HOME
will be set to emtpyregex
stuff together & namespace it ...Net::isClientAcceptVersion(String serverVersion)
Net::isServerAcceptVersion(String clientVersion)
Current idea to implement:
/**
* The version format is: "MAJOR.API.MINOR"
*
* <p>The following rules decides, which side is accepting which
* remote version.</p>
*
* <pre><code>
* 1. If (Remote.Version >= Local.Version):
* ACCEPT and let decide the remote host
*
* So we make sure that the newer implementation decides if
* protocol is compatible.
*
* 2. If (Remote.MAJOR != Local.MAJOR || Remote.API != Local.API):
* DENY, cause of breaking changes
*
* In opposite, if you make breaking changes in the protocol then
* increment the API Version
*
* 3. If (Client.MINOR >= Server.MINOR):
* ACCEPT, cause there are only new features on the client
* else:
* DENY, cause server has new features which are not supported
* by the client
*
* </code></pre>
*/
Make it possible to remove MF builds from repository
recall
to remove Mod builds from webistemf_recall
to remove Forge builds from webisteas opposite of publish
and mf_publish
...
1.13-dummy
as the can be identified as test stuffShow all MF builds
stuff
...
aboveDownload MF
section into an {% include %}
to remove redundancyIt's a bug in Minecraft Forge. Could fix it. A Pull Request to the official Forge repository is pending
index cc1d4eb32..f92333edf 100644
--- a/src/fmllauncher/java/net/minecraftforge/fml/loading/moddiscovery/ModInfo.java
+++ b/src/fmllauncher/java/net/minecraftforge/fml/loading/moddiscovery/ModInfo.java
@@ -50,6 +50,7 @@ public class ModInfo implements IModInfo
private final ArtifactVersion version;
private final String displayName;
private final String description;
+ private final Optional<String> logoFile;
private final URL updateJSONURL;
private final List<IModInfo.ModVersion> dependencies;
private final Map<String,Object> properties;
@@ -74,6 +75,13 @@ public class ModInfo implements IModInfo
map(DefaultArtifactVersion::new).orElse(DEFAULT_VERSION);
this.displayName = modConfig.<String>getOptional("displayName").orElse(null);
this.description = modConfig.get("description");
+
+ Optional<String> tmp = modConfig.<String>getOptional("logoFile");
+ if (!tmp.isPresent() && this.owningFile != null) {
+ tmp = this.owningFile.getConfig().getOptional("logoFile");
+ }
+ this.logoFile = tmp;
+
this.updateJSONURL = modConfig.<String>getOptional("updateJSONURL").map(StringUtils::toURL).orElse(null);
if (owningFile != null) {
this.dependencies = owningFile.getConfig().<List<UnmodifiableConfig>>getOptional(Arrays.asList("dependencies", this.modId)).
@@ -140,7 +148,7 @@ public class ModInfo implements IModInfo
public Optional<String> getLogoFile()
{
- return this.owningFile != null ? this.owningFile.getConfig().getOptional("logoFile") : this.modConfig.getOptional("logoFile");
+ return this.logoFile;
}
public boolean hasConfigUI()
<empty text> -- Fast written down during brain storming ...
src/debug/java
defaultTasks
should process processDebugResources
For the Patreon page (https://www.patreon.com/YouDirk) produce the following medias
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.