Go to advanced search

by dsyleixa123
Sat Jan 18, 2020 6:44 pm
Forum: Gaming
Topic: Minecraft (Stretch): change perspective (POV), adjust hotkey settings
Replies: 8
Views: 322

Re: Minecraft (Stretch): change perspective (POV), adjust hotkey settings

I actually was looking for a built-in feature (F5 is commonly the built-in default) :-/
by dsyleixa123
Sat Jan 18, 2020 6:43 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): IDs of the inventory items?
Replies: 6
Views: 210

Re: Minecraft Pi edition (Stretch): IDs of the inventory items?

I actually was looking for a feature ready-to-use :-/
by dsyleixa123
Fri Jan 17, 2020 9:21 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

PS, as to
What are you actually trying to do?
it's for my minecraft-implementation of Conway's Game of Life (you might have already guessed that meanwhile, probably 8)
by dsyleixa123
Thu Jan 16, 2020 5:48 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

update
the simplified indices now appearantly are correct, just the code is still somehow (unexpectedly) bugged
by dsyleixa123
Thu Jan 16, 2020 4:02 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

indeed, it's extremely unsymmetrical: begin min x -13 min z -178 max x 242 max z 77 256 256 end I'm afraid, for my purposes I needed a symmetrical map round (0,0) or a (0,0) origin map, so either x=-100...+100, z=-100...+100 or perhaps x=0...200, z=0...200 but what mc provides is too odd, and probab...
by dsyleixa123
Thu Jan 16, 2020 3:33 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

I actually do not want to find edges, I just wanted an entire sandstone (id=24) plain like e.g.,

Code: Select all

mc.setBlocks(-128,-20,-128,  128,0,128,  24) 
or even
mc.setBlocks(-254,-20,-254,  254,0,254,  24) 
for all and everything?
by dsyleixa123
Thu Jan 16, 2020 3:19 pm
Forum: Beginners
Topic: suddenly no LXterminal available any more
Replies: 4
Views: 105

Re: suddenly no LXterminal available any more

edit, cross-over posting -

solved :
appearently just
lxterminal // (lowercase)
in the first line
(and NOT LXterminal)

but for new issues I'll then try your proposal, too!
thanks a lot!
by dsyleixa123
Thu Jan 16, 2020 3:01 pm
Forum: Beginners
Topic: suddenly no LXterminal available any more
Replies: 4
Views: 105

Re: suddenly no LXterminal available any more

it came to that issue when I set the screen to large screen defaults (appearance settings). reinstalling lxterminal replies: already the newest version it can be started from the systray, but not from file manager or from bash scripts. trying to open the terminal from a file manager path makes this ...
by dsyleixa123
Thu Jan 16, 2020 2:02 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

so for the entire world:

Code: Select all

world.setBlocks(x1,y1,z1,  x2,y2,z2,  block_type)
world.setBlocks(-254,-20,-254,  254,0,254,  block.SANDSTONE.id)   # layer thickness of 20 blocks
:?:
by dsyleixa123
Thu Jan 16, 2020 1:57 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

the lowest level (z=-64)
why z?
isn't it y?

Code: Select all

 world.setBlocks(x1,y1,z1,  x2,y2,z2,  block_type)
by dsyleixa123
Thu Jan 16, 2020 1:54 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

ah, ok, then I'll take sandstone perhaps, I didn't suppose them to behave so differently...

at which position in the inventory is sandstone, for "repairing" purposes?
by dsyleixa123
Thu Jan 16, 2020 1:41 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

actually because of the light color

tbh, I don't understand the setblocks thing:
set the 2 lowest y levels to id=1....?

x from -128 to +128 ?
y from -128 to -126 ???
z from -128 to +128 ?
by dsyleixa123
Thu Jan 16, 2020 1:29 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

so one will need to set a layer beneath? at which layer level and by which matter?
by dsyleixa123
Thu Jan 16, 2020 1:09 pm
Forum: Beginners
Topic: suddenly no LXterminal available any more
Replies: 4
Views: 105

suddenly no LXterminal available any more

suddenly no LXterminal available any more:
bash scripts can not be executed,
and from file manager -> tools -> open directory in terminal => =>
"child process LXterminal cannot be executed (file or path not found)"
how can I fix that?
by dsyleixa123
Thu Jan 16, 2020 12:09 pm
Forum: Gaming
Topic: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?
Replies: 34
Views: 569

Re: Minecraft Pi edition (Stretch): how to create an infinite plain of sand?

@rpiMike unfortunately your script does not create SAND blocks at (x,0,z) for all x,z in range (-255,+255) e.g., the sand desert is limited to x>-14, the rest beyond has the ID 95 (BEDROCK_INVISIBLE) why is that so? how can that be fixed? PS: just found out: after some time all the blocks, one after...
by dsyleixa123
Thu Jan 16, 2020 8:19 am
Forum: Python
Topic: declare integer array tmp[200][200]
Replies: 12
Views: 265

Re: declare integer array tmp[200][200]

thank you both! I'll try your proposals very soon. (Surprisingly all that Python 2D array syntax is WAAAY more complicated and cumbersome than in C or PASCAL.... - I actually expected Python to be far simpler than them! :? :roll: ) BTW, to me an "array" ist just sort of a mathematical vector (1-dim)...
by dsyleixa123
Thu Jan 16, 2020 8:15 am
Forum: Gaming
Topic: storing block area data in a 2-dim temp array
Replies: 3
Views: 105

Re: storing block area data in a 2-dim temp array

yes, thank you, that looks good, I'll try that very soon!
by dsyleixa123
Wed Jan 15, 2020 9:26 pm
Forum: Gaming
Topic: storing block area data in a 2-dim temp array
Replies: 3
Views: 105

Re: storing block area data in a 2-dim temp array

edit:

Code: Select all

############## edited
for x in range(-100,100):
  for z in range(-100,100):
    bl = mc.getBlockWithData(x, 0,  z)
    tmp[x][z]=bl.id 
how do I have to declare this tmp array
tmp[x][z]
before, for initializing the dim sizes before I use them, also capable of using negative indices?
by dsyleixa123
Wed Jan 15, 2020 9:20 pm
Forum: Gaming
Topic: storing block area data in a 2-dim temp array
Replies: 3
Views: 105

storing block area data in a 2-dim temp array

hi, I'm disparing - I want to intermediately store the blocks bl = mc.getBlockWithData(x, 0, z) x=-100...+100, z=-100...+100 in a temporary 2-dim array (tmp) ############## edited for x in range(-100,100): for z in range(-100,100): bl = mc.getBlockWithData(x, 0, z) tmp[x][z]=bl.id how do I have to d...
by dsyleixa123
Wed Jan 15, 2020 9:08 pm
Forum: Python
Topic: declare integer array tmp[200][200]
Replies: 12
Views: 265

Re: declare integer array tmp[200][200]

please, don't be that snooty, please give me a code that works the way like I have described!
if not by array then in another way!
(or someone else, please!)
by dsyleixa123
Wed Jan 15, 2020 9:04 pm
Forum: Python
Topic: declare integer array tmp[200][200]
Replies: 12
Views: 265

Re: declare integer array tmp[200][200]

which is the comprehensive, detailed, non-pedantic answer to my question?
by dsyleixa123
Wed Jan 15, 2020 8:51 pm
Forum: Python
Topic: declare integer array tmp[200][200]
Replies: 12
Views: 265

Re: declare integer array tmp[200][200]

(.....)
by dsyleixa123
Wed Jan 15, 2020 8:24 pm
Forum: Python
Topic: declare integer array tmp[200][200]
Replies: 12
Views: 265

Re: declare integer array tmp[200][200]

ok, so again to the Python specialists: how do I have to declare an integer array tmp[200][200], counting rows and columns each from 1 to 200? is it possible to have the array indices declared also from -100 to +99 each? additionally, is there a quick Python way to init this 2-dim array entirely by ...
by dsyleixa123
Wed Jan 15, 2020 8:10 pm
Forum: Python
Topic: declare integer array tmp[200][200]
Replies: 12
Views: 265

Re: declare integer array tmp[200][200]

ok, thanks, so it's just similar like in C 8-)

Go to advanced search