Skip to content

Commit

Permalink
原大写的标题引用不知为何失效,于此修复。并非已标识的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Eikidona committed Sep 21, 2024
1 parent 223ab18 commit 863d0e5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
1 change: 0 additions & 1 deletion docs/auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// @ts-nocheck
// noinspection JSUnusedGlobalSymbols
// Generated by unplugin-auto-import
// biome-ignore lint: disable
export {}
declare global {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ clearPools(): void;
addFunction(arg0: Internal.JsonObject_): Internal.FunctionContainer;
```

- 添加谓词,受抢夺附魔影响的随机概率,返回谓词列表[Internal.ConditionContainer](ProbeJSClassFlie.md#Internal.ConditionContainer)
- 添加谓词,受抢夺附魔影响的随机概率,返回谓词列表[Internal.ConditionContainer](ProbeJSClassFlie.md#internalconditioncontainer)

```js
randomChanceWithLooting(chance: number, multiplier: number): Internal.ConditionContainer;
Expand All @@ -34,25 +34,25 @@ name(name: net.minecraft.network.chat.Component_, entity: Internal.LootContext$E
toJson(): Internal.JsonObject;
```

- 添加战利品池,接受一个回调函数,回调函数参数为[Internal.LootBuilderPool](ProbeJSClassFlie.md#Internal.LootBuilderPool)
- 添加战利品池,接受一个回调函数,回调函数参数为[Internal.LootBuilderPool](ProbeJSClassFlie.md#internallootbuilderpool)

```js
addPool(p: Internal.Consumer_<Internal.LootBuilderPool>): void;
```

- 对战利品耐久造成损伤,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#Internal.FunctionContainer)
- 对战利品耐久造成损伤,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#internalfunctioncontainer)

```js
damage(damage: Internal.NumberProvider_): Internal.FunctionContainer;
```

- 设置战利品数量,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#Internal.FunctionContainer)
- 设置战利品数量,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#internalfunctioncontainer)

```js
count(count: Internal.NumberProvider_): Internal.FunctionContainer;
```

- 设置谓词,未被爆炸破坏,返回谓词列表[Internal.ConditionContainer](ProbeJSClassFlie.md#Internal.ConditionContainer)
- 设置谓词,未被爆炸破坏,返回谓词列表[Internal.ConditionContainer](ProbeJSClassFlie.md#internalconditioncontainer)

```js
survivesExplosion(): Internal.ConditionContainer;
Expand All @@ -64,7 +64,7 @@ survivesExplosion(): Internal.ConditionContainer;
clearConditions(): void;
```

- 复制方块实体显示名,需要复制源实体类型[Internal.CopyNameFunction$NameSource_](ProbeJSClassFlie.md#Internal.CopyNameFunction$NameSource_)
- 复制方块实体显示名,需要复制源实体类型

```js
copyName(source: Internal.CopyNameFunction$NameSource_): Internal.FunctionContainer;
Expand All @@ -76,31 +76,31 @@ copyName(source: Internal.CopyNameFunction$NameSource_): Internal.FunctionContai
addCondition(o: Internal.JsonObject_): this;
```

- 引用其他战利品表,需要战利品表id与作为随机种子的数字,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#Internal.FunctionContainer)
- 引用其他战利品表,需要战利品表id与作为随机种子的数字,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#internalfunctioncontainer)

```js
lootTable(table: ResourceLocation_, seed: number): Internal.FunctionContainer;
```

- 为战利品给予等价于经验等级的随机魔咒,需要[数字提供器](../../MiscellaneousKnowledge/NumberProvider.md)表示等级,是否包含宝藏附魔,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#Internal.FunctionContainer)
- 为战利品给予等价于经验等级的随机魔咒,需要[数字提供器](../../MiscellaneousKnowledge/NumberProvider.md)表示等级,是否包含宝藏附魔,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#internalfunctioncontainer)

```js
enchantWithLevels(levels: Internal.NumberProvider_, treasure: boolean): Internal.FunctionContainer;
```

- 随机附魔,需要附魔id数组,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#Internal.FunctionContainer)
- 随机附魔,需要附魔id数组,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#internalfunctioncontainer)

```js
enchantRandomly(enchantments: ResourceLocation_[]): Internal.FunctionContainer;
```

- 对战利品进行熔炉熔炼,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#Internal.FunctionContainer)
- 对战利品进行熔炉熔炼,返回物品修饰器列表[Internal.FunctionContainer](ProbeJSClassFlie.md#internalfunctioncontainer)

```js
furnaceSmelt(): Internal.FunctionContainer;
```

- 添加谓词,检查实体属性,接受战利品表上下文实体类型[Internal.LootContext$EntityTarget_](ProbeJSClassFlie.md#Internal.LootContext$EntityTarget_)与Json格式实体属性,返回谓词列表[Internal.ConditionContainer](ProbeJSClassFlie.md#Internal.ConditionContainer)
- 添加谓词,检查实体属性

```js
entityProperties(entity: Internal.LootContext$EntityTarget_, properties: Internal.JsonObject_): Internal.ConditionContainer;
Expand Down Expand Up @@ -208,4 +208,6 @@ customId: ResourceLocation;

- 复制方块实体显示名物品修饰器的源实体。

### 枚举值

- 可用值:"killer" | "killer_player" | "this" | "block_entity"; 实际上这里仅应该填"block_entity"

0 comments on commit 863d0e5

Please sign in to comment.