Skip to content
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 PistonCrushing #28

Open
wants to merge 40 commits into
base: 1.19.3
Choose a base branch
from
Open

Add PistonCrushing #28

wants to merge 40 commits into from

Conversation

FxMorin
Copy link
Owner

@FxMorin FxMorin commented Feb 11, 2023

Add the ability to crush entities/items using pistons.

Huge recipe system to add custom crushing rules, with a very configurable setup. Configurable rule system to adjust crushing rules based on the block the entity is being crushed against.

You are able to crush items together to merge them.

https://github.com/natanfudge/fabric-docs/blob/master/newdocs/Modding-Tutorials/Crafting-Recipes/defining-custom-crafting-recipes.md

@FxMorin FxMorin added the enhancement New feature or request label Feb 11, 2023
# Conflicts:
#	src/main/resources/pistonlib.accesswidener
@FxMorin
Copy link
Owner Author

FxMorin commented Apr 15, 2023

I haven't been able to get anything but the single recipes working, and im not sure why

@FxMorin FxMorin added the help wanted Extra attention is needed label Apr 15, 2023
@@ -232,6 +233,10 @@ public boolean triggerEvent(BlockState state, Level level, BlockPos pos, int typ
if (frontBlockEntity instanceof PistonMovingBlockEntity mbe && mbe.getDirection() == facing && mbe.isExtending()) {
mbe.finalTick();
droppedBlock = true;
} else if (frontBlockEntity instanceof MergeBlockEntity mbe) {
Copy link
Owner Author

@FxMorin FxMorin May 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge block entity block dropping. Just a comment to myself that I added in this PR for some reason

FxMorin and others added 23 commits December 13, 2024 12:21
…hing

# Conflicts:
#	src/main/resources/pistonlib.accesswidener
#	src/main/resources/pistonlib.mixins.json
- new annotation is currently broken
# Conflicts:
#	gradle.properties
#	src/main/java/ca/fxco/pistonlib/base/ModMenus.java
#	src/main/java/ca/fxco/pistonlib/blocks/pistons/basePiston/BasicPistonBaseBlock.java
#	src/main/java/ca/fxco/pistonlib/helpers/Utils.java
#	src/main/java/ca/fxco/pistonlib/network/packets/ClientboundPistonEventPacket.java
#	src/main/java/ca/fxco/pistonlib/network/packets/PLPacket.java
#	src/main/java/ca/fxco/pistonlib/pistonLogic/structureResolvers/DebugStructureResolver.java
#	src/main/resources/pistonlib.accesswidener
FxMorin and others added 12 commits January 24, 2025 23:04
- Add 1Foxy2 as an author
- Update description
- Add contact metadata
- Update discord invite
- Add modmenu github links
# Conflicts:
#	src/main/java/ca/fxco/pistonlib/PistonLib.java
#	src/main/java/ca/fxco/pistonlib/blocks/pistons/basePiston/BasicPistonBaseBlock.java
#	src/main/java/ca/fxco/pistonlib/datagen/ModRecipeProvider.java
#	src/main/java/ca/fxco/pistonlib/mixin/entity/Entity_pushIntoMixin.java
#	src/main/resources/pistonlib.accesswidener
@1foxy2 1foxy2 marked this pull request as ready for review January 26, 2025 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants