Skip to content

Commit

Permalink
Add author credit in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
TrigamDev committed Sep 22, 2024
1 parent 45ae9f5 commit ff9f8f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/main/java/dev/symphony/harmony/item/ModifyItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
public class ModifyItems {

public static void init() {
// Change stack sizes
// FEATURE: Change stew/soup stack sizes
// AUTHORS: Flatkat, Trigam
if (HarmonyConfig.stewStackSize != 1) {
DefaultItemComponentEvents.MODIFY.register(context -> {
// Ok so, can't use an item tag since tags only exist
Expand All @@ -17,13 +18,13 @@ public static void init() {
builder.add(DataComponentTypes.MAX_STACK_SIZE, HarmonyConfig.stewStackSize)
);
context.modify(Items.RABBIT_STEW, builder ->
builder.add(DataComponentTypes.MAX_STACK_SIZE, HarmonyConfig.stewStackSize)
builder.add(DataComponentTypes.MAX_STACK_SIZE, HarmonyConfig.stewStackSize)
);
context.modify(Items.BEETROOT_SOUP, builder ->
builder.add(DataComponentTypes.MAX_STACK_SIZE, HarmonyConfig.stewStackSize)
builder.add(DataComponentTypes.MAX_STACK_SIZE, HarmonyConfig.stewStackSize)
);
context.modify(Items.SUSPICIOUS_STEW, builder ->
builder.add(DataComponentTypes.MAX_STACK_SIZE, HarmonyConfig.stewStackSize)
builder.add(DataComponentTypes.MAX_STACK_SIZE, HarmonyConfig.stewStackSize)
);
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Unique;

// FEATURE: Vehicles can move through leaves when ridden
// AUTHORS: Trigam
@Mixin(LeavesBlock.class)
public class VehiclesMoveThroughLeaves extends Block {

Expand Down

0 comments on commit ff9f8f0

Please sign in to comment.