/* * Decompiled with CFR 0.152. * * Could not load the following classes: * com.mojang.datafixers.schemas.Schema * com.mojang.serialization.Dynamic */ package net.minecraft.util.datafix.fixes; import com.mojang.datafixers.schemas.Schema; import com.mojang.serialization.Dynamic; import net.minecraft.util.datafix.fixes.DataComponentRemainderFix; public class FireResistantToDamageResistantComponentFix extends DataComponentRemainderFix { public FireResistantToDamageResistantComponentFix(Schema outputSchema) { super(outputSchema, "FireResistantToDamageResistantComponentFix", "minecraft:fire_resistant", "minecraft:damage_resistant"); } @Override protected Dynamic fixComponent(Dynamic input) { return input.emptyMap().set("types", input.createString("#minecraft:is_fire")); } }