Yeta wrench updates. #110
No reviewers
Labels
No labels
Area-Assets
Area-Backend
Area-Conduits
Area-Datapacks
Area-Lang
Area-Mod Compat
Area-Parity
Area-Rendering
Good first issue
MC-1.19.2
MC-1.20.1
MC-1.20.4
MC-1.20.6
MC-1.21
MC-1.21.1
Modtoberfest
P-0-High
P-1-Medium
P-2-Low
Status-Awaiting Response
Status-Behind-Flag
Status-Blocked
Status-Cannot Reproduce
Status-Duplicate
Status-Help Wanted
Status-Incomplete Report
Status-Invalid
Status-Needs LTS Backport
Status-Needs Updating
Status-Stale
Status-To Implement
Status-Triage
Status-Wontfix
Status-Wontmerge
Type-Backport
Type-Bug
Type-Documentation
Type-Enhancement
Type-Question
Type-RFC
Type-Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Team-EnderIO/EnderIO#110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "featurebranch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Todo
Checklist:
Just a quick look at the code, I'll check in game when find more time.
While I don't dislike the change to pass it on, do you already have a machine in mind for this?
@ -0,0 +4,4 @@import net.minecraft.world.item.context.UseOnContext;import net.minecraftforge.common.extensions.IForgeBlockEntity;public interface IWrenchable extends IForgeBlockEntity {While I think an interface is fine (might also just be able to live as a method in machineblock), why extend IForgeBlockEntity?
Yes. I do. PR coming very soon in a repository near you. I'm currently rebuilding the fluid interface, and clicking on a fluid containing machine with a bucket should have the effect that the bucket should fill up. This makes it extremely convenient to do with this method instead of making a separate class for every machine block containing fluid and then binding a separate method to pass the event. You just hook into this event in the already existing entity class (Which I have used for the vat for example, but again coming soon hopefully).
@ -0,0 +4,4 @@import net.minecraft.world.item.context.UseOnContext;import net.minecraftforge.common.extensions.IForgeBlockEntity;public interface IWrenchable extends IForgeBlockEntity {Ahhh, you just mean that leaving it floating about extending nothing I gather? I think I used a method in a block entity related class at some point during one of the many iterations while trying to get everything to work. Probably mostly legacy, but pretty useful for indicating that you only should be able to use the wrench in the configuration other than wrenching on block entities and that was the most suitable interface that BlockEntity was implementing. But We could absolutely change this!