package com.leisuretimedock.blasttravelreborn.content;

import com.leisuretimedock.blasttravelreborn.BlastTravelReborn;
import net.minecraft.core.registries.Registries;
import net.minecraft.data.worldgen.BootstapContext;
import net.minecraft.resources.ResourceKey;
import net.minecraft.world.damagesource.DamageScaling;
import net.minecraft.world.damagesource.DamageType;

public class BTRDamageTypes {
    public static final ResourceKey<DamageType> CANNON = ResourceKey.create(Registries.DAMAGE_TYPE,
            BlastTravelReborn.id("cannon"));

    public static void bootstrap(BootstapContext<DamageType> context) {
        context.register(CANNON, new DamageType(
                "cannon",
                DamageScaling.WHEN_CAUSED_BY_LIVING_NON_PLAYER,
                0.0F
        ));


    }
}
