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

IAbstractMinecartExtension not present in 1.21.3 #1721

Open
Edivad99 opened this issue Dec 1, 2024 · 3 comments
Open

IAbstractMinecartExtension not present in 1.21.3 #1721

Edivad99 opened this issue Dec 1, 2024 · 3 comments
Labels
triage Needs triaging and confirmation

Comments

@Edivad99
Copy link
Contributor

Edivad99 commented Dec 1, 2024

I was updating Railcraft to 1.21.3, why was the IAbstractMinecartExtension interface removed? I know mojang is working on carts, but I don't understand why you removed it.

@Edivad99 Edivad99 added the triage Needs triaging and confirmation label Dec 1, 2024
@XFactHD
Copy link
Member

XFactHD commented Dec 1, 2024

The minecart hooks have been dragged along for 10 years with basically zero changes at this point and it was infeasible to re-implement them on top of the minecart changes, in part because a large part of the code was moved into separate "behavior" classes, so it was deemed more appropriate to remove them and then add things back as needed.

@TelepathicGrunt
Copy link
Contributor

Basically, please state your exact use cases you need done and what hooks you need that you cannot do with vanilla’s current codebase

@Edivad99
Copy link
Contributor Author

Edivad99 commented Dec 2, 2024

These are the methods I used:

  • getComparatorLevel
  • setCanUseRail
  • canBeRidden
  • setMaxSpeedAirLateral
  • setMaxSpeedAirVertical
  • setDragAir
  • isPoweredCart
  • getMaxCartSpeedOnRail
  • setCurrentCartSpeedCapOnRail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs triaging and confirmation
Projects
None yet
Development

No branches or pull requests

3 participants