Skip to content

Commit

Permalink
- added mandatory license information (1.16.2)
Browse files Browse the repository at this point in the history
- support breaking change of Forge 32.0.107/108 (Issue #17)
- readme and version changed
  • Loading branch information
cech12 committed Aug 25, 2020
1 parent 25b93f0 commit bcc6f1f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ceramic Bucket [![Curseforge](http://cf.way2muchnoise.eu/full_ceramic-bucket_downloads.svg)](https://www.curseforge.com/minecraft/mc-mods/ceramic-bucket) [![Curseforge](http://cf.way2muchnoise.eu/versions/For%20MC_ceramic-bucket_all.svg)](https://www.curseforge.com/minecraft/mc-mods/ceramic-bucket/files)

This is a **Minecraft Forge** mod for version 1.16.1 and adds a **Ceramic Bucket** to the game.
This is a **Minecraft Forge** mod for version 1.16.1 or 1.16.2 and adds a **Ceramic Bucket** to the game.
The versions 1.14.4, 1.15.1, 1.15.2 are also supported with some missing features.

![All Buckets](https://raw.githubusercontent.com/cech12/CeramicBucket/master/material/all_buckets.png)
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false

mod_version=2.0.0
mod_version=2.0.1
minecraft_version=1.16.1+

forge_version=1.16.1-32.0.70
forge_version=1.16.1-32.0.108
forge_mappings=20200707-1.16.1

# jei
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/cech12/ceramicbucket/client/ClientEvents.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
import cech12.ceramicbucket.client.model.CeramicBucketModel;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.client.event.ModelRegistryEvent;
import net.minecraftforge.client.model.ModelLoaderRegistry;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;

@Mod.EventBusSubscriber(modid= CeramicBucketMod.MOD_ID, bus= Mod.EventBusSubscriber.Bus.MOD, value= Dist.CLIENT)
public class ClientEvents {

@SubscribeEvent
public static void clientSetup(FMLClientSetupEvent event) {
public static void clientSetup(ModelRegistryEvent event) {
ModelLoaderRegistry.registerLoader(new ResourceLocation(CeramicBucketMod.MOD_ID, "bucket"), CeramicBucketModel.Loader.INSTANCE);
}
}
3 changes: 2 additions & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
modLoader="javafml"
loaderVersion="[32,)"
issueTrackerURL="https://github.com/cech12/CeramicBucket/issues"
license="The MIT License (MIT)"
[[mods]]
modId="ceramicbucket"
version="${file.jarVersion}"
Expand All @@ -14,7 +15,7 @@ issueTrackerURL="https://github.com/cech12/CeramicBucket/issues"
[[dependencies.ceramicbucket]]
modId="forge"
mandatory=true
versionRange="[32.0.70,)"
versionRange="[32.0.108,)"
ordering="NONE"
side="BOTH"
[[dependencies.ceramicbucket]]
Expand Down

0 comments on commit bcc6f1f

Please sign in to comment.