Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
![Version 1.0.0](https://img.shields.io/badge/Version-1.0.0-brightgreen)
![MC 1.16.5](https://img.shields.io/badge/MC-1.16.5-blue)
![MC 1.18.2](https://img.shields.io/badge/MC-1.18.2-blue)
![MC 1.19.2](https://img.shields.io/badge/MC-1.19.2-blue)

[![CurseForge Downloads](https://img.shields.io/badge/dynamic/json?logo=curseforge&color=f16436&label=CurseForge&query=%24.downloadCount&suffix=%20Downloads&url=https%3A%2F%2Faddons-ecs.forgesvc.net%2Fapi%2Fv2%2Faddon%2F447511)](https://www.curseforge.com/minecraft/mc-mods/funnel)

<img height="48" src="https://i.imgur.com/HabVZJR.png"/>

This mod add a funnel block that drop items inside it below it one by one. Can be turned off by powering it with
This mod adds a funnel block that drops items inside it below it one by one. It can be turned off by powering it with
redstone.

<a href="https://www.curseforge.com/minecraft/mc-mods/funnel"><img height="48" src="https://slexom.github.io/assets/images/available_on_curseforge.svg"/></a>
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
org.gradle.jvmargs=-Xmx2G
# Fabric Properties
# check these on https://fabricmc.net/use
minecraft_version=1.18.2
yarn_mappings=1.18.2+build.1
loader_version=0.13.3
minecraft_version=1.19.2
yarn_mappings=1.19.2+build.28
loader_version=0.14.11
# Mod Properties
mod_version=1.0.0
mod_version=1.0.0-1.19.2
maven_group=slexom.vf
archives_base_name=funnel
# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.47.8+1.18.2
fabric_version=0.69.0+1.19.2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import net.minecraft.screen.NamedScreenHandlerFactory;
import net.minecraft.screen.ScreenHandler;
import net.minecraft.text.Text;
import net.minecraft.text.TranslatableText;
import net.minecraft.util.collection.DefaultedList;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.World;
Expand Down Expand Up @@ -49,12 +48,12 @@ public void writeNbt(NbtCompound nbt) {

@Override
public Text getDisplayName() {
return new TranslatableText(getCachedState().getBlock().getTranslationKey());
return Text.translatable(getCachedState().getBlock().getTranslationKey());
}

@Override
protected Text getContainerName() {
return new TranslatableText(getCachedState().getBlock().getTranslationKey());
return Text.translatable(getCachedState().getBlock().getTranslationKey());
}

@Override
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
"mixins": [
],
"depends": {
"fabricloader": ">=0.13.3",
"fabricloader": ">=0.14.11",
"fabric": "*",
"minecraft": "1.18.x",
"minecraft": "1.19.2",
"java": ">=17"
},
"suggests": {
Expand Down