-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed PathfinderGoalAttack && PathfinderGoalBlockBreak for 1.14.4
- Loading branch information
1 parent
078edcb
commit 28cb897
Showing
11 changed files
with
126 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#Sun Sep 08 22:40:04 CEST 2019 | ||
#Tue Sep 17 19:46:08 CEST 2019 | ||
appName=MythicMobsExtension | ||
artbuild=3753 | ||
artbuild=3807 | ||
artver=1.440-SNAPSHOT |
48 changes: 48 additions & 0 deletions
48
src/main/java/com/gmail/berndivader/mythicmobsext/conditions/CompareVariables.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package com.gmail.berndivader.mythicmobsext.conditions; | ||
|
||
import java.util.Iterator; | ||
|
||
import com.gmail.berndivader.mythicmobsext.externals.*; | ||
|
||
import io.lumine.xikage.mythicmobs.adapters.AbstractEntity; | ||
import io.lumine.xikage.mythicmobs.io.MythicLineConfig; | ||
import io.lumine.xikage.mythicmobs.skills.SkillMetadata; | ||
import io.lumine.xikage.mythicmobs.skills.conditions.ISkillMetaCondition; | ||
import io.lumine.xikage.mythicmobs.skills.placeholders.parsers.PlaceholderString; | ||
|
||
@ExternalAnnotation(name="cmptargetvar,comparetargetvariables",author="BerndiVader") | ||
public | ||
class | ||
CompareVariables | ||
extends | ||
AbstractCustomCondition | ||
implements | ||
ISkillMetaCondition | ||
{ | ||
PlaceholderString compare; | ||
|
||
public CompareVariables(String line, MythicLineConfig mlc) { | ||
super(line, mlc); | ||
compare=mlc.getPlaceholderString(new String[]{"c","cmp","compare"}, ""); | ||
} | ||
|
||
@Override | ||
public boolean check(SkillMetadata data) { | ||
if(data.getEntityTargets()!=null) { | ||
Iterator<AbstractEntity>iter=data.getEntityTargets().iterator(); | ||
while(iter.hasNext()) { | ||
AbstractEntity target=iter.next(); | ||
|
||
} | ||
} | ||
return false; | ||
} | ||
|
||
boolean check(AbstractEntity target) { | ||
if(target!=null) { | ||
|
||
} | ||
return false; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters