Skocz do zawartości
  • -1

BOY/SAND farmery


TofiQ

Pytanie

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

  • 0
on place of ender portal frame:
	if player's tool is ender portal frame named "&6BoyFarmer":
		loop blocks below event-block:
			if block below loop-block is air or grass or long grass:
				add 1 to {_l}
			else:
				exit loop
		loop {_l} -1 times:
			wait 15 ticks
			spawn falling block of obsidian at block below event-block
		wait 15 ticks
		set event-block to obsidian
		set block below event-block to obsidian
	
on break of hopper:
	if {nz::%event-block%} is true:
		cancel event
	
on place of sand:
	if player's tool is sand named "&eSandFarmer":
		set {_s} to event-block
		loop {sf} times:
			if block above {_s} is not bedrock:
				wait 1.3 second
				if block at {_s} is sand:
					spawn falling block of sand at block above {_s}
					push spawned entity upwards at speed 0.5
					set {_s} to block above {_s}
			else:
				exit loop
			wait 10 ticks
			set event-block to sand
		
		
on place of tnt:
	if player's tool is tnt named "&aAutoFosa":
		set {_bb} to event-block
		set event-block to air
		loop {af} times:
			if block below {_bb} is bedrock:
				exit loop
			else:
				set {nz::%{_bb}%} to true
				set block above {_bb} to air
				wait 10 ticks
				set {_bb} to block below {_bb}
				wait 10 ticks
				create a fake explosion  at {_bb}
				set block at {_bb} to air
				set block at {_bb} to hopper
		set block above {_bb} to air
		set block at {_bb} to air
		delete {nz::*}

on load:
	if file "plugins/QFarmers/config.yml" doesn't exists:
		create file "plugins/QFarmers/config.yml"
	set {sf} to 50
	set {af} to 25

command /dajmi:
	permission: op
	trigger:
		give player tnt named "&aAutoFosa"
		give player sand named "&eSandFarmer"
		give player ender portal frame named "&6BoyFarmer"

Zobacz czy działa bo stare trochę.

Odnośnik do komentarza
https://skript.pl/temat/26672-boysand-farmery/#findComment-175590
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...