repo for my hex addons :3
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

hidden sun's nadir

+16 -2
+1
project/hexic/changelog
··· 10 10 1.4.7-pre.2 remove internal error with out-of-bounds excisor's gambit 11 11 2.0.0 add Cessation and Resumption 12 12 2.0.0 add docs for plane-related patterns 13 + 2.0.0 add Hidden Sun's Nadir (blindness) 13 14 2.0.0 add view iotas (experimental!) 14 15 2.0.0 load config from config/*.properties instead of config/jvm.properties 15 16 2.0.0 mediaweave now applies to all chat messages
+2
project/hexic/src/client/scala/org/eu/net/pool/hexic/client.scala
··· 292 292 new FabricLanguageProvider(_): 293 293 override def generateTranslations(gen: FabricLanguageProvider.TranslationBuilder): Unit = 294 294 for action -> name <- Vector( 295 + "blind" -> "Hidden Sun's Nadir", 295 296 "deleteworld" -> "Shatter Demiplane", 296 297 "drop" -> "Rejection Distillation", 297 298 "dye_offhand" -> "Apply Pigment", ··· 357 358 "get_other_caster" -> "Adds the closest sentient being, excluding me, to the stack.", 358 359 "modulo" -> "Similar to Modulus, but differs for negative numbers: -8 %%₁ 3 = -2, but -8 %%₂ 3 = 1.", 359 360 "murmur" -> "Finds the region of my mind known as the 'chat box' and adds its contents to the stack. If it cannot be found, adds Null instead.", 361 + "blind" -> "Inflicts $(thing)blindness/$. Base cost is one $(l:items/amethyst)$(item)Amethyst Dust/$ per 10 seconds.", 360 362 ) do gen.add(s"book.hexic.page.$page", text) 361 363 gen.add("hexdoc.hexic.description", "Miscellaneous neat features and QoL patterns for Hex Casting") 362 364 gen.add("hexdoc.hexic.title", "Hexic")
+10
project/hexic/src/main/resources/assets/hexic/jsonpatch/nadirs.jsonpatch
··· 1 + @version "1"; 2 + @target "hexcasting:patchouli_books/thehexbook/en_us/entries/patterns/spells/nadirs.json"; 3 + $pages = arrays.push($pages, { 4 + type: "hexcasting:pattern", 5 + op_id: "hexic:blind", 6 + anchor: "hexic:blind", 7 + input: "entity, number", 8 + output: "", 9 + text: "book.hexic.page.blind" 10 + });
+3 -2
project/hexic/src/main/scala/org/eu/net/pool/hexic/main.scala
··· 143 143 import org.eu.net.pool.hexic.mixin.{ItemStackAccess, LivingEntityAccess} 144 144 import at.petrak.hexcasting.common.casting.actions.eval.OpEval 145 145 import at.petrak.hexcasting.api.casting.eval.ResolvedPatternType 146 - import at.petrak.hexcasting.common.casting.actions.spells.OpBreakBlock 147 - import at.petrak.hexcasting.common.casting.actions.spells.OpErase 146 + import at.petrak.hexcasting.common.casting.actions.spells.{OpBreakBlock, OpErase, OpPotionEffect} 148 147 import at.petrak.hexcasting.api.casting.mishaps.MishapBadEntity 149 148 import net.minecraft.entity.ItemEntity 150 149 import net.minecraft.entity.decoration.ItemFrameEntity ··· 182 181 import java.math.BigInteger 183 182 import net.minecraft.entity.ItemEntity 184 183 import net.minecraft.entity.ExperienceOrbEntity 184 + import net.minecraft.entity.effect.StatusEffects 185 185 import net.minecraft.network.packet.s2c.play.PositionFlag 186 186 import net.minecraft.world.chunk.{ChunkStatus, WorldChunk} 187 187 ··· 1441 1441 case _ => true 1442 1442 val sorted = others.toSeq.sortBy(_.getPos.squaredDistanceTo(summon[CastingEnvironment].mishapSprayPos)) 1443 1443 sorted.headOption.fold(NullIota())(EntityIota(_)) 1444 + Patterns.register("blind", se"qqqqqadwawawd")(OpPotionEffect(StatusEffects.BLINDNESS, 1000, false, false)) 1444 1445 Patterns.register("erase", e"wqwdwqwawwwwwawwwww"): 1445 1446 Patterns.mkAction: (img, cont) => 1446 1447 def mkResult(scale: Int, pos: => Vec3d, spell: => Unit) =