B
BowleR
Ziyaretçi
notpatch
Beceremedim xD yardım edebilecek varmı100 adet obsidyen kırdığında oyuncunun kazmasını kaydedip süre dolduğunda kaydettiğin kazmayı oyuncuya geri verip özel kazmayı envanterinden alabilirsin, açık olmaması için özel kazmayı yere atmamasını ve öldüğünde kazmanın silinmesini yapmayı unutma.
Akiserius#1871
Merhaba , Elimde denicek sunucum yok localdede hazır sw yok deniyemicem yani siz sonucu sölersiniz efenim.Mesela 100 obsidian kırınca eski kazmasını 1 dakikalığına v100 ile değişecek sonra eski kazmasına geri dönecek bunu nasıl yapabilirim
on break of obsidian:
if {kos::%player%} >= 100:
clear {kos::%player%}
execute console command "enchant efficiency 100 %player%"
wait 60 seconds
execute console command "enchant efficiency 0 %player%"
stop
else:
add 1 to {kos::%player%}
stop
Oyuncuda v5 varsa 0 yapacak amaMerhaba , Elimde denicek sunucum yok localdede hazır sw yok deniyemicem yani siz sonucu sölersiniz efenim.
Kod:on break of obsidian: if {kos::%player%} >= 100: clear {kos::%player%} execute console command "enchant efficiency 100 %player%" wait 60 seconds execute console command "enchant efficiency 0 %player%" stop else: add 1 to {kos::%player%} stop
İyi Forumlar...
Saygılarımla...
on break of obsidian:
if {kos::%player%} >= 100:
clear {kos::%player%}
set {_n} to level of efficiency of the player's tool
enchant player's tool with efficiency 100
wait 60 seconds
enchant player's tool with "efficiency %{_n}%" parsed as enchantment type
stop
else:
add 1 to {kos::%player%}
stop
Mr Obliviate#0001
Kazmayı veriyor tamam ama v100 de kalıyor ve ayrıca yere vs. atabiliyoruz fener koyunca hızlandırma büyüsü gibi birşey yapabilirmiyiz daha basit olurdenermisin ?Kod:on break of obsidian: if {kos::%player%} >= 100: clear {kos::%player%} set {_n} to level of efficiency of the player's tool enchant player's tool with efficiency 100 wait 60 seconds enchant player's tool with "efficiency %{_n}%" parsed as enchantment type stop else: add 1 to {kos::%player%} stop
TheLudoBile#3485
benim bildiğim efficiency enchantment type efficiency %integer% enchantment dırdenermisin ?Kod:on break of obsidian: if {kos::%player%} >= 100: clear {kos::%player%} set {_n} to level of efficiency of the player's tool enchant player's tool with efficiency 100 wait 60 seconds enchant player's tool with "efficiency %{_n}%" parsed as enchantment type stop else: add 1 to {kos::%player%} stop
Yok olmadı almıyor kazmayıbenim bildiğim efficiency enchantment type efficiency %integer% enchantment dır
ordaki type ı silmeyi deneyebilirsin
on break of obsidian:
if {kos::%player%} >= 100:
clear {kos::%player%}
add "{items:1}" to nbt of player's tool
add "{level:%level of efficiency of the player's tool%}" to nbt of player's tool
set {_t} to player's tool
wait a tick
enchant player's tool with efficiency 100
wait 2 seconds
set {_i} to player's tool
set {_enc::*} to enchantments of {_i}
wait a tick
disenchant player's tool
wait a tick
loop {_enc::*}:
set {_ench} to "%loop-value% %level of loop-value of {_i}%" parsed as a enchantment type
level of {_ench} of {_i} >= 1
enchant player's tool with {_ench}
replace all "items:1" and "level" with "" in nbt of player's tool
set tag "level" of nbt of player's tool to 0
stop
else:
add 1 to {kos::%player%}
stop
on tool change:
tag "items" of nbt of past player's tool is 1
cancel event
on drop:
tag "items" of nbt of event-item is 1
cancel event
on join:
tag "items" of nbt of player's tool is 1
set {_n} to tag "level" of nbt of player's tool
{_n} >= 1:
enchant player's tool with "efficiency %{_n}%" parsed as enchantment type
else:
set {_i} to player's tool
set {_enc::*} to enchantments of {_i}
wait a tick
disenchant player's tool
wait a tick
loop {_enc::*}:
set {_ench} to "%loop-value% %level of loop-value of {_i}%" parsed as a enchantment type
level of {_ench} of {_i} >= 1
enchant player's tool with {_ench}
replace all "items:1" and "level" with "" in nbt of player's tool
buglarını düzelttim denediğim kadarıyla sorun yokKod:on break of obsidian: if {kos::%player%} >= 100: clear {kos::%player%} add "{items:1}" to nbt of player's tool add "{level:%level of efficiency of the player's tool%}" to nbt of player's tool set {_t} to player's tool wait a tick enchant player's tool with efficiency 100 wait 2 seconds set {_i} to player's tool set {_enc::*} to enchantments of {_i} wait a tick disenchant player's tool wait a tick loop {_enc::*}: set {_ench} to "%loop-value% %level of loop-value of {_i}%" parsed as a enchantment type level of {_ench} of {_i} >= 1 enchant player's tool with {_ench} replace all "items:1" and "level" with "" in nbt of player's tool set tag "level" of nbt of player's tool to 0 stop else: add 1 to {kos::%player%} stop on tool change: tag "items" of nbt of past player's tool is 1 cancel event on drop: tag "items" of nbt of event-item is 1 cancel event on join: tag "items" of nbt of player's tool is 1 set {_n} to tag "level" of nbt of player's tool {_n} >= 1: enchant player's tool with "efficiency %{_n}%" parsed as enchantment type else: set {_i} to player's tool set {_enc::*} to enchantments of {_i} wait a tick disenchant player's tool wait a tick loop {_enc::*}: set {_ench} to "%loop-value% %level of loop-value of {_i}%" parsed as a enchantment type level of {_ench} of {_i} >= 1 enchant player's tool with {_ench} replace all "items:1" and "level" with "" in nbt of player's tool
Büyük bir topluluğun parçası ol, etkinliklere katıl ve özel hediyeler kazanma şansı yakala!