-
Notifications
You must be signed in to change notification settings - Fork 142
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 Slime Block #413
Add Slime Block #413
Conversation
package block | ||
|
||
// A Slime block is a translucent block that entities can bounce on | ||
type Slime struct { |
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.
This should be called SlimeBlock
and the file should be renamed to slime_block.go
package block | ||
|
||
// Slime is a translucent block that entities can bounce on. | ||
type Slime struct { |
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.
This also should implement block.LightDiffuser
with LightDiffusionLevel()
returning the correct light diffusion level
package block | ||
|
||
// Slime is a translucent block that entities can bounce on. | ||
type Slime struct { |
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.
This also also should implement block.EntityLander
, and should reset the entity's fall distance if it implements FallDistanceEntity
Closing in favor of #445 |
I needed the slime blocks so I implemented them, it's client side everything that is slowing down and jumping
Here is a video to show that it works client side: click here
(it's on df of course)