Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Commit

Permalink
new grief category icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Nxyi committed Mar 20, 2023
1 parent 53d5c69 commit 277f18e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ yarn_mappings=1.19.4+build.1
loader_version=0.14.17

# Mod properties
mod_version=1.1.1
mod_version=1.1.2
maven_group=coffee.client
archives_base_name=coffee

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public GhostHand() {

@Override
public void tick() {
if (!(CoffeeMain.client.options.useKey.isPressed() || CoffeeMain.client.player.isSneaking())) return;
if (!(CoffeeMain.client.options.useKey.isPressed())) return;

for (BlockEntity blockEntity : Utils.blockEntities()) {
if (BlockPos.ofFloored(CoffeeMain.client.player.raycast(CoffeeMain.client.interactionManager.getReachDistance(), CoffeeMain.client.getTickDelta(), false).getPos()).equals(blockEntity.getPos())) return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public interface Texture {
SpritesheetTextureSet ACTION_TYPES = SpritesheetTextureSet.fromJson("https://raw.githubusercontent.com/Nxyi/Resources/master/ss_actions.png",
Utils.loadFromResources("sprite/actions.json"));
DirectTexture BACKGROUND = new DirectTexture("https://raw.githubusercontent.com/Nxyi/Resources/master/background.png");
ResourceTexture ICON = new ResourceTexture("assets/coffee/icon.png");
ResourceTexture ICON = new ResourceTexture("assets/coffee/-icon.png");

void load() throws Throwable;

Expand Down
Binary file added src/main/resources/assets/coffee/-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/main/resources/assets/coffee/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/main/resources/assets/coffee/other_icon.png
Binary file not shown.
8 changes: 4 additions & 4 deletions src/main/resources/assets/coffee/sprite/module_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
},
{
"frame": {
"h": 57,
"w": 53,
"x": 366,
"y": 167
"h": 70,
"w": 70,
"x": 360,
"y": 159
},
"name": "grief.png"
},
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 @@ -9,10 +9,10 @@
],
"contact": {
"homepage": "https://client.coffee",
"sources": "https://github.com/Coffee-Client/Coffee"
"sources": "https://github.com/Nxyi/Kapuncino-Client"
},
"license": "All-Rights-Reserved",
"icon": "assets/coffee/other_icon.png",
"icon": "assets/coffee/icon.png",
"environment": "*",
"entrypoints": {
"main": [
Expand Down

0 comments on commit 277f18e

Please sign in to comment.