Skip to content

Commit

Permalink
0.0.2, add icon, remove loot pool for now as porting lib loot breaks …
Browse files Browse the repository at this point in the history
…some mods
  • Loading branch information
TheWinABagel committed Oct 14, 2023
1 parent fd4e198 commit c0d192e
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 82 deletions.
23 changes: 19 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,25 @@ dependencies {

modImplementation(include("com.jamieswhiteshirt:reach-entity-attributes:${project.reach_lib_version}"))

modImplementation(include("io.github.fabricators_of_create.Porting-Lib:Porting-Lib:${project.port_lib_version}")) {
exclude(group: "io.github.fabricators_of_create.Porting-Lib", module: "networking")
exclude(group: "io.github.fabricators_of_create.Porting-Lib", module: "loot")
}
//Porting lib, idk how to opt out :(
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:accessors:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:attributes:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:base:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:client_events:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:common:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:core:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:entity:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:extensions:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:lazy_registration:${project.port_lib_version}"))
//modImplementation(include("io.github.fabricators_of_create.Porting-Lib:loot:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:mixin_extensions:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:models:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:registries:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:tags:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:tool_actions:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:transfer:${project.port_lib_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:utility:${project.port_lib_version}"))


// Mixin Extras + Mixin^2 for mod compat
implementation(annotationProcessor("io.github.llamalad7:mixinextras-fabric:0.2.0-beta.10"))
Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

## 0.0.2
* Remove some unused parts of Porting Lib, to increase compatibility

## 0.0.1
* Initial release
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ minecraft_version=1.20.1
loader_version=0.14.22

# Mod Properties
mod_version=0.0.1
mod_version=0.0.2
maven_group=dev.shadowsoffire.placebo
archives_base_name=fakerlib

Expand Down
1 change: 1 addition & 0 deletions src/main/java/dev/shadowsoffire/placebo/Placebo.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public void onInitialize() {
PlaceboUtil.registerCustomColor(GradientColor.RAINBOW);
DynamicRegistry.sync();
GearSetRegistry.INSTANCE.register();
LOGGER.info("Look at the cleanse, look at the moves!");
}


Expand Down
68 changes: 0 additions & 68 deletions src/main/java/dev/shadowsoffire/placebo/loot/LootSystem.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class PoolBuilder extends LootPool.Builder {

public PoolBuilder(int minRolls, int maxRolls) {
this.setRolls(UniformGenerator.between(minRolls, maxRolls));
this.name("fakerlib_code_pool_" + k++);
// this.name("fakerlib_code_pool_" + k++); //TODO fix when porting lib loot works with stuff again
}

public PoolBuilder addEntries(LootPoolEntryContainer... entries) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
package dev.shadowsoffire.placebo.mixin;

import com.google.common.collect.HashMultimap;
import com.google.common.collect.Multimap;
import com.google.gson.JsonElement;
import dev.shadowsoffire.placebo.Placebo;
import dev.shadowsoffire.placebo.loot.LootSystem;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.level.storage.loot.LootDataId;
import net.minecraft.world.level.storage.loot.LootDataManager;
import net.minecraft.world.level.storage.loot.LootDataType;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

import java.util.HashMap;
import java.util.Map;

@Mixin(LootDataManager.class)
Expand Down
Binary file modified src/main/resources/assets/fakerlib/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c0d192e

Please sign in to comment.