-
Notifications
You must be signed in to change notification settings - Fork 8
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
base: main
Are you sure you want to change the base?
implement magnet #29
Conversation
Build PreviewYou can find files attached to the below linked Workflow Run URL (Logs).
|
@@ -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 { |
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.
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.
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.
I do not know why its called ParticleBlockEntity
, it should actually called TickingBlockEntity
, because it just handling ticks
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.
Ah, whoops? Strange it still kinda worked though
src/main/java/net/jcm/vsch/blocks/entity/MagnetBlockEntity.java
Outdated
Show resolved
Hide resolved
Move magnet configs into a separate section, and change defaults
No description provided.