Skip to content

Commit

Permalink
1.16.5-1.0.0.beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
RealYusufIsmail committed Dec 21, 2023
1 parent bee8a17 commit 7381b6c
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
4 changes: 4 additions & 0 deletions forge-1-16/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

# [1.16.5-1.0.0.beta2] - 21/12/2023

### Added Blocks. Ore generation, Recipes, etc. will be added in the coming updates.

# [1.16.5-1.0.0.beta1] - 20/12/2023

### Introduced 1.16.5 support for the mod. Currently only has items. Ore generation, blocks, etc. will be added later.
2 changes: 1 addition & 1 deletion forge-1-16/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ kotlin.code.style=official
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false

modVersion = 1.16.5-1.0.0.beta1
modVersion = 1.16.5-1.0.0.beta2
mcVersion = 1.16.5
projectId = 480779
modId = temporalsmith
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package blocks.lit;
package io.github.realyusufismail.temporalsmith.lit;

import io.github.realyusufismail.temporalsmith.TemporalSmith;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.function.ToIntFunction;
import lombok.val;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.RedstoneTorchBlock;
Expand Down Expand Up @@ -95,9 +96,9 @@ protected static void spawnParticles(World pLevel, BlockPos pPos) {
? 0.5D + 0.5625D * (double) direction.getStepZ()
: (double) randomsource.nextFloat();

var block = pLevel.getBlockState(pPos).getBlock();
var particleColours = LITBlock.particleColours.get(block.getClass());
var colour = particleColours.get(randomsource.nextInt(particleColours.size()));
val block = pLevel.getBlockState(pPos).getBlock();
val particleColours = LITBlock.particleColours.get(block.getClass());
val colour = particleColours.get(randomsource.nextInt(particleColours.size()));
TemporalSmith.TemporalSmith.getLogger()
.debug(
"Colour: "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package blocks.lit;
package io.github.realyusufismail.temporalsmith.lit;

import net.minecraft.particles.IParticleData;
import net.minecraft.particles.RedstoneParticleData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package blocks.lit;
package io.github.realyusufismail.temporalsmith.lit;

import java.util.Arrays;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package blocks.lit;
package io.github.realyusufismail.temporalsmith.lit;

import java.util.Collections;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
*/
package io.github.realyusufismail.temporalsmith.core.init

import blocks.lit.RainbowLitBlock
import blocks.lit.RubyLitBlock
import io.github.realyusufismail.temporalsmith.TemporalSmith.TemporalSmith.MOD_ID
import io.github.realyusufismail.temporalsmith.TemporalSmith.TemporalSmith.temporalSmithItemGroup
import io.github.realyusufismail.temporalsmith.core.util.ObjectHolderDelegate
import io.github.realyusufismail.temporalsmith.core.util.registerObject
import io.github.realyusufismail.temporalsmith.lit.RainbowLitBlock
import io.github.realyusufismail.temporalsmith.lit.RubyLitBlock
import net.minecraft.block.AbstractBlock
import net.minecraft.block.Block
import net.minecraft.block.Blocks
Expand Down
2 changes: 1 addition & 1 deletion forge-1-16/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ license = "Apache 2.0" #mandatory
issueTrackerURL = "https://github.com/RealYusufIsmail-Mc-Mods/TemporalSmith"
[[mods]]
modId = "temporalsmith"
version = "1.16.5-1.0.0.beta1"
version = "1.16.5-1.0.0.beta2"
displayName = "TemporalSmith: Aetheric Arsenal Expansion"
logoFile = "logo.png"
updateJSONURL = "https://forge.curseupdate.com/480779/temporalsmith"
Expand Down

0 comments on commit 7381b6c

Please sign in to comment.