Skip to content

Commit

Permalink
Fixed some textures.
Browse files Browse the repository at this point in the history
Fixed the Palix Transformator GUI.
Fixed some translations (en_us/fr_fr).
And a few more...

    Need to fix: Palix Bow
  • Loading branch information
Oh64 committed Jul 11, 2024
1 parent b526cb0 commit ed10faa
Show file tree
Hide file tree
Showing 64 changed files with 446 additions and 286 deletions.
2 changes: 1 addition & 1 deletion elements/PalixGui1Proc.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"_fv": 28,
"_type": "procedure",
"definition": {
"procedurexml": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?><xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable id=\"ActualItem1\" type=\"String\">ActualItem1</variable><variable id=\"AcctualItem2\" type=\"MCItemBlock\">AcctualItem2</variable><variable id=\"ActualItem3\" type=\"MCItem\">ActualItem3</variable><variable id=\"XP\" type=\"Number\">XP</variable></variables><block deletable=\"false\" type=\"event_trigger\" x=\"64\" y=\"100\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"compare_mcitems\"><value name=\"a\"><block type=\"gui_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:Palix</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:XP</field><value name=\"VAL\"><block type=\"entity_xplevel\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><next><block type=\"controls_if\"><mutation else=\"1\"/><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"variables_get_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:XP</field></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">5</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_itemstack\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" has_entity=\"false\" is_player_var=\"false\"/><field name=\"VAR\">local:ActualItem3</field><value name=\"VAL\"><block type=\"gui_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><next><block type=\"gui_remove_items\"><value name=\"amount\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"/></value><next><block type=\"entity_remove_xp_level\"><value name=\"xpamount\"><block type=\"math_number\"><field name=\"NUM\">5</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"/></value><next><block type=\"gui_set_items\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:Palix</field></block></value><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></next></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"world_send_chat\"><value name=\"text\"><block type=\"text\"><field name=\"TEXT\">A player does not have enough XP to operate his machine</field></block></value><next><block type=\"entity_close_gui\"><value name=\"entity\"><block type=\"entity_from_deps\"/></value></block></next></block></statement></block></next></block></statement></block></next></block></xml>"
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable type=\"MCItemBlock\" id=\"AcctualItem2\">AcctualItem2</variable><variable type=\"MCItem\" id=\"ActualItem3\">ActualItem3</variable><variable type=\"Number\" id=\"XP\">XP</variable><variable type=\"String\" id=\"ActualItem1\">ActualItem1</variable><variable type=\"String\" id=\"TextFiled\">TextFiled</variable></variables><block type=\"event_trigger\" deletable=\"false\" x=\"64\" y=\"100\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:TextFiled</field><value name=\"VAL\"><block type=\"text\"><field name=\"TEXT\">Place Palix Ore</field></block></value><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"compare_mcitems\"><value name=\"a\"><block type=\"gui_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"b\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:Palix</field></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"entity_xplevel\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">5</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_itemstack\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:ActualItem3</field><value name=\"VAL\"><block type=\"gui_get_item_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><next><block type=\"controls_if\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">11</field></block></value></block></value><statement name=\"DO0\"><block type=\"gui_remove_items\"><value name=\"amount\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><next><block type=\"entity_remove_xp_level\"><value name=\"xpamount\"><block type=\"math_number\"><field name=\"NUM\">5</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><next><block type=\"gui_set_items\"><value name=\"amount\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value></block></value><value name=\"item\"><block type=\"mcitem_all\"><field name=\"value\">CUSTOM:Palix</field></block></value><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></next></block></next></block></statement><statement name=\"ELSE\"><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:TextFiled</field><value name=\"VAL\"><block type=\"text\"><field name=\"TEXT\">The Palix slot is full</field></block></value></block></statement></block></next></block></statement><statement name=\"ELSE\"><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:TextFiled</field><value name=\"VAL\"><block type=\"text\"><field name=\"TEXT\">You need 5 xp level</field></block></value></block></statement></block></statement><next><block type=\"gui_set_text_textfield\"><field name=\"textfield\">TextG</field><value name=\"text\"><block type=\"variables_get_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:TextFiled</field></block></value></block></next></block></next></block></next></block></xml>"
}
}
7 changes: 7 additions & 0 deletions elements/PalixGuiText.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"_fv": 28,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable type=\"String\" id=\"TextF\">TextF</variable></variables><block type=\"event_trigger\" deletable=\"false\" x=\"36\" y=\"55\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:TextF</field><value name=\"VAL\"><block type=\"text\"><field name=\"TEXT\">Place Palix Ore</field></block></value><next><block type=\"controls_if\"><mutation elseif=\"1\"></mutation><value name=\"IF0\"><block type=\"math_binary_ops\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">11</field></block></value><value name=\"B\"><block type=\"gui_get_amount_inslot\"><value name=\"slotid\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:TextF</field><value name=\"VAL\"><block type=\"text\"><field name=\"TEXT\">The Palix slot is full</field></block></value></block></statement><value name=\"IF1\"><block type=\"math_binary_ops\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"math_number\"><field name=\"NUM\">5</field></block></value><value name=\"B\"><block type=\"entity_xplevel\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block></value><statement name=\"DO1\"><block type=\"variables_set_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:TextF</field><value name=\"VAL\"><block type=\"text\"><field name=\"TEXT\">You need 5 xp level</field></block></value></block></statement><next><block type=\"gui_set_text_textfield\"><field name=\"textfield\">TextG</field><value name=\"text\"><block type=\"variables_get_string\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:TextF</field></block></value></block></next></block></next></block></next></block></xml>"
}
}
5 changes: 4 additions & 1 deletion elements/Palixbowarows.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"_type": "item",
"definition": {
"renderType": 0,
"texture": "palix_bow_arow",
"texture": "palix_arrow",
"customModelName": "Normal",
"name": "Palixbowarows",
"rarity": "COMMON",
Expand Down Expand Up @@ -33,6 +33,9 @@
"isFood": false,
"nutritionalValue": 0,
"saturation": 0.30000001192092896,
"eatResultItem": {
"value": ""
},
"isMeat": false,
"isAlwaysEdible": false,
"animation": "eat"
Expand Down
41 changes: 33 additions & 8 deletions elements/Palixgui1.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"id": 0,
"disableStackInteraction": false,
"dropItemsWhenNotBound": true,
"onSlotChanged": {
"name": "PalixGui1Proc"
},
"name": "Slot #0",
"x": 150,
"y": 57
Expand All @@ -38,20 +35,48 @@
"y": 57
}
},
{
"type": "button",
"data": {
"text": "Multiply",
"onClick": {
"name": "PalixGui1Proc"
},
"width": 67,
"height": 20,
"name": "Multiply",
"x": 178,
"y": 56
}
},
{
"type": "label",
"data": {
"text": "You must place and then remove the palix ore",
"text": "",
"color": {
"value": -16777216,
"value": -12829636,
"falpha": 0.0
},
"name": "You must place and then remove the palix ore",
"x": 96,
"y": 33
"name": "",
"x": 175,
"y": 82
}
},
{
"type": "textfield",
"data": {
"placeholder": "",
"width": 120,
"height": 20,
"name": "TextG",
"x": 153,
"y": 84
}
}
],
"onOpen": {
"name": "PalixGuiText"
},
"gridSettings": {
"sx": 18,
"sy": 18,
Expand Down
8 changes: 4 additions & 4 deletions elements/Palixprotected.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"_type": "armor",
"definition": {
"enableHelmet": true,
"textureHelmet": "casque1",
"textureHelmet": "palix_helmet",
"enableBody": true,
"textureBody": "armor1",
"textureBody": "palix_chestplate",
"enableLeggings": true,
"textureLeggings": "bas1",
"textureLeggings": "palix_leggings",
"enableBoots": true,
"textureBoots": "chaussure1",
"textureBoots": "palix_boots",
"creativeTab": {
"value": "CUSTOM:Palixonglet"
},
Expand Down
2 changes: 1 addition & 1 deletion elements/Palixtransformator.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"guiBoundTo": "Palixgui1",
"openGUIOnRightClick": true,
"inventorySize": 2,
"inventoryStackSize": 64,
"inventoryStackSize": 12,
"inventoryDropWhenDestroyed": true,
"inventoryComparatorPower": true,
"inventoryOutSlotIDs": [
Expand Down
Loading

0 comments on commit ed10faa

Please sign in to comment.