falky's words of power to get more compile errors
This commit is contained in:
parent
2464d9b748
commit
d76b370eee
3 changed files with 7 additions and 4 deletions
|
@ -3,15 +3,16 @@ package at.petrak.hexcasting.api.spell.casting
|
|||
import at.petrak.hexcasting.api.advancements.HexAdvancementTriggers
|
||||
import at.petrak.hexcasting.api.block.circle.BlockEntityAbstractImpetus
|
||||
import at.petrak.hexcasting.api.misc.FrozenColorizer
|
||||
import at.petrak.hexcasting.api.mod.HexApiItems
|
||||
import at.petrak.hexcasting.api.mod.HexApiSounds
|
||||
import at.petrak.hexcasting.api.mod.HexStatistics
|
||||
import at.petrak.hexcasting.api.spell.ParticleSpray
|
||||
import at.petrak.hexcasting.api.spell.RenderedSpell
|
||||
import at.petrak.hexcasting.api.spell.mishaps.Mishap
|
||||
import at.petrak.hexcasting.common.lib.HexItems
|
||||
import net.minecraft.Util
|
||||
import net.minecraft.network.chat.TranslatableComponent
|
||||
import net.minecraft.sounds.SoundSource
|
||||
import net.minecraft.world.item.DyeColor
|
||||
import net.minecraft.world.item.ItemStack
|
||||
|
||||
/**
|
||||
|
@ -83,7 +84,7 @@ sealed class OperatorSideEffect {
|
|||
spray.sprayParticles(
|
||||
harness.ctx.world,
|
||||
FrozenColorizer(
|
||||
ItemStack(HexApiItems.COLORIZER_RED),
|
||||
ItemStack(HexItems.DYE_COLORIZERS[DyeColor.RED]!!),
|
||||
Util.NIL_UUID
|
||||
)
|
||||
)
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
package at.petrak.hexcasting.api.spell.mishaps
|
||||
|
||||
import at.petrak.hexcasting.api.misc.FrozenColorizer
|
||||
import at.petrak.hexcasting.api.mod.HexApiItems
|
||||
import at.petrak.hexcasting.api.spell.ParticleSpray
|
||||
import at.petrak.hexcasting.api.spell.SpellDatum
|
||||
import at.petrak.hexcasting.api.spell.casting.CastingContext
|
||||
import at.petrak.hexcasting.api.spell.math.HexPattern
|
||||
import at.petrak.hexcasting.common.lib.HexItems
|
||||
import net.minecraft.ChatFormatting
|
||||
import net.minecraft.Util
|
||||
import net.minecraft.network.chat.Component
|
||||
|
@ -36,7 +36,7 @@ sealed class Mishap : Throwable() {
|
|||
|
||||
protected fun dyeColor(color: DyeColor): FrozenColorizer =
|
||||
FrozenColorizer(
|
||||
ItemStack(HexApiItems.getColorizer(color)),
|
||||
ItemStack(HexItems.DYE_COLORIZERS[color]!!),
|
||||
Util.NIL_UUID
|
||||
)
|
||||
|
||||
|
|
|
@ -54,3 +54,5 @@ subprojects {
|
|||
enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
allprojects { gradle.projectsEvaluated { tasks.withType(JavaCompile) { options.compilerArgs << "-Xmaxerrs" << "1000" } } }
|
||||
|
|
Loading…
Reference in a new issue