{
	"type": "minecraft:chest",
	"pools": [
		{
			"rolls": 1,
			"entries": [
				{
					"type": "minecraft:item",
					"name": "minecraft:totem_of_undying",
					"functions": [
						{
							"function": "minecraft:set_components",
							"components": {
								"minecraft:death_protection": {
									"death_effects": [
										{
											"type": "minecraft:clear_all_effects"
										},{
											"type": "minecraft:apply_effects",
											"effects": [
												{
													"id": "minecraft:resistance",
                                                    "amplifier": 3,
                                                    "duration": 200
												}
											]
										}
									]
								},
								"minecraft:lore": [
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_1",
										"fallback": "Revives the player with an",
										"color": "#2eaa73"
									},
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_2",
										"fallback": "additional random effect.",
										"color": "#2eaa73"
									}
								],
								"minecraft:item_name": {
									"translate": "item.kattersstructures.rusta_random_totem.name",
									"fallback": "Rusta's Random Totem",
									"color": "#9c04ea"
								},
                                "custom_data": {
									"kattersstructures.is_rusta_random_totem": true
                                }
							}
						}
					]
				},{
					"type": "minecraft:item",
					"name": "minecraft:totem_of_undying",
					"functions": [
						{
							"function": "minecraft:set_components",
							"components": {
								"minecraft:death_protection": {
									"death_effects": [
										{
											"type": "minecraft:clear_all_effects"
										},{
											"type": "minecraft:play_sound",
											"sound": "minecraft:entity.ender_dragon.death"
										}
									]
								},
								"minecraft:lore": [
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_1",
										"fallback": "Revives the player with an",
										"color": "#2eaa73"
									},
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_2",
										"fallback": "additional random effect.",
										"color": "#2eaa73"
									}
								],
								"minecraft:item_name": {
									"translate": "item.kattersstructures.rusta_random_totem.name",
									"fallback": "Rusta's Random Totem",
									"color": "#9c04ea"
								},
                                "custom_data": {
									"kattersstructures.is_rusta_random_totem": true
                                }
							}
						}
					]
				},{
					"type": "minecraft:item",
					"name": "minecraft:totem_of_undying",
					"functions": [
						{
							"function": "minecraft:set_components",
							"components": {
								"minecraft:death_protection": {
									"death_effects": [
										{
											"type": "minecraft:clear_all_effects"
										},{
											"type": "minecraft:apply_effects",
											"effects": [
												{
													"id": "minecraft:raid_omen",
                                                    "amplifier": 3,
                                                    "duration": 2000
												}
											]
										}
									]
								},
								"minecraft:lore": [
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_1",
										"fallback": "Revives the player with an",
										"color": "#2eaa73"
									},
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_2",
										"fallback": "additional random effect.",
										"color": "#2eaa73"
									}
								],
								"minecraft:item_name": {
									"translate": "item.kattersstructures.rusta_random_totem.name",
									"fallback": "Rusta's Random Totem",
									"color": "#9c04ea"
								},
                                "custom_data": {
									"kattersstructures.is_rusta_random_totem": true
                                }
							}
						}
					]
				},{
					"type": "minecraft:item",
					"name": "minecraft:totem_of_undying",
					"functions": [
						{
							"function": "minecraft:set_components",
							"components": {
								"minecraft:death_protection": {
									"death_effects": [
										{
											"type": "minecraft:clear_all_effects"
										},{
											"type": "minecraft:apply_effects",
											"effects": [
												{
													"id": "minecraft:speed",
                                                    "amplifier": 20,
                                                    "duration": 200
												},
                                                {
													"id": "minecraft:jump_boost",
                                                    "amplifier": 4,
                                                    "duration": 200
												}
											]
										}
									]
								},
								"minecraft:lore": [
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_1",
										"fallback": "Revives the player with an",
										"color": "#2eaa73"
									},
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_2",
										"fallback": "additional random effect.",
										"color": "#2eaa73"
									}
								],
								"minecraft:item_name": {
									"translate": "item.kattersstructures.rusta_random_totem.name",
									"fallback": "Rusta's Random Totem",
									"color": "#9c04ea"
								},
                                "custom_data": {
									"kattersstructures.is_rusta_random_totem": true
                                }
							}
						}
					]
				},{
					"type": "minecraft:item",
					"name": "minecraft:totem_of_undying",
					"weight": 5,
					"functions": [
						{
							"function": "minecraft:set_components",
							"components": {
								"minecraft:death_protection": {
									"death_effects": [
										{
											"type": "minecraft:clear_all_effects"
										}
									]
								},
								"minecraft:lore": [
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_1",
										"fallback": "Revives the player with an",
										"color": "#2eaa73"
									},
									{
										"translate": "item.kattersstructures.rusta_random_totem.lore_2",
										"fallback": "additional random effect.",
										"color": "#2eaa73"
									}
								],
								"minecraft:item_name": {
									"translate": "item.kattersstructures.rusta_random_totem.name",
									"fallback": "Rusta's Random Totem",
									"color": "#9c04ea"
								},
                                "custom_data": {
                                    "kattersstructures.rusta_random_totem": true,
									"kattersstructures.is_rusta_random_totem": true
                                }
							}
						}
					]
				}
			]
		}
	]
}