Giter Club home page Giter Club logo

brewery's Introduction

Patbox's Brewery

Showcase

Brewery is a Fabric/Quilt compatible mod allowing you to create alcoholic and non-alcoholic drinks with cauldrons and barrels. Aside of few builtin ones, you can add any number of custom drinks with their own recipes and functionality by using datapacks. Additionally, this mod can work purely server side, allowing vanilla clients to join and use its capabilities.

While this mod is inspired/based on ideas from Sn0wStorm's Brewery plugin for bukkit, it isn't compatible with its configs/items as this one is powered by Polymer

This mod is still far from finished content wise. If you have ideas/requests feel free to create an issue on github!

Getting Started

You can check all recipes by crafting Book of Brewery (1 glass bottle and 1 book).

Cooking/Boiling with Cauldron (Preparing mixtures)

Using cauldron is quite simple. You just need to drop ingredients to cauldron filled with water placed on top of (camp)fire and then click it with stick. It will consume ingredients and start cooking/boiling them. Passed time will be displayed above it. When it reaches value you wanted, just click it with empty glass bottle to get mixture or finished drink.

Creating barrel

Brewery barrels are built in world. To make one you need 1 spigot (crafted from stone, tick and any plank), 4 fences, 16 wooden stairs and 20 wooden planks. They all need to be of the same type. Then just place them in shape showcased below. Stairs rotation doesn't matter, just keep in mind to place spigot last.

Aging mixtures/drinks with Barrels

Most drink types require aging with barrels. However not all barrels are made equal. Some brews will have higher quality in selected barrel types, other won't be possible to make at all.

To start aging mixture/drink, just click on a barrel you made (not vanilla one!) and put your items there. They will automatically start to age. When they have good enough quality you can take them out.

Download:

brewery's People

Contributors

agustin-venegas avatar biryeongtrain avatar campersamu avatar lsrlyrsc avatar patbox avatar s3nkwr avatar wicivo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

brewery's Issues

Suggestions

1: can you please make "drunkness" itself an effect? and i dont know how long will i have it so have a displayer that shows this.
2: Is there an option for you to be able to age more drinks in a barrel if the barrel was built larger? if not, can there please be a mechanice where larger barrels can age more drinks.

Brewing in Unloaded Chunks

Request: Implement a world clock system for the wine barrel brewing process in order to enable offline automatic brewing without increasing the brewing time when the game is not loaded. This can be achieved by recording the current local time and comparing it with the current world time to accurately determine the brewing duration.

Unable to brew vodka after the 1.20.5 transition

Steps to reproduce:

  1. Try to make 6x potato mix
  2. Distillate
    Result:
    Failed drink

Mods on the client:
Fabric API
Patbox brewery

My attempt (I sent it on discord, no answer, unfortunately)
https://cdn.discordapp.com/attachments/1023675802694463589/1234434148119220264/vodka_fail.mp4?ex=663b43e3&is=6639f263&hm=6ea47f1032f2c445a748df48583e4ecdaca234beea8a17c9a1afaa3e43e16ecc&
Trying to brew it with other user (Russian language)
https://youtu.be/YQV4QAE62bw

Wine and Glow Wine share the same recipe.

In the default recipe set, Wine and Glow Wine both require 5 Sweet Berries. This is probably the reason why trying to brew wine fails instantly every time. I assume glow wine is supposed to use Glow Berries?

plugin.yml is missing

after i placed the jar file in my server's mod folder and start the server, i get an error saying that the plugin.yml is missing. how can i fix this?
Server is running in MCServerSoft, Paper 1.19.2 with fabric

Display the drunkeness of a player

I sure do love writing /brewery stats.... Might be a great idea to have a display when the drunkeness rapidly changes (drinking the brews with alcohol/negative alcohol, milk and bread usage)

(1.19.2) custom recipes made to work with different frameworks cause conflicts when using brewery mod

When using the nbt crafting mod ( modrinth ), unexpected behaviour occurs, causing the crafting menu to spit out random results which are not coded to be possible

origins recipe subpower that crafts a glowstoned turtle master potion:
image

putting a normal water breathing potion and giving it glowstone, for some reason, is treated as the aforementioned recipe:
image

issue does not persist when same is done with the brewery mod disabled:
image

Alternate Crafting Types

I've been looking for a mod like this but for different types of crafting such as smithing, with a similar quality system for more skill-based crafting around tools. Would it be possible to have another version of the mod that works for other crafting types?

(1.19.2) This mod on Forge?

Hello,

I've wanted to ask - is it possible to add this mod on Forge?
I've been a big fan of the original Brewery plugin, and wanted to ask can you port this one on forge, if it is possible.

Server issues causes unfixable disconnect

I do not know if there is something wrong with my installation, but I tried to use the fabric version of this mod on my server. The brewing and everything seemed to work normally and well. Definitely a cool mod. But whenever I placed beer in my case, into a chest I would be disconnected with an error message relating to a custom packet.

What can you do with the brewery dump files?

I thought you might be able to make your own beverages with them, but if thats true i cant figure out how to get them to work.
Can you explain what they are and how they work?
Thanks in advance

0.4.3 Compatibility with CraftTweaker on Minecrat 1.20.1 + Fabric

Having Patbox's Brewery 0.4.3 installed seems to cause CraftTweaker recipes that use item transformations to fail. For example, this recipe (create rabbit hide from leather using shears) works fine in a modpack with 160 mods:

import crafttweaker.api.ingredient.transform.type.TransformDamage;
import crafttweaker.api.item.IItemStack;

craftingTable.addShapeless("shear_small_hide_from_leather", <item:minecraft:rabbit_hide> * 4, [
    <item:minecraft:leather>,
    <item:minecraft:shears>.anyDamage().transformDamage()
]);

(Inside the .minecraft folder for the instance, save this as scripts/recipe_test.zs.)

but as soon as I add Patbox's Brewery to the modpack, this recipe fails to load with the error:

[22:26:07] [Render thread/INFO]: [System] [CHAT] [WARN]: Shapeless recipe with ID 'crafttweaker:shear_small_hide_from_leather' contains null or empty ingredients, removing entries! 
[22:26:08] [Render thread/INFO]: Loaded 20 advancements

To try and narrow down the problem, I created a modpack with only four mods: Patbox's Brewery, CraftTweaker, and CraftTweaker's dependencies. I used the latest versions of each mod available for Minecraft/Fabric 1.20.1. The total list of mods is:

  • Minecraft 1.20.1
  • Fabric 0.14.25
  • Patbox's Brewery 0.4.3+1.20.1
  • CraftTweaker 14.0.27
  • Fabric API 0.91.0+1.20.1
  • Faux-Custom-Entity-Data 6.0.1

I observe the same behaviour: if I disable Brewery, then the recipe works; if I enable it, it fails.

I know that Brewery 0.4.3 is an older version. To test to see if this was fixed in a newer version, I installed the latest versions of mods I could. The latest version of Minecraft that CraftTweaker supports on Fabric is currently 1.20.2, so I installed the following:

  • Minecraft 1.20.2
  • Fabric 0.15.1
  • Patbox's Brewery 0.5.2+1.20.2-rc2
  • CraftTweaker 15.0.1
  • Fabric API 0.91.2+1.20.2
  • Faux-Custom-Entity-Data 7.0.1
    With this combination of mods, the recipe works.

So it appears the compatibility issue either went away with Brewery 0.5. Are you able to investigate the cause and ideally back-port either a fix or a release of Brewery 0.5 for Minecraft 1.20.1? I'd love to be able to use this mod in a modpack I'm creating, but too many of the other mods in the pack are stuck on 1.20.1, and I rely on CraftTweaker heavily to balance the pack and tweak crafting recipes to avoid conflicts.

Effect Type suggestions

I wanted to suggest some more "effect types" as this mod would be a really cool addition to a server I play on.

  • command - runs a command or list of commands
  • set_fire - sets the drinker on fire for a configurable period of time
  • random - gives a random effect from a configured list of sub effect types
  • set_intoxication - sets a player's intoxication to a specific value
  • timed - does an effect after a configurable period of time or a time range
  • nbt - modifies the drinkers nbt data
  • explode - causes the drinker to explode with a configurable blast
  • affect_others - causes an effect to occur to other players (specified, nearby, looking at, etc.)
  • attractive - causes configured mobs to follow the drinker
  • scary - causes configured mobs to flea the drinker, like a creeper from cats

brewing not starting on server in 1.19.4

when i use stick on a cauldron with ingredients, no brewing starts on a 1.19.4 fabric server. works fine in singleplayer and lan multiplayer.
no errors in console or anything, using ver 0.3.2+1.19.4. drinks still show in jei and are spawnable.
are there files outside of the mod folder that i might be missing on the server, or is it maybe related to lag?? i've made several modpacks and edits to datapacks but don't know much about actual modding so not sure where to begin.

Make some recipes require distilling

distilling: a brewing stand with blaze powder in fuel and glowstone dust in ingredient slot. blaze powder is not consumed, but the glowstone is. Kind of like the brewery plugin

Error and lag spike when making a mixture barrel + bedrock players chunks crash when one is in it.

Bedrock players using geyser can not see the chucks with mixture barrels in it at all and java players get a lag spike and a error in their console.
Error in java cleint side console:

Negative index in crash report handler (0/12)
22:00:44.474
net.minecraft.class_1255
Render thread
Error executing task on Client
net.minecraft.class_148: Main thread packet handler
	at net.minecraft.class_2600.method_11072(class_2600.java:33)
	at net.minecraft.class_1255.method_18859(class_1255.java:156)
	at net.minecraft.class_4093.method_18859(class_4093.java:23)
	at net.minecraft.class_1255.method_16075(class_1255.java:130)
	at net.minecraft.class_1255.method_5383(class_1255.java:115)
	at net.minecraft.class_310.method_1523(class_310.java:1283)
	at net.minecraft.class_310.method_1514(class_310.java:888)
	at net.minecraft.client.main.Main.main(Main.java:265)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.NullPointerException

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.