Rebranding, readme, and credits

This commit is contained in:
FalsePattern committed 2022-03-17 22:55:11 +01:00
1 parent 366582f781
commit 36ae8fb342
6 files changed
+42 -42

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
The code is a rewrite of NotEnoughIDs, created by fewizz and Player,
which was released under the MIT license on CurseForge at https://www.curseforge.com/minecraft/mc-mods/notenoughids
Original License text of NotEnoughIDs:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
+6
View File
@@ -0,0 +1,6 @@
EndlessIDs is a modern rewrite of NotEnoughIDs which increases the limit even more, up to the maximum 24 bit unsigned integer value.
| | Vanilla | NotEnoughIDs | EndlessIDs |
|-----------|---------|--------------|------------|
| Block IDs | 4096 | 32000 | 16777216 |
| Item IDs | 32000 | 32000 | 16777216 |
@@ -0,0 +1,6 @@
package com.falsepattern.endlessids;
import cpw.mods.fml.common.Mod;
@Mod(modid = Tags.MODID, name = Tags.MODNAME, version = Tags.VERSION)
public class EndlessIDs {}
@@ -1,25 +0,0 @@
package com.falsepattern.endlessids;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.BlockIce;
import net.minecraft.creativetab.CreativeTabs;
@Mod(modid = "notenoughIDs", name = "NotEnoughIDs", version = "1.4.3.4")
public class IDExtender
{
public IDExtender() {
super();
}
@Mod.EventHandler
public void test(final FMLPreInitializationEvent event) {
// for(int i = 0; i < 65536; i++){
// Block shield = new BlockIce().setBlockName(".shield" + i);
// GameRegistry.registerBlock(shield, i + "ShieldBlock");
// shield.setCreativeTab(CreativeTabs.tabFood);
// }
}
}
@@ -3,38 +3,30 @@ package com.falsepattern.endlessids;
import java.io.File;
import net.minecraftforge.common.config.Configuration;
public class IEConfig
{
public class IEConfig {
static Configuration config;
public static boolean catchUnregisteredBlocks;
public static boolean removeInvalidBlocks;
public static boolean postNeidWorldsSupport;
public static boolean extendDataWatcher;
public IEConfig() {
super();
}
public static void init(final File file) {
File newFile;
if (file.getPath().contains("bin")) {
newFile = new File(file.getParent() + "/eclipse/config", "NEID.cfg");
newFile = new File(file.getParent() + "/eclipse/config", Tags.MODID + ".cfg");
}
else {
newFile = new File(file.getParentFile().getParent() + "/config", "NEID.cfg");
newFile = new File(file.getParentFile().getParent() + "/config", Tags.MODID + ".cfg");
}
IEConfig.config = new Configuration(newFile);
IEConfig.catchUnregisteredBlocks = IEConfig.config.getBoolean("CatchUnregisteredBlocks", "NEID", false, "");
IEConfig.removeInvalidBlocks = IEConfig.config.getBoolean("RemoveInvalidBlocks", "NEID", false, "Remove invalid (corrupted) blocks from the game.");
IEConfig.postNeidWorldsSupport = IEConfig.config.getBoolean("PostNeidWorldsSupport", "NEID", true, "If true, only blocks with IDs > 4095 will disappear after removing NEID.");
IEConfig.extendDataWatcher = IEConfig.config.getBoolean("ExtendDataWatcher", "NEID", false, "Extend DataWatcher IDs. Vanilla limit is 31, new limit is 127.");
IEConfig.catchUnregisteredBlocks = IEConfig.config.getBoolean("CatchUnregisteredBlocks", Tags.MODNAME, false, "");
IEConfig.removeInvalidBlocks = IEConfig.config.getBoolean("RemoveInvalidBlocks", Tags.MODNAME, false, "Remove invalid (corrupted) blocks from the game.");
IEConfig.extendDataWatcher = IEConfig.config.getBoolean("ExtendDataWatcher", Tags.MODNAME, false, "Extend DataWatcher IDs. Vanilla limit is 31, new limit is 127.");
IEConfig.config.save();
}
static {
IEConfig.catchUnregisteredBlocks = false;
IEConfig.removeInvalidBlocks = false;
IEConfig.postNeidWorldsSupport = true;
IEConfig.extendDataWatcher = false;
}
}
+3 -3
View File
@@ -2,13 +2,13 @@
{
"modid": "${modId}",
"name": "${modName}",
"description": "Moar IDs",
"description": "Extends hardcoded block ID limit even more.",
"version": "${modVersion}",
"mcversion": "${minecraftVersion}",
"url": "https://github.com/FalsePattern/EndlessIDs",
"updateUrl": "",
"authorList": ["FalsePattern"],
"credits": "",
"authorList": ["fewizz","Player","FalsePattern"],
"credits": "This mod is a modern rewrite of NotEnoughIDs, made by fewizz and Player, which was released under the MIT license.",
"logoFile": "",
"screenshots": [],
"dependencies": []