Skip to content

A library providing powerful client-server-agnostic predicates with a simple API.

License

Notifications You must be signed in to change notification settings

ModGardenEvent/silicate

Repository files navigation

Silicate

A library providing powerful client-server-agnostic predicates with a simple API.

Important

This library is new; use it with caution. The API may change frequently, and not all features have been implemented. Check the issue tracker for updates.

Usage

Add this to your build.gradle(.kts)

repositories {
	exclusiveContent {
		forRepositories(
			maven("https://repo.greenhouse.house/releases") {
				name = "Greenhouse"
			}
		)
		filter { includeGroup("net.modgarden.silicate") }
	}
}

dependencies {
	// If using multiloader, use each platform as below for silicate in their respective modules
	implementation("net.modgarden.silicate:silicate-PLATFORM:VERSION")
	// If using multiloader, put this in your "common" module
	// compileOnly("net.modgarden.silicate:silicate-common:VERSION")
}

Goal

The goal of Silicate is to complete a context-aware predicate system on par with Minecraft's Loot Context-aware predicates. Available for Fabric and NeoForge, Silicate provides a common API for interfacing advanced predicates between mods, across platforms. Silicate achieves this by implementing a clean-slate predicate architecture, initially independent of Minecraft.

Features

Silicate provides out-of-the-box Codec and datapack support, enabling developers and modpack designers to more easily implement and configure desired behavior. Silicate also comes with built-in predicates for Minecraft's various game interactions, easing the amount of boilerplate necessary.

Contributing

Before you contribute, please read about Conventional Commits. This repository uses Conventional Commits for all commit messages, and any non-conforming commit messages will be converted.

About

A library providing powerful client-server-agnostic predicates with a simple API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published