feat: creativeNoInfinitePickup & skipTicksForJoblessVillager

This commit is contained in:
zly2006 committed 2024-07-11 12:14:01 +08:00
1 parent 4b58aabaa7
commit ddb8f3b400
9 files changed
+167 -8

No files matched your search

@@ -1,3 +1,6 @@
{
"carpet.rule.obtainableReinforcedDeepSlate.desc": "When an anvil falls on 64 dropped deepslates, they will be turned in a reinforced deepslate instead of disappearing."
"carpet.rule.obtainableReinforcedDeepSlate.desc": "When an anvil falls on 64 dropped deepslates, they will be turned in a reinforced deepslate instead of disappearing.",
"carpet.rule.skipTicksForJoblessVillager.desc": "Villagers will skip ticks if they have no job.",
"carpet.rule.maxVillagersInABlock.desc": "The maximum number of villagers that can be in a block, set to -1 to disable.",
"carpet.rule.creativeNoInfinitePickup.desc": "If my inventory is full, don't pick up items in creative mode."
}
@@ -0,0 +1,6 @@
{
"carpet.rule.maxVillagersInABlock.desc": "每个方块中最大村民数量,设置-1为无限制",
"carpet.rule.obtainableReinforcedDeepSlate.desc": "当铁砧在64个深板岩的凋落物上时,可以获得强化深板岩",
"carpet.rule.skipTicksForJoblessVillager.desc": "村民没有工作时,跳过村民的tick",
"carpet.rule.creativeNoInfinitePickup.desc": "创造模式下,玩家不能无限制地拾取物品"
}
+4 -1
View File
@@ -4,8 +4,11 @@
"package": "com.github.zly2006.carpetslsaddition.mixin",
"compatibilityLevel": "JAVA_17",
"mixins": [
"AccessorPlayerAbilities",
"MixinFallingBlockEntity",
"MixinItemEntity"
"MixinItemEntity",
"MixinPlayerInventory",
"MixinVillagerEntity"
],
"client": [
],