cleanups
This commit is contained in:
parent
84b6448579
commit
e083b31101
4 changed files with 4 additions and 5 deletions
|
@ -26,8 +26,7 @@ public class AkashicTreeGrower extends AbstractTreeGrower {
|
|||
|
||||
public static final List<Holder<ConfiguredFeature<TreeConfiguration, ?>>> GROWERS = Lists.newArrayList();
|
||||
|
||||
public void RegisterTreeGrowers()
|
||||
{
|
||||
public static void init() {
|
||||
GROWERS.add(buildTreeFeature(HexBlocks.AKASHIC_LEAVES1, "1"));
|
||||
GROWERS.add(buildTreeFeature(HexBlocks.AKASHIC_LEAVES2, "2"));
|
||||
GROWERS.add(buildTreeFeature(HexBlocks.AKASHIC_LEAVES3, "3"));
|
||||
|
|
|
@ -904,7 +904,7 @@
|
|||
"hexcasting.page.basic_spell.explode.2": "A power of 3 is about as much as a Creeper's blast; 4 is about as much as a TNT blast. Nature refuses to give me a blast of more than 10 power, though.$(br2)Strangely, this explosion doesn't seem to harm me. Perhaps it's because $(italic)I/$ am the one exploding?$(br2)Costs a negligible amount at power 0, plus 3 extra $(l:items/amethyst)$(item)Amethyst Dust/$s per point of explosion power.",
|
||||
"hexcasting.page.basic_spell.explode.fire.1": "Remove a number and vector from the stack, then create a fiery explosion at the given location with the given power.",
|
||||
"hexcasting.page.basic_spell.explode.fire.2": "Costs one $(l:items/amethyst)$(item)Amethyst Dust/$, plus about 3 extra $(l:items/amethyst)$(item)Amethyst Dust/$s per point of explosion power. Otherwise, the same as $(l:patterns/spells/basic#hexcasting:explode)$(action)Explosion/$, except with fire.",
|
||||
"hexcasting.page.basic_spell.add_motion": "Remove an entity and direction from the stack, then give a shove to the given entity in the given direction. The strength of the impulse is determined by the length of the vector.$(br)Costs units of $(l:items/amethyst)$(item)Amethyst Dust/$ equal to the square of the length of the vector, plus one for every Impulse besides the first in a spell.",
|
||||
"hexcasting.page.basic_spell.add_motion": "Remove an entity and direction from the stack, then give a shove to the given entity in the given direction. The strength of the impulse is determined by the length of the vector.$(br)Costs units of $(l:items/amethyst)$(item)Amethyst Dust/$ equal to the square of the length of the vector, plus one for every Impulse except the first targeting an entity.",
|
||||
"hexcasting.page.basic_spell.blink": "Remove an entity and length from the stack, then teleport the given entity along its look vector by the given length.$(br)Costs about one $(l:items/amethyst)$(item)Amethyst Shard/$ per two blocks travelled.",
|
||||
"hexcasting.page.basic_spell.beep.1": "Remove a vector and two numbers from the stack. Plays an $(thing)instrument/$ defined by the first number at the given location, with a $(thing)note/$ defined by the second number. Costs a negligible amount of _media.",
|
||||
"hexcasting.page.basic_spell.beep.2": "There appear to be 16 different $(thing)instruments/$ and 25 different $(thing)notes/$. Both are indexed by zero.$(br2)These seem to be the same instruments I can produce with a $(item)Note Block/$, though the reason for each instrument's number being what it is eludes me.$(br2)Either way, I can find the numbers I need to use by inspecting a $(item)Note Block/$ through a $(l:items/lens)$(item)Scrying Lens/$.",
|
||||
|
|
|
@ -105,7 +105,7 @@ object FabricHexInitializer : ModInitializer {
|
|||
// Because of Java's lazy-loading of classes, can't use Kotlin static initialization for
|
||||
// any calls that will eventually touch FeatureUtils.register(), as the growers here do,
|
||||
// unless the class is called in this initialization step.
|
||||
AkashicTreeGrower.INSTANCE.RegisterTreeGrowers()
|
||||
AkashicTreeGrower.init()
|
||||
|
||||
// Done with soft implements in forge
|
||||
val flameOn = FlammableBlockRegistry.getDefaultInstance()
|
||||
|
|
|
@ -115,7 +115,7 @@ public class ForgeHexInitializer {
|
|||
// Forge does not strictly require TreeGrowers to initialize during early game stages, unlike Fabric and Quilt.
|
||||
// However, all launcher panic if the same resource is registered twice. Explicitly calling here avoids potential
|
||||
// confusion, or reliance on tricks that may fail under compiler optimization.
|
||||
AkashicTreeGrower.INSTANCE.RegisterTreeGrowers();
|
||||
AkashicTreeGrower.init();
|
||||
}
|
||||
|
||||
// https://github.com/VazkiiMods/Botania/blob/1.18.x/Forge/src/main/java/vazkii/botania/forge/ForgeCommonInitializer.java
|
||||
|
|
Loading…
Reference in a new issue