-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: config values and data syncing for substitution count
- Loading branch information
Showing
8 changed files
with
90 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...com/sekwah/sekclib/capabilitysync/capabilitysync/tracker/implemented/ByteSyncTracker.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.sekwah.sekclib.capabilitysync.capabilitysync.tracker.implemented; | ||
|
||
import com.sekwah.sekclib.capabilitysync.capabilitysync.tracker.SyncTrackerSerializer; | ||
import net.minecraft.network.FriendlyByteBuf; | ||
|
||
public class ByteSyncTracker implements SyncTrackerSerializer<Byte> { | ||
|
||
@Override | ||
public void encode(Byte objectToSend, FriendlyByteBuf outBuffer) { | ||
outBuffer.writeByte(objectToSend); | ||
} | ||
|
||
@Override | ||
public Byte decode(FriendlyByteBuf inBuffer) { | ||
return inBuffer.readByte(); | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/assets/narutomod/models/item/paper_bomb.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"parent": "item/generated", | ||
"textures": { | ||
"layer0": "narutomod:items/weapons/paperbomb" | ||
"layer0": "narutomod:items/weapons/paper_bomb" | ||
} | ||
} |
File renamed without changes
Binary file added
BIN
+6.03 KB
src/main/resources/assets/narutomod/textures/jutsu/jutsu_substiutution.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.