Skip to content

Commit

Permalink
Fix most bugs left
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Dec 28, 2021
1 parent 0c82049 commit 3572930
Show file tree
Hide file tree
Showing 33 changed files with 16,731 additions and 2,118 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public void tick() {
this.yo = this.y;
this.zo = this.z;
if(this.age++ < this.lifetime && !(this.alpha <= 0.0F)) {
this.xd += (double) (this.random.nextFloat() / 5000.0F * (float) (this.random.nextBoolean() ? 1 : -1));
this.zd += (double) (this.random.nextFloat() / 5000.0F * (float) (this.random.nextBoolean() ? 1 : -1));
this.yd -= (double) this.gravity;
this.xd += (this.random.nextFloat() / 5000.0F * (float) (this.random.nextBoolean() ? 1 : -1));
this.zd += (this.random.nextFloat() / 5000.0F * (float) (this.random.nextBoolean() ? 1 : -1));
this.yd -= this.gravity;
this.move(this.xd, this.yd, this.zd);
if(this.age >= this.lifetime - 60 && this.alpha > 0.01F) {
this.alpha -= 0.015F;
Expand All @@ -42,7 +42,7 @@ public void tick() {
}

public ParticleRenderType getRenderType() {
return WispParticle.PARTICLE_SHEET_TRANSLUCENT_114;
return ParticleRenderType.PARTICLE_SHEET_LIT;
}

public static class FlameFactory implements ParticleProvider<SimpleParticleType> {
Expand Down
21 changes: 21 additions & 0 deletions common/src/main/resources/assets/whisperwoods/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,26 @@

"item.whisperwoods.bottled_moth": "Bottled Moth",

"config.whisperwoods": "Whisperwoods Configuration",
"config.whisperwoods.can_despawn": "Can Despawn",
"config.whisperwoods.spawn_naturally": "Spawns Naturally",
"config.whisperwoods.spawn_weight": "Spawn Weight",
"config.whisperwoods.minimum_group_size": "Minimum Group Size",
"config.whisperwoods.maximum_group_size": "Maximum Group Size",
"config.whisperwoods.spawn_biomes": "Spawn Biomes",
"config.whisperwoods.use_spawn_costs": "Use Spawn Costs",
"config.whisperwoods.cost_per_spawn": "Cost Per Spawn",
"config.whisperwoods.maximum_cost_per_biome": "Maximum Cost Per Biome",
"config.whisperwoods.spawn_cost_biomes": "Spawn Cost Biomes",
"config.whisperwoods.whisperwoods-client": "Client Configuration",
"config.whisperwoods.whisperwoods-server-default": "Default Server Configuration",
"config.whisperwoods.entities": "Entities",
"config.whisperwoods.biome_based_variants": "Biome Based Variants",
"config.whisperwoods.spawning": "Spawning Configuration",
"config.whisperwoods.spawning.spawn_costs": "Spawn Costs",

"config.whisperwoods.hostile_chance": "Hostile Chance",
"config.whisperwoods.moths_to_destroy_torch": "Moths to Destroy Torch",

"misc.whisperwoods.eggorder": "Spawn %s"
}
Loading

0 comments on commit 3572930

Please sign in to comment.