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

Issue with orientation of Observers #8

Open
schrum2 opened this issue Jun 27, 2022 · 1 comment
Open

Issue with orientation of Observers #8

schrum2 opened this issue Jun 27, 2022 · 1 comment

Comments

@schrum2
Copy link

schrum2 commented Jun 27, 2022

It does not appear to be possible to orient Observer blocks in an UP or DOWN orientation. Here is some code, and a screenshot of the resulting in-world placement:

import grpc

import minecraft_pb2_grpc
from minecraft_pb2 import *

channel = grpc.insecure_channel('localhost:5001')
client = minecraft_pb2_grpc.MinecraftServiceStub(channel)

client.fillCube(FillCubeRequest(  # Clear a 20x10x20 working area
    cube=Cube(
        min=Point(x=-10, y=4, z=-10),
        max=Point(x=10, y=14, z=10)
    ),
    type=AIR
))
client.spawnBlocks(Blocks(blocks=[  
    Block(position=Point(x=1, y=5, z=1), type=OBSERVER, orientation=NORTH),
    Block(position=Point(x=3, y=5, z=1), type=OBSERVER, orientation=SOUTH),
    Block(position=Point(x=5, y=5, z=1), type=OBSERVER, orientation=EAST),
    Block(position=Point(x=7, y=5, z=1), type=OBSERVER, orientation=WEST),
    Block(position=Point(x=9, y=5, z=1), type=OBSERVER, orientation=UP),
    Block(position=Point(x=11, y=5, z=1), type=OBSERVER, orientation=DOWN)
]))

image

Both of the last two blocks (UP and DOWN) seem to be oriented toward the NORTH.

However, I can orient Observers vertically when I place them within the game world as a player.

@djole
Copy link
Collaborator

djole commented Jul 1, 2022

Hi,
this seeems to be an issue with the version of Sponge. There are few artefacts that have this problem. Unfortunately, updating Sponge is not at all trivial, so it's a todo for now.

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

No branches or pull requests

2 participants