We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
n/a
Create Confectionery
create-confectionery1.19.2_v1.0.9.jar
网上找不到源代码,然后反编译了一下,发现是这样的
public class BarOfCaramelItem extends Item { public BarOfCaramelItem() { super((new net.minecraft.world.item.Item.Properties()).m_41491_(CreateConfectioneryModTabs.TAB_CREATE_CONFECTIONERY_TAB).m_41487_(64).m_41497_(Rarity.COMMON).m_41489_((new net.minecraft.world.food.FoodProperties.Builder()).m_38760_(6).m_38758_(0.3F).m_38767_())); } public float m_8102_(ItemStack par1ItemStack, BlockState par2Block) { return 0.0F; } public void m_7373_(ItemStack itemstack, Level world, List list, TooltipFlag flag) { super.m_7373_(itemstack, world, list, flag); list.add(Component.m_237113_("\2479Speed (0:10)")); } public ItemStack m_5922_(ItemStack itemstack, Level world, LivingEntity entity) { ItemStack retval = super.m_5922_(itemstack, world, entity); double x = entity.m_20185_(); double y = entity.m_20186_(); double z = entity.m_20189_(); BarOfCaramelFoodEatenProcedure.execute(entity); return retval; } }
我没写过模组,对这个东西不是很懂,看上去像是硬编码的一些说明。 然后我尝试在数据包里面添加了下面的字段,但是并没有效果。
{ "§9Haste (0:10)": "§9急迫 (0:10)", "§9Regeneration (0:06)": "§9生命恢复 (0:06)", "§9Regeneration II (0:06)": "§9生命恢复 II (0:06)", "§9Resistance (0:20)": "§9抗性提升 (0:20)", "§9Rest (0:30)": "§9休憩 (0:30)", "§9Saturation (0:02)": "§9饱和 (0:02)", "§9Speed (0:10)": "§9速度 (0:10)", "§9Stimulation (0:06)": "§9激励 (0:06)" }
然后我就没辙了,发出来给各位看看
The text was updated successfully, but these errors were encountered:
当然找不到,因为是闭源模组
我没写过模组,对这个东西不是很懂,看上去像是硬编码的一些说明。
的确是硬编码(只要不出现在en_us.json一般是硬编码)
Sorry, something went wrong.
我的强迫症犯了,我不允许我的整合包里面出现任何一句英文
Forwarded to https://legacy.curseforge.com/minecraft/mc-mods/create-confectionery/issues/10 不知道作者能不能看到
你可以上 Discord 问
没用的,与其寻求作者不如自力更生:VP
我当初也是 后来在 https://mcp.thiakil.com 看这俩函数,怪不得一个行一个不行hhh
No branches or pull requests
简体中文资源包信息
n/a
模组英文名
Create Confectionery
模组版本
create-confectionery1.19.2_v1.0.9.jar
详细信息
网上找不到源代码,然后反编译了一下,发现是这样的
我没写过模组,对这个东西不是很懂,看上去像是硬编码的一些说明。
然后我尝试在数据包里面添加了下面的字段,但是并没有效果。
然后我就没辙了,发出来给各位看看
The text was updated successfully, but these errors were encountered: