Search in sources :

Example 1 with IBlastFactory

use of icbm.classic.api.explosion.IBlastFactory in project ICBM-Classic by BuiltBrokenModding.

the class TestTileEMPTower method setupForAllTests.

@BeforeAll
public static void setupForAllTests() {
    final ResourceLocation name = new ResourceLocation("ICBM:EMP");
    final IBlastFactory factory = () -> new BlastEMP().setEffectBlocks().setEffectEntities().setBlastSize(50);
    ICBMExplosives.EMP = new ExplosiveData(name, 16, EnumTier.THREE).blastFactory(factory);
}
Also used : ExplosiveData(icbm.classic.lib.explosive.reg.ExplosiveData) ResourceLocation(net.minecraft.util.ResourceLocation) IBlastFactory(icbm.classic.api.explosion.IBlastFactory) BlastEMP(icbm.classic.content.blast.BlastEMP) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

IBlastFactory (icbm.classic.api.explosion.IBlastFactory)1 BlastEMP (icbm.classic.content.blast.BlastEMP)1 ExplosiveData (icbm.classic.lib.explosive.reg.ExplosiveData)1 ResourceLocation (net.minecraft.util.ResourceLocation)1 BeforeAll (org.junit.jupiter.api.BeforeAll)1