Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
03dcdb895e | ||
|
|
a166fe9457 | ||
|
|
a2f3ec89b8 | ||
|
|
28597a8777 | ||
|
|
c9755066b4 | ||
|
|
4215dafafd | ||
|
|
c09c7ae312 | ||
|
|
6e3933ff72 | ||
|
|
30595783e3 | ||
|
|
9898118bf1 | ||
|
|
2a301158b8 | ||
|
|
ba29170e32 | ||
|
|
94ebc73687 | ||
|
|
1cc853e498 | ||
|
|
d6fef2f64c | ||
|
|
bc341b0a86 | ||
|
|
d5d2e3fd00 | ||
|
|
00d2664653 | ||
|
|
b8e1d55242 | ||
|
|
26f381fcfc | ||
|
|
ad84ce7d45 | ||
|
|
dc1bd7ebcb | ||
|
|
0b658c72ee | ||
|
|
03c0d0e444 | ||
|
|
afd0b76b42 |
@@ -48,7 +48,7 @@ allprojects {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly 'com.willfp:eco:6.37.1'
|
compileOnly 'com.willfp:eco:6.37.1'
|
||||||
implementation 'com.willfp:libreforge:3.93.2'
|
implementation 'com.willfp:libreforge:3.105.0'
|
||||||
implementation 'org.joml:joml:1.10.4'
|
implementation 'org.joml:joml:1.10.4'
|
||||||
|
|
||||||
compileOnly 'org.jetbrains:annotations:23.0.0'
|
compileOnly 'org.jetbrains:annotations:23.0.0'
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ dependencies {
|
|||||||
compileOnly 'net.kyori:adventure-api:4.10.1'
|
compileOnly 'net.kyori:adventure-api:4.10.1'
|
||||||
compileOnly 'net.essentialsx:EssentialsX:2.19.0'
|
compileOnly 'net.essentialsx:EssentialsX:2.19.0'
|
||||||
compileOnly 'com.github.ben-manes.caffeine:caffeine:3.0.6'
|
compileOnly 'com.github.ben-manes.caffeine:caffeine:3.0.6'
|
||||||
compileOnly 'com.ticxo.modelengine:api:R2.5.0'
|
compileOnly 'com.ticxo.modelengine:api:R3.0.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
build.dependsOn publishToMavenLocal
|
build.dependsOn publishToMavenLocal
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package com.willfp.ecopets.pets
|
|||||||
import com.willfp.eco.core.config.interfaces.Config
|
import com.willfp.eco.core.config.interfaces.Config
|
||||||
import com.willfp.libreforge.conditions.ConfiguredCondition
|
import com.willfp.libreforge.conditions.ConfiguredCondition
|
||||||
import com.willfp.libreforge.events.TriggerPreProcessEvent
|
import com.willfp.libreforge.events.TriggerPreProcessEvent
|
||||||
import com.willfp.libreforge.filters.ConfiguredFilter
|
import com.willfp.libreforge.filters.Filter
|
||||||
import com.willfp.libreforge.triggers.Trigger
|
import com.willfp.libreforge.triggers.Trigger
|
||||||
import org.bukkit.event.EventHandler
|
import org.bukkit.event.EventHandler
|
||||||
import org.bukkit.event.Listener
|
import org.bukkit.event.Listener
|
||||||
@@ -31,7 +31,7 @@ object PetTriggerXPGainListener : Listener {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ConfiguredFilter(xpGain.filters).matches(data)) {
|
if (!Filter.matches(data, xpGain.filters)) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,10 +14,7 @@ class ModelEnginePetEntity(
|
|||||||
|
|
||||||
val model = ModelEngineAPI.createActiveModel(modelID)
|
val model = ModelEngineAPI.createActiveModel(modelID)
|
||||||
val modelled = ModelEngineAPI.createModeledEntity(stand)
|
val modelled = ModelEngineAPI.createModeledEntity(stand)
|
||||||
modelled.addActiveModel(model)
|
modelled.addModel(model, true)
|
||||||
|
|
||||||
// ModelEngine removed addActiveModel in new API release... for no reason.
|
|
||||||
//modelled.addModel(model,true)
|
|
||||||
|
|
||||||
return stand
|
return stand
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -257,7 +257,6 @@ point-names: # If you have point names that look ugly (eg g_souls) then you can
|
|||||||
|
|
||||||
use-faster-move-trigger: true # Disable if you want move trigger to detect sub-1-block movements
|
use-faster-move-trigger: true # Disable if you want move trigger to detect sub-1-block movements
|
||||||
raytrace-distance: 80 # The distance that alt_click should check for a location
|
raytrace-distance: 80 # The distance that alt_click should check for a location
|
||||||
block-item-drop-place-check: true # If the block_item_drop trigger should only fire on naturally placed blocks (prevents dupes)
|
|
||||||
|
|
||||||
potions:
|
potions:
|
||||||
icon:
|
icon:
|
||||||
@@ -269,3 +268,5 @@ potions:
|
|||||||
particles:
|
particles:
|
||||||
permanent: false
|
permanent: false
|
||||||
triggered: true
|
triggered: true
|
||||||
|
|
||||||
|
share-configs: true # If your configs are allowed to be used to gather data and improve the plugin. Nothing identifying (IP, Name, etc) is shared.
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#libreforge-updater
|
#libreforge-updater
|
||||||
#Mon Sep 05 18:01:01 BST 2022
|
#Mon Sep 26 14:42:58 BST 2022
|
||||||
version=1.29.2
|
version=1.41.0
|
||||||
plugin-name=EcoPets
|
plugin-name=EcoPets
|
||||||
|
|||||||
Reference in New Issue
Block a user