Skip to content

Commit

Permalink
I...think that's it for the port lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
LemmaEOF committed Aug 9, 2023
1 parent 3c0934c commit 81f5e7f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ dependencies {
mappings "org.quiltmc:quilt-mappings:${minecraft_version}+build.${project.qm_build}:intermediary-v2"
modImplementation "org.quiltmc:quilt-loader:${project.loader_version}"
modImplementation "org.quiltmc.quilted-fabric-api:quilted-fabric-api:${project.qfapi_version}-${project.minecraft_version}"
modImplementation "org.quiltmc.quilted-fabric-api:quilted-fabric-api-deprecated:${project.qfapi_version}-${project.minecraft_version}"

include modImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cardinal_version}") { transitive = false }
include modImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-chunk:${project.cardinal_version}") { transitive = false }
include modImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-item:${project.cardinal_version}") { transitive = false }
include modImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cardinal_version}") { transitive = false }
include modImplementation("dev.emi:trinkets:${project.trinkets_version}") { transitive = false }
//waaa modelloadingregistry no longer exists
include modImplementation("vazkii.patchouli:Patchouli:${project.patchouli_version}") { exclude group: "net.fabricmc.fabric-api" exclude group: "net.fabricmc" }
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ archives_base_name = mycoturgy

# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
qfapi_version=7.1.0+0.86.1
qfapi_version=7.1.1+0.86.1
cardinal_version=5.2.2
patchouli_version=1.20.1-82-FABRIC-SNAPSHOT
trinkets_version=3.7.1
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public static void init() {
);
HAUSTOR_SEQUESTER = register("haustor_sequester",
new HaustorSequesterBlock(QuiltBlockSettings.copyOf(Blocks.GRASS)
.offsetType(AbstractBlock.OffsetType.NONE)
.breakInstantly()
), new Item.Settings()
);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package gay.lemmaeof.mycoturgy.init;

import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup;
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroupEntries;
import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
import net.minecraft.item.*;
import net.minecraft.registry.Registries;
Expand Down Expand Up @@ -63,6 +62,8 @@ public static void init() {
CASTING_BANDS = TagKey.of(Registries.ITEM.getKey(), new Identifier(Mycoturgy.MODID, "casting_bands"));
PIPE_LIGHTS = TagKey.of(Registries.ITEM.getKey(), new Identifier(Mycoturgy.MODID, "pipe_lights"));

Registry.register(Registries.ITEM_GROUP, MYCOTURGY_GROUP_KEY, MYCOTURGY_GROUP);

ItemGroupEvents.modifyEntriesEvent(MYCOTURGY_GROUP_KEY).register(entries -> {
//TODO: re-order eventually, this is quick and dirty for modfest
entries.addItem(MycoturgyBlocks.HAUSTOR_SEQUESTER);
Expand Down

0 comments on commit 81f5e7f

Please sign in to comment.