Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.14.x mobs compatibility #18

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
10 changes: 10 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Dynmap-mobs for 1.14x

Build:
download and compile dynmap
extract dynmap-mobs into dynmap directory
cd dynmap-mobs
gradle build

If it complains about missing tools.jar, create dynmap-mobs/gradle.properties with:
org.gradle.java.home=/path/to/your/oracle/jdk/1.8.0
26 changes: 26 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apply plugin: 'java'
apply plugin: 'maven'

group = 'dynmap-mobs'
version = '1.6-gabsoftware'

description = "Unofficial build with 1.15.1 support"

sourceCompatibility = 1.6
targetCompatibility = 1.6
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}



repositories {

maven { url "http://hub.spigotmc.org/nexus/content/groups/public/" }
maven { url "http://repo.mikeprimm.com/" }
maven { url "https://repo.maven.apache.org/maven2" }
}
dependencies {
compile group: 'org.bukkit', name: 'bukkit', version:'1.15.1-R0.1-SNAPSHOT'
compile group: 'us.dynmap', name: 'dynmap-api', version:'3.0-SNAPSHOT'
}
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,16 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.11-R0.1-SNAPSHOT</version>
<version>1.15.1-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>us.dynmap</groupId>
<artifactId>dynmap-api</artifactId>
<version>2.2-SNAPSHOT</version>
<version>3.0-SNAPSHOT</version>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<version>1.4</version>
<version>1.6-gabsoftware</version>
</project>
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = 'dynmap-mobs'
991 changes: 770 additions & 221 deletions src/main/java/org/dynmap/mobs/DynmapMobsPlugin.java

Large diffs are not rendered by default.

Binary file added src/main/resources/8x8/bee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/cod.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/drowned.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/illusioner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/panda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/parrot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/phantom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/pillager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/pufferfish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/ravager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/salmon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/traderllama.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/tropicalfish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/vanilladolphin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/vanillafox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/vanillaturtle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/8x8/wandering_trader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/bee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/cod.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
193 changes: 122 additions & 71 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,90 +16,111 @@ update:
# Vehicle updates per tick (prevent lag spikes when large number of vehicles)
vehicles-per-tick: 20

mobs:
mocreat_mobs:
bear: false
bigcat: false
bird: false
boar: false
bunny: false
caveogre: false
crocodile: false
deer: false
dolphin: false
duck: false
fireogre: false
fishy: false
flamewraith: false
fox: false
goat: false
hellrat: false
horse: false
jellyfish: false
kitty: false
mouse: false
ogre: false
ostrich: false
polarbear: false
rat: false
ray: false
scorpion: false
shark: false
snake: false
turtle: false
werewolf: false
wildwolf: false
wraith: false

hostile_mobs:
blaze: true
cavespider: true
creeper: true
drowned: true
elderguardian: true
witherskeleton: true
stray: true
husk: true
zombievillager: true
enderdragon: true
enderman: true
endermite: true
evoker: true
vex: true
vindicator: true
creeper: true
skeleton: true
giant: true
ghast: true
zombiepigman: true
zombie: true
enderman: true
cavespider: true
spider: true
spiderjockey: true
silverfish: true
blaze: true
giant: true
guardian: true
husk: true
illusioner: true
magmacube: true
phantom: true
pillager: true
ravager: true
shulker: true
silverfish: true
skeleton: true
slime: true
enderdragon: true
wither: true
spider: true
spiderjockey: true
stray: true
vex: true
vindicator: true
witch: true
endermite: true
guardian: true
shulker: true
skeletonhorse: true
zombiehorse: true
wither: true
witherskeleton: true
zombie: true
zombiepigman: true
zombievillager: true

passive_mobs:
bat: true
cat: true
chicken: true
chickenjockey: true
cod: true
cow: true
donkey: true
golem: true
llama: true
mooshroom: true
mule: true
bat: true
ocelot: true
panda: true
parrot: true
pig: true
pufferfish: true
rabbit: true
salmon: true
sheep: true
cow: true
chicken: true
chickenjockey: true
skeletonhorse: true
snowgolem: true
squid: true
wolf: true
tamedwolf: true
mooshroom: true
snowgolem: true
ocelot: true
cat: true
golem: true
traderllama: true
tropicalfish: true
vanilladolphin: true
vanillafox: true
vanillahorse: true
rabbit: true
vanillapolarbear: true
llama: true
vanillaturtle: true
villager: true
horse: false
fireogre: false
caveogre: false
ogre: false
boar: false
polarbear: false
bear: false
duck: false
bigcat: false
deer: false
wildwolf: false
flamewraith: false
wraith: false
bunny: false
bird: false
fox: false
werewolf: false
shark: false
dolphin: false
fishy: false
kitty: false
hellrat: false
rat: false
mouse: false
scorpion: false
turtle: false
crocodile: false
ray: false
jellyfish: false
goat: false
snake: false
ostrich: false
wandering_trader: true
wolf: true
zombiehorse: true
bee: true

vehicles:
# Specific minecart types
Expand All @@ -113,8 +134,38 @@ vehicles:
# Boats
boat: false

layer:
name: "Mobs"
mocreatlayer:
name: "Mo'Creatures Mobs"
# Make mobs layer hidden by default
hidebydefault: false
# ordering priority in layer menu (low goes before high - default is 0)
layerprio: 10
# (optional) if true, use tiny marker icons (8x8) - default is 16x16
tinyicons: false
# (optional) if true, don't show labels on mob icons
nolabels: false
# (optional) set minimum zoom level when mob icons should be visible (0=default, any zoom)
minzoom: 0
# (optional) include coordinate in label for icon
inc-coord: false

hostilelayer:
name: "Hostile Mobs"
# Make mobs layer hidden by default
hidebydefault: false
# ordering priority in layer menu (low goes before high - default is 0)
layerprio: 10
# (optional) if true, use tiny marker icons (8x8) - default is 16x16
tinyicons: false
# (optional) if true, don't show labels on mob icons
nolabels: false
# (optional) set minimum zoom level when mob icons should be visible (0=default, any zoom)
minzoom: 0
# (optional) include coordinate in label for icon
inc-coord: false

passivelayer:
name: "Passive Mobs"
# Make mobs layer hidden by default
hidebydefault: false
# ordering priority in layer menu (low goes before high - default is 0)
Expand Down
Binary file added src/main/resources/drowned.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/illusioner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/panda.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/parrot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/phantom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/pillager.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/pufferfish.png
Binary file added src/main/resources/ravager.png
Binary file added src/main/resources/salmon.png
Binary file added src/main/resources/traderllama.png
Binary file added src/main/resources/tropicalfish.png
Binary file added src/main/resources/vanilladolphin.png
Binary file added src/main/resources/vanillafox.png
Binary file added src/main/resources/vanillaturtle.png
Binary file added src/main/resources/wandering_trader.png