Skip to content

Commit

Permalink
update library
Browse files Browse the repository at this point in the history
  • Loading branch information
diverc committed Jun 15, 2020
1 parent 7c1830b commit bc9118a
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 14 deletions.
Binary file modified src/lib/MCPILib.dll
Binary file not shown.
55 changes: 45 additions & 10 deletions src/lib/MCPILib.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions src/mcpisample.sb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GraphicsWindow.Title = "遠隔操作でちょっかいをだすアプリ V2.1 for MinecraftPI "
GraphicsWindow.Title = "遠隔操作でちょっかいをだすアプリ V2.2 for MinecraftPI "

InitForm()
Controls.ButtonClicked=OnButtonClicked
Expand Down Expand Up @@ -109,7 +109,7 @@ Sub InitForm
button[15] = Controls.AddButton("滝",450,500)
Controls.SetSize(button[15],150,50)

button[16] = Controls.AddButton("1",50,600)
button[16] = Controls.AddButton("金の生る木",50,600)
Controls.SetSize(button[16],150,50)

button[17] = Controls.AddButton("2",250,600)
Expand All @@ -125,7 +125,7 @@ Sub OnMouseDown
EndSub

Sub hideButton
For i=1 To 15
For i=1 To 18
Controls.HideControl(button[i])
EndFor
Controls.HideControl(T1X)
Expand All @@ -140,7 +140,7 @@ Sub hideButton
EndSub

Sub showButton
For i=1 To 15
For i=1 To 18
Controls.ShowControl(button[i])
EndFor
Controls.ShowControl(T1x)
Expand Down Expand Up @@ -223,6 +223,7 @@ Sub OnButtonClicked
MCPI.SetBlock(ax+1 ,ay +6 ,az + 1,17 ,0 )
MCPI.SetBlock(ax+1 ,ay +6 ,az - 1,17 ,0 )
MCPI.SetBlock(ax+1 ,ay +6 ,az ,MCPI.BLK_LAVA ,0 )
MCPI.SetBlock(ax+1 ,ay +6 ,az ,6 ,8 )
ElseIf Controls.LastClickedButton = button[17] Then
MCPI.Printmessage("IntoTheUnknown")
ElseIf Controls.LastClickedButton = button[18] Then
Expand Down

0 comments on commit bc9118a

Please sign in to comment.