jpack:一系列犹太主题特性
兼容性
- 在下载页面,您可能会看到一个名为
jpack_vanillatweaks_compat.zip的文件——这是一个可选的补充数据包,允许将 jpack 与 vanilla tweaks 的更多生物头颅扩展结合使用。
依赖项与致谢
- 此数据包需要一个补充资源包,可在下载页面获取。
- 此数据包依赖于 bookshelf utility pack。具体而言,它需要 ID 和 Raycast 模块。
- 此数据包包含由 Aeldrion on GitHub 生成并修改版本的 Iris raycasting datapack,该版本在 0BSD 许可下提供。
旧版本的依赖项与致谢
- 直到 1.2.0 版本之前,此数据包依赖于 gibbsly 制作的 GU 数据包,您可以从 GitHub 或 这个 Modrinth fork 获取。
玩家级别信息
数据包管理
此数据包为游戏添加了以下特性:
- jflags:作为旗帜图案的犹太符号。
- jtime:犹太工作日,包括村民在安息日(Shabat)期间休息。
- jfood:将犹太饮食律法(Kashrut)规则引入 Minecraft(可选择遵守或不遵守饮食律法)。
可以通过使用命令来开启/关闭任何单元的功能:
function jpack:<enable/disable>/<unit>
例如,如果 jfood 单元导致卡顿,可以使用以下命令将其关闭:
function jpack:disable/jfood
(所有单元默认均为启用状态)。
- 注意:这只会关闭任何在后台运行的单元功能。例如,如果您关闭了 jfood 单元,物品仍然会获得“Kosher”标签,但遵守饮食律法的玩家食用非 Kosher 食物时不会发生任何事情(见下文)。这就是 jflags 单元无法被关闭的原因(因为它没有运行任何功能)。
jflags 单元
此数据包为旗帜添加了多种犹太符号,目前包括不同变体的大卫之星以及希伯来字母和元音。所有图案均可在织布机上直接使用,无需额外物品。
- 注意:目前盾牌上的希伯来元音尚不支持。
jtime 单元
当此单元开启时:
- 屏幕右侧会显示当前的星期几。
- 按住时钟(时钟会在玩家快捷栏上方显示白天时间)或将时钟放置在物品展示框中(会在物品展示框上方显示当前白天时间)即可查看当天的具体时间。
- 按照犹太传统/法律,夜晚时分日期发生变化。具体来说,日落时日期变更,即 19:00。当时间在 19:00 到 23:59 之间时,显示的星期几表明这是这一天之前的晚上(例如,安息日前的日落显示为“Erev Shabat”)。
- 在安息日期间,村民处于休息状态:不进行交易,不工作。
- 安息日总是在 19:00 开始,并在 20:00 结束。
jfood 单元
此单元将犹太饮食律法(Kashrut)规则引入 Minecraft,给予每个玩家选择是否遵守饮食律法的选项。
- 默认情况下,所有玩家均选择不遵守。
- 要选择遵守,玩家必须使用命令:
(此命令对所有玩家可用,无论他们是否有权限运行命令)。/trigger KeepKosher - 要选择不遵守,玩家必须使用命令:
(此命令对所有玩家可用,无论他们是否有权限运行命令)。/trigger StopKeepingKosher - 当玩家选择遵守饮食律法时,他们必须遵守相关规则(见下文)。如果遵守饮食律法的玩家违反了规定,他们会获得持续 30 秒的反胃效果。
- 饮食律法规则如下:
- 肉类与奶制品间隔时间:玩家在食用肉类后需等待 3 或 6 分钟才能饮用牛奶(默认设置为 3 分钟,玩家可通过使用命令
/trigger SwitchMeatToMilkCooldown在 3 分钟和 6 分钟之间切换)。 - 以下物品永远不符合 Kosher 标准:猪排、熟猪排、兔子、熟兔子、兔子汤、河豚。
- 以下物品只有在带有“Kashrut”标签时才应被消费(见下文):牛奶桶、蘑菇炖肉、羊肉、熟羊肉、牛肉、牛排、鸡肉、熟鸡肉、鳕鱼、熟鳕鱼、三文鱼、熟三文鱼、热带鱼(在这种情况下,物品上会添加“Kosher”标签)。
- 只有在使用斧头屠宰且动物处于满血状态时,一块牛肉、羊肉、鸡肉、鳕鱼、三文鱼或热带鱼才会获得 Kosher 标签。如果动物在过去受过伤害,则需要喂食并将其恢复至满血状态才能再次被视为 Kosher。
- 一块 Kosher 肉类必须在 Kosher 烟熏炉中烹饪才能保持其 Kosher 状态。新制作的烟熏炉始终是 Kosher 的,直到用于烹饪非 Kosher 物品为止。一个非 Kosher 的烟熏炉可以通过在其中烹饪一块湿海绵变为 Kosher。烟熏炉 GUI 会指示其是否为 Kosher;如果未标明“Kosher”,则说明它不是 Kosher。熔炉永远不是 Kosher 的,因为它们可以用于烹饪非食物类物品。
- 牛奶桶只有在奶牛/哞菇使用 Kosher 桶(见下文)时才是 Kosher 的。
- 新制作的蘑菇炖肉始终是 Kosher Parve(中性食品)。从哞菇身上挤出的蘑菇炖肉是 Kosher Dairy(乳制品),前提是使用 Kosher 碗挤奶(否则不符合 Kosher 标准)。
- 桶/碗在新制作时是 Kosher Parve(中性食品)。如果之后用于给奶牛/哞菇挤奶,则成为 Kosher Dairy(乳制品)。
- 非 Kosher 的桶可以通过装入岩浆变为 Kosher Parve(中性食品)。
- 此处未提及的任何物品始终符合 Kosher 标准(无需 Kosher 标签)。
- 一般来说,您在地下城等地方发现的、需要 Kosher 标签才能被视为 Kosher 的物品,在您发现它们时永远不符合 Kosher 标准——因为您不知道它们经历了什么。
- 肉类与奶制品间隔时间:玩家在食用肉类后需等待 3 或 6 分钟才能饮用牛奶(默认设置为 3 分钟,玩家可通过使用命令
技术信息
jtime 单元
命令
- 拥有执行命令权限的玩家可以使用以下命令设置当前的星期几和一天中的时间(注意:这些命令会重置月相):
/function jtime:set_time/day将当前星期的时间设置为白天(07:00)。/function jtime:set_time/noon将当前星期的时间设置为正午(12:00)。/function jtime:set_time/night将当前星期的时间设置为夜晚(19:00)。/function jtime:set_time/midnight将当前星期的时间设置为午夜(00:00)。/function jtime:set_time/<weekday>将星期几设置为<weekday>(可以是 sunday, monday, ..., shabat),同时保持当前的一天中的时间不变。/function jtime:set_time/daytime {daytime: <daytime>}将时间设置为给定的时间点,其中<daytime>为一天内的刻数。例如,0 表示 00:00,13000 表示 19:00。/function jtime:set_time/weekday {weekday: <weekday>}将星期几设置为给定的值,其中<weekday>为范围 0..6 内的数字(0 表示星期日,6 表示安息日)。/function jtime:set_time/full {weekday: <weekday>, daytime: <daytime>}将时间设置为特定的星期几和时间点,此时:<weekday>替换为范围 0..6 内的数字(0 表示星期日,6 表示安息日)。<daytime>替换为一天内的刻数。例如,0 表示 00:00,13000 表示 19:00。
函数(事件)标签
- 数据包中存在以下函数标签,可以扩展以添加功能:
#jtime:event/on_hol_loop: 在非安息日的每一天每秒循环运行一次。#jtime:event/on_shabat_loop: 在安息日的每一天每秒循环运行一次。#jtime:event/on_shabat_enter: 每当安息日开始时运行一次(单刻)。#jtime:event/on_shabat_leave: 每当安息日结束时运行一次(单刻)。#jtime:event/on_weekday_change: 当星期几发生变化时运行(即每个非安息日结束时的 19:00 和安息日结束时的 20:00)。#jtime:event/on_frame_got_clock: 每当任何物品展示框实体中包含时钟时循环运行。#jtime:event/on_frame_lost_clock: 每当任何曾经包含时钟的物品展示框实体移除时钟时运行一次。#jtime:event/on_holding_clock: 作为手持时钟(任意手)的任意玩家,每秒循环运行一次。#jtime:event/on_talked_to_villager: 作为与村民互动(未打开 GUI)的任意玩家,运行一次。
- 注意:这些标签可以被扩展,但不能被替换。替换这些标签可能会损坏数据包的正常运行。
jfood 单元
物品标签
- 数据包中存在以下物品标签:
#jfood:certainly_nonkosher: 永远不符合洁食标准的物品。#jfood:potentially_nonkosher: 需要带有“Kosher”标签才能被视为符合洁食标准的物品。
- 既不属于上述任一标签的任何可食用物品,始终符合洁食标准(无需加盖洁食印章)。
函数(事件)标签
- 数据包中存在以下函数标签,可以扩展以添加功能:
#jfood:event/on_consumed_kosher_meat: 作为刚刚食用了符合洁食标准肉类的任意玩家,运行一次。#jfood:event/on_consumed_kosher_milk: 作为刚刚食用了符合洁食标准牛奶(来自桶)的任意玩家,运行一次。#jfood:event/on_kashruth_break: 作为刚刚违反洁食规定的任意玩家,运行一次,即使该玩家未选择遵守洁食规定;你可以使用execute unless entity @s[tag=jfood.keeping_kosher] run return 0来排除不遵守洁食规定的玩家。#jfood:event/on_kashruth_opt_in: 作为刚刚选择遵守洁食规定的任意玩家,运行一次。#jfood:event/on_kashruth_opt_out: 作为刚刚选择不遵守洁食规定的任意玩家,运行一次。#jfood:event/on_switch_meat_to_milk_cooldown: 作为刚刚切换肉类到牛奶冷却时间的任意玩家,运行一次(从 3 切换到 6 或反之)。
jpack: A collection of Jewish-themed features
Compatibility
- In the download page you may see a file named
jpack_vanillatweaks_compat.zip- this is an optional suplamentary datapack which allows combining jpack with vanilla tweaks's more mob heads extension.
Dependencies & Credits
- This datapack requires a supplamentary resource pack, available at the download page.
- This datapack is dependant on the bookshelf utility pack. Specifically, it requires the ID and Raycast modules.
- This datapack comes with a generated & modified version of the Iris raycasting datapack by Aeldrion on GitHub, which is provided under the 0BSD license.
Dependencies & credits for older versions
- Until version 1.2.0, this datapack depended on the GU datapack made by gibbsly, which can be obtained from GitHub or from this Modrinth fork.
Player-Level information
Datapack Management
This datapack adds the following features to the game:
- jflags: Jewish symbols as banner patterns.
- jtime: Jewish weekdays, including villagers resting during Shabat.
- jfood: Adds Jewish Kashrut rules into Minecraft (with the option to opt in/out keeping Kashrut).
Any unit's functions can be turned on/off by using the command:
function jpack:<enable/disable>/<unit>
For instance, if the jfood unit causes lag, it can be turned off by using the command:
function jpack:disable/jfood
(all units are enabled by default).
- Note: This only turns off any of the unit's functions that are running in the background. For instance, if you turn off the jfood unit, items will still get the "Kosher" tag, but nothing will happen to a Kosher-keeping player who eats non-Kosher food (see below). It is for this reason that the jflags unit cannot be disabled (as it has no functions running).
jflags unit
This datapack adds several Jewish symbols for banners, as of now this includes different variations of Magen David and Hebrew letters & vowels. All patterns are available in the loom without need of additional items.
- Note: At the moments, Hebrew vowels on shields are not supported.
jtime unit
When this unit is on:
- The current weekday will be displayed on the right side of the screen.
- The current time of the day can be seen by holding a clock (which shows the daytime above the player's hotbar) or by placing a clock in an item frame (which displays the current daytime above the item frame).
- Day changes at night as per Jewish tradition/law. Specifically, the day changes at sunset, 19:00. When the time is between 19:00 and 23:59, the displayed weekday states that it is the evening before this day (e.g. 'Erev Shabat on sunset before Shabat).
- During Shabat, villagers are resting: no trades, no work.
- Shabat always enters at 19:00 and leaves at 20:00.
jfood unit
This unit adds Kashrut rules into Minecraft, giving each individual player the option to opt in/out keeping Kashrut.
- All players are opted out by default.
- To opt in, the player has to use the command:
(this command is available to all players, regardless of whether they have permission to run commands or not)./trigger KeepKosher - To opt out, the player has to use the command:
(this command is available to all players, regardless of whether they have permission to run commands or not)./trigger StopKeepingKosher - When a player is opted-in to keeping Kashrut, they have to keep Kashrut ruled (see below). If a Kosher-keeping player breaks Kashrut rules, they get nausia for 30 seconds.
- Kashrut rules are as follows:
- Meat-to-milk cooldown: The player has to wait 3 or 6 minutes after eating meat before they drinking milk (the cooldown is set to 3 minutes by default, player can switch between 3 or 6 minutes by using the command
/trigger SwitchMeatToMilkCooldown). - The following items are never Kosher: porkchop, cooked porkchop, rabbit, cooked rabbit, rabbit stew, pufferfish.
- The following items should only by consumed if they have the "Kashrut" tag (see below): milk bucket, mushroom stew, mutton, cooked mutton, beef, steak, chicken, cooked chicken, cod, cooked cod, salmon, cooked salmon, tropical fish (in which case a "Kosher" label is added to the item).
- A piece of beef, mutton, chicken, cod, salmon or tropical fish only gets the Kosher tag if the animal was butchered using an axe while the butchered animal was on full health. If the animal was hurt in the past, it has to be fed and healed back to full health in order to be considered Kosher again.
- A piece of Kosher meat has to be cooked in a Kosher smoker in order for it to remain Kosher. A freshly-crafted smoker is always Kosher, until used to cook a non-Kosher item. A non-Kosher smoker can be turned Kosher by cooking a piece of wet sponge in it. The smoker GUI indicates if the smoker is Kosher, if it doesn't state "Kosher" then it isn't Kosher. Furnaces are never Kosher as they can be used to cook things that are not food.
- A milk bucket is only Kosher if the cow/mooshroom using a Kosher bucket (see below).
- A freshly-crafted mushroom stew is always Kosher Parve. A mushroom stew milked from a mooshroom is Kosher Dairy, only if it was milked with a Kosher bowl (otherwise it is not Kosher).
- A bucket/bowl is Kosher Parve when freshly crafted. If later it is used to milk a cow/mooshroom then it becomes Kosher Dairy.
- A non-Kosher bucket can be turned Kosher Parve by putting Lava in it.
- Any items not mentioned here are always Kosher (with no need of a Kosher tag).
- In general, items that you find (in dungeons etc.) that require the Kosher tag in order to be Kosher are never Kosher when you find them - you don't know what they've been through.
- Meat-to-milk cooldown: The player has to wait 3 or 6 minutes after eating meat before they drinking milk (the cooldown is set to 3 minutes by default, player can switch between 3 or 6 minutes by using the command
Technical information
jtime unit
Commands
- A player with command-running permissions can set the current weekday and daytime by using the following commands (Note: These commands do reset the moonphase):
/function jtime:set_time/daySets the time to day (07:00) in the current weekday./function jtime:set_time/noonSets the time to noon (12:00) in the current weekday./function jtime:set_time/nightSets the time to night (19:00) in the current weekday./function jtime:set_time/midnightSets the time to midnight (00:00) in the current weekday./function jtime:set_time/<weekday>Sets the weekday to<weekday>(which can be sunday, monday, ..., shabat), while keeping the current daytime as it is./function jtime:set_time/daytime {daytime: <daytime>}Sets the time to a given daytime, with<daytime>being the amount of ticks into the day. E.g. 0 means 00:00, 13000 means 19:00./function jtime:set_time/weekday {weekday: <weekday>}Sets the weekday to a given weekday, with<weekday>being a number in range 0..6 (0 means Sunday, 6 means Shabat)./function jtime:set_time/full {weekday: <weekday>, daytime: <daytime>}Set the time to a specific weekday and daytime, when:<weekday>is replaced with a number in range 0..6 (0 means Sunday, 6 means Shabat).<daytime>is replaced with the amount of ticks into the day. E.g. 0 means 00:00, 13000 means 19:00.
Function (event) tags
- The following function tags exist in the datapack, and can be extended to add functionality:
#jtime:event/on_hol_loop: Runs in a loop every second of a non-Shabat day.#jtime:event/on_shabat_loop: Runs in a loop every second of Shabat.#jtime:event/on_shabat_enter: Runs once every time Shabat enters (single tick).#jtime:event/on_shabat_leave: Runs once every time Shabat leaves (single tick).#jtime:event/on_weekday_change: Runs when the weekday changes (that is 19:00 at the end of every non-Shabat day and 20:00 at the end of Shabat).#jtime:event/on_frame_got_clock: Runs in a loop as any item frame entity which has a clock in it.#jtime:event/on_frame_lost_clock: Runs once as any item frame entity that used to have a clock in it, and just had it removed.#jtime:event/on_holding_clock: Runs in a loop every second as any player that is holding a clock (on either hand).#jtime:event/on_talked_to_villager: Runs once as any player that interacted with a villager (without a GUI opening).
- NOTE: These tags can be extended, not replaced. Replacing these tags may damage the datapack's functionality.
jfood unit
Item tags
- The following item tags exist in the datapack:
#jfood:certainly_nonkosher: Items that are never Kosher.#jfood:potentially_nonkosher: Items that require a "Kosher" tag in order to be Kosher.
- Any consumable items that are in neither of these tags, are always Kosher (with no need of a Kosher stamp).
Function (event) tags
- The following function tags exist in the datapack, and can be extended to add functionality:
#jfood:event/on_consumed_kosher_meat: Runs once as any player that has just consumed Kosher meat.#jfood:event/on_consumed_kosher_milk: Runs once as any player that has just consumed Kosher milk (from a bucket).#jfood:event/on_kashruth_break: Runs once as any player that has just broken Kosher rules, event if said player isn't opted-in to keeping Kosher; You can exit the function for non-Kosher-keeping players by usingexecute unless entity @s[tag=jfood.keeping_kosher] run return 0.#jfood:event/on_kashruth_opt_in: Runs once as any player that has just opted in to keeping Kashrut.#jfood:event/on_kashruth_opt_out: Runs once as any player that has just opted out from keeping Kashrut.#jfood:event/on_switch_meat_to_milk_cooldown: Runs once as any player that has just switch their meat-to-milk cooldown (from 3 to 6 or vise-versa).
下载 Jewish-themed datapack (jpack)
下载 Jewish-themed datapack (jpack)
下载 Jewish-themed datapack (jpack)
下载 Jewish-themed datapack (jpack)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Jewish-themed datapack (jpack)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Jewish-themed datapack (jpack)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Jewish-themed datapack (jpack)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Jewish-themed datapack (jpack)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Jewish-themed datapack (jpack)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Jewish-themed datapack (jpack)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 为 Minecraft 26.3 重新格式化数据包
- [Bug]
/function jtime:set_time/*函数有时会出现故障。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
探索近100个新生物群系,包含写实与轻奇幻两种风格,且仅使用原版方块。此外还有若干沉浸式结构,与 overhauled 的地形相得益彰。
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
添加了基于官方概念图的蓝蛙和红眼树蛙变体。
数据包
为模组生物群系添加原版回溯特性!
评论 0
登录后参与评分
还没有评论,来抢沙发吧