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

implement magnet #29

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

implement magnet #29

wants to merge 14 commits into from

Conversation

zyxkad
Copy link
Collaborator

@zyxkad zyxkad commented Feb 3, 2025

No description provided.

Copy link

github-actions bot commented Feb 3, 2025

Build Preview

badge

You can find files attached to the below linked Workflow Run URL (Logs).

Name Link
Commit 53c18cf
Logs https://github.com/jcm236/Starlance/actions/runs/13300378700
Jar Files Starlance Artifacts PR 29
Expires At 2025-05-14T04:23:36Z

@@ -21,39 +22,59 @@
* @see BlockWithEntity
* @param <E> The entity class to be using
*/
public abstract class BlockEntityWithEntity<E extends Entity> extends BlockEntity implements ParticleBlockEntity {
private UUID entityUUID;
public abstract class BlockEntityWithEntity<E extends Entity & IAttachableEntity> extends BlockEntity implements ParticleBlockEntity {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need to implement particle block entity here? I'm assuming it is necessary so that these block entities can be used for thrusters and such. Though the magnet blocks could probably just make particles with particle tick and redstone strength for pole Color (red/blue) to help visualise what magnets are opposing.

Copy link
Collaborator Author

@zyxkad zyxkad Feb 3, 2025

Choose a reason for hiding this comment

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

I do not know why its called ParticleBlockEntity, it should actually called TickingBlockEntity, because it just handling ticks

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, whoops? Strange it still kinda worked though

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

Successfully merging this pull request may close these issues.

2 participants