Skip to content

Commit

Permalink
Updated to 1.19.3
Browse files Browse the repository at this point in the history
  • Loading branch information
andi-makes committed Dec 8, 2022
1 parent d986088 commit a4e8998
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.19.2
yarn_mappings=1.19+build.4
loader_version=0.14.9
minecraft_version=1.19.3
yarn_mappings=1.19.3+build.2
loader_version=0.14.11

#Fabric api
fabric_version=0.58.5+1.19.1
fabric_version=0.68.1+1.19.3

# Mod Properties
mod_version=1.0.5+1.19.1
mod_version=1.0.6+1.19.3
maven_group=dev.schmarrn
archives_base_name=lighty
5 changes: 3 additions & 2 deletions src/main/java/dev/schmarrn/lighty/Blocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
import net.minecraft.block.AbstractBlock;
import net.minecraft.block.Block;
import net.minecraft.block.Material;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;

public class Blocks {
public static final Block GREEN_OVERLAY = registerOverlayBlock("green_overlay", 0x00FF00);
Expand All @@ -13,7 +14,7 @@ public class Blocks {

private static Block registerOverlayBlock(String name, int color) {
Block overlay = new OverlayBlock(AbstractBlock.Settings.of(Material.WOOL), color);
Registry.register(Registry.BLOCK, new Identifier(Lighty.MOD_ID, name), overlay);
Registry.register(Registries.BLOCK, new Identifier(Lighty.MOD_ID, name), overlay);
return overlay;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/dev/schmarrn/lighty/Compute.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import net.minecraft.block.*;
import net.minecraft.client.world.ClientWorld;
import net.minecraft.entity.EntityType;
import net.minecraft.tag.BlockTags;
import net.minecraft.registry.tag.BlockTags;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.LightType;

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"lighty.mixins.json"
],
"depends": {
"fabricloader": ">=0.14.8",
"minecraft": ">=1.19.1",
"fabricloader": ">=0.14.11",
"minecraft": ">=1.19.3",
"fabric": "*"
}
}

0 comments on commit a4e8998

Please sign in to comment.