-
Notifications
You must be signed in to change notification settings - Fork 0
Add Shuffle Filter item as subclass of Create's List Filter #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Shuffle Filter item as subclass of Create's List Filter #1
Conversation
Co-authored-by: Agent772 <9315914+Agent772@users.noreply.github.com>
Agent772
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the changes and naming are all in the example files. Please either rename the files and folders or move it to new so it no longer uses the example thingis but represent the mod itself like 'com/agent772/createshufflefilter/'
|
@copilot please see my review and make the according changes |
…dencies Co-authored-by: Agent772 <9315914+Agent772@users.noreply.github.com>
Package structure has been refactored from
All review changes have been implemented in commit 1a971ad:
|
Agent772
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot looks good so far, did you include a placeholder for the item asset / what it looks ingame and all other needed things so it can be spawned and the gui entered ingame?
Co-authored-by: Agent772 <9315914+Agent772@users.noreply.github.com>
Yes! Added all necessary assets in commit 1344cac: Item Assets:
GUI Functionality:
Spawning:
Added ASSETS.md documentation explaining all resources. The placeholder texture can be customized to better match Create's art style if desired. |
This PR implements a new Shuffle Filter item that extends Create mod's List Filter functionality. The Shuffle Filter is a subclass of
FilterItemfrom the Create mod, allowing it to work identically to the List Filter while being programmatically distinguishable for future custom behavior.Implementation Details
New Item Class
Created
ShuffleFilterItemin packagecom.agent772.createshufflefilterthat extendscom.simibubi.create.content.logistics.filter.FilterItem:FilterType.REGULARto identify it as a variant of the default List Filterinstanceof ShuffleFilterItemfor future differentiationCrafting Recipes
Added two shaped crafting recipe variants to allow flexibility in nugget placement:
Recipe 1:
Iron Nugget+Any Wool+Brass Nugget(left to right)Recipe 2:
Brass Nugget+Any Wool+Iron Nugget(left to right)Both recipes:
minecraft:wooltagDependencies
Added Create mod version 6.0.6-98 along with required dependencies (Ponder, Flywheel, Registrate) via official Create mod maven repositories (
maven.createmod.netandmaven.ithundxr.dev).Package Structure
com.agent772.createshufflefilter.CreateShuffleFiltercom.agent772.createshufflefilter.ShuffleFilterItemcreateshufflefilterItem Assets
Added complete asset support for in-game rendering and functionality:
models/item/shuffle_filter.json): Standard generated item modeltextures/item/shuffle_filter.png): 16x16 placeholder texture with purple/blue designlang/en_us.json): Display name "Shuffle Filter"ASSETS.md): Comprehensive guide for assets and customizationThe item is fully functional in-game with proper rendering, GUI access (inherited from FilterItem), and can be obtained through the creative tab or crafting.
Files Changed
build.gradlewith correct Create mod repositories and dependenciesgradle.propertieswith proper mod identification and Create mod version propertiesCreateShuffleFilter.javaas the main mod classShuffleFilterItem.javawith FilterItem inheritance and FilterType.REGULARASSETS.mddocumentationThe implementation follows NeoForge modding best practices and uses proper Create mod integration patterns.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.