Lychee (Neo/Forge)

Lychee (Neo/Forge)

2M Downloads

Adding "chance" to Block Crushing doesn't work

Shadowdragon019 opened this issue ยท 0 comments

commented

Mod loader

Forge

Minecraft version

1.181

Mod version

1.5.1

Modloader version

39.0.66 and 39.0.88

Modpack info

No response

If bug:

  • Can you reproduce this issue with relevant mods only?

If bug: The latest.log file

https://gist.github.com/Shadowdragon019/1d8a170dfd6d39d6925f7c83ddbe8e1f

Issue description

Adding chance just straight up doesn't work
Demonstration - https://www.youtube.com/watch?v=Z9Gsl5ZEBZ4&ab_channel=Wolfboycoolkid
Example Datapack - https://drive.google.com/drive/folders/1TQsgRyBWM7CdF1e2tu69tVzYjOsNziga?usp=sharing
Note: I'm not sure if this is Block Crushing only
Code I used:

{
	"type": "lychee:block_crushing",
	"item_in": [
		{
			"item": "minecraft:oak_planks"
		}
	],
	"post": [
		{
			"type": "drop_item",
			"item": "minecraft:spruce_planks",
			"count": 1
		},
		{
			"type": "drop_item",
			"item": "minecraft:spruce_planks",
			"contextual": {
				"type": "chance",
				"chance": 0.99
			}
		}
	]
}