GithubHelp home page GithubHelp logo

cech12 / usefulhats Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 3.0 16.07 MB

Minecraft mod that adds some useful hats

Home Page: https://www.curseforge.com/minecraft/mc-mods/useful-hats

License: MIT License

Java 100.00%
minecraft mod forge fabric neoforge quilt

usefulhats's Introduction

Useful Hats

Curseforge Curseforge Modrinth CI/CD CodeFactor gitlocalized License

This is a Minecraft mod that adds useful and configurable hats to the game. (Forge, NeoForge, Fabric, Quilt)

Dependencies

The Fabric / Quilt version needs the following mods:

This mod is compatible with:

Features

All Hats

All included hats are dyable and configurable.

For more information check out the Wiki: https://github.com/cech12/UsefulHats/wiki

usefulhats's People

Contributors

cech12 avatar dmhyt avatar github-actions[bot] avatar mikeliro avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

usefulhats's Issues

Translation zh_tw by pancakes0228

{
"item.usefulhats.aquanaut_helmet": "潛水頭盔",
"item.usefulhats.aquanaut_helmet.desc.conduit_power": "可獲得 %s 秒的 §2海靈祝福§9 效果.",

"item.usefulhats.bunny_ears": "兔耳",
"item.usefulhats.bunny_ears.desc.jump_boost": "可獲得 §2跳躍提升 %s§9 效果.",
"item.usefulhats.bunny_ears.desc.eating": "吃東西縮短 §2%s§9 時間.",

"item.usefulhats.chopping_hat": "木工帽",
"item.usefulhats.chopping_hat.desc.chopping_speed": "用斧砍樹時加速 §2%s%%§9 時間. (可和附魔及藥水效果疊加)",

"item.usefulhats.halo": "聖光",
"item.usefulhats.halo.desc.no_attack": "除了Boss以外的生物不會攻擊你.",
"item.usefulhats.halo.desc.beware_of_nether": "除了 §4地獄§c 生物.",

"item.usefulhats.lucky_hat": "幸運帽",
"item.usefulhats.lucky_hat.desc.luck": "握著劍,斧或魚竿時,可獲得 §2幸運%s§9 效果.",
"item.usefulhats.lucky_hat.desc.unluck": "但是在釣魚或殺死生物之後,會獲得十秒 §6霉運§c 效果.",

"item.usefulhats.mining_hat": "礦工帽",
"item.usefulhats.mining_hat.desc.mining_speed": "用鎬挖礦時加速 §2%s%%§9 時間. (可和附魔及藥水效果疊加)",
"item.usefulhats.mining_hat.desc.night_vision": "在黑暗中拿著鎬時獲得 §2夜視§9 效果.",

"item.usefulhats.mushroom_hat": "蘑菇帽",
"item.usefulhats.mushroom_hat.desc.feeding": "當你餓了, 你可以咬一口這頂帽子.",

"item.usefulhats.postman_hat": "郵差帽",
"item.usefulhats.postman_hat.desc.speed": "當你疾跑時獲得 §2速度%s§9 效果.",
"item.usefulhats.postman_hat.desc.hunger": "但你也獲得 §6飢餓§c 效果.",

"item.usefulhats.shulker_helmet": "界伏帽",
"item.usefulhats.shulker_helmet.desc.levitation": "可獲得 §2懸浮%s§9 效果.",

"item.usefulhats.stocking_cap": "長襪帽",

"item.usefulhats.straw_hat": "草帽",
"item.usefulhats.straw_hat.desc.digging_speed": "用鋤或鏟時加速 §2%s%%§9 時間. (可和附魔及藥水效果疊加)",

"item.usefulhats.wing_helmet": "帶翼帽",
"item.usefulhats.wing_helmet.desc.slow_falling": "當你墜落時獲得 §2緩降§9 效果.",
"item.usefulhats.wing_helmet.desc.scared": "有時帽子會因為怕怪物而飛走."
}

Add Advancements

Use the vanilla advancement system and add hat related tasks for the player.

  • own tab?!
  • For every hat a crafting task (build a chopping hat...)
  • For every hat a usage task (chopping a tree...)
  • Build all hats
  • enchant a hat
  • repair a hat
  • coloring a hat
  • craft a hat rack (when added)

Doctor hat

Jonatan javier said: "Doctor hat: cancel or reduce negative effects and enhance positive effects (or perhaps only reduce negative effects)"

Doctor hat
Effects: Cancel negative effects (cost: durability)

Could be overpowered..

[1.14, 1.15] Crash at world creating

Since Forge 1.14.4-28.2.13 or 1.15.2-31.1.47 world creating does not work and crashes the game when this mod is installed.

Something in Forge was changed that causes this issue:

Build: 1.14.4-28.2.13 - Tue May 12 21:31:57 GMT 2020
Colby Prince:
Fix recursion mess in PlayerAdvancement loading, by using an alternative based on a toposorted list of all advancements. (#6662)
It seems to be fully equivalent in testing, but there may be corner cases, so there is a config to disable, though disabling may break servers, especially those chunkloading fake players.

crash-2020-08-28_09.59.40-server.txt

Mining Hat Issue

The Mining Hat Night Vision enchantment time is very low, causing the sky to blink at night. You could increase the enchantment time and add something to the code that removes the enchantment when you stop holding the pickaxe.

Bunny Ears

Jonatan javier said: "Bunny hat: jump boost, eat fast and speed boost . Travelers love it"
I think that could be a bit overpowered and speed boost is already there with postman hat.

Bunny Ears
Effects: Jump Boost, eat faster

Ender Hat

Jonatan javier said: "Teleport hat: with a coat rack and a specific hat you can teleport back to the coat rack (sounds really hard to make in a mod, maybe with a special menu in the coat rack for teleport hats assignation), adding sometida functions like multiple teleport points or "go to Respawn point""

I like the idea of a teleport hat, because of the relation to the enderman. Ender Pearls should be used to craft it. A hat rack is a nice idea, too.

Hatrack
Block where you can place hats & helmets. Like Armor Stands but only for hats.
There is a mod with Hat Stands: https://www.curseforge.com/minecraft/mc-mods/hat-stands

Ender Hat
Effects: Linkable to a Hatrack to teleport. Maybe eat Ender Pearls when on head to teleport?

Other Effect Sources

in version 1.15.2 a bug will be fixed:

Effects are now stored when overwritten by an effect of a higher amplifier. A beacon effect will only temporarily overwrite a lower amplifier potion until the beacon effect runs out.

Maybe this can be used for our hats.

Top Hat / Magican Hat

Ideas from AbsorbingSafe11 & TerminalSnark:

  • top hat like the lucky hat
  • Coloring: black hat with a (changeable) colored ribbon
  • Effects:

you could play up the stage magic connection by making it portable storage accessed with a keybind, like a backpack that you wear on your head.
Or you could make it usable to spawn a rabbit with a relatively minor cooldown. Or pull out a random item like a random flower, a damaged iron sword, a rabbit haunch, maybe a small bundle of carpet instead of a string of silk scarves.

Open questions: single time usage? Durability? Avoid endless items...
Maybe a wand for the magic?

Lucky Hat repairing is broken

Wiki: Lucky Hat can be repaired with Rabbit's Foot using an anvil.
Code: Ingredient.fromItems(Items.GLOWSTONE_DUST)

Incompatibility with Reap Mod?

Alec2092 had incompatibility problems propably with Reap Mod in its own modpack. #38

The speed increasing hats didn't work with Reap Mod.

Forge: 1.16.4-35.1.36
Useful Hats: 1.9.3-1.16.4
Reap Mod: 1.16.4-1.0.3

Mushroom Hat

Add a muhsroom hat to the mod. Idea from: AbsorbingSafe11

Crafting recipe: 5x Mushroom hat blocks
Effect: It feeds the player while wearing it.
Durability: 80 Every food consumption reduces the durability

Texture something like this:
mushroom

Settings for Speed increase

Add other settings to option file:

  • start speed increase (20%) of mining, chopping, straw hat
  • speed increase with efficiency enchantment (20%, last 50%) of mining, chopping, straw hat

Wing Helmet is overpowered

Iron and feathers are obtainable very early. So the Wing Helmet is overpowered in early game. Maybe changing the recipe can fix that issue.

Hint: Adding a Potion of Slow Falling to recipe is too difficult, because nbt tags (potion effect) are not respected in json crafting recipes and tags.

[1.16.5] Client Crash on boot up?

Useful Hats (usefulhats) encountered an error during the sided_setup event phase
java.util.ConcurrentModificationException: null

Environment:
MC 1.16.5
Forge 36.1.2
UsefulHats 1.9.3-1.16.2+

Steps to reproduce:

  1. boot up server
  2. launch minecraft via curseforge app
  3. minecraft app crashes with the following error (crashlog)

Logs:
crash log:
https://gist.github.com/Yourname942/ef1f74d3a84d35182c3e274ea6432675
latest log:
https://gist.github.com/Yourname942/a50806ddbef2dafb483419f2e6e1816a

add config for Curios head slot adding

Add a config option that (when enabled) adds a curios head slot. Default is disabled because MC has already a head slot. But it gives modpack developers the possiblity to simply add a slot.

Mod is not working on servers

Mod isn't working on servers, unfortunately.

net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [ Useful Hats (usefulhats) has failed to load correctly§7net/minecraft/client/util/ITooltipFlag

Disable Unbreaking with config

If the damage of a hat is disabled, the Unbreaking enchantment should also be disabled for this hat, because it has no usage.

Optifine?!

Check if there are problems with Optifine installed. I saw several videos where the own hat model is not rendered. Maybe this has something to do with Optifine.

Baseball caps

OrangeBurrito said: Are you going to add baseball caps (not backwards) to this mod?

HVozy20

Crash with Curios 4.0.5.1

Useful Hats version: 1.9.4
Despite saying it supports Curios 4.0.0.0 or later, crashes with 4.0.5.1
image

Shulker Helmet

Add a Shulker Helmet. Idea from AbsorbingSafe11

Effect: Gives the player Levitation effect.
Crafting: Something with shulker shells. maybe 3 shulker shells and 2 phantome membranes?
Durability: Yes! 600 maybe
Enchantments: Efficiency - yes for a better Levitation effect

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.