added other dropoptions authored by Lxlp's avatar Lxlp
...@@ -10,7 +10,19 @@ This is an additional field on the mob config, `DropOptions`, that allows you to ...@@ -10,7 +10,19 @@ This is an additional field on the mob config, `DropOptions`, that allows you to
```yaml ```yaml
DropOptions: DropOptions:
DropMethod: FANCY DropMethod: FANCY
ShowDeathChatMessage: false
ShowDeathHologram: false
PerPlayerDrops: false
ClientSideDrops: false ClientSideDrops: false
Lootsplosion: false
HologramItemNames: false
ItemGlowByDefault: false
ItemBeamByDefault: false
ItemVFXByDefault: false
ItemVFX:
Material: STONE
Model: 0
RequiredDamagePercent: 1
HologramTimeout: 6000 HologramTimeout: 6000
HologramMessage: HologramMessage:
- ... - ...
...@@ -33,6 +45,32 @@ Defaults to `VANILLA` ...@@ -33,6 +45,32 @@ Defaults to `VANILLA`
``` ```
### ShowDeathChatMessage
Whether to show the death chat message to the players.
Defaults to `false`.
```yaml
DropOptions:
ShowDeathChatMessage: true
```
### ShowDeathHologram
Whether to show the death hologram to the players.
Defaults to `false`.
```yaml
DropOptions:
ShowDeathHologram: true
```
### PerPlayerDrops
Whether to calculate the drops of the mob separately for each player involved. Essentially, the drops will be rolled one time for each player.
```yaml
DropOptions:
PerPlayerDrops: true
```
### ClientSideDrops ### ClientSideDrops
Whether drops should be seen per-player, in a client side manner. In essence, with this enabled, every player will only be able to see the loot that they themselves gained. Whether drops should be seen per-player, in a client side manner. In essence, with this enabled, every player will only be able to see the loot that they themselves gained.
```yaml ```yaml
...@@ -41,6 +79,64 @@ Whether drops should be seen per-player, in a client side manner. In essence, wi ...@@ -41,6 +79,64 @@ Whether drops should be seen per-player, in a client side manner. In essence, wi
``` ```
### Lootsplosion
Whether the drops should do a lootsplosion effect by default.
```yaml
DropOptions:
Lootsplosion: true
```
### HologramItemNames
Whether the items should have a hologram name to display them by default.
```yaml
DropOptions:
HologramItemNames: true
```
### ItemGlowByDefault
Whether items should go by default.
```yaml
DropOptions:
ItemGlowByDefault: true
```
### ItemBeamByDefault
Whether items should have a beam by default.
```yaml
DropOptions:
ItemBeamByDefault: true
```
### ItemVFXByDefault
Whether items should have a vfx by default.
```yaml
DropOptions:
ItemVFXByDefault: true
```
### ItemVFX
Options regarding the default VFX of the items
```yaml
DropOptions:
ItemVFX:
Material: STONE # The default material of the vfx
Model: 0 # The default model of the vfx
```
### RequiredDamagePercent
The required amount of damage to inflict on the mob, quantified as percent of its health, in order for the drops to be generated for the specific player.
```yaml
DropOptions:
RequiredDamagePercent: 1
```
### HologramTimeout ### HologramTimeout
The amount of time after which the hologram that spawns when the mob dies should disappear The amount of time after which the hologram that spawns when the mob dies should disappear
Defaults to `6000` Defaults to `6000`
... ...
......