Skip to content

minor changes to blocks #63

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Garrett-EMS
Copy link

port blocks n stuff to java from kotlin

Copy link
Collaborator

@KrystilizeNevaDies KrystilizeNevaDies left a comment

Choose a reason for hiding this comment

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

These are my thoughts on some of the high level stuff, it's up to you @GoldenStack if you want to address my comments or ask @Garrett-EMS to

public class FluidUtils {

public static Point raycastForFluid(Player player, Point startPosition, Vec direction, double maxDistance) {
Point currentPosition = startPosition;
Copy link
Collaborator

Choose a reason for hiding this comment

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

You should be able to do a sweep cast here as opposed to an approximation.
IIRC it's something like boundingBox.sweep().

BlockIterators might also be useful.

@@ -0,0 +1,7 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are there these random resource json files?
You should be able to extract these from the datapack instead.

* Interface for tag providers that check if elements are tagged and can return sets of elements with specific tags
* @param <T> The type of element being tagged
*/
public interface TagProvider<T> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

We should remove this in favor of our current tags system, or merge/replace it into our current tag system.

Ideally all these tags should be fetched from the datapack.

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