ComputerCraft

ComputerCraft

21M Downloads

Spectator mode rightclicks

Lion4ever opened this issue ยท 9 comments

commented

The printer and the turtle only show 9 inventory spaces.
The diskdrive does not show any space.

The screen of the computers and turtles can not be seen. (I am not sure is this is a bug or good because there is no spying then).

Since the screen is not shown, nothing can be typed into the computer. This is important because otherwise it would break that gamemode.

commented

it would be cool if spectators could have limited access to computers, maybe only watching not typing or only allow typing/clicking on the screen if the program calls a special command to allow it?

commented

AEnterprise: As stated, forge does not supply a hook for this, and i'm uncomfortable adding new code for such a rarely-known feature.

Lion4Ever: It seems that guiChest determines rows by doing: (numberOfSlots / 9), ie: rounding down. Really it needs to round UP. I could maybe create a forge pull request changing this.

commented

dd
turtle

commented

So, er, what's spectator mode?

commented

A gamemode added in 1.8.
/gamemode 3 or /gamemode spectator
Usually used for players that should not interact with the world. (because they are dead or not trusted)

commented

Just had a look at the code for this. It looks like it's hardcoded to use the "GuiChest" inventory for everything. Forge would need to add a hook.

commented

is it possible to adjust the number of rows for the guiChest?

commented

Closing this, as it's not solvable with forge atm.