Skip to content

Commit

Permalink
Updated the mod for 1.16.2 and created a better description for the mod.
Browse files Browse the repository at this point in the history
  • Loading branch information
Demomaker committed Sep 5, 2020
1 parent d3b7756 commit a1bc574
Show file tree
Hide file tree
Showing 6 changed files with 228 additions and 15 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ dependencies {
// Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed
// that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied.
// The userdev artifact is a special name and will get all sorts of transformations applied to it.
minecraft 'net.minecraftforge:forge:1.16.1-32.0.107'
minecraft 'net.minecraftforge:forge:1.16.2-33.0.37'

// You may put jars on which you depend on in ./libs or you may define them like so..
// compile "some.group:artifact:version:classifier"
Expand Down
211 changes: 211 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,214 @@
Build: 1.16.2-33.0.37 - Thu Sep 03 16:37:38 GMT 2020
cpw:
Fix compiler issue in eclipse properly

Signed-off-by: cpw <[email protected]>

=========
Build: 1.16.2-33.0.36 - Thu Sep 03 12:40:52 GMT 2020
sciwhiz12:
Fix crash caused by previous commit (#7298)

=========
Build: 1.16.2-33.0.35 - Thu Sep 03 04:15:27 GMT 2020
lex:
Dirty casting hacks to fix eclipse compiler inference issue. I'm sorry cpw.

=========
Build: 1.16.2-33.0.34 - Thu Sep 03 03:38:16 GMT 2020
tterrag:
Fix broken ExistingFileHelper import

Add licenses to some new files

tterrag:
Add validation via resources for tag providers (#7271)

BREAKING CHANGE: Moved ExistingFileHelper to common package
Remove various workarounds from forge tag providers

=========
Build: 1.16.2-33.0.32 - Tue Sep 01 18:36:21 GMT 2020
cpw:
Move the "modloading" thread activity onto _our_ worker pool. It turns out that the vanilla worker pool can deadlock during stitching if it's insufficiently large, if modloader "waitForTransition" is also a worker member of that pool.

Closes #7293 (to reproduce issue easily, modify Util.func_240979_a_ and change the values in the MathHelper.clamp call). I've verified that 3 and below for "max" cause the problem. (I didn't test a whole range of values, just sufficient to reproduce problem and verify fix). Note that setting it to zero (and using the "direct executor" that's inaccessible in normal operation) works as well with this fix.

Signed-off-by: cpw <[email protected]>

=========
Build: 1.16.2-33.0.31 - Tue Sep 01 02:27:07 GMT 2020
cpw:
Fix missed debugging code. Read the config from the config.

Signed-off-by: cpw <[email protected]>

=========
Build: 1.16.2-33.0.30 - Tue Sep 01 01:31:57 GMT 2020
cpw:
Revert "Shut down all other mod handlers if the loading cycle errors. This prevents other mods from throwing errors and being blamed for initial cause. This is a temporary hack until cpw re-writes the mod event dispatcher."

This reverts commit 7592bbe8

Signed-off-by: cpw <[email protected]>

cpw:
Revert "Properly shutdown FMLModContainer's event bus when an error in a lifecycle event is detected."

This reverts commit 30bad1e2

Signed-off-by: cpw <[email protected]>

cpw:
Redo event dispatch, removes a bunch of nonsense, and tries to integrate with the vanilla CF system where possible

Signed-off-by: cpw <[email protected]>

cpw:
Fix up all the things. Removed SidedProvider because it served no real purpose anymore.

Signed-off-by: cpw <[email protected]>

cpw:
Fix up slight registry change and other 1.16.2 stuffs.

Signed-off-by: cpw <[email protected]>

=========
Build: 1.16.2-33.0.23 - Sun Aug 30 23:05:24 GMT 2020
ichttt:
Add particle culling (#6981)

=========
Build: 1.16.2-33.0.22 - Wed Aug 26 16:50:02 GMT 2020
lex:
Wrap vanilla's 'default' biome registry in ForgeRegistry.
This should allow registering mod dimensions like in 1.16.1, while the data driven system is fleshed out.

=========
Build: 1.16.2-33.0.21 - Tue Aug 25 01:11:38 GMT 2020
David Quintana:
Clarify in the LazyOptional which methods carry the lazyness over to the returned value and which don't. (#6750)

For consistency, this meant making a few changes:
- Renamed the existing lazy mapping method to lazyMap, to indicate that it doesn't run the mapping immediately.
- Added a new implementation of map(), which returns Optional<T>, and resolves the value in the process.
- Changed filter() to return Optional, since there's no way to filter lazily.
- Added a new method resolve(), which helps convert the custom LazyOptional class into a standard Optional, for use
with library methods that expect Optional<T>.

* Update License headers.

=========
Build: 1.16.2-33.0.20 - Fri Aug 21 21:27:21 GMT 2020
sciwhiz12:
Add user-friendly exceptions when config loading fails (#7214)

=========
Build: 1.16.2-33.0.19 - Fri Aug 21 18:53:46 GMT 2020
dev:
Replace EntityHeight event with EntitySize event (#6858)

=========
Build: 1.16.2-33.0.18 - Fri Aug 21 18:38:31 GMT 2020
davide2910:
[1.16] ForgeEventFactory#canCreateFluidSource reintroduced (#7181)

=========
Build: - Fri Aug 21 18:31:19 GMT 2020
cyborgmas18:
Cleanup and expand Forge tags (#7004)

=========
Build: 1.16.2-33.0.16 - Fri Aug 21 18:25:49 GMT 2020
sciwhiz12:
Fix modproperties property in mods.toml causing exception (#7192)

=========
Build: 1.16.2-33.0.15 - Fri Aug 21 18:15:53 GMT 2020
me:
Log info about server list warning (#7209)

Make it easier to figure out what mods are missing or have to be marked as client/server side only.

=========
Build: 1.16.2-33.0.14 - Fri Aug 21 18:06:47 GMT 2020
goto.minecraft:
Fix ItemStack#isDamageable is not calling Item#isDamagable (#7221)

=========
Build: 1.16.2-33.0.13 - Fri Aug 21 17:48:58 GMT 2020
diesieben07:
Improve performance and cleanup code for DelegatingResourcePack (#7228)

=========
Build: 1.16.2-33.0.12 - Fri Aug 21 17:29:33 GMT 2020
cyborgmas18:
Fix small logging issues with loading pack.png for mods (#7265)

=========
Build: 1.16.2-33.0.11 - Fri Aug 21 17:23:30 GMT 2020
diesieben07:
Fix config iteration order (#7230)

=========
Build: 1.16.2-33.0.10 - Fri Aug 21 09:47:23 GMT 2020
lex:
Cleanup Forge's build script, fix some unneeded patches.
Add checkExcscheckAll tasks.

=========
Build: 1.16.2-33.0.9 - Fri Aug 21 04:35:17 GMT 2020
championash5357:
Readding DifficultyChangeEvent hooks (#7240)

=========
Build: 1.16.2-33.0.8 - Fri Aug 21 04:29:10 GMT 2020
malte0811:
Improve startup time by caching the manifest data for mod jars (#7256)

=========
Build: 1.16.2-33.0.7 - Wed Aug 19 05:47:46 GMT 2020
Yunus1903:
Removed HarvestDropsEvent (#7193)

=========
Build: 1.16.2-33.0.6 - Wed Aug 19 05:22:45 GMT 2020
cyborgmas18:
Remove forge optional tags in favor of Vanilla's new system. (#7246)

=========
Build: 1.16.2-33.0.5 - Fri Aug 14 19:05:15 GMT 2020
lex:
Fix creating nether portals.

lex:
New method for creating modded tag references, fix connecting to vanilla servers.

=========
Build: 1.16.2-33.0.3 - Fri Aug 14 02:17:01 GMT 2020
43609023+spnda:
Print mod file name on InvalidModFileException (#7241)

=========
Build: 1.16.2-33.0.2 - Thu Aug 13 19:26:22 GMT 2020
cyborgmas18:
Fix server connection, misapplied patch (#7245)

Yunus1903:
Updated MDK and README for 1.16.2 (#7243)

=========
Build: 1.16.2-33.0.0 - Thu Aug 13 07:37:04 GMT 2020
lex:
Initial 1.16.2 Update

=========
Build: 1.16.1-32.0.108 - Sun Aug 09 20:05:01 GMT 2020
David Quintana:
Fix ModelRegistryEvent firing every time resources reload instead of just once.

=========
Build: 1.16.1-32.0.107 - Sat Aug 08 01:00:42 GMT 2020
David Quintana:
Move ModelRegistryEvent invocation to when the model loading is about to start.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static class RegistryEvents {
@SubscribeEvent
public static void onBlocksRegistry(final RegistryEvent.Register<Block> blockRegistryEvent) {
// register a new block here
LOGGER.info("HELLO from Register Block");
//LOGGER.info("HELLO from Register Block");
}
}
}
26 changes: 14 additions & 12 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,36 @@
# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml
modLoader="javafml" #mandatory
# A version range to match for said mod loader - for regular FML @Mod it will be the forge version
loaderVersion="[31,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
loaderVersion="[33,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions.
# The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties.
# Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here.
license="All rights reserved"
# A URL to refer people to when problems occur with this mod
issueTrackerURL="http:https://my.issue.tracker/" #optional
# A list of mods - how many allowed here is determined by the individual mod loader
[[mods]] #mandatory
# The modid of the mod
modId="blockcounter" #mandatory
# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
version="${file.jarVersion}" #mandatory
version="1.16.2" #mandatory
# A display name for the mod
displayName="Block Counter" #mandatory
# A URL to query for updates for this mod. See the JSON update specification <here>
updateJSONURL="http:https://myurl.me/" #optional
# A URL for the "homepage" for this mod, displayed in the mod UI
displayURL="http:https://example.com/" #optional
displayURL="https:https://github.com/Demomaker/BlockCounterMCMod" #optional
# A file name (in the root of the mod JAR) containing a logo for display
logoFile="examplemod.png" #optional
logoFile="logo.png" #optional
# A text field displayed in the mod UI
credits="Thanks for this example mod goes to Java" #optional
credits="This is a mod for counting blocks!" #optional
# A text field displayed in the mod UI
authors="Love, Cheese and small house plants" #optional
authors="Demomaker (Mike Bédard)" #optional
# The description text for the mod (multi line!) (#mandatory)
description='''
This is a long form description of the mod. You can write whatever you want here
This is a mod for counting blocks.
Have some lorem ipsum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magna. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed sagittis luctus odio eu tempus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque volutpat ligula eget lacus auctor sagittis. In hac habitasse platea dictumst. Nunc gravida elit vitae sem vehicula efficitur. Donec mattis ipsum et arcu lobortis, eleifend sagittis sem rutrum. Cras pharetra quam eget posuere fermentum. Sed id tincidunt justo. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Use this command to count :
/blockcounter countblocks <firstPositionX> <firstPositionY> <firstPositionZ> <secondPositionX> <secondPositionY> <secondPositionZ> [optionalBlockFilter]
'''
# A dependency - use the . to indicate dependency for a specific modid. Dependencies are optional.
[[dependencies.blockcounter]] #optional
Expand All @@ -42,7 +44,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magn
# Does this dependency have to exist - if not, ordering below must be specified
mandatory=true #mandatory
# The version range of the dependency
versionRange="[31,)" #mandatory
versionRange="[33,)" #mandatory
# An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory
ordering="NONE"
# Side this dependency is applied on - BOTH, CLIENT or SERVER
Expand All @@ -51,6 +53,6 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magn
[[dependencies.blockcounter]]
modId="minecraft"
mandatory=true
versionRange="[1.16.1]"
versionRange="[1.16.2]"
ordering="NONE"
side="BOTH"
Binary file added src/main/resources/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/resources/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"description": "examplemod resources",
"description": "blockcountermod resources",
"pack_format": 5,
"_comment": "A pack_format of 5 requires json lang files and some texture changes from 1.15. Note: we require v5 pack meta for all mods."
}
Expand Down

0 comments on commit a1bc574

Please sign in to comment.