Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f9b122d77 | ||
|
|
71d203bffc | ||
|
|
092c076dba | ||
|
|
ebb8298c9d | ||
|
|
ab2f6a64d5 | ||
|
|
62b7d28020 | ||
|
|
e5ae2527a9 | ||
|
|
aca8b2dcb1 | ||
|
|
88ec668999 | ||
|
|
9729d75252 | ||
|
|
fc2f40d100 | ||
|
|
ce0424b468 | ||
|
|
940846d069 | ||
|
|
b2d18fbb64 | ||
|
|
96389b5329 | ||
|
|
61afb3a0bc | ||
|
|
bf57ac3491 | ||
|
|
e8421f40fe | ||
|
|
b8d12b1f9a | ||
|
|
1476470054 | ||
|
|
89fb41b814 | ||
|
|
f44591b47d | ||
|
|
fd82a0ef72 | ||
|
|
cbbf2558fd | ||
|
|
76f541bc3f | ||
|
|
7f95da0f6c | ||
|
|
3798f1f771 | ||
|
|
721a60c994 | ||
|
|
4a03a5f48c | ||
|
|
c6720b7417 | ||
|
|
575c799587 | ||
|
|
2c324174e4 | ||
|
|
28f5a15f0a | ||
|
|
9bed2d3749 | ||
|
|
1a394ce858 | ||
|
|
5d3bd8bde2 | ||
|
|
5279a6e64a | ||
|
|
2c2306b223 | ||
|
|
8aaa24c3c1 | ||
|
|
e32c05ab3e | ||
|
|
f21bd467c2 | ||
|
|
d3e93188c0 | ||
|
|
e92d9c131e | ||
|
|
1bee56adf3 | ||
|
|
85a2723ef8 | ||
|
|
29069e7e9f | ||
|
|
c8be483bf0 | ||
|
|
92ace4e9a3 | ||
|
|
aed979a19f | ||
|
|
0fa9a6ed23 | ||
|
|
b3660ecf58 | ||
|
|
5eb787352b | ||
|
|
a7774e1fca | ||
|
|
596ae798ec | ||
|
|
902812e015 | ||
|
|
0b510e8426 | ||
|
|
d4c5d1e356 | ||
|
|
5a2f360e50 | ||
|
|
84ad8b0d7b | ||
|
|
6a26bec4e1 | ||
|
|
827199b518 | ||
|
|
ead879a913 | ||
|
|
47a2962bd6 | ||
|
|
105a8d47a0 | ||
|
|
ad16a3b999 | ||
|
|
63bb014de8 | ||
|
|
dc40994271 | ||
|
|
efc2309222 | ||
|
|
eafc34cb54 | ||
|
|
4125bbf647 | ||
|
|
bb5319f177 | ||
|
|
f3c933a537 | ||
|
|
2e6964af8e | ||
|
|
b49fbd7ccc | ||
|
|
41bc9d10f8 | ||
|
|
e6ac4e0b00 | ||
|
|
25024fc91f | ||
|
|
e40ac6b1e3 | ||
|
|
5d3053ea8d | ||
|
|
47e00474d0 |
No files matched your search
|
After Width: | Height: | Size: 7.6 KiB |
@@ -1,3 +0,0 @@
|
|||||||
#Build Number for ANT. Do not edit!
|
|
||||||
#Sat Dec 29 20:28:23 PST 2012
|
|
||||||
build.number=34
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<project name="ThaumicBees" basedir="../../" default="main">
|
<project name="ThaumicBees" basedir="../../" default="main">
|
||||||
<property name="build.dir" value="build" />
|
<property name="build.dir" value="build" />
|
||||||
<property name="classes.dir" value="${build.dir}/classes" />
|
<property name="classes.dir" value="${build.dir}/classes" />
|
||||||
<property name="resource.dir" value="mc.devel" />
|
<property name="resource.dir" value="${build.dir}/mc.devel" />
|
||||||
<property name="jar.dir" value="${build.dir}/jar" />
|
<property name="jar.dir" value="${build.dir}/jar" />
|
||||||
|
|
||||||
<property name="src.dir" value="ThaumicBees" />
|
<property name="src.dir" value="ThaumicBees" />
|
||||||
@@ -9,22 +9,22 @@
|
|||||||
|
|
||||||
<property name="forge.dir" value="${build.dir}/forge" />
|
<property name="forge.dir" value="${build.dir}/forge" />
|
||||||
<property name="mcp.dir" value="${forge.dir}/mcp" />
|
<property name="mcp.dir" value="${forge.dir}/mcp" />
|
||||||
<property name="forestry.dir" value="ForestryApi-1.6.4" />
|
<property name="forestry.dir" value="Forestry/forestry_common/core" />
|
||||||
<property name="thaumcraft.dir" value="Thaumcraft" />
|
<property name="thaumcraft.dir" value="Thaumcraft" />
|
||||||
<property name="extrabiomes.dir" value="ExtraBiomes" />
|
<property name="extrabiomes.dir" value="ExtraBiomes" />
|
||||||
|
|
||||||
<property name="clientsrc.dir" value="${mcp.dir}/src/minecraft" />
|
<property name="clientsrc.dir" value="${mcp.dir}/src/minecraft" />
|
||||||
|
|
||||||
<property name="mc.version" value="1.4.6"/>
|
<property name="mc.version" value="1.5.1"/>
|
||||||
<property name="forge.version" value="6.5.0.473"/>
|
<property name="forge.version" value="7.7.1.661"/>
|
||||||
<property name="thaumicbees.version" value="0.9.0"/>
|
<property name="thaumicbees.version" value="1.4.7"/>
|
||||||
|
|
||||||
<!-- for local deployment only, not used by main -->
|
<!-- for local deployment only, not used by main -->
|
||||||
<property name="deploy.type" value="previews" />
|
<property name="deploy.type" value="previews" />
|
||||||
<property name="deploy.root" value="C:\Users\Marc\Dropbox\Public\ThaumicBees" />
|
<property name="deploy.root" value="C:\Users\Marc\Dropbox\Public\ThaumicBees" />
|
||||||
<property name="deploy.dir" value="${deploy.root}\${deploy.type}" />
|
<property name="deploy.dir" value="${deploy.root}\${deploy.type}" />
|
||||||
<property name="share.dir" value="C:\Users\Marc\Dropbox\Shared\ThaumicBees" />
|
<property name="share.dir" value="C:\Users\Marc\Dropbox\Shared\ThaumicBees" />
|
||||||
<property name="local.dir" value="D:\Games\Minecraft\MultiMC\instances\1.4.6test\minecraft\mods" />
|
<property name="local.dir" value="D:\Games\Minecraft\MultiMC\instances\1.4.6 pure\minecraft\mods" />
|
||||||
|
|
||||||
<!-- TARGETS -->
|
<!-- TARGETS -->
|
||||||
<target name="clean">
|
<target name="clean">
|
||||||
@@ -32,30 +32,32 @@
|
|||||||
<delete dir="${clientsrc.dir}/forestry" />
|
<delete dir="${clientsrc.dir}/forestry" />
|
||||||
<delete dir="${clientsrc.dir}/thaumcraft" />
|
<delete dir="${clientsrc.dir}/thaumcraft" />
|
||||||
<delete dir="${clientsrc.dir}/thaumicbees" />
|
<delete dir="${clientsrc.dir}/thaumicbees" />
|
||||||
|
<delete dir="${classes.dir}" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="setup">
|
<target name="forgeclean">
|
||||||
|
|
||||||
<!-- Unzip forge -->
|
<!-- Unzip forge -->
|
||||||
<!--<echo message="Unpacking Forge..." />
|
<echo message="Unpacking Forge..." />
|
||||||
<unzip dest="${build.dir}">
|
<unzip dest="${build.dir}">
|
||||||
<fileset dir="${resource.dir}">
|
<fileset dir="${resource.dir}">
|
||||||
<include name="minecraftforge-src-${mc.version}-${forge.version}.zip"/>
|
<include name="minecraftforge-src-${mc.version}-${forge.version}.zip"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</unzip>
|
</unzip>
|
||||||
|
|
||||||
<chmod file="${forge.dir}/install.sh" perm="+x"/> -->
|
<chmod file="${forge.dir}/install.sh" perm="+x"/>
|
||||||
|
|
||||||
<!-- Install forge -->
|
<!-- Install forge -->
|
||||||
<!--<echo message="Installing Forge..." />
|
<echo message="Installing Forge..." />
|
||||||
<exec dir="${forge.dir}" executable="cmd" osfamily="windows">
|
<exec dir="${forge.dir}" executable="cmd" osfamily="windows">
|
||||||
<arg line="/c install.cmd"/>
|
<arg line="/c install.cmd"/>
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<exec dir="${forge.dir}" executable="sh" osfamily="unix">
|
<exec dir="${forge.dir}" executable="sh" osfamily="unix">
|
||||||
<arg value="install.sh" />
|
<arg value="install.sh" />
|
||||||
</exec> -->
|
</exec>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="setup">
|
||||||
<!-- Set build number -->
|
<!-- Set build number -->
|
||||||
<buildnumber file="${src.dir}/thaumicbees_res/build.number"/>
|
<buildnumber file="${src.dir}/thaumicbees_res/build.number"/>
|
||||||
|
|
||||||
@@ -69,17 +71,17 @@
|
|||||||
<include name="forestry/api/**" />
|
<include name="forestry/api/**" />
|
||||||
</fileset>
|
</fileset>
|
||||||
<fileset dir="${thaumcraft.dir}/">
|
<fileset dir="${thaumcraft.dir}/">
|
||||||
<exclude name="**/resources/**" />
|
<include name="thaumcraft/api/**" />
|
||||||
<exclude name="**/sound/**" />
|
|
||||||
</fileset>
|
</fileset>
|
||||||
<fileset dir="${src.dir}/thaumicbees_src">
|
<fileset dir="${src.dir}/thaumicbees_src">
|
||||||
|
<include name="**/net/mysteriousages/**" />
|
||||||
<include name="**/thaumicbees/**" />
|
<include name="**/thaumicbees/**" />
|
||||||
<include name="**/forestry/**" />
|
<include name="**/forestry/**" />
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<copy todir="${clientsrc.dir}" overwrite="true" failonerror="true">
|
<copy todir="${clientsrc.dir}" overwrite="true" failonerror="true">
|
||||||
<fileset dir="${src.dir}/thaumicbees_src">
|
<fileset dir="${src.dir}/thaumicbees_src">
|
||||||
<include name="**/VersionInfo.java" />
|
<include name="**/VersionInfo.java" />
|
||||||
</fileset>
|
</fileset>
|
||||||
<filterset>
|
<filterset>
|
||||||
@@ -87,7 +89,6 @@
|
|||||||
<filter token="VERSION" value="${thaumicbees.version}" />
|
<filter token="VERSION" value="${thaumicbees.version}" />
|
||||||
<filter token="BUILD_NUMBER" value="${build.number}" />
|
<filter token="BUILD_NUMBER" value="${build.number}" />
|
||||||
<filter token="FINGERPRINT" value="${key.fingerprint}" />
|
<filter token="FINGERPRINT" value="${key.fingerprint}" />
|
||||||
<filter token="MODVERSION" value="${VERSION}-${BUILD_NUMBER}" />
|
|
||||||
</filterset>
|
</filterset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
@@ -107,36 +108,43 @@
|
|||||||
|
|
||||||
<!-- Reobf -->
|
<!-- Reobf -->
|
||||||
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows">
|
<exec dir="${mcp.dir}" executable="cmd" osfamily="windows">
|
||||||
<arg line="/c reobfuscate.bat"/>
|
<arg line="/c reobfuscate_srg.bat"/>
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<exec dir="${mcp.dir}" executable="sh" osfamily="unix">
|
<exec dir="${mcp.dir}" executable="sh" osfamily="unix">
|
||||||
<arg value="reobfuscate.sh" />
|
<arg value="reobfuscate.sh_srg" />
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<!-- Copy classes -->
|
<!-- Copy classes -->
|
||||||
<copy todir="${classes.dir}/client">
|
<copy todir="${classes.dir}/client">
|
||||||
<fileset dir="${mcp.dir}/reobf/minecraft">
|
<fileset dir="${mcp.dir}/reobf/minecraft">
|
||||||
|
<exclude name="forestry/api/**" />
|
||||||
|
|
||||||
<include name="**/thaumicbees/**" />
|
<include name="**/thaumicbees/**" />
|
||||||
<include name="**/forestry/api/**" />
|
<include name="**/net/mysteriousages/**" />
|
||||||
<include name="**/forestry/plugins/**" />
|
|
||||||
<exclude name="**/thaumcraft/**" />
|
<!--<include name="**/thaumcraft/api/IVisRepairable.class" />
|
||||||
|
<include name="**/thaumcraft/api/EnumTag.class" />
|
||||||
|
<include name="**/thaumcraft/api/ObjectTags.class" /> -->
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
<!-- Copy Forestry resources -->
|
<!-- Copy ThaumicBees resources -->
|
||||||
<copy todir="${classes.dir}/client">
|
<copy todir="${classes.dir}/client">
|
||||||
<fileset dir="${src.dir}/thaumicbees_res">
|
<fileset dir="${src.dir}/thaumicbees_res">
|
||||||
<exclude name="build.xml"/>
|
<exclude name="build.xml"/>
|
||||||
<exclude name="build.number"/>
|
<exclude name="build.number"/>
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
<!-- Copy localizations -->
|
|
||||||
<copy todir="${classes.dir}/client">
|
<copy todir="${classes.dir}/client" overwrite="true" failonerror="true">
|
||||||
<fileset dir="${lang.dir}">
|
<fileset dir="${src.dir}/thaumicbees_res">
|
||||||
<exclude name="README.md"/>
|
<include name="**/mcmod.info" />
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
<filterset>
|
||||||
|
<filter token="MODVERSION" value="${thaumicbees.version} - ${build.number}" />
|
||||||
|
</filterset>
|
||||||
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Package the jars -->
|
<!-- Package the jars -->
|
||||||
|
|||||||
@@ -0,0 +1,140 @@
|
|||||||
|
Added the Bee Collector's Jar.
|
||||||
|
Created an alternate recipe for the Temporal Frame that is always active.
|
||||||
|
Adjusted TC3 alternate recipe for the Temporal Frame.
|
||||||
|
Fixed an issue with the "Pick Block" function on the Greatwood & Silverwood planks. Should also stop NEI from providing incorrect block info on them.
|
||||||
|
Fixed the Node flower growing flowers.
|
||||||
|
Adding Apatite bees.
|
||||||
|
|
||||||
|
1.4.6
|
||||||
|
Ars Magica integration! 13 new bee species to help you research & cast spells.
|
||||||
|
Changing mutations around, because I'm still not happy with them. (Again.)
|
||||||
|
Many icon & texture fixes. (derp!)
|
||||||
|
|
||||||
|
1.4.5a
|
||||||
|
Repaired Thaumcraft 3 integration for 3.0.4a.
|
||||||
|
Fixed Biofuel capsules being shown as "Empty x Capsule"
|
||||||
|
Fixed missing texture for oil & fuel capsules
|
||||||
|
|
||||||
|
1.4.5
|
||||||
|
Added the Jade Moon Dial - tells you what moon phase it currently is for breeding purposes.
|
||||||
|
Added a creative menu tab for certain Thaumic Bees items - misc resources, capsules, tools.
|
||||||
|
|
||||||
|
1.4.4b
|
||||||
|
Ported to 1.5! Wooo!
|
||||||
|
|
||||||
|
1.4.4a
|
||||||
|
Fixed an isuse that caused GregTech to crash.
|
||||||
|
|
||||||
|
1.4.4
|
||||||
|
Made greatwood & silverwood planks fireproof by default - added a config option to toggle it.
|
||||||
|
Added Nuggets - Iron, Copper, Tin, Silver, Lead. Should craft into 1st ore dictionary ingot of appropriate type.
|
||||||
|
Added Shards - Diamond, Emerald.
|
||||||
|
Added 15 new bees. Have fun~ <3
|
||||||
|
Added Equivalent Exchange 3 compatability! (It's 1 thing, don't get terribly excited.)
|
||||||
|
New frame type! Search Strongholds for them.
|
||||||
|
|
||||||
|
1.4.3c
|
||||||
|
Thaumium Grafter now doubles your chance to get Greatwood & Silverwood saplings.
|
||||||
|
Thaumium Grafter now takes extra damage when trying to break Greatwood & Silverwood leaves.
|
||||||
|
Thaumium Grafter now has a balancing feature when repairing.
|
||||||
|
Extra... uh. "Enhancements". =D
|
||||||
|
|
||||||
|
1.4.3b
|
||||||
|
Greatwood & Silverwood planks support BuildCraft facades.
|
||||||
|
Tweaking Aura cost for Repair on Thaumium Grafters and other balance.
|
||||||
|
Turns out I can't get the version crap to work properly. More fixes.
|
||||||
|
|
||||||
|
1.4.3a
|
||||||
|
Changed Version info embedded in mod to match format supported by Version checking. Will need to make this more robust in the future.
|
||||||
|
Fixed bug with Thaumium Grafter not being enchantable.
|
||||||
|
|
||||||
|
1.4.3
|
||||||
|
Added automatic version-checking for ThaumicBees! From this version on, when a new version becomes available, it will notify you in-game. Notifications can be switched off via a config file option.
|
||||||
|
Fixed missing aspects on Extra Bees combs.
|
||||||
|
|
||||||
|
1.4.2
|
||||||
|
Added Void Capsules - hold up to 8 buckets of liquid with one! It's a waterproof bag of holding! Plus stacking.
|
||||||
|
Fix: Added Greatwood & Silverwood slabs to the ore dictionary so they should work as normal.
|
||||||
|
Added Thaumium Scoop - 30 uses, can be enchanted with Repair.
|
||||||
|
Added Thaumium Grafter - 15 uses, can be enchanted with Repair.
|
||||||
|
|
||||||
|
1.4.1
|
||||||
|
Added Greatwood and Silverwood planks. Since Greatwood and Silverwood are tougher than other trees, you'll need some extra machinery. To obtain these, jam a log of the appropriate tree into a Forestry carpenter and provide a half bucket of water.
|
||||||
|
Added slabs for the new planks also.
|
||||||
|
|
||||||
|
1.4.0a
|
||||||
|
Fixed some issues with the Node bee's effect.
|
||||||
|
|
||||||
|
1.4.0
|
||||||
|
New branch of bees containing 3 new species. A new type of frame!
|
||||||
|
Thaumaturge's Backpack now require Amber rather than Gold Nuggets.
|
||||||
|
Due to popular complaint, the Bees & Magic node now requires Unified Thaumic Field Theory to unlock.
|
||||||
|
Moving all kinds of string contstants out of code into Localization files.
|
||||||
|
Also fixed crazy aspects showing up on things that shouldn't have those aspects.
|
||||||
|
ACTUALLY fixed issue with untyped node mutations failing.
|
||||||
|
|
||||||
|
1.3.0d
|
||||||
|
Fixed an issue with mutations requiring a non-specific type of node to fail.
|
||||||
|
|
||||||
|
1.3.0c
|
||||||
|
Discovered a function call that will crash dedicated servers. If you are running ThuamicBees on a server, please update to this revision.
|
||||||
|
|
||||||
|
1.3.0b
|
||||||
|
Fixed a problem with capsules not being registered with the Forge Liquid Dictionary. You should be able to use them just about everywhere, now.
|
||||||
|
Fixed the issue with certain items appearing twice in Creative Mode tabs.
|
||||||
|
|
||||||
|
1.3.0a
|
||||||
|
Some bug fixes, including uncommenting some mutation-related code, research tweaking.
|
||||||
|
Added the last bee for a long while, probably. Good luck getting it.
|
||||||
|
|
||||||
|
Common TB crashes stemming from Forestry issues should now be reported a little better, especially the backpack registration & item texture file related things. Errors should appear in your log, so make sure you read the log before you report the error here. It could be something silly on your end that is causing the crash.
|
||||||
|
|
||||||
|
1.3.0
|
||||||
|
3 new species of bee: Vis, Pure, and Flux! Each requires an aura node nearby, and may have some side-effects...
|
||||||
|
New Thaumcraft research! Open up your Thaumanomicon to see it.
|
||||||
|
New Apiary Frames! They run off magic, confers bees with bonuses, and may have an impact outside of your apiary...
|
||||||
|
|
||||||
|
1.2.705B - Replaced 1.2.705
|
||||||
|
Fixed issue with bad Mutation class, allowing pure bees to turn into any bee that involves them in a mutation.
|
||||||
|
Also ACTUALLY fixed issue with Extra Bees loading after ThaumicBees on *nix-based systems.
|
||||||
|
|
||||||
|
1.2.705
|
||||||
|
*Stealth update: Fixed an issue with TB loading before Extra Bees, resulting in some Null Pointers getting passed and choked on. If you get this issue, please re-download 1.2.705. No other changes were made in this version.
|
||||||
|
|
||||||
|
*8 new species of bees, including "Praecantatio", which, like the other Elemental bees, may contain Vis shards in its propolis. Some of the new species may also have extra evil involved, so be ready for anything.
|
||||||
|
*Extra integration with Extra Bees! Mutations for some of the new bees. If Extra Bees is present, their mutations will require EB species rather than the base Forestry species.
|
||||||
|
*Changed the "Charmed" mutation to avoid conflicting with Extra Bees. (Binnie already had one there, so mine got moved.)
|
||||||
|
*New bee branch, similar to Extra Bees's mob spawning bees.
|
||||||
|
*One new bee from a new branch, the rest of which will come once Azanor releases the Thaumcraft API.
|
||||||
|
|
||||||
|
1.1.702-67 - Replaced 1.1.702-62
|
||||||
|
Additional Magic Capsules, featuring ExtraBees liquids, and RailCraft Creosote & Steam. (Yes, steam capsules. It's magic. That's how. :P)
|
||||||
|
Tagged additional Forestry items with Thaumcraft aspects.
|
||||||
|
|
||||||
|
1.1.702-62
|
||||||
|
Added Magic Capsules!
|
||||||
|
Compatible with BuildCraft and Forestry liquids, they function almost the same way as refactory capsules, except that they can store 2 buckets' worth of liquid. As such, you cannot right-click with them to scoop up water or lava, but you can use them in bottlers, carpenters, Railcraft's Iron Tanks, Thermal Expansion's liquid transposers, and other things that support the Forge Liquid Dictionary. They can be useful for storing larger amounts of liquids in chests and things. I am also able to add other liquids to them in the future, and liquids from mods that are not present will not appear in the Creative inventory or the NEI listings.
|
||||||
|
|
||||||
|
1.0.701-56
|
||||||
|
Update to Forestry 1.7.0.1/1.7.0.2
|
||||||
|
|
||||||
|
Added all kinds of backpack integration for Thaumcraft, including a new Thaumaturge's Backpack and Woven variety. These will suck up shards, Thaumcraft resources such as quicksilver, amber, zombie brains, research fragments and other goodies. Other TC items such as marker blocks, warded stone, candles, logs, leaves and plants also can fall into Forestry's default backpacks as appropriate. (I may have missed some other obvious items.)
|
||||||
|
|
||||||
|
1.0.70-53
|
||||||
|
Update to Forestry 1.7.0.0
|
||||||
|
|
||||||
|
1.0.0-50
|
||||||
|
-Added Thaumcraft aspects to some Forestry items, notably combs and bees. (Finally, something to use those extra drones for!)
|
||||||
|
-Added another Swarmer inducer item - craftable via carpenter using liquid honey, Royal Jelly, Pollen and Enchanting Drops from Arcane bees. 8 times more effective than Royal Jelly alone!
|
||||||
|
-Added carpenter recipe for candles using magic wax. Same patterns as with beeswax.
|
||||||
|
|
||||||
|
1.0.0-48
|
||||||
|
-Support for Forestry 1.6.5.5+
|
||||||
|
-Extra alles for bee mutations!
|
||||||
|
-Thaumcraft aspects associated with some Forestry items!
|
||||||
|
|
||||||
|
1.0.0-35
|
||||||
|
-Bugfix version to account for launcher jars located outside of expected folder. Replaced 1.0.0-34
|
||||||
|
|
||||||
|
1.0.0-34
|
||||||
|
-Initial Release
|
||||||
@@ -0,0 +1,297 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
|
||||||
|
<properties version="1.0">
|
||||||
|
<!-- Item names -->
|
||||||
|
<entry key="item.thaumicbees:jellyBabies.name">Handful of Jelly Babies</entry>
|
||||||
|
<entry key="item.thaumicbees:thaumiumScoop.name">Thaumium Scoop</entry>
|
||||||
|
<entry key="item.thaumicbees:thaumiumGrafter.name">Thaumium Grafter</entry>
|
||||||
|
|
||||||
|
<!-- Specially handled Item names -->
|
||||||
|
<entry key="item.tb.moonDial.name">Jade Moon Dial</entry>
|
||||||
|
|
||||||
|
<!-- Block names -->
|
||||||
|
<entry key="tile.tb.planks.greatwood.name">Greatwood Planks</entry>
|
||||||
|
<entry key="tile.tb.slab.wood.greatwood.name">Greatwood Slab</entry>
|
||||||
|
<entry key="tile.tb.planks.silverwood.name">Silverwood Planks</entry>
|
||||||
|
<entry key="tile.tb.slab.wood.silverwood.name">Silverwood Slab</entry>
|
||||||
|
<entry key="tile.tb.effectJar.name">Bee Collector's Jar</entry>
|
||||||
|
|
||||||
|
<!-- Comb names -->
|
||||||
|
<entry key="tb.comb.occult">Occult Comb</entry>
|
||||||
|
<entry key="tb.comb.otherworldly">Otherworldy Comb</entry>
|
||||||
|
<entry key="tb.comb.paper">Papery Comb</entry>
|
||||||
|
<entry key="tb.comb.stark">Stark Comb</entry>
|
||||||
|
<entry key="tb.comb.air">Airy Comb</entry>
|
||||||
|
<entry key="tb.comb.fire">Firey Comb</entry>
|
||||||
|
<entry key="tb.comb.water">Watery Comb</entry>
|
||||||
|
<entry key="tb.comb.earth">Earthy Comb</entry>
|
||||||
|
<entry key="tb.comb.magic">Infused Comb</entry>
|
||||||
|
<entry key="tb.comb.aware">Memory Comb</entry>
|
||||||
|
<entry key="tb.comb.furtive">Furtive Comb</entry>
|
||||||
|
<entry key="tb.comb.soul">Soul Comb</entry>
|
||||||
|
<entry key="tb.comb.essence">Essence Comb</entry>
|
||||||
|
<entry key="tb.comb.potent">Potent Comb</entry>
|
||||||
|
|
||||||
|
<!-- Wax names -->
|
||||||
|
<entry key="tb.wax.magic">Magic Wax</entry>
|
||||||
|
<entry key="tb.wax.soul">Soulful Wax</entry>
|
||||||
|
|
||||||
|
<!-- Drop names -->
|
||||||
|
<entry key="tb.drop.enchanting">Enchanting Drop</entry>
|
||||||
|
<entry key="tb.drop.intellect">Intellect Drop</entry>
|
||||||
|
|
||||||
|
<!-- Pollen names -->
|
||||||
|
<entry key="tb.pollen.unusual">Unusual Pollen</entry>
|
||||||
|
<entry key="tb.pollen.phased">Phased Pollen</entry>
|
||||||
|
|
||||||
|
<!-- Nugget names -->
|
||||||
|
<entry key="tb.nugget.iron">Iron Nugget</entry>
|
||||||
|
<entry key="tb.nugget.steel">Steel Nugget</entry>
|
||||||
|
<entry key="tb.nugget.copper">Copper Nugget</entry>
|
||||||
|
<entry key="tb.nugget.tin">Tin Nugget</entry>
|
||||||
|
<entry key="tb.nugget.silver">Silver Nugget</entry>
|
||||||
|
<entry key="tb.nugget.lead">Lead Nugget</entry>
|
||||||
|
<entry key="tb.nugget.diamond">Diamond Shard</entry>
|
||||||
|
<entry key="tb.nugget.emerald">Emerald Shard</entry>
|
||||||
|
<entry key="tb.nugget.apatite">Apatite Shard</entry>
|
||||||
|
|
||||||
|
<!-- Propolis names -->
|
||||||
|
<entry key="tb.propolis.dull">Dull Propolis</entry>
|
||||||
|
<entry key="tb.propolis.air">Breezey Propolis</entry>
|
||||||
|
<entry key="tb.propolis.fire">Burning Propolis</entry>
|
||||||
|
<entry key="tb.propolis.water">Flowing Propolis</entry>
|
||||||
|
<entry key="tb.propolis.earth">Stony Propolis</entry>
|
||||||
|
<entry key="tb.propolis.magic">Infused Propolis</entry>
|
||||||
|
|
||||||
|
<!-- Misc Resources -->
|
||||||
|
<entry key="tb.resource.fragment">Lore Fragment</entry>
|
||||||
|
<entry key="tb.resource.lump">Aromatic Lump</entry>
|
||||||
|
<entry key="tb.resource.fertilizer">Concentrated Compound</entry>
|
||||||
|
<entry key="tb.resource.startNode">Bees and Magic</entry>
|
||||||
|
<entry key="tb.resource.beeEnchant">Stark Infusion</entry>
|
||||||
|
<entry key="tb.resource.crystalAspect">Crystalized %s Aspect</entry>
|
||||||
|
|
||||||
|
<!-- Frames -->
|
||||||
|
<entry key="item.frameMagic.name">Magic Frame</entry>
|
||||||
|
<entry key="item.frameResilient.name">Resilient Frame</entry>
|
||||||
|
<entry key="item.frameGentle.name">Gentle Frame</entry>
|
||||||
|
<entry key="item.frameMetabolic.name">Metabolic Frame</entry>
|
||||||
|
<entry key="item.frameNecrotic.name">Necrotic Frame</entry>
|
||||||
|
<entry key="item.frameTemporal.name">Temporal Frame</entry>
|
||||||
|
<entry key="item.frameOblivion.name">Oblivion Frame</entry>
|
||||||
|
|
||||||
|
<!-- Capsule names -->
|
||||||
|
<entry key="tb.capsule.magic">Magic Capsule</entry>
|
||||||
|
<entry key="tb.capsule.void">Void Capsule</entry>
|
||||||
|
|
||||||
|
<!-- Liquids -->
|
||||||
|
<entry key="tb.liquid.">Empty</entry>
|
||||||
|
<entry key="tb.liquid.water">Water</entry>
|
||||||
|
<entry key="tb.liquid.lava">Lava</entry>
|
||||||
|
<entry key="tb.liquid.biomass">Biomass</entry>
|
||||||
|
<entry key="tb.liquid.biofuel">Biofuel</entry>
|
||||||
|
<entry key="tb.liquid.Oil">Oil</entry>
|
||||||
|
<entry key="tb.liquid.Fuel">Fuel</entry>
|
||||||
|
<entry key="tb.liquid.seedoil">Seed Oil</entry>
|
||||||
|
<entry key="tb.liquid.honey">Honey</entry>
|
||||||
|
<entry key="tb.liquid.juice">Juice</entry>
|
||||||
|
<entry key="tb.liquid.ice">Ice</entry>
|
||||||
|
<entry key="tb.liquid.milk">Milk</entry>
|
||||||
|
<entry key="tb.liquid.acid">Acid</entry>
|
||||||
|
<entry key="tb.liquid.poison">Poison</entry>
|
||||||
|
<entry key="tb.liquid.liquidNitrogen">Liquid Nitrogen</entry>
|
||||||
|
<entry key="tb.liquid.liquidDNA">Liquid DNA</entry>
|
||||||
|
<entry key="tb.liquid.Creosote Oil">Creosote Oil</entry>
|
||||||
|
<entry key="tb.liquid.Steam">Steam</entry>
|
||||||
|
|
||||||
|
<!-- Moon Phases -->
|
||||||
|
<entry key="tb.moon.full">Full Moon</entry>
|
||||||
|
<entry key="tb.moon.gibbousWaning">Waning Gibbous</entry>
|
||||||
|
<entry key="tb.moon.gibbousWaxing">Waxing Gibbous</entry>
|
||||||
|
<entry key="tb.moon.halfWaning">Waning Half</entry>
|
||||||
|
<entry key="tb.moon.halfWaxing">Waxing Half</entry>
|
||||||
|
<entry key="tb.moon.crescentWaning">Waning Crescent</entry>
|
||||||
|
<entry key="tb.moon.crescentWaxing">Waxing Crescent</entry>
|
||||||
|
<entry key="tb.moon.new">New Moon</entry>
|
||||||
|
|
||||||
|
<!-- Miscellaneous names -->
|
||||||
|
<entry key="tb.backpack.thaumaturge">Thaumaturge's Backpack</entry>
|
||||||
|
<entry key="itemGroup.thaumicBees">Thaumic Bees</entry>
|
||||||
|
|
||||||
|
<!-- Species names -->
|
||||||
|
<entry key="thaumicbees.speciesEsoteric">Esoteric</entry>
|
||||||
|
<entry key="thaumicbees.speciesEsoteric.description">An unusual crossbreed which seems to have magical properties.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesMysterious">Mysterious</entry>
|
||||||
|
<entry key="thaumicbees.speciesMysterious.description">These bees have been to the end of the world and back, and their power has grown.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesArcane">Arcane</entry>
|
||||||
|
<entry key="thaumicbees.speciesArcane.description">"Their produce is charged with magic."|Azanor, Master Thaumaturge</entry>
|
||||||
|
<entry key="thaumicbees.speciesCharmed">Charmed</entry>
|
||||||
|
<entry key="thaumicbees.speciesCharmed.description">Your first experiments in Thaumaturgical Apiculture have yielded fruit. Buzzing fruit.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesEnchanted">Enchanted</entry>
|
||||||
|
<entry key="thaumicbees.speciesEnchanted.description">Successive generations of Charmed bees have reinforced their connection to the unknown.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesSupernatural">Supernatural</entry>
|
||||||
|
<entry key="thaumicbees.speciesSupernatural.description">These bees walk the line between this world and the unseen.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesPupil">Pupil</entry>
|
||||||
|
<entry key="thaumicbees.speciesPupil.description">"What does that bee want with my paper?!"|Yorae, Librarian</entry>
|
||||||
|
<entry key="thaumicbees.speciesStark">Stark</entry>
|
||||||
|
<entry key="thaumicbees.speciesStark.description">"These are unusually attracted to shards. This warrents further investigation."|Azanor, Master Thaumaturge</entry>
|
||||||
|
<entry key="thaumicbees.speciesAura">Aura</entry>
|
||||||
|
<entry key="thaumicbees.speciesAura.description">"They work so fast it's breathtaking."|Sengir, Mad Apiarist</entry>
|
||||||
|
<entry key="thaumicbees.speciesIgnis">Ignis</entry>
|
||||||
|
<entry key="thaumicbees.speciesIgnis.description">Caution: Contents of hive extremely hot.|Warning label on Azanor's apiary</entry>
|
||||||
|
<entry key="thaumicbees.speciesAqua">Aqua</entry>
|
||||||
|
<entry key="thaumicbees.speciesAqua.description">"I tried to breed them once, but that was a wash."|MysteriousAges, Apprentice Thaumaturge</entry>
|
||||||
|
<entry key="thaumicbees.speciesSolum">Solum</entry>
|
||||||
|
<entry key="thaumicbees.speciesSolum.description">"You're really gonna dig these bees, but watch out - they bore quite easily."|MysteriousAges, Apprentice Comedian</entry>
|
||||||
|
<entry key="thaumicbees.speciesAware">Aware</entry>
|
||||||
|
<entry key="thaumicbees.speciesAware.description">"They can see into your soul!"|Florastar, Expert Beekeeper</entry>
|
||||||
|
<entry key="thaumicbees.speciesSkulking">Skulking</entry>
|
||||||
|
<entry key="thaumicbees.speciesSkulking.description">These bees have become xenophobic and bad-tempered. Use caution.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesGhastly">Ghastly</entry>
|
||||||
|
<entry key="thaumicbees.speciesGhastly.description">"*sigh*... Really, Myst?"|Taveria, irritated Apiarist</entry>
|
||||||
|
<entry key="thaumicbees.speciesSpidery">Spidery</entry>
|
||||||
|
<entry key="thaumicbees.speciesSpidery.description">Spiderbee; n. Does whatever a spider-bee does.|Unknown</entry>
|
||||||
|
<entry key="thaumicbees.speciesTimely">Timely</entry>
|
||||||
|
<entry key="thaumicbees.speciesTimely.description">"An apiarist is never late. He arrives precisely when he means to!"|Sengir, Mad Apiarist</entry>
|
||||||
|
<entry key="thaumicbees.speciesLordly">Lordly</entry>
|
||||||
|
<entry key="thaumicbees.speciesLordly.description">They live in peace, within the sight of the Eye of Harmony|Tattered Remains of ancient Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesDoctoral">Doctoral</entry>
|
||||||
|
<entry key="thaumicbees.speciesDoctoral.description">"Would you like a Jelly Baby?"|Passing stranger with a great scarf and a blue box</entry>
|
||||||
|
<entry key="thaumicbees.speciesSpirit">Spirit</entry>
|
||||||
|
<entry key="thaumicbees.speciesSpirit.description">It is said these bees are able to contact the dead.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesSoul">Soul</entry>
|
||||||
|
<entry key="thaumicbees.speciesSoul.description">"The Dread Pirate Roberts has come for your SOOOOOOULS!"|Dread Pirate Roberts</entry>
|
||||||
|
<entry key="thaumicbees.speciesIron">Ferrous</entry>
|
||||||
|
<entry key="thaumicbees.speciesIron.description">Having absorbed some of the base metal, these bees can concentrate the essence of iron from the region.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesGold">Auric</entry>
|
||||||
|
<entry key="thaumicbees.speciesGold.description">Not all that glitters is gold.|Ancient Aphorism</entry>
|
||||||
|
<entry key="thaumicbees.speciesCopper">Cuprum</entry>
|
||||||
|
<entry key="thaumicbees.speciesCopper.description">A base metal common in many applications; these bees are helpful for resource-starved magicians.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesTin">Stannum</entry>
|
||||||
|
<entry key="thaumicbees.speciesTin.description">While metalic, these bees are suprisingly fragile.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesSilver">Argentum</entry>
|
||||||
|
<entry key="thaumicbees.speciesSilver.description">While they do not recieve as much attention as Golden bees, they are nonetheless valuable.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesLead">Plumbum</entry>
|
||||||
|
<entry key="thaumicbees.speciesLead.description">A favourite of amateur alchemists, they believe they can transform these bees into gold.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesDiamond">Diamandi</entry>
|
||||||
|
<entry key="thaumicbees.speciesDiamond.description">Crystalline, glittering, and harder than dragon's teeth. These bees are none of those.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesEmerald">Esmeraldi</entry>
|
||||||
|
<entry key="thaumicbees.speciesEmerald.description">It is said they have been to a land ruled by a Great Wizard, and have taken the aspect of his city.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesApatite">Apatine</entry>
|
||||||
|
<entry key="thaumicbees.speciesApatite.description">Day and night the whining droned on. I barricaded the windows and hid in the cellar, but everywhere the high-pitched noise of the apatine bees penetrated the walls and drove me to distraction.|Beekeeping 101</entry>
|
||||||
|
|
||||||
|
<entry key="thaumicbees.speciesScholarly">Scholarly</entry>
|
||||||
|
<entry key="thaumicbees.speciesScholarly.description">"I can't be sure, but I think they might be smarter than me..."|Yorae, Librarian</entry>
|
||||||
|
<entry key="thaumicbees.speciesSavant">Savant</entry>
|
||||||
|
<entry key="thaumicbees.speciesSavant.description">lim(x^(i / pi)/ log(e * 7 - ln(32/x^-pi))). Solve for honey.|Note found on Yorae's desk</entry>
|
||||||
|
<entry key="thaumicbees.speciesPraecantatio">Praecantatio</entry>
|
||||||
|
<entry key="thaumicbees.speciesPraecantatio.description">Beekeeping is magic!|Apinomicon, Preface</entry>
|
||||||
|
<entry key="thaumicbees.speciesVis">Vis</entry>
|
||||||
|
<entry key="thaumicbees.speciesVis.description">"They can feel changes in the aura, but are not yet able to affect it."|Azanor, research notes</entry>
|
||||||
|
<entry key="thaumicbees.speciesPure">Pure</entry>
|
||||||
|
<entry key="thaumicbees.speciesPure.description">"It's like a bee janitor!"|MysteriousAges, Thaumaturge</entry>
|
||||||
|
<entry key="thaumicbees.speciesFlux">Flux</entry>
|
||||||
|
<entry key="thaumicbees.speciesFlux.description">"I thought they would help clean up, but it only makes things worse!"|Kreicus, Apprentice Thaumaturge</entry>
|
||||||
|
<entry key="thaumicbees.speciesNode">Node</entry>
|
||||||
|
<entry key="thaumicbees.speciesNode.description">Having undergone a freak mutation, these bees now attract magic to them.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesRejuvenating">Rejuvenating</entry>
|
||||||
|
<entry key="thaumicbees.speciesRejuvenating.description">The hum of the hive is magical, and over time is absorbed by nearby nodes.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesBrainy">Brainy</entry>
|
||||||
|
<entry key="thaumicbees.speciesBrainy.description">Their combs may be fetid and foul-smelling, but their intelligence is well-developed.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesGossamer">Gossamer</entry>
|
||||||
|
<entry key="thaumicbees.speciesGossamer.description">As they work, they seem to fade out from light for brief moments.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesWispy">Wispy</entry>
|
||||||
|
<entry key="thaumicbees.speciesWispy.description">Their language is garbled and unintelligible. It is probable they are speaking to unnatural beings.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesBatty">Batty</entry>
|
||||||
|
<entry key="thaumicbees.speciesBatty.description">They tend to attract bats to their hives through means unknown.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesChicken">Poultry</entry>
|
||||||
|
<entry key="thaumicbees.speciesChicken.description">"Cluck. Cluck cluck! ... You heard me."|Confused bee</entry>
|
||||||
|
<entry key="thaumicbees.speciesBeef">Beefy</entry>
|
||||||
|
<entry key="thaumicbees.speciesBeef.description">"Moo, moo, moo. Wait, what?"|Confused bee</entry>
|
||||||
|
<entry key="thaumicbees.speciesPork">Porcine</entry>
|
||||||
|
<entry key="thaumicbees.speciesPork.description">"Oink, oink. Er.... bzzz?"|Confused bee</entry>
|
||||||
|
|
||||||
|
<entry key="thaumicbees.speciesMinium">Minium</entry>
|
||||||
|
<entry key="thaumicbees.speciesMinium.description">It may be possible to exploit their mercurial and changeable nature.|Apinomicon</entry>
|
||||||
|
|
||||||
|
<entry key="thaumicbees.speciesEssence">Essence</entry>
|
||||||
|
<entry key="thaumicbees.speciesEssence.description">Drawing from motes of dust in the air and ground, they concentrate the energy</entry>
|
||||||
|
<entry key="thaumicbees.speciesQuintessence">Quintessential</entry>
|
||||||
|
<entry key="thaumicbees.speciesQuintessence.description">The heart of magic lies dormant in all things.|Apinomicon, preface</entry>
|
||||||
|
<entry key="thaumicbees.speciesErde">Erde</entry>
|
||||||
|
<entry key="thaumicbees.speciesErde.description">Empowered by the Earth, their produce is infused with its essence.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesLuft">Luft</entry>
|
||||||
|
<entry key="thaumicbees.speciesLuft.description">Swift as the wind, and lighter than air.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesFeuer">Feuer</entry>
|
||||||
|
<entry key="thaumicbees.speciesFeuer.description">Their colony can reach temperatures that boil water and melt metals.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesWasser">Wasser</entry>
|
||||||
|
<entry key="thaumicbees.speciesWasser.description">Through prolonged exposure to liquids, their combs are quite wet and heavy.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesBlitz">Blitz</entry>
|
||||||
|
<entry key="thaumicbees.speciesBlitz.description">They can travel vast distances in a blink, and are known for starting many wildfires.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesStaude">Staude</entry>
|
||||||
|
<entry key="thaumicbees.speciesStaude.description">They have an affinity for all that is green and grows.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesEis">Eis</entry>
|
||||||
|
<entry key="thaumicbees.speciesEis.description">"They keep stealing stuff from me, and I never see them. They're far too slippery."|MysteriousAges, incorrigible punster</entry>
|
||||||
|
<entry key="thaumicbees.speciesMagma">Magma</entry>
|
||||||
|
<entry key="thaumicbees.speciesMagma.description">As they fly by, they sear the surface of the landscape, eventually scouring all plants and fragile minerals away.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesArkanen">Arkanen</entry>
|
||||||
|
<entry key="thaumicbees.speciesArkanen.description">"Curious creatures, though their produce is quite useful."|Mithion, Adept</entry>
|
||||||
|
<entry key="thaumicbees.speciesVortex">Vortex</entry>
|
||||||
|
<entry key="thaumicbees.speciesVortex.description">Ravenous for mana, they may be dangerous for any caster.|Apinomicon</entry>
|
||||||
|
<entry key="thaumicbees.speciesWight">Wight</entry>
|
||||||
|
<entry key="thaumicbees.speciesWight.description">"They attract magical spirits; not always docile."|Mithion, Adept</entry>
|
||||||
|
|
||||||
|
<!-- Blank species entries
|
||||||
|
<entry key="thaumicbees.species"></entry>
|
||||||
|
<entry key="thaumicbees.species.description"></entry>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- Bee Alleles -->
|
||||||
|
<entry key="thaumicbees.effectCurative">Cleansing</entry>
|
||||||
|
<entry key="thaumicbees.effecteffectDigSpeed">Mining</entry>
|
||||||
|
<entry key="thaumicbees.effecteffectMoveSpeed">Swiftness</entry>
|
||||||
|
<entry key="thaumicbees.effecteffectSlowSpeed">Time Warp</entry>
|
||||||
|
<entry key="thaumicbees.effectNodeGeneration">Aura Attract</entry>
|
||||||
|
<entry key="thaumicbees.effectNodePurify">Purify Aura</entry>
|
||||||
|
<entry key="thaumicbees.effectNodeFlux">Aura Flux</entry>
|
||||||
|
<entry key="thuamicbees.effectNodeCharge">Aura Charge</entry>
|
||||||
|
<entry key="thaumicbees.effectBrainy">Brainy</entry>
|
||||||
|
<entry key="thaumicbees.effectBatty">Batty</entry>
|
||||||
|
<entry key="thaumicbees.effectWispy">Wispy</entry>
|
||||||
|
<entry key="thaumicbees.Ghast">Ghastly</entry>
|
||||||
|
<entry key="thaumicbees.effectManaDrainer">Vortex</entry>
|
||||||
|
<entry key="thaumicbees.effectAMWisp">Spiritual</entry>
|
||||||
|
<entry key="tb.bees.flower.book">Books</entry>
|
||||||
|
<entry key="tb.bees.flower.magic">Thaumic Flowers</entry>
|
||||||
|
<entry key="tb.bees.flower.arsmagica">Exotic Flowers</entry>
|
||||||
|
<entry key="tb.bees.flower.node">Node</entry>
|
||||||
|
|
||||||
|
<!-- Classifications -->
|
||||||
|
<entry key="classification.arcane">Arcane</entry>
|
||||||
|
<entry key="classification.arcane.description">These bees have inexplicable affinity for magic.|Apinomicon</entry>
|
||||||
|
<entry key="classification.supernatural">Supernatural</entry>
|
||||||
|
<entry key="classification.supernatural.description">No longer ordinary bees, they have been associated with many odd occurances.|Apinomicon</entry>
|
||||||
|
<entry key="classification.scholarly">Scholarly</entry>
|
||||||
|
<entry key="classification.scholarly.description">The caste of bees which have great intellect and deductive ability.|Apinomicon</entry>
|
||||||
|
<entry key="classification.skulking">Skulking</entry>
|
||||||
|
<entry key="classification.skulking.description">Unpleasant and malicious. Treat this group with caution.|Apinomicon</entry>
|
||||||
|
<entry key="classification.magic">Aware</entry>
|
||||||
|
<entry key="classification.magic.description">It is unclear whether they are sentient, but they have suprising awareness of their surroundings.|Apinomicon</entry>
|
||||||
|
<entry key="classification.time">Time</entry>
|
||||||
|
<entry key="classification.time.description">Though clever use of time travel, these bees accomplish twice as much in one day.|Apinomicon</entry>
|
||||||
|
<entry key="classification.soul">Soulful</entry>
|
||||||
|
<entry key="classification.soul.description">It would be eerie to think that they collected the souls of the deceased.|Apinomicon</entry>
|
||||||
|
<entry key="classification.metallic">Metallic</entry>
|
||||||
|
<entry key="classification.metallic.description">They collect fragments of metal and combine them into larger portions.|Apinomicon</entry>
|
||||||
|
<entry key="classification.gem">Gem</entry>
|
||||||
|
<entry key="classification.gem.description">They collect fragments of precious gems in their combs.|Apinomicon</entry>
|
||||||
|
<entry key="classification.thaumic">Thaumic</entry>
|
||||||
|
<entry key="classification.thaumic.description">These bees have an increased affinity to magic and aura.|Apinomicon</entry>
|
||||||
|
<entry key="classification.fleshy">Fleshy</entry>
|
||||||
|
<entry key="classification.fleshy.description">Through an unknown mechanism, these bees accrue chunks of animal flesh. Somehow, it's still edible.|Apinomicon</entry>
|
||||||
|
<entry key="classification.alchemical">Alchemical</entry>
|
||||||
|
<entry key="classification.alchemical.description">These bees have a changeable nature.|Apinomicon</entry>
|
||||||
|
<entry key="classification.essential">Essential</entry>
|
||||||
|
<entry key="classification.essential.description">These bees have an increased affinity for aspected magic.|Apinomicon</entry>
|
||||||
|
|
||||||
|
</properties>
|
||||||
@@ -1,9 +1,12 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"modid": "ThaumicBees",
|
"modid": "ThaumicBees",
|
||||||
|
"version": "@MODVERSION@",
|
||||||
"name": "ThaumicBees",
|
"name": "ThaumicBees",
|
||||||
"description": "Crossover mod for Forestry and Thaumcraft. Magic bees & more.",
|
"url": "http://bit.ly/XFDvLY",
|
||||||
|
"description": "Magic bees & more. Supports Thaumcraft, Equivalent Exchange 3",
|
||||||
"authors": [ "MysteriousAges" ],
|
"authors": [ "MysteriousAges" ],
|
||||||
"credits": "Thanks to Sengir for the Forestry help!"
|
"credits": "SirSengir, Azanor, Binnie & the Forestry Dev peeps",
|
||||||
|
"logoFile": "/mods/thaumicbees/textures/logo.png"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -0,0 +1,582 @@
|
|||||||
|
# Blender v2.61 (sub 0) OBJ File: 'untitled.blend'
|
||||||
|
# www.blender.org
|
||||||
|
o jarLid
|
||||||
|
v 0.662251 0.792153 0.427678
|
||||||
|
v 0.662251 0.792153 0.561617
|
||||||
|
v 0.567542 0.792153 0.656327
|
||||||
|
v 0.433603 0.792153 0.656327
|
||||||
|
v 0.338893 0.792153 0.561618
|
||||||
|
v 0.338893 0.792153 0.427678
|
||||||
|
v 0.500572 0.792153 0.494648
|
||||||
|
v 0.433603 0.792153 0.332969
|
||||||
|
v 0.567542 0.792153 0.332969
|
||||||
|
v 0.670335 0.764287 0.424330
|
||||||
|
v 0.670335 0.764287 0.564966
|
||||||
|
v 0.570890 0.764287 0.664411
|
||||||
|
v 0.430254 0.764287 0.664411
|
||||||
|
v 0.330809 0.764287 0.564966
|
||||||
|
v 0.330809 0.764287 0.424330
|
||||||
|
v 0.430254 0.764287 0.324885
|
||||||
|
v 0.500572 0.764287 0.494648
|
||||||
|
v 0.570890 0.764287 0.324885
|
||||||
|
vt 0.492673 0.825009
|
||||||
|
vt 0.525702 0.795846
|
||||||
|
vt 0.646961 0.969937
|
||||||
|
vt 0.608157 0.990808
|
||||||
|
vt 0.031140 0.631984
|
||||||
|
vt 0.074045 0.639292
|
||||||
|
vt 0.050933 0.785797
|
||||||
|
vt 0.006872 0.785813
|
||||||
|
vt 0.081042 0.977922
|
||||||
|
vt 0.038143 0.987974
|
||||||
|
vt 0.013744 0.777223
|
||||||
|
vt 0.057805 0.777207
|
||||||
|
vt 0.342147 0.199526
|
||||||
|
vt 0.338921 0.243469
|
||||||
|
vt 0.187294 0.207947
|
||||||
|
vt 0.197740 0.165696
|
||||||
|
vt 0.544028 0.191123
|
||||||
|
vt 0.550896 0.234645
|
||||||
|
vt 0.600295 0.357122
|
||||||
|
vt 0.644058 0.362232
|
||||||
|
vt 0.602062 0.512194
|
||||||
|
vt 0.560298 0.499944
|
||||||
|
vt 0.600562 0.155067
|
||||||
|
vt 0.644339 0.150074
|
||||||
|
vt 0.560944 0.012139
|
||||||
|
vt 0.602740 0.000000
|
||||||
|
vt 0.608113 0.498928
|
||||||
|
vt 0.649745 0.750816
|
||||||
|
vt 0.324872 0.675127
|
||||||
|
vt 0.400562 0.350255
|
||||||
|
vt 0.148673 0.391886
|
||||||
|
vt 0.000000 0.599437
|
||||||
|
vt 0.046785 0.851326
|
||||||
|
vt 0.005154 0.599437
|
||||||
|
vt 0.330026 0.675127
|
||||||
|
vt 0.249183 1.000000
|
||||||
|
vt 0.041631 0.851326
|
||||||
|
vt 0.501072 0.958366
|
||||||
|
vt 0.324194 0.325913
|
||||||
|
vt 0.648389 0.190915
|
||||||
|
vt 0.648389 0.460910
|
||||||
|
vt 0.458480 0.651825
|
||||||
|
vt 0.189908 0.651825
|
||||||
|
vt 0.017180 0.452320
|
||||||
|
vt 0.341374 0.317323
|
||||||
|
vt 0.207088 0.643235
|
||||||
|
vt 0.025770 0.189197
|
||||||
|
vt 0.349964 0.324195
|
||||||
|
vt 0.025770 0.459192
|
||||||
|
vt 0.201935 0.000000
|
||||||
|
vt 0.336220 0.325913
|
||||||
|
vt 0.012026 0.190915
|
||||||
|
vt 0.458481 0.000000
|
||||||
|
vt 0.189909 -0.000000
|
||||||
|
vn 0.679110 0.278604 -0.679110
|
||||||
|
vn 0.960403 0.278615 0.000000
|
||||||
|
vn 0.679109 0.278615 0.679106
|
||||||
|
vn 0.000000 0.278615 0.960403
|
||||||
|
vn -0.679105 0.278615 0.679109
|
||||||
|
vn -0.960403 0.278615 0.000000
|
||||||
|
vn -0.679105 0.278616 -0.679109
|
||||||
|
vn 0.000000 0.278615 -0.960403
|
||||||
|
vn 0.620930 0.740440 -0.257210
|
||||||
|
vn 0.257210 0.740440 -0.620930
|
||||||
|
vn 0.000000 1.000000 0.000000
|
||||||
|
vn 0.620930 0.740440 0.257179
|
||||||
|
vn 0.257210 0.740440 0.620930
|
||||||
|
vn -0.257179 0.740440 0.620930
|
||||||
|
vn -0.620930 0.740440 0.257210
|
||||||
|
vn -0.620930 0.740440 -0.257210
|
||||||
|
vn -0.257179 0.740440 -0.620930
|
||||||
|
vn 0.000000 -1.000000 0.000000
|
||||||
|
vn 0.328410 -0.513199 -0.792901
|
||||||
|
vn 0.792901 -0.513199 -0.328410
|
||||||
|
vn 0.792901 -0.513199 0.328440
|
||||||
|
vn 0.328440 -0.513199 0.792901
|
||||||
|
vn -0.328440 -0.513199 0.792901
|
||||||
|
vn -0.792932 -0.513199 0.328440
|
||||||
|
vn -0.792901 -0.513199 -0.328440
|
||||||
|
vn -0.328440 -0.513199 -0.792901
|
||||||
|
s off
|
||||||
|
f 1/1/1 10/2/1 18/3/1
|
||||||
|
f 1/1/1 18/3/1 9/4/1
|
||||||
|
f 10/5/2 1/6/2 2/7/2
|
||||||
|
f 10/5/2 2/7/2 11/8/2
|
||||||
|
f 3/9/3 12/10/3 11/11/3
|
||||||
|
f 3/9/3 11/11/3 2/12/3
|
||||||
|
f 4/13/4 13/14/4 12/15/4
|
||||||
|
f 4/13/4 12/15/4 3/16/4
|
||||||
|
f 5/17/5 14/18/5 13/14/5
|
||||||
|
f 5/17/5 13/14/5 4/13/5
|
||||||
|
f 6/19/6 15/20/6 14/21/6
|
||||||
|
f 6/19/6 14/21/6 5/22/6
|
||||||
|
f 8/23/7 16/24/7 15/20/7
|
||||||
|
f 8/23/7 15/20/7 6/19/7
|
||||||
|
f 9/25/8 18/26/8 16/24/8
|
||||||
|
f 9/25/8 16/24/8 8/23/8
|
||||||
|
s 1
|
||||||
|
f 1/27/9 9/28/10 7/29/11
|
||||||
|
f 2/30/12 1/27/9 7/29/11
|
||||||
|
f 3/31/13 2/30/12 7/29/11
|
||||||
|
f 4/32/14 3/31/13 7/29/11
|
||||||
|
f 5/33/15 4/34/14 7/35/11
|
||||||
|
f 6/36/16 5/37/15 7/29/11
|
||||||
|
f 8/38/17 6/36/16 7/29/11
|
||||||
|
f 9/28/10 8/38/17 7/29/11
|
||||||
|
f 17/39/18 18/40/19 10/41/20
|
||||||
|
f 11/42/21 17/39/18 10/41/20
|
||||||
|
f 12/43/22 17/39/18 11/42/21
|
||||||
|
f 13/44/23 17/45/18 12/46/22
|
||||||
|
f 14/47/24 17/48/18 13/49/23
|
||||||
|
f 15/50/25 17/51/18 14/52/24
|
||||||
|
f 16/53/26 17/39/18 15/54/25
|
||||||
|
f 18/40/19 17/39/18 16/53/26
|
||||||
|
o jarBase
|
||||||
|
v 0.586676 0.028885 0.286775
|
||||||
|
v 0.586676 0.627663 0.286775
|
||||||
|
v 0.414468 0.627663 0.286775
|
||||||
|
v 0.414468 0.028885 0.286775
|
||||||
|
v 0.292699 0.627663 0.408544
|
||||||
|
v 0.292699 0.028885 0.408544
|
||||||
|
v 0.292699 0.627663 0.580752
|
||||||
|
v 0.292699 0.028885 0.580752
|
||||||
|
v 0.414468 0.627663 0.702521
|
||||||
|
v 0.414468 0.028885 0.702521
|
||||||
|
v 0.586676 0.627663 0.702521
|
||||||
|
v 0.586676 0.028885 0.702521
|
||||||
|
v 0.708445 0.627663 0.580752
|
||||||
|
v 0.708445 0.028885 0.580752
|
||||||
|
v 0.708445 0.627663 0.408544
|
||||||
|
v 0.708445 0.028885 0.408544
|
||||||
|
v 0.500572 0.017159 0.494648
|
||||||
|
v 0.560845 0.706413 0.349137
|
||||||
|
v 0.440299 0.706413 0.349137
|
||||||
|
v 0.355061 0.706413 0.434375
|
||||||
|
v 0.355061 0.706413 0.554921
|
||||||
|
v 0.440300 0.706413 0.640159
|
||||||
|
v 0.560845 0.706413 0.640159
|
||||||
|
v 0.646083 0.706413 0.554920
|
||||||
|
v 0.646083 0.706413 0.434375
|
||||||
|
v 0.560845 0.764881 0.349137
|
||||||
|
v 0.440299 0.764881 0.349137
|
||||||
|
v 0.355061 0.764881 0.434375
|
||||||
|
v 0.355061 0.764881 0.554921
|
||||||
|
v 0.440300 0.764881 0.640159
|
||||||
|
v 0.560845 0.764881 0.640159
|
||||||
|
v 0.646083 0.764881 0.554920
|
||||||
|
v 0.646083 0.764881 0.434375
|
||||||
|
v 0.596243 0.003573 0.263678
|
||||||
|
v 0.404901 0.003573 0.263678
|
||||||
|
v 0.404901 0.633581 0.263678
|
||||||
|
v 0.596243 0.633580 0.263678
|
||||||
|
v 0.269602 0.003573 0.398977
|
||||||
|
v 0.269602 0.633581 0.398977
|
||||||
|
v 0.269602 0.003573 0.590319
|
||||||
|
v 0.269602 0.633581 0.590319
|
||||||
|
v 0.404901 0.003573 0.725618
|
||||||
|
v 0.404901 0.633581 0.725618
|
||||||
|
v 0.596243 0.003573 0.725618
|
||||||
|
v 0.596243 0.633581 0.725618
|
||||||
|
v 0.731542 0.003573 0.590319
|
||||||
|
v 0.731542 0.633581 0.590319
|
||||||
|
v 0.731542 0.003573 0.398977
|
||||||
|
v 0.731542 0.633580 0.398977
|
||||||
|
v 0.500572 0.003573 0.494648
|
||||||
|
v 0.433603 0.721081 0.332969
|
||||||
|
v 0.567542 0.721080 0.332969
|
||||||
|
v 0.338893 0.721081 0.427678
|
||||||
|
v 0.338893 0.721081 0.561618
|
||||||
|
v 0.433603 0.721081 0.656327
|
||||||
|
v 0.567542 0.721081 0.656327
|
||||||
|
v 0.662251 0.721081 0.561617
|
||||||
|
v 0.662251 0.721080 0.427678
|
||||||
|
v 0.433603 0.764830 0.332969
|
||||||
|
v 0.567542 0.764830 0.332969
|
||||||
|
v 0.338893 0.764830 0.427678
|
||||||
|
v 0.338893 0.764830 0.561618
|
||||||
|
v 0.433603 0.764830 0.656327
|
||||||
|
v 0.567542 0.764830 0.656327
|
||||||
|
v 0.662251 0.764830 0.561617
|
||||||
|
v 0.662251 0.764830 0.427678
|
||||||
|
vt 0.897412 0.384835
|
||||||
|
vt 0.897412 0.173090
|
||||||
|
vt 0.797595 0.173090
|
||||||
|
vt 0.797595 0.384835
|
||||||
|
vt 0.818211 0.268012
|
||||||
|
vt 0.818211 0.056267
|
||||||
|
vt 0.718393 0.056267
|
||||||
|
vt 0.718393 0.268012
|
||||||
|
vt 0.777909 0.678223
|
||||||
|
vt 0.777909 0.889966
|
||||||
|
vt 0.877726 0.889966
|
||||||
|
vt 0.877726 0.678223
|
||||||
|
vt 0.817596 0.319163
|
||||||
|
vt 0.817596 0.530907
|
||||||
|
vt 0.917413 0.530907
|
||||||
|
vt 0.917413 0.319163
|
||||||
|
vt 0.882340 0.406610
|
||||||
|
vt 0.882340 0.618355
|
||||||
|
vt 0.982158 0.618355
|
||||||
|
vt 0.982158 0.406610
|
||||||
|
vt 0.881285 0.612768
|
||||||
|
vt 0.881285 0.824513
|
||||||
|
vt 0.981102 0.824513
|
||||||
|
vt 0.981102 0.612768
|
||||||
|
vt 0.670291 0.319645
|
||||||
|
vt 0.670291 0.531390
|
||||||
|
vt 0.770109 0.531390
|
||||||
|
vt 0.770109 0.319645
|
||||||
|
vt 0.852746 0.536544
|
||||||
|
vt 0.852746 0.324799
|
||||||
|
vt 0.752929 0.324799
|
||||||
|
vt 0.752929 0.536544
|
||||||
|
vt 0.854462 0.336299
|
||||||
|
vt 0.824517 0.286892
|
||||||
|
vt 0.754645 0.286892
|
||||||
|
vt 0.754645 0.336299
|
||||||
|
vt 0.984538 0.633510
|
||||||
|
vt 0.984538 0.584103
|
||||||
|
vt 0.914665 0.584103
|
||||||
|
vt 0.884720 0.633510
|
||||||
|
vt 0.759011 0.817811
|
||||||
|
vt 0.788956 0.867218
|
||||||
|
vt 0.858828 0.867218
|
||||||
|
vt 0.858828 0.817811
|
||||||
|
vt 0.788390 0.950593
|
||||||
|
vt 0.788390 1.000000
|
||||||
|
vt 0.858262 1.000000
|
||||||
|
vt 0.888207 0.950593
|
||||||
|
vt 0.823928 0.889797
|
||||||
|
vt 0.853874 0.939204
|
||||||
|
vt 0.923746 0.939204
|
||||||
|
vt 0.923746 0.889797
|
||||||
|
vt 0.877361 0.869181
|
||||||
|
vt 0.877361 0.918588
|
||||||
|
vt 0.947233 0.918588
|
||||||
|
vt 0.977178 0.869181
|
||||||
|
vt 0.668573 0.536544
|
||||||
|
vt 0.698519 0.585951
|
||||||
|
vt 0.768391 0.585951
|
||||||
|
vt 0.768391 0.536544
|
||||||
|
vt 0.752929 0.585951
|
||||||
|
vt 0.822801 0.585951
|
||||||
|
vt 0.750644 0.137427
|
||||||
|
vt 0.750644 0.096811
|
||||||
|
vt 0.680772 0.096811
|
||||||
|
vt 0.680772 0.137427
|
||||||
|
vt 0.979701 0.372791
|
||||||
|
vt 0.979701 0.332175
|
||||||
|
vt 0.909828 0.332175
|
||||||
|
vt 0.909828 0.372791
|
||||||
|
vt 0.790674 0.862064
|
||||||
|
vt 0.790674 0.902681
|
||||||
|
vt 0.860546 0.902681
|
||||||
|
vt 0.860546 0.862064
|
||||||
|
vt 0.707645 0.959383
|
||||||
|
vt 0.707645 1.000000
|
||||||
|
vt 0.777517 1.000000
|
||||||
|
vt 0.777517 0.959383
|
||||||
|
vt 0.685512 0.880792
|
||||||
|
vt 0.685512 0.921408
|
||||||
|
vt 0.755384 0.921408
|
||||||
|
vt 0.755384 0.880792
|
||||||
|
vt 0.666048 0.925460
|
||||||
|
vt 0.666048 0.966076
|
||||||
|
vt 0.735920 0.966076
|
||||||
|
vt 0.735920 0.925460
|
||||||
|
vt 0.683057 0.585951
|
||||||
|
vt 0.683057 0.626568
|
||||||
|
vt 0.752929 0.626568
|
||||||
|
vt 0.822801 0.626568
|
||||||
|
vt 0.718750 0.375000
|
||||||
|
vt 0.875000 0.375000
|
||||||
|
vt 0.843750 0.687500
|
||||||
|
vt 0.687500 0.656250
|
||||||
|
vt 0.967358 0.400183
|
||||||
|
vt 0.873608 0.400183
|
||||||
|
vt 0.873608 0.118933
|
||||||
|
vt 0.967358 0.087683
|
||||||
|
vt 0.822829 0.901835
|
||||||
|
vt 0.666579 0.901835
|
||||||
|
vt 0.666579 0.620585
|
||||||
|
vt 0.822829 0.620585
|
||||||
|
vt 0.982820 0.535099
|
||||||
|
vt 0.857820 0.535099
|
||||||
|
vt 0.857820 0.253849
|
||||||
|
vt 0.982820 0.222599
|
||||||
|
vt 0.834116 0.281250
|
||||||
|
vt 0.677866 0.281250
|
||||||
|
vt 0.677866 0.000000
|
||||||
|
vt 0.834116 0.000000
|
||||||
|
vt 0.889178 0.312500
|
||||||
|
vt 0.795428 0.312500
|
||||||
|
vt 0.795428 0.000000
|
||||||
|
vt 0.889178 0.031250
|
||||||
|
vt 0.679410 0.005633
|
||||||
|
vt 0.835660 0.005633
|
||||||
|
vt 0.835660 0.286883
|
||||||
|
vt 0.710660 0.286883
|
||||||
|
vt 0.667297 0.383590
|
||||||
|
vt 0.792297 0.383590
|
||||||
|
vt 0.792297 0.664840
|
||||||
|
vt 0.667297 0.664840
|
||||||
|
vt 0.812500 0.750000
|
||||||
|
vt 0.687500 0.718750
|
||||||
|
vt 0.982168 0.829767
|
||||||
|
vt 0.982168 0.986017
|
||||||
|
vt 0.919668 0.954767
|
||||||
|
vt 0.919668 0.861017
|
||||||
|
vt 0.817675 0.867975
|
||||||
|
vt 0.661425 0.867975
|
||||||
|
vt 0.692675 0.774225
|
||||||
|
vt 0.786425 0.774225
|
||||||
|
vt 0.875000 0.656250
|
||||||
|
vt 0.875000 0.531250
|
||||||
|
vt 0.937500 0.531250
|
||||||
|
vt 0.937500 0.656250
|
||||||
|
vt 0.984538 0.121564
|
||||||
|
vt 0.828288 0.121564
|
||||||
|
vt 0.859538 0.027814
|
||||||
|
vt 0.984538 0.027814
|
||||||
|
vt 0.826178 0.623521
|
||||||
|
vt 0.826178 0.467271
|
||||||
|
vt 0.888678 0.498521
|
||||||
|
vt 0.888678 0.592271
|
||||||
|
vt 0.832637 0.797125
|
||||||
|
vt 0.957637 0.797125
|
||||||
|
vt 0.957637 0.890875
|
||||||
|
vt 0.832637 0.890875
|
||||||
|
vt 0.937500 0.375000
|
||||||
|
vt 0.875000 0.500000
|
||||||
|
vt 0.812500 0.781250
|
||||||
|
vt 0.687500 0.781250
|
||||||
|
vt 0.875000 0.781250
|
||||||
|
vt 0.875000 0.812500
|
||||||
|
vt 0.958224 0.659120
|
||||||
|
vt 0.864474 0.659120
|
||||||
|
vt 0.864474 0.627870
|
||||||
|
vt 0.958224 0.627870
|
||||||
|
vt 0.872564 0.031250
|
||||||
|
vt 0.810064 0.031250
|
||||||
|
vt 0.810064 0.000000
|
||||||
|
vt 0.872564 0.000000
|
||||||
|
vt 0.913143 0.617084
|
||||||
|
vt 0.788143 0.617084
|
||||||
|
vt 0.788143 0.585834
|
||||||
|
vt 0.913143 0.585834
|
||||||
|
vt 0.917884 0.561021
|
||||||
|
vt 0.980384 0.561021
|
||||||
|
vt 0.980384 0.592271
|
||||||
|
vt 0.917884 0.592271
|
||||||
|
vt 0.803431 0.765462
|
||||||
|
vt 0.928431 0.765462
|
||||||
|
vt 0.928431 0.796712
|
||||||
|
vt 0.803431 0.796712
|
||||||
|
vt 0.679323 0.945850
|
||||||
|
vt 0.741823 0.945850
|
||||||
|
vt 0.741823 0.977100
|
||||||
|
vt 0.679323 0.977100
|
||||||
|
vt 0.856845 0.759676
|
||||||
|
vt 0.757027 0.659859
|
||||||
|
vt 0.715682 0.759676
|
||||||
|
vt 0.757027 0.859494
|
||||||
|
vt 0.779536 1.000000
|
||||||
|
vt 0.779536 0.858837
|
||||||
|
vt 0.679718 0.958655
|
||||||
|
vt 0.884507 0.957419
|
||||||
|
vt 0.784690 0.857601
|
||||||
|
vt 0.784690 0.998764
|
||||||
|
vt 0.925853 0.900182
|
||||||
|
vt 0.784690 0.900182
|
||||||
|
vt 0.884507 1.000000
|
||||||
|
vt 0.954944 0.896941
|
||||||
|
vt 0.855127 0.996758
|
||||||
|
vt 0.996290 0.996758
|
||||||
|
vt 0.856845 0.618513
|
||||||
|
vt 0.956662 0.659859
|
||||||
|
vt 0.981102 0.318719
|
||||||
|
vt 0.856102 0.443719
|
||||||
|
vt 0.793602 0.256219
|
||||||
|
vt 0.988800 0.133264
|
||||||
|
vt 0.988800 0.289514
|
||||||
|
vt 0.801300 0.227014
|
||||||
|
vt 0.862974 0.068719
|
||||||
|
vt 0.987974 0.162469
|
||||||
|
vt 0.800474 0.256219
|
||||||
|
vt 0.819698 0.018898
|
||||||
|
vt 0.975948 0.018898
|
||||||
|
vt 0.913448 0.206398
|
||||||
|
vt 0.812500 0.093750
|
||||||
|
vt 0.906250 0.000000
|
||||||
|
vt 1.000000 0.187500
|
||||||
|
vt 0.661904 0.317001
|
||||||
|
vt 0.661904 0.160751
|
||||||
|
vt 0.849404 0.254501
|
||||||
|
vt 0.750500 0.438566
|
||||||
|
vt 0.656750 0.313566
|
||||||
|
vt 0.844250 0.251066
|
||||||
|
vt 0.891288 0.397334
|
||||||
|
vt 0.735038 0.397334
|
||||||
|
vt 0.828788 0.209834
|
||||||
|
vn 0.000000 -0.000000 1.000000
|
||||||
|
vn 0.707107 -0.000000 0.707107
|
||||||
|
vn 1.000000 0.000000 0.000000
|
||||||
|
vn 0.707107 0.000000 -0.707107
|
||||||
|
vn 0.000000 0.000000 -1.000000
|
||||||
|
vn -0.707107 0.000000 -0.707107
|
||||||
|
vn -1.000000 0.000000 0.000000
|
||||||
|
vn -0.707107 -0.000000 0.707107
|
||||||
|
vn 0.000000 -0.620815 0.783957
|
||||||
|
vn 0.554342 -0.620814 0.554342
|
||||||
|
vn 0.783958 -0.620814 -0.000000
|
||||||
|
vn 0.554339 -0.620816 -0.554342
|
||||||
|
vn 0.000000 -0.620815 -0.783957
|
||||||
|
vn -0.554342 -0.620816 -0.554340
|
||||||
|
vn -0.783957 -0.620815 -0.000000
|
||||||
|
vn -0.554342 -0.620814 0.554342
|
||||||
|
vn 0.707102 0.000000 -0.707111
|
||||||
|
vn -0.707111 0.000000 -0.707103
|
||||||
|
vn 0.000004 0.620814 -0.783958
|
||||||
|
vn -0.554340 0.620815 -0.554343
|
||||||
|
vn -0.783958 0.620814 0.000000
|
||||||
|
vn -0.554340 0.620815 0.554343
|
||||||
|
vn 0.000000 0.620814 0.783958
|
||||||
|
vn 0.554343 0.620815 0.554340
|
||||||
|
vn 0.783958 0.620814 -0.000004
|
||||||
|
vn 0.554342 0.620813 -0.554342
|
||||||
|
vn -0.707103 0.000000 -0.707111
|
||||||
|
vn -0.707103 0.000000 0.707111
|
||||||
|
vn 0.707111 0.000000 0.707103
|
||||||
|
vn 0.000000 0.999969 0.000000
|
||||||
|
vn -0.302011 0.614032 0.729179
|
||||||
|
vn 0.302011 0.614032 0.729179
|
||||||
|
vn 0.729179 0.614032 0.302011
|
||||||
|
vn 0.729179 0.614032 -0.302011
|
||||||
|
vn 0.302011 0.614032 -0.729179
|
||||||
|
vn -0.302011 0.614032 -0.729179
|
||||||
|
vn -0.729179 0.614032 -0.302011
|
||||||
|
vn -0.729179 0.614032 0.302011
|
||||||
|
vn -0.297098 -0.630238 -0.717277
|
||||||
|
vn 0.297098 -0.630238 -0.717277
|
||||||
|
vn -0.717277 -0.630238 -0.297098
|
||||||
|
vn -0.717277 -0.630238 0.297098
|
||||||
|
vn -0.297098 -0.630238 0.717277
|
||||||
|
vn 0.297098 -0.630238 0.717277
|
||||||
|
vn 0.717277 -0.630238 0.297098
|
||||||
|
vn 0.717277 -0.630238 -0.297098
|
||||||
|
s off
|
||||||
|
f 19/55/27 20/56/27 21/57/27
|
||||||
|
f 19/55/27 21/57/27 22/58/27
|
||||||
|
f 22/59/28 21/60/28 23/61/28
|
||||||
|
f 22/59/28 23/61/28 24/62/28
|
||||||
|
f 24/63/29 23/64/29 25/65/29
|
||||||
|
f 24/63/29 25/65/29 26/66/29
|
||||||
|
f 26/67/30 25/68/30 27/69/30
|
||||||
|
f 26/67/30 27/69/30 28/70/30
|
||||||
|
f 28/71/31 27/72/31 29/73/31
|
||||||
|
f 28/71/31 29/73/31 30/74/31
|
||||||
|
f 30/75/32 29/76/32 31/77/32
|
||||||
|
f 30/75/32 31/77/32 32/78/32
|
||||||
|
f 32/79/33 31/80/33 33/81/33
|
||||||
|
f 32/79/33 33/81/33 34/82/33
|
||||||
|
f 20/83/34 19/84/34 34/85/34
|
||||||
|
f 20/83/34 34/85/34 33/86/34
|
||||||
|
f 20/87/35 36/88/35 37/89/35
|
||||||
|
f 20/87/35 37/89/35 21/90/35
|
||||||
|
f 21/91/36 37/92/36 38/93/36
|
||||||
|
f 21/91/36 38/93/36 23/94/36
|
||||||
|
f 23/95/37 38/96/37 39/97/37
|
||||||
|
f 23/95/37 39/97/37 25/98/37
|
||||||
|
f 25/99/38 39/100/38 40/101/38
|
||||||
|
f 25/99/38 40/101/38 27/102/38
|
||||||
|
f 27/103/39 40/104/39 41/105/39
|
||||||
|
f 27/103/39 41/105/39 29/106/39
|
||||||
|
f 29/107/40 41/108/40 42/109/40
|
||||||
|
f 29/107/40 42/109/40 31/110/40
|
||||||
|
f 31/111/41 42/112/41 43/113/41
|
||||||
|
f 31/111/41 43/113/41 33/114/41
|
||||||
|
f 33/86/42 43/115/42 36/116/42
|
||||||
|
f 33/86/42 36/116/42 20/83/42
|
||||||
|
f 36/117/27 44/118/27 45/119/27
|
||||||
|
f 36/117/27 45/119/27 37/120/27
|
||||||
|
f 37/121/28 45/122/28 46/123/28
|
||||||
|
f 37/121/28 46/123/28 38/124/28
|
||||||
|
f 38/125/29 46/126/29 47/127/29
|
||||||
|
f 38/125/29 47/127/29 39/128/29
|
||||||
|
f 39/129/43 47/130/43 48/131/43
|
||||||
|
f 39/129/43 48/131/43 40/132/43
|
||||||
|
f 40/133/31 48/134/31 49/135/31
|
||||||
|
f 40/133/31 49/135/31 41/136/31
|
||||||
|
f 41/137/44 49/138/44 50/139/44
|
||||||
|
f 41/137/44 50/139/44 42/140/44
|
||||||
|
f 42/141/33 50/142/33 51/143/33
|
||||||
|
f 42/141/33 51/143/33 43/115/33
|
||||||
|
f 43/115/34 51/143/34 44/144/34
|
||||||
|
f 43/115/34 44/144/34 36/116/34
|
||||||
|
f 52/145/31 53/146/31 54/147/31
|
||||||
|
f 52/145/31 54/147/31 55/148/31
|
||||||
|
f 53/149/32 56/150/32 57/151/32
|
||||||
|
f 53/149/32 57/151/32 54/152/32
|
||||||
|
f 56/153/33 58/154/33 59/155/33
|
||||||
|
f 56/153/33 59/155/33 57/156/33
|
||||||
|
f 58/157/34 60/158/34 61/159/34
|
||||||
|
f 58/157/34 61/159/34 59/160/34
|
||||||
|
f 60/161/27 62/162/27 63/163/27
|
||||||
|
f 60/161/27 63/163/27 61/164/27
|
||||||
|
f 62/165/28 64/166/28 65/167/28
|
||||||
|
f 62/165/28 65/167/28 63/168/28
|
||||||
|
f 64/169/29 66/170/29 67/171/29
|
||||||
|
f 64/169/29 67/171/29 65/172/29
|
||||||
|
f 66/173/30 52/174/30 55/175/30
|
||||||
|
f 66/173/30 55/175/30 67/176/30
|
||||||
|
f 55/148/45 54/147/45 69/177/45
|
||||||
|
f 55/148/45 69/177/45 70/178/45
|
||||||
|
f 54/179/46 57/180/46 71/181/46
|
||||||
|
f 54/179/46 71/181/46 69/182/46
|
||||||
|
f 57/183/47 59/184/47 72/185/47
|
||||||
|
f 57/183/47 72/185/47 71/186/47
|
||||||
|
f 59/187/48 61/188/48 73/189/48
|
||||||
|
f 59/187/48 73/189/48 72/190/48
|
||||||
|
f 61/191/49 63/192/49 74/193/49
|
||||||
|
f 61/191/49 74/193/49 73/194/49
|
||||||
|
f 63/195/50 65/196/50 75/197/50
|
||||||
|
f 63/195/50 75/197/50 74/198/50
|
||||||
|
f 65/199/51 67/200/51 76/201/51
|
||||||
|
f 65/199/51 76/201/51 75/202/51
|
||||||
|
f 67/203/52 55/189/52 70/204/52
|
||||||
|
f 67/203/52 70/204/52 76/146/52
|
||||||
|
f 70/178/31 69/177/31 77/205/31
|
||||||
|
f 70/178/31 77/205/31 78/206/31
|
||||||
|
f 69/177/53 71/207/53 79/208/53
|
||||||
|
f 69/177/53 79/208/53 77/205/53
|
||||||
|
f 71/209/33 72/210/33 80/211/33
|
||||||
|
f 71/209/33 80/211/33 79/212/33
|
||||||
|
f 72/213/54 73/214/54 81/215/54
|
||||||
|
f 72/213/54 81/215/54 80/216/54
|
||||||
|
f 73/217/27 74/218/27 82/219/27
|
||||||
|
f 73/217/27 82/219/27 81/220/27
|
||||||
|
f 74/221/55 75/222/55 83/223/55
|
||||||
|
f 74/221/55 83/223/55 82/224/55
|
||||||
|
f 75/225/29 76/226/29 84/227/29
|
||||||
|
f 75/225/29 84/227/29 83/228/29
|
||||||
|
f 76/229/30 70/230/30 78/231/30
|
||||||
|
f 76/229/30 78/231/30 84/232/30
|
||||||
|
s 1
|
||||||
|
f 35/233/56 19/234/57 22/235/58
|
||||||
|
f 24/236/59 35/233/56 22/235/58
|
||||||
|
f 26/237/60 35/238/56 24/239/59
|
||||||
|
f 28/240/61 35/241/56 26/242/60
|
||||||
|
f 30/243/62 35/244/56 28/245/61
|
||||||
|
f 32/246/63 35/247/56 30/248/62
|
||||||
|
f 34/249/64 35/233/56 32/250/63
|
||||||
|
f 19/234/57 35/233/56 34/249/64
|
||||||
|
f 53/251/65 52/252/66 68/253/18
|
||||||
|
f 56/254/67 53/255/65 68/256/18
|
||||||
|
f 58/257/68 56/258/67 68/259/18
|
||||||
|
f 60/260/69 58/261/68 68/262/18
|
||||||
|
f 62/263/70 60/264/69 68/265/18
|
||||||
|
f 64/266/71 62/267/70 68/268/18
|
||||||
|
f 66/269/72 64/270/71 68/271/18
|
||||||
|
f 52/272/66 66/273/72 68/274/18
|
||||||
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 8.6 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 272 B |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 47 KiB |
@@ -0,0 +1,8 @@
|
|||||||
|
0*64
|
||||||
|
1*2
|
||||||
|
2*2
|
||||||
|
1*2
|
||||||
|
0*96
|
||||||
|
3*4
|
||||||
|
0*128
|
||||||
|
4*2
|
||||||
|
After Width: | Height: | Size: 48 KiB |
@@ -0,0 +1,8 @@
|
|||||||
|
0*64
|
||||||
|
1*2
|
||||||
|
2*2
|
||||||
|
1*2
|
||||||
|
0*96
|
||||||
|
3*4
|
||||||
|
0*128
|
||||||
|
4*2
|
||||||
|
After Width: | Height: | Size: 450 B |
@@ -0,0 +1,8 @@
|
|||||||
|
0*64
|
||||||
|
1*2
|
||||||
|
2*2
|
||||||
|
1*2
|
||||||
|
0*96
|
||||||
|
3*4
|
||||||
|
0*128
|
||||||
|
4*2
|
||||||
|
After Width: | Height: | Size: 48 KiB |
@@ -0,0 +1,8 @@
|
|||||||
|
0*64
|
||||||
|
1*2
|
||||||
|
2*2
|
||||||
|
1*2
|
||||||
|
0*96
|
||||||
|
3*4
|
||||||
|
0*128
|
||||||
|
4*2
|
||||||
|
After Width: | Height: | Size: 488 B |
@@ -0,0 +1,8 @@
|
|||||||
|
0*64
|
||||||
|
1*2
|
||||||
|
2*2
|
||||||
|
1*2
|
||||||
|
0*96
|
||||||
|
3*4
|
||||||
|
0*128
|
||||||
|
4*2
|
||||||
|
After Width: | Height: | Size: 48 KiB |
@@ -0,0 +1,8 @@
|
|||||||
|
0*64
|
||||||
|
1*2
|
||||||
|
2*2
|
||||||
|
1*2
|
||||||
|
0*96
|
||||||
|
3*4
|
||||||
|
0*128
|
||||||
|
4*2
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 47 KiB |
@@ -0,0 +1,8 @@
|
|||||||
|
0*3
|
||||||
|
1*3
|
||||||
|
2*3
|
||||||
|
3*3
|
||||||
|
4*3
|
||||||
|
5*3
|
||||||
|
6*3
|
||||||
|
7*3
|
||||||
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
@@ -1,9 +1,136 @@
|
|||||||
<?xml version="1.0" ?>
|
|
||||||
<research>
|
<research>
|
||||||
<name>Test Bees</name>
|
<project id="TBSTARTNODE">
|
||||||
<popupText>Magical Bees</popupText>
|
<name>Bees And Magic</name>
|
||||||
<longText></longText>
|
<popupText>Across Fields and Forest</popupText>
|
||||||
<page type="text">Test, test test.
|
<longText>There is something about your world that makes you think trees and bees require more research.</longText>
|
||||||
|
<page type="text">A recent breakthrough has given you information regarding Apiculture and Arborculture. Perhaps it isn't quite as mundane as it first seemed.
|
||||||
|
|
||||||
|
The potential exists for further study. All that is required is some creative thinking to apply new uses to old, familiar items.</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="STARKHINT">
|
||||||
|
<name>Stark Bees</name>
|
||||||
|
<popupText>Crossing two boundaries</popupText>
|
||||||
|
<longText>The cursory investigation you have completed in the direction of Beekeeping has yielded fruit. Perhaps under the right conditions, you can find a bee mutation that will enable you to infuse them with magic.</longText>
|
||||||
|
<page type="text">Even bees are susceptible to the influence of magic, some more than others.
|
||||||
|
|
||||||
|
Perhaps it would be possible to breed a bee from two species which are affected by Arcane or Supernatural powers. If such a species truly does exist, it could be possible that they could reveal additional secrets. Further research may be needed, in addition to a specimen.</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="BEEINFUSION">
|
||||||
|
<name>Thaumic Bees</name>
|
||||||
|
<popupText>Magical Apiculture</popupText>
|
||||||
|
<longText>Further research into this so-called Stark Bee has provided you with insight into how a bee may become infused with elemental energy, or the raw essence of magic itself.</longText>
|
||||||
|
<page type="text">You have refined your previous theory regarding bees taking on aspects of elemental magic, and have come up with a way to attach elements to bees. It remains to be seen if this will be a benefit, or something you may regret in the future.
|
||||||
|
|
||||||
|
By placing a legendary Stark Bee into the Infusion Altar along with a charged shard of some kind, you will be able to imprint an aspect onto the insect. Unfortunately, it only seems to work with princesses or drones, as the Queens are too sensitive to undergo the infusion process.</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION1</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION2</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION3</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION4</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION5</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION6</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION7</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION8</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION9</page>
|
||||||
|
<page type="infusioncrafting">BEEINFUSION0</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="FERTILIZER">
|
||||||
|
<name>Concentrated Compound</name>
|
||||||
|
<popupText>An Apatite for more...</popupText>
|
||||||
|
<longText>You believe you can extend your reserves of apatite by enriching the crafted material with something that crops may appreciate.</longText>
|
||||||
|
<page type="text">You have discovered a method to stretch your reserves of apatite to the limit through the use of magic. By infusing the mixture created by crushing the apatite crystals with dirt with the aspect of the Harvest, you can create additional reserves of it. This mixture is then diluted with sand to produce the normal variety of fertilizer.</page>
|
||||||
|
<page type="infusioncrafting">FERTILIZER</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="HIVEFRAME">
|
||||||
|
<name>Magic Frame</name>
|
||||||
|
<popupText>A Different Frame of Bee</popupText>
|
||||||
|
<longText>Continuing from your curiousity into these flying creatures, an idea has ocurred to you how to encourage them to work faster, coaxed along by the judicious use of magic applied to some existing beekeeping equipment.</longText>
|
||||||
|
<page type="text">The simple frames known to all beekeepers, while effective, are flimsy and prone to breakage. With the help of magic, you have devised an improved design to function longer by enchanting it with reinforcing magic.
|
||||||
|
|
||||||
|
These improved versions can last several times longer than the basic frames, so long as there is sufficient aura in the area to feed the spells woven into the construction of the frame.</page>
|
||||||
|
<page type="infusioncrafting">FRAMEMAGIC</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="HIVEFRAME2">
|
||||||
|
<name>Resilient Frame</name>
|
||||||
|
<popupText>Making it better...</popupText>
|
||||||
|
<longText>Having come up with an idea for an improved Magical Frame, the next logical step would be to reinforce the design further, shielding it from all but the harshest wear and tear. The trade-off, of course, would be an increased consumption of aura during its operation.</longText>
|
||||||
|
<page type="text">You have successfully created a design for a more durable Apiary Frame, the Resilient Frame. Like the Magic Frame, it will increase the bees' working speed and consume aura to offset received wear and tear. Unlike the Magic Frame, its expected lifespan is much longer, but its aura use is slightly higher. </page>
|
||||||
|
<page type="infusioncrafting">FRAMERESILIENT</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="HIVEFRAMEGENTLE">
|
||||||
|
<name>Gentle Frame</name>
|
||||||
|
<popupText>You won't even notice I'm here.</popupText>
|
||||||
|
<longText>Continuing from your curiosity into these flying creatures, an idea has occured to you how to encourage them to live slightly longer within the Apiaries. Perhaps if you could surround them with the essence of health, life, and the plants they love, you can realize this idea.</longText>
|
||||||
|
<page type="text">The Gentle Frame extends the life expectancy of a working queen by roughly a half, and encourages the workers to move at a slightly increased pace. The end result is that the bees live longer, and produce more while they are alive.
|
||||||
|
|
||||||
|
Like the Magic Frame, the Gentle Frame also consumes small amounts of aura to maintain its enchantments, and has the negative side-effect of producing small amounts of flux in the surrounding aura now and again as the enchanted bees go about their work outside the hive. It's probably not enough to get too worried about, though.</page>
|
||||||
|
<page type="infusioncrafting">FRAMEGENTLE</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="HIVEFRAMEMETA">
|
||||||
|
<name>Metabolic Frame</name>
|
||||||
|
<popupText>And One! And Two!</popupText>
|
||||||
|
<longText>Additional bee research has yielded insight into their body structure, metabolism, and life cycle. It is possible that you could create a frame to enhance their body processes.</longText>
|
||||||
|
<page type="text">The Metabolic Frame enhances the rate at which bees metabolize food, resulting in a higher work speed. However, this makes their genetic structure somewhat unstable and prone to mutations. While this can be frustrating for some apiarists, other, more prepared beekeepers have been known to use the Metabolic Frames in their apiaries to encourage mutations in bee species.
|
||||||
|
|
||||||
|
Like the Magic Frame, this frame consumes aura to maintain its enchantments, and has the negative side-effect of producing some flux in the surrounding aura now and again as the enchanted bees go about their work. The Metabolic Frame consumes significantly more aura, as its</page>
|
||||||
|
<page type="infusioncrafting">FRAMEMETABOLIC</page>
|
||||||
|
<page type="text">enchantments are much more complex, and is not quite as durable as the Magic Frame is known to be.</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="HIVEFRAMENECRO">
|
||||||
|
<name>Necrotic Frame</name>
|
||||||
|
<popupText>Doom And Gloom, For Bees!</popupText>
|
||||||
|
<longText>After being stung by a bee, you concocted an idea to make them pay. Surely placing a frame infused with death and envenomed intents in a hive will teach them a lesson!</longText>
|
||||||
|
<page type="text">Your vengeance-fuelled research has paid off, resulting in the knowledge of the Necrotic Frame. This frame, when placed in an Apiary, will cause the bees to become sluggish, reducing their work speed, and severely unhealthy, greatly diminishing the current generation's lifespan. However, it is prudent to ensure the enchantments in the frame only affect the current generation.
|
||||||
|
|
||||||
|
Like the Magic Frame, this frame consumes aura to maintain its enchantments. This is not your best work, however, and the frame's operation will produce significantly more flux in the surrounding area than your other frames.</page>
|
||||||
|
<page type="infusioncrafting">FRAMENECROTIC</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="HIVEFRAMETIME">
|
||||||
|
<name>Temporal Frame</name>
|
||||||
|
<popupText>Why isn't it blue and boxy?</popupText>
|
||||||
|
<longText>You have been seeking a way to significantly extend bee life. It should be possible by adding a frame enchanted with the essence of time to the hive.</longText>
|
||||||
|
<page type="text">Keeping bees has been frustrating, as the insects' short lives requires you to manually intervene far too often.
|
||||||
|
|
||||||
|
A new variation of your frame design, this version involving some Time magic, should help extend their lives significantly. Like the Magic frame, this one too requires aura to run, and will produce flux now and again.</page>
|
||||||
|
<page type="infusioncrafting">FRAMETIME</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="VOIDCAPSULE">
|
||||||
|
<name>Void Capsule</name>
|
||||||
|
<popupText>Another Dimension of Liquid Storage</popupText>
|
||||||
|
<longText>It seems reasonable that if you can shift blocks and other matter into an alternate dimension temporarily, you should be able to do something similar with liquids.</longText>
|
||||||
|
<page type="text">These new capsules can hold the equivalent of 8 buckets' worth of liquid by syphoning off a large quantity into a pocket dimension temporarily.
|
||||||
|
|
||||||
|
Like other capsules, they are fragile and are typically single-use. They have proven popular for long-term storage.</page>
|
||||||
|
<page type="infusioncrafting">VOIDCAPSULE</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="THAUMIUMSCOOP">
|
||||||
|
<name>Thaumium Scoop</name>
|
||||||
|
<popupText>Stronger, Faster, Bee-ter</popupText>
|
||||||
|
<longText>It is possible to improve the durability of the scoop by creating them out of sterner materials. While you're at it, it may be helpful to enable them to be enchanted with restorative magics.</longText>
|
||||||
|
<page type="text">This improved scoop is more durable than the plain one your non-magical beekeeping friends are liable to use. It is good for three times as long as the average scoop at the cost of using some thaumium instead.
|
||||||
|
|
||||||
|
Because the thaumium present in its construction, it is possible to enchant the scoop with a Repairing spell in the usual manner.</page>
|
||||||
|
<page type="arcanecrafting">THAUMIUMSCOOP</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
|
<project id="THAUMIUMGRAFTER">
|
||||||
|
<name>Thaumium Grafter</name>
|
||||||
|
<popupText>The Treesnipper</popupText>
|
||||||
|
<longText>This improved grafter is more durable than the plain one your non-magical arborist acquaintances tend to use in their exploits. It should be possible to allow them to be enchanted with repairing magic to make them last indefinitely.</longText>
|
||||||
|
<page type="text">Adding Thaumium to your grafter design has increased its durability significantly - up to two times longer than regular grafters.
|
||||||
|
|
||||||
|
It is also possible to enchant them with the Repair enchant, given sufficient experience.</page>
|
||||||
|
<page type="arcanecrafting">THAUMIUMGRAFTER</page>
|
||||||
|
</project>
|
||||||
|
|
||||||
Lorem Ipsom something something.</page>
|
|
||||||
</research>
|
</research>
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
package forestry.plugins;
|
|
||||||
|
|
||||||
import thaumicbees.bees.ThaumicBeesPlugin;
|
|
||||||
|
|
||||||
public class PluginThaumicBees extends ThaumicBeesPlugin
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,211 @@
|
|||||||
|
package net.mysteriousages.utils;
|
||||||
|
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.inventory.IInventory;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
|
import net.minecraft.nbt.NBTTagList;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Provides some common functionality for Inventory clusters. Performs bounds-checking on slot args.
|
||||||
|
*
|
||||||
|
* @author MysteriousAges
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class GenericInventory implements IInventory
|
||||||
|
{
|
||||||
|
private ItemStack[] inventory;
|
||||||
|
private String name;
|
||||||
|
private int stackLimit;
|
||||||
|
|
||||||
|
public GenericInventory(String inventoryName, int slotCount)
|
||||||
|
{
|
||||||
|
this(inventoryName, slotCount, 64);
|
||||||
|
}
|
||||||
|
|
||||||
|
public GenericInventory(String inventoryName, int slotCount, int maxStackSize)
|
||||||
|
{
|
||||||
|
this.inventory = new ItemStack[slotCount];
|
||||||
|
this.name = inventoryName;
|
||||||
|
this.stackLimit = maxStackSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getSizeInventory()
|
||||||
|
{
|
||||||
|
return this.inventory.length;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ItemStack getStackInSlot(int slot)
|
||||||
|
{
|
||||||
|
ItemStack result = null;
|
||||||
|
|
||||||
|
if (this.slotNumberValid(slot))
|
||||||
|
{
|
||||||
|
result = this.inventory[slot];
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ItemStack decrStackSize(int slot, int count)
|
||||||
|
{
|
||||||
|
ItemStack result = null;
|
||||||
|
|
||||||
|
if (this.slotNumberValid(slot))
|
||||||
|
{
|
||||||
|
if (this.inventory[slot] != null)
|
||||||
|
{
|
||||||
|
result = this.inventory[slot].splitStack(Math.min(count, this.inventory[slot].stackSize));
|
||||||
|
if (this.inventory[slot].stackSize <= 0)
|
||||||
|
{
|
||||||
|
this.inventory[slot] = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public ItemStack getStackInSlotOnClosing(int slot)
|
||||||
|
{
|
||||||
|
return this.getStackInSlot(slot);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setInventorySlotContents(int slot, ItemStack itemStack)
|
||||||
|
{
|
||||||
|
if (this.slotNumberValid(slot))
|
||||||
|
{
|
||||||
|
this.inventory[slot] = itemStack;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getInvName()
|
||||||
|
{
|
||||||
|
return this.name;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getInventoryStackLimit()
|
||||||
|
{
|
||||||
|
return this.stackLimit;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ItemStack[] getInventory()
|
||||||
|
{
|
||||||
|
return this.inventory;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onInventoryChanged() { }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isUseableByPlayer(EntityPlayer player)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Accepts an ItemStack and attempts to merge it with a similar item stack or an empty slot.
|
||||||
|
* @param stack
|
||||||
|
* @return Any leftover items, or null if the merge completed successfully.
|
||||||
|
*/
|
||||||
|
public ItemStack attemptStackMerge(ItemStack stack)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < this.inventory.length; ++i)
|
||||||
|
{
|
||||||
|
if (this.inventory[i] == null)
|
||||||
|
{
|
||||||
|
this.inventory[i] = stack;
|
||||||
|
stack = null;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else if (this.inventory[i].isItemEqual(stack))
|
||||||
|
{
|
||||||
|
int freeSlots = stack.getItem().getItemStackLimit() - this.inventory[i].stackSize;
|
||||||
|
|
||||||
|
this.inventory[i].stackSize += freeSlots;
|
||||||
|
stack.stackSize -= freeSlots;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (stack.stackSize <= 0)
|
||||||
|
{
|
||||||
|
stack = null;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return stack;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void writeToNBT(NBTTagCompound tag)
|
||||||
|
{
|
||||||
|
tag.setString("Name", this.name);
|
||||||
|
tag.setInteger("Size", this.inventory.length);
|
||||||
|
NBTTagList itemList = new NBTTagList();
|
||||||
|
|
||||||
|
for (int i = 0; i < this.inventory.length; ++i)
|
||||||
|
{
|
||||||
|
NBTTagCompound itemTag = new NBTTagCompound();
|
||||||
|
itemTag.setByte("Slot", (byte)i);
|
||||||
|
this.inventory[i].writeToNBT(itemTag);
|
||||||
|
itemList.appendTag(itemTag);
|
||||||
|
}
|
||||||
|
|
||||||
|
tag.setTag("Items", itemList);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void readFromNBT(NBTTagCompound tag)
|
||||||
|
{
|
||||||
|
this.name = tag.getString("Name");
|
||||||
|
NBTTagList itemList = tag.getTagList("Items");
|
||||||
|
int length = tag.getInteger("Size");
|
||||||
|
this.inventory = new ItemStack[length];
|
||||||
|
|
||||||
|
for (int i = 0; i < itemList.tagCount(); ++i)
|
||||||
|
{
|
||||||
|
NBTTagCompound item = (NBTTagCompound)itemList.tagAt(i);
|
||||||
|
int slotId = item.getByte("Slot");
|
||||||
|
if (slotId >= 0 && slotId < this.inventory.length)
|
||||||
|
{
|
||||||
|
this.inventory[slotId] = ItemStack.loadItemStackFromNBT(item);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Checks to see if the given slot number is valid with the inventory size
|
||||||
|
* @param slot
|
||||||
|
* @return True, if slot in [0, inventory size)
|
||||||
|
*/
|
||||||
|
protected boolean slotNumberValid(int slot)
|
||||||
|
{
|
||||||
|
return slot >= 0 && slot < this.inventory.length;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void openChest() { }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void closeChest() { }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isInvNameLocalized() {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isStackValidForSlot(int i, ItemStack itemstack) {
|
||||||
|
// TODO Auto-generated method stub
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,71 @@
|
|||||||
|
package net.mysteriousages.utils;
|
||||||
|
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Provides basic functionality for an owned inventory.
|
||||||
|
* @author MysteriousAges
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class GenericOwnedInventory extends GenericInventory
|
||||||
|
{
|
||||||
|
private String ownerName;
|
||||||
|
private boolean isPublic;
|
||||||
|
|
||||||
|
public GenericOwnedInventory(EntityPlayer player, String inventoryName, int slotCount)
|
||||||
|
{
|
||||||
|
super(inventoryName, slotCount);
|
||||||
|
this.setInfo(player);
|
||||||
|
}
|
||||||
|
|
||||||
|
public GenericOwnedInventory(EntityPlayer player, String inventoryName, int slotCount, int maxStackSize)
|
||||||
|
{
|
||||||
|
super(inventoryName, slotCount, maxStackSize);
|
||||||
|
this.setInfo(player);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void setInfo(EntityPlayer player)
|
||||||
|
{
|
||||||
|
this.ownerName = player.username;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPubliclyAccessible(boolean flag)
|
||||||
|
{
|
||||||
|
this.isPublic = flag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getOwnerName()
|
||||||
|
{
|
||||||
|
return this.ownerName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isPubliclyAccessible()
|
||||||
|
{
|
||||||
|
return this.isPublic;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isUseableByPlayer(EntityPlayer player)
|
||||||
|
{
|
||||||
|
return this.isPublic || this.ownerName.equalsIgnoreCase(player.username);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void writeToNBT(NBTTagCompound tag)
|
||||||
|
{
|
||||||
|
super.writeToNBT(tag);
|
||||||
|
tag.setString("Owner", this.ownerName);
|
||||||
|
tag.setBoolean("PublicFlag", this.isPublic);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void readFromNBT(NBTTagCompound tag)
|
||||||
|
{
|
||||||
|
super.readFromNBT(tag);
|
||||||
|
this.ownerName = tag.getString("Owner");
|
||||||
|
this.isPublic = tag.getBoolean("PublicFlag");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,119 @@
|
|||||||
|
package net.mysteriousages.utils.gui;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import net.minecraft.inventory.IInventory;
|
||||||
|
import net.minecraft.inventory.Slot;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.oredict.OreDictionary;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author MysteriousAges
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
public class SlotCustomItems extends Slot
|
||||||
|
{
|
||||||
|
private List<ItemStack> items;
|
||||||
|
|
||||||
|
public SlotCustomItems(IInventory inventory, int slotIndex, int xPos, int yPos)
|
||||||
|
{
|
||||||
|
this(inventory, slotIndex, xPos, yPos, new ItemStack[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
public SlotCustomItems(IInventory inventory, int slotIndex, int xPos, int yPos, ItemStack... items)
|
||||||
|
{
|
||||||
|
super(inventory, slotIndex, xPos, yPos);
|
||||||
|
this.items = new ArrayList<ItemStack>();
|
||||||
|
|
||||||
|
for (ItemStack i : items)
|
||||||
|
{
|
||||||
|
this.items.add(i);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @return List of valid ItemStacks
|
||||||
|
*/
|
||||||
|
public List<ItemStack> getValidItems()
|
||||||
|
{
|
||||||
|
return this.items;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void addValidItem(ItemStack newItem)
|
||||||
|
{
|
||||||
|
boolean contains = false;
|
||||||
|
for (int i = 0; i < this.items.size(); ++i)
|
||||||
|
{
|
||||||
|
ItemStack s = this.items.get(i);
|
||||||
|
if (s.itemID == newItem.itemID)
|
||||||
|
{
|
||||||
|
if (s.getItemDamage() == OreDictionary.WILDCARD_VALUE)
|
||||||
|
{
|
||||||
|
contains = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else if (s.getItemDamage() == newItem.getItemDamage())
|
||||||
|
{
|
||||||
|
contains = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!contains)
|
||||||
|
{
|
||||||
|
this.items.add(newItem);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @param removeItem ItemStack to remove.
|
||||||
|
*/
|
||||||
|
public void removeValidItem(ItemStack removeItem)
|
||||||
|
{
|
||||||
|
for (int i = 0; i < this.items.size(); ++i)
|
||||||
|
{
|
||||||
|
ItemStack s = this.items.get(i);
|
||||||
|
if (s.itemID == removeItem.itemID)
|
||||||
|
{
|
||||||
|
if (s.getItemDamage() == OreDictionary.WILDCARD_VALUE)
|
||||||
|
{
|
||||||
|
this.items.remove(i);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else if (s.getItemDamage() == removeItem.getItemDamage())
|
||||||
|
{
|
||||||
|
this.items.remove(i);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isItemValid(ItemStack itemStack)
|
||||||
|
{
|
||||||
|
boolean flag = false;
|
||||||
|
for (int i = 0; i < this.items.size(); ++i)
|
||||||
|
{
|
||||||
|
if (this.items.get(i).itemID == itemStack.itemID)
|
||||||
|
{
|
||||||
|
if (this.items.get(i).getItemDamage() == itemStack.getItemDamage())
|
||||||
|
{
|
||||||
|
flag = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
flag = this.items.get(i).getItemDamage() ==OreDictionary.WILDCARD_VALUE;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return flag;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,152 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import net.minecraft.potion.Potion;
|
||||||
|
import thaumicbees.main.utils.compat.ArsMagicaHelper;
|
||||||
|
import thaumicbees.main.utils.compat.ThaumcraftHelper;
|
||||||
|
import forestry.api.apiculture.IAlleleBeeSpecies;
|
||||||
|
import forestry.api.apiculture.IAlleleFlowers;
|
||||||
|
import forestry.api.genetics.AlleleManager;
|
||||||
|
import forestry.api.genetics.IAllele;
|
||||||
|
import forestry.api.genetics.IAlleleEffect;
|
||||||
|
|
||||||
|
public class Allele implements IAllele
|
||||||
|
{
|
||||||
|
public static AlleleInteger fertilityHighDominant;
|
||||||
|
public static AlleleFloat speedBlinding;
|
||||||
|
|
||||||
|
public static IAlleleFlowers flowerBookshelf;
|
||||||
|
public static IAlleleFlowers flowerThaumcraft;
|
||||||
|
public static IAlleleFlowers flowerArsMagica;
|
||||||
|
public static IAlleleFlowers flowerAuraNode;
|
||||||
|
@Deprecated
|
||||||
|
public static IAlleleFlowers flowerNodePurify;
|
||||||
|
@Deprecated
|
||||||
|
public static IAlleleFlowers flowerNodeFluxify;
|
||||||
|
|
||||||
|
public static IAlleleEffect cleansingEffect;
|
||||||
|
public static IAlleleEffect digSpeed;
|
||||||
|
public static IAlleleEffect moveSpeed;
|
||||||
|
public static IAlleleEffect slowSpeed;
|
||||||
|
|
||||||
|
public static IAlleleEffect spawnBrainyZombie;
|
||||||
|
public static IAlleleEffect spawnWisp;
|
||||||
|
public static IAlleleEffect spawnBats;
|
||||||
|
public static IAlleleEffect spawnGhast;
|
||||||
|
public static IAlleleEffect spawnSpider;
|
||||||
|
public static IAlleleEffect spawnManaDrainer;
|
||||||
|
public static IAlleleEffect spawnWispOrHecate;
|
||||||
|
|
||||||
|
public static IAlleleEffect effectNodeAttract;
|
||||||
|
public static IAlleleEffect effectNodePurify;
|
||||||
|
public static IAlleleEffect effectNodeFlux;
|
||||||
|
public static IAlleleEffect effectNodeCharge;
|
||||||
|
|
||||||
|
public static void setupAdditionalAlleles()
|
||||||
|
{
|
||||||
|
Allele.fertilityHighDominant = new AlleleInteger("fertilityHighDominant", 3, true);
|
||||||
|
Allele.speedBlinding = new AlleleFloat("speedBlinding", 2f, false);
|
||||||
|
|
||||||
|
Allele.flowerBookshelf = new AlleleFlower("flowerBookshelf", new FlowerProviderBookshelf(), true);
|
||||||
|
if (ThaumcraftHelper.isActive())
|
||||||
|
{
|
||||||
|
FlowerProviderAuraNode provider = new FlowerProviderAuraNode();
|
||||||
|
Allele.flowerThaumcraft = new AlleleFlower("flowerThaumcraftPlant", new FlowerProviderThaumcraftFlower(), false);
|
||||||
|
Allele.flowerAuraNode = new AlleleFlower("flowerAuraNode", provider, true);
|
||||||
|
Allele.flowerNodePurify = new AlleleFlower("flowerAuraNodePurify", provider, false);
|
||||||
|
Allele.flowerNodeFluxify = new AlleleFlower("flowerAuraNodeFlux", provider, false);
|
||||||
|
|
||||||
|
Allele.spawnBrainyZombie = new AlleleEffectSpawnMob("effectBrainy", false, ThaumcraftHelper.Entity.BRAINY_ZOMBIE.entityID)
|
||||||
|
.setAggrosPlayerOnSpawn().setThrottle(800).setSpawnsOnPlayerNear(null).setMaxMobsInSpawnZone(2);
|
||||||
|
|
||||||
|
Allele.spawnBats = new AlleleEffectSpawnMob("effectBatty", false, ThaumcraftHelper.Entity.FIREBAT.entityID)
|
||||||
|
.setThrottle(300).setSpawnsOnPlayerNear("Bat");
|
||||||
|
|
||||||
|
Allele.spawnWisp = new AlleleEffectSpawnWisp("effectWispy", false, ThaumcraftHelper.Entity.WISP.entityID, "thaumcraft.wisplive")
|
||||||
|
.setThrottle(1800).setChanceToSpawn(79);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Allele.flowerThaumcraft = Allele.flowerAuraNode = (IAlleleFlowers)Allele.getBaseAllele("flowersVanilla");
|
||||||
|
Allele.flowerNodePurify = Allele.flowerNodeFluxify = (IAlleleFlowers)Allele.getBaseAllele("flowersVanilla");
|
||||||
|
|
||||||
|
Allele.spawnBrainyZombie = Allele.spawnBats = Allele.spawnWisp = (IAlleleEffect)Allele.getBaseAllele("effectNone");
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ArsMagicaHelper.isActive())
|
||||||
|
{
|
||||||
|
Allele.flowerArsMagica = new AlleleFlower("flowerArsMagicaPlant", new FlowerProviderArsMagicaFlower(), false);
|
||||||
|
//String id, boolean isDominant, int throttle, String[] mobs, int[] chance
|
||||||
|
Allele.spawnManaDrainer = new AlleleEffectSpawnMobWeighted("effectManaDrainer", true, 20,
|
||||||
|
new String[] { "ArsMagica.MobManaCreeper", "ArsMagica.ManaVortex" },
|
||||||
|
new int[] { 60, 2 });
|
||||||
|
|
||||||
|
Allele.spawnWispOrHecate = new AlleleEffectSpawnMobWeighted("effectAMWisp", true, 20,
|
||||||
|
new String[] { "ArsMagica.MobWisp", "ArsMagica.MobHecate" },
|
||||||
|
new int[] { 40, 3 });
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Allele.flowerArsMagica = (IAlleleFlowers)Allele.getBaseAllele("flowersVanilla");
|
||||||
|
Allele.spawnManaDrainer = Allele.spawnWispOrHecate = (IAlleleEffect)Allele.getBaseAllele("effectNone");
|
||||||
|
}
|
||||||
|
|
||||||
|
Allele.effectNodeAttract = new AlleleEffectAuraNodeAttract("effectNodeGeneration", false, 400);
|
||||||
|
Allele.effectNodePurify = new AlleleEffectAuraNodePurify("effectNodePurify", false, 600, 150);
|
||||||
|
Allele.effectNodeFlux = new AlleleEffectAuraNodeFlux("effectNodeFlux", true, 300, 300);
|
||||||
|
Allele.effectNodeCharge = new AlleleEffectAuraNodeCharge("effectNodeCharge", true, 1200);
|
||||||
|
|
||||||
|
Allele.cleansingEffect = new AlleleEffectCure("effectCurative", false);
|
||||||
|
Allele.digSpeed = new AlleleEffectPotion("effectDigSpeed", Potion.digSpeed, 15, false);
|
||||||
|
Allele.moveSpeed = new AlleleEffectPotion("effectMoveSpeed", Potion.moveSpeed, 10, false);
|
||||||
|
Allele.slowSpeed = new AlleleEffectPotion("effectSlowSpeed", Potion.moveSlowdown, 3, false);
|
||||||
|
|
||||||
|
Allele.spawnGhast = new AlleleEffectSpawnMob("Ghast", false, "Ghast", "mob.ghast.moan")
|
||||||
|
.setThrottle(2060).setChanceToSpawn(10).setMaxMobsInSpawnZone(1);
|
||||||
|
|
||||||
|
Allele.spawnSpider = new AlleleEffectSpawnMob("Spider", false, "Spider", "mob.spider.step")
|
||||||
|
.setThrottle(400).setChanceToSpawn(70).setMaxMobsInSpawnZone(4);
|
||||||
|
}
|
||||||
|
|
||||||
|
private String uid;
|
||||||
|
private boolean dominant;
|
||||||
|
|
||||||
|
public static IAlleleBeeSpecies getBaseSpecies(String name)
|
||||||
|
{
|
||||||
|
return (IAlleleBeeSpecies) AlleleManager.alleleRegistry.getAllele((new StringBuilder()).append("forestry.species").append(name).toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
public static IAlleleBeeSpecies getExtraSpecies(String name)
|
||||||
|
{
|
||||||
|
return (IAlleleBeeSpecies) AlleleManager.alleleRegistry.getAllele((new StringBuilder()).append("extrabees.species.").append(name).toString());
|
||||||
|
}
|
||||||
|
|
||||||
|
public static IAllele getBaseAllele(String name)
|
||||||
|
{
|
||||||
|
return AlleleManager.alleleRegistry.getAllele("forestry." + name);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static IAllele getAllele(String name)
|
||||||
|
{
|
||||||
|
return AlleleManager.alleleRegistry.getAllele(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Allele(String id, boolean isDominant)
|
||||||
|
{
|
||||||
|
this.uid = "thaumicbees." + id;
|
||||||
|
this.dominant = isDominant;
|
||||||
|
AlleleManager.alleleRegistry.registerAllele(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getUID()
|
||||||
|
{
|
||||||
|
return this.uid;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isDominant()
|
||||||
|
{
|
||||||
|
return this.dominant;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,92 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import cpw.mods.fml.common.registry.LanguageRegistry;
|
||||||
|
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.util.AxisAlignedBB;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import thaumicbees.main.ThaumicBees;
|
||||||
|
import thaumicbees.main.utils.LocalizationManager;
|
||||||
|
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||||
|
import forestry.api.apiculture.IBeeGenome;
|
||||||
|
import forestry.api.apiculture.IBeeHousing;
|
||||||
|
import forestry.api.genetics.IEffectData;
|
||||||
|
|
||||||
|
public abstract class AlleleEffect extends Allele implements IAlleleBeeEffect
|
||||||
|
{
|
||||||
|
|
||||||
|
public AlleleEffect(String id, boolean isDominant)
|
||||||
|
{
|
||||||
|
super(id, isDominant);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isCombinable()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public abstract IEffectData validateStorage(IEffectData storedData);
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getIdentifier()
|
||||||
|
{
|
||||||
|
return LocalizationManager.getLocalizedString(getUID());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public abstract IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing);
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData doFX(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
int[] area = genome.getTerritory();
|
||||||
|
float mod = housing.getTerritoryModifier(genome, 1f);
|
||||||
|
// Check to make sure territory is at least 1 with housing modifications
|
||||||
|
area[0] = Math.max((int)(area[0] * mod), 1);
|
||||||
|
area[1] = Math.max((int)(area[1] * mod), 1);
|
||||||
|
area[2] = Math.max((int)(area[2] * mod), 1);
|
||||||
|
|
||||||
|
ThaumicBees.proxy.drawBeeEffects(housing.getWorld(), housing.getXCoord(), housing.getYCoord(), housing.getZCoord(),
|
||||||
|
genome.getPrimaryAsBee().getIconColour(0), area[0], area[1], area[2]);
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getIconTextureFile()
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getIconIndex()
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected List<Entity> getEntitiesWithinRange(IBeeGenome genome, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
// Get the size of the affected area
|
||||||
|
int[] area = genome.getTerritory();
|
||||||
|
|
||||||
|
// Calculate offset
|
||||||
|
int[] min = new int[3];
|
||||||
|
int[] max = new int[3];
|
||||||
|
min[0] = housing.getXCoord() - area[0] / 2;
|
||||||
|
max[0] = housing.getXCoord() + area[0] / 2;
|
||||||
|
|
||||||
|
min[1] = housing.getYCoord() - area[1] / 2;
|
||||||
|
max[1] = housing.getYCoord() + area[1] / 2;
|
||||||
|
|
||||||
|
min[2] = housing.getZCoord() - area[2] / 2;
|
||||||
|
max[2] = housing.getZCoord() + area[2] / 2;
|
||||||
|
|
||||||
|
AxisAlignedBB bounds = AxisAlignedBB.getAABBPool().getAABB(min[0], min[1], min[2], max[0], max[1], max[2]);
|
||||||
|
return housing.getWorld().getEntitiesWithinAABB(EntityPlayer.class, bounds);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,79 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import java.lang.reflect.Method;
|
||||||
|
|
||||||
|
import thaumcraft.api.ObjectTags;
|
||||||
|
import thaumcraft.api.ThaumcraftApi;
|
||||||
|
import thaumcraft.api.aura.AuraNode;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import forestry.api.apiculture.IBeeGenome;
|
||||||
|
import forestry.api.apiculture.IBeeHousing;
|
||||||
|
import forestry.api.genetics.IEffectData;
|
||||||
|
|
||||||
|
public class AlleleEffectAuraNodeAttract extends AlleleEffect
|
||||||
|
{
|
||||||
|
|
||||||
|
private int throttle;
|
||||||
|
|
||||||
|
public AlleleEffectAuraNodeAttract(String id, boolean isDominant, int timeout)
|
||||||
|
{
|
||||||
|
super(id, isDominant);
|
||||||
|
this.throttle = timeout;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData validateStorage(IEffectData storedData)
|
||||||
|
{
|
||||||
|
if (storedData == null)
|
||||||
|
{
|
||||||
|
storedData = new EffectData(1, 0, 0);
|
||||||
|
}
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
int value = storedData.getInteger(0);
|
||||||
|
if (value >= throttle)
|
||||||
|
{
|
||||||
|
World w = housing.getWorld();
|
||||||
|
if (w.rand.nextInt(10) < 1)
|
||||||
|
{
|
||||||
|
float x = housing.getXCoord();
|
||||||
|
float y = housing.getYCoord();
|
||||||
|
float z = housing.getZCoord();
|
||||||
|
int nodeId = ThaumcraftApi.getClosestAuraWithinRange(w, x, y, z, 1800);
|
||||||
|
if (nodeId != -1)
|
||||||
|
{
|
||||||
|
AuraNode node = ThaumcraftApi.getNodeCopy(nodeId);
|
||||||
|
if (node.level >= node.baseLevel * 4 / 5)
|
||||||
|
{
|
||||||
|
x = (float)(x - node.xPos);
|
||||||
|
y = (float)(y - node.yPos);
|
||||||
|
z = (float)(z - node.zPos);
|
||||||
|
|
||||||
|
float distance = (float)Math.sqrt(x * x + y * y + z * z);
|
||||||
|
x = x / distance;
|
||||||
|
y = y / distance;
|
||||||
|
z = z / distance;
|
||||||
|
|
||||||
|
x *= 0.05f;
|
||||||
|
y *= 0.05f;
|
||||||
|
z *= 0.05f;
|
||||||
|
|
||||||
|
ThaumcraftApi.queueNodeChanges(nodeId, node.baseLevel * -1 / 13, w.rand.nextInt(2), false, null, x, y, z);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
storedData.setInteger(0, 0);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
storedData.setInteger(0, value + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import thaumcraft.api.EnumTag;
|
||||||
|
import thaumcraft.api.ObjectTags;
|
||||||
|
import thaumcraft.api.ThaumcraftApi;
|
||||||
|
import forestry.api.apiculture.IBeeGenome;
|
||||||
|
import forestry.api.apiculture.IBeeHousing;
|
||||||
|
import forestry.api.genetics.IEffectData;
|
||||||
|
|
||||||
|
public class AlleleEffectAuraNodeCharge extends AlleleEffect
|
||||||
|
{
|
||||||
|
|
||||||
|
private int effectTimeout;
|
||||||
|
|
||||||
|
AlleleEffectAuraNodeCharge(String id, boolean dominant, int timeout)
|
||||||
|
{
|
||||||
|
super(id, dominant);
|
||||||
|
this.effectTimeout = timeout;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData validateStorage(IEffectData storedData)
|
||||||
|
{
|
||||||
|
if (storedData == null)
|
||||||
|
{
|
||||||
|
storedData = new EffectData(1, 0, 0);
|
||||||
|
}
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
int timeout = storedData.getInteger(0);
|
||||||
|
if (timeout >= this.effectTimeout)
|
||||||
|
{
|
||||||
|
World world = housing.getWorld();
|
||||||
|
int x = housing.getXCoord();
|
||||||
|
int y = housing.getYCoord();
|
||||||
|
int z = housing.getZCoord();
|
||||||
|
|
||||||
|
EnumTag tag;
|
||||||
|
do
|
||||||
|
{
|
||||||
|
tag = EnumTag.values()[world.rand.nextInt(EnumTag.values().length)];
|
||||||
|
}
|
||||||
|
while (tag == EnumTag.UNKNOWN || tag == EnumTag.WEATHER);
|
||||||
|
|
||||||
|
ThaumcraftApi.increaseLowestAura(world, x, y, z, 1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
storedData.setInteger(0, timeout + 1);
|
||||||
|
}
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import thaumcraft.api.EnumTag;
|
||||||
|
import thaumcraft.api.ObjectTags;
|
||||||
|
import thaumcraft.api.ThaumcraftApi;
|
||||||
|
import forestry.api.apiculture.IBeeGenome;
|
||||||
|
import forestry.api.apiculture.IBeeHousing;
|
||||||
|
import forestry.api.genetics.IEffectData;
|
||||||
|
|
||||||
|
public class AlleleEffectAuraNodeFlux extends AlleleEffect
|
||||||
|
{
|
||||||
|
private int effectTimeout;
|
||||||
|
private int nodeRange;
|
||||||
|
|
||||||
|
AlleleEffectAuraNodeFlux(String id, boolean dominant, int timeout, int range)
|
||||||
|
{
|
||||||
|
super(id, dominant);
|
||||||
|
this.effectTimeout = timeout;
|
||||||
|
this.nodeRange = range;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData validateStorage(IEffectData storedData)
|
||||||
|
{
|
||||||
|
if (storedData == null)
|
||||||
|
{
|
||||||
|
storedData = new EffectData(1, 0, 0);
|
||||||
|
}
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
int timeout = storedData.getInteger(0);
|
||||||
|
if (timeout >= this.effectTimeout)
|
||||||
|
{
|
||||||
|
World world = housing.getWorld();
|
||||||
|
int x = housing.getXCoord();
|
||||||
|
int y = housing.getYCoord();
|
||||||
|
int z = housing.getZCoord();
|
||||||
|
|
||||||
|
EnumTag tag;
|
||||||
|
do
|
||||||
|
{
|
||||||
|
tag = EnumTag.values()[world.rand.nextInt(EnumTag.values().length)];
|
||||||
|
}
|
||||||
|
while (tag == EnumTag.UNKNOWN || tag == EnumTag.WEATHER);
|
||||||
|
|
||||||
|
int nodeId = ThaumcraftApi.getClosestAuraWithinRange(world, x, y, z, this.nodeRange);
|
||||||
|
if (nodeId != -1)
|
||||||
|
{
|
||||||
|
int quantity = world.rand.nextInt(2) + 1;
|
||||||
|
ThaumcraftApi.queueNodeChanges(nodeId, 0, 0, false, new ObjectTags().add(tag, quantity), 0f, 0f, 0f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
storedData.setInteger(0, timeout + 1);
|
||||||
|
}
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,75 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import thaumcraft.api.EnumTag;
|
||||||
|
import thaumcraft.api.ObjectTags;
|
||||||
|
import thaumcraft.api.ThaumcraftApi;
|
||||||
|
import thaumcraft.api.aura.AuraNode;
|
||||||
|
import thaumicbees.main.Config;
|
||||||
|
import forestry.api.apiculture.IBeeGenome;
|
||||||
|
import forestry.api.apiculture.IBeeHousing;
|
||||||
|
import forestry.api.genetics.IEffectData;
|
||||||
|
|
||||||
|
public class AlleleEffectAuraNodePurify extends AlleleEffect
|
||||||
|
{
|
||||||
|
private int effectTimeout;
|
||||||
|
private int nodeRange;
|
||||||
|
|
||||||
|
public AlleleEffectAuraNodePurify(String id, boolean dominant, int timeout, int range)
|
||||||
|
{
|
||||||
|
super(id, dominant);
|
||||||
|
this.effectTimeout = timeout;
|
||||||
|
this.nodeRange = range;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData validateStorage(IEffectData storedData)
|
||||||
|
{
|
||||||
|
if (storedData == null)
|
||||||
|
{
|
||||||
|
storedData = new EffectData(1, 0, 0);
|
||||||
|
}
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
int timeout = storedData.getInteger(0);
|
||||||
|
if (timeout >= this.effectTimeout)
|
||||||
|
{
|
||||||
|
World world = housing.getWorld();
|
||||||
|
int x = housing.getXCoord();
|
||||||
|
int y = housing.getYCoord();
|
||||||
|
int z = housing.getZCoord();
|
||||||
|
|
||||||
|
int nodeId = ThaumcraftApi.getClosestAuraWithinRange(world, x, y, z, this.nodeRange);
|
||||||
|
if (nodeId >= 0)
|
||||||
|
{
|
||||||
|
AuraNode node = ThaumcraftApi.getNodeCopy(nodeId);
|
||||||
|
if (node != null)
|
||||||
|
{
|
||||||
|
int aspectCount = node.flux.tags.size();
|
||||||
|
if (aspectCount > 0)
|
||||||
|
{
|
||||||
|
EnumTag selectedTag = node.flux.getAspectsSorted()[world.rand.nextInt(node.flux.tags.size())];
|
||||||
|
if (selectedTag != null && housing.addProduct(new ItemStack(Config.solidFlux, 1, selectedTag.id), true))
|
||||||
|
{
|
||||||
|
node.flux.remove(selectedTag, 1);
|
||||||
|
ThaumcraftApi.queueNodeChanges(node.key, 0, 0, false, new ObjectTags().remove(selectedTag, 1), 0, 0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
storedData.setInteger(0, 0);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
storedData.setInteger(0, timeout + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
package thaumicbees.bees.genetics;
|
package thaumicbees.bees;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import thaumicbees.bees.EffectData;
|
|
||||||
import thaumicbees.main.ThaumicBees;
|
import thaumicbees.main.ThaumicBees;
|
||||||
|
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
@@ -35,12 +34,6 @@ public class AlleleEffectCure extends AlleleEffect
|
|||||||
return storedData;
|
return storedData;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getIdentifier()
|
|
||||||
{
|
|
||||||
return "Cleansing";
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||||
{
|
{
|
||||||
@@ -48,23 +41,7 @@ public class AlleleEffectCure extends AlleleEffect
|
|||||||
|
|
||||||
if (count == 200)
|
if (count == 200)
|
||||||
{
|
{
|
||||||
// Get the size of the affected area
|
List<Entity> entityList = this.getEntitiesWithinRange(genome, housing);
|
||||||
int[] area = genome.getTerritory();
|
|
||||||
|
|
||||||
// Calculate offset
|
|
||||||
int[] min = new int[3];
|
|
||||||
int[] max = new int[3];
|
|
||||||
min[0] = housing.getXCoord() - area[0] / 2;
|
|
||||||
max[0] = housing.getXCoord() + area[0] / 2;
|
|
||||||
|
|
||||||
min[1] = housing.getYCoord() - area[1] / 2;
|
|
||||||
max[1] = housing.getYCoord() + area[1] / 2;
|
|
||||||
|
|
||||||
min[2] = housing.getZCoord() - area[2] / 2;
|
|
||||||
max[2] = housing.getZCoord() + area[2] / 2;
|
|
||||||
|
|
||||||
AxisAlignedBB bounds = AxisAlignedBB.getAABBPool().addOrModifyAABBInPool(min[0], min[1], min[2], max[0], max[1], max[2]);
|
|
||||||
List<Entity> entityList = housing.getWorld().getEntitiesWithinAABB(EntityPlayer.class, bounds);
|
|
||||||
|
|
||||||
for (Entity e : entityList)
|
for (Entity e : entityList)
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package thaumicbees.bees.genetics;
|
package thaumicbees.bees;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -7,7 +7,6 @@ import net.minecraft.entity.player.EntityPlayer;
|
|||||||
import net.minecraft.potion.Potion;
|
import net.minecraft.potion.Potion;
|
||||||
import net.minecraft.potion.PotionEffect;
|
import net.minecraft.potion.PotionEffect;
|
||||||
import net.minecraft.util.AxisAlignedBB;
|
import net.minecraft.util.AxisAlignedBB;
|
||||||
import thaumicbees.bees.EffectData;
|
|
||||||
import forestry.api.apiculture.IAlleleBeeEffect;
|
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||||
import forestry.api.apiculture.IBeeGenome;
|
import forestry.api.apiculture.IBeeGenome;
|
||||||
import forestry.api.apiculture.IBeeHousing;
|
import forestry.api.apiculture.IBeeHousing;
|
||||||
@@ -18,12 +17,10 @@ public class AlleleEffectPotion extends AlleleEffect
|
|||||||
{
|
{
|
||||||
private int potionId;
|
private int potionId;
|
||||||
private int duration;
|
private int duration;
|
||||||
private String beealyzerId;
|
|
||||||
|
|
||||||
public AlleleEffectPotion(String name, String readableName, Potion potionApplied, int effectDuration, boolean isDominant)
|
public AlleleEffectPotion(String name, Potion potionApplied, int effectDuration, boolean isDominant)
|
||||||
{
|
{
|
||||||
super("effect" + name, isDominant);
|
super("effect" + name, isDominant);
|
||||||
this.beealyzerId = readableName;
|
|
||||||
this.potionId = potionApplied.id;
|
this.potionId = potionApplied.id;
|
||||||
this.duration = 20 * effectDuration;
|
this.duration = 20 * effectDuration;
|
||||||
}
|
}
|
||||||
@@ -38,12 +35,6 @@ public class AlleleEffectPotion extends AlleleEffect
|
|||||||
return storedData;
|
return storedData;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getIdentifier()
|
|
||||||
{
|
|
||||||
return this.beealyzerId;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||||
{
|
{
|
||||||
@@ -51,23 +42,7 @@ public class AlleleEffectPotion extends AlleleEffect
|
|||||||
|
|
||||||
if (count == 200)
|
if (count == 200)
|
||||||
{
|
{
|
||||||
// Get the size of the affected area
|
List<Entity> entityList = this.getEntitiesWithinRange(genome, housing);
|
||||||
int[] area = genome.getTerritory();
|
|
||||||
|
|
||||||
// Calculate offset
|
|
||||||
int[] min = new int[3];
|
|
||||||
int[] max = new int[3];
|
|
||||||
min[0] = housing.getXCoord() - area[0] / 2;
|
|
||||||
max[0] = housing.getXCoord() + area[0] / 2;
|
|
||||||
|
|
||||||
min[1] = housing.getYCoord() - area[1] / 2;
|
|
||||||
max[1] = housing.getYCoord() + area[1] / 2;
|
|
||||||
|
|
||||||
min[2] = housing.getZCoord() - area[2] / 2;
|
|
||||||
max[2] = housing.getZCoord() + area[2] / 2;
|
|
||||||
|
|
||||||
AxisAlignedBB bounds = AxisAlignedBB.getAABBPool().addOrModifyAABBInPool(min[0], min[1], min[2], max[0], max[1], max[2]);
|
|
||||||
List<Entity> entityList = housing.getWorld().getEntitiesWithinAABB(EntityPlayer.class, bounds);
|
|
||||||
|
|
||||||
for (Entity e : entityList)
|
for (Entity e : entityList)
|
||||||
{
|
{
|
||||||
@@ -0,0 +1,223 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import thaumicbees.item.ItemArmorApiarist;
|
||||||
|
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.EntityList;
|
||||||
|
import net.minecraft.entity.EntityLiving;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.util.AxisAlignedBB;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||||
|
import forestry.api.apiculture.IBeeGenome;
|
||||||
|
import forestry.api.apiculture.IBeeHousing;
|
||||||
|
import forestry.api.genetics.IEffectData;
|
||||||
|
|
||||||
|
public class AlleleEffectSpawnMob extends AlleleEffect
|
||||||
|
{
|
||||||
|
protected boolean aggosOnPlayer;
|
||||||
|
protected boolean spawnsWhilePlayerNear;
|
||||||
|
protected String alternateMob;
|
||||||
|
protected String mobName;
|
||||||
|
protected String mobSound;
|
||||||
|
protected int throttle;
|
||||||
|
protected int chanceToSpawn;
|
||||||
|
protected int maxMobsInArea;
|
||||||
|
|
||||||
|
public AlleleEffectSpawnMob(String id, boolean isDominant, String mobToSpawn)
|
||||||
|
{
|
||||||
|
this(id, isDominant, mobToSpawn, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public AlleleEffectSpawnMob(String id, boolean isDominant, String mobToSpawn, String mobSoundFx)
|
||||||
|
{
|
||||||
|
super(id, isDominant);
|
||||||
|
this.aggosOnPlayer = false;
|
||||||
|
this.mobName = mobToSpawn;
|
||||||
|
this.throttle = 200;
|
||||||
|
this.chanceToSpawn = 100;
|
||||||
|
this.maxMobsInArea = 6;
|
||||||
|
this.mobSound = mobSoundFx;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData validateStorage(IEffectData storedData)
|
||||||
|
{
|
||||||
|
if (storedData == null)
|
||||||
|
{
|
||||||
|
// Throttle; Ready to spawn
|
||||||
|
storedData = new EffectData(1, 1, 0);
|
||||||
|
}
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
int count = storedData.getInteger(0);
|
||||||
|
|
||||||
|
if (count >= this.throttle && !storedData.getBoolean(0))
|
||||||
|
{
|
||||||
|
storedData.setBoolean(0, true);
|
||||||
|
storedData.setInteger(0, 0);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
storedData.setInteger(0, count + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if we're ready to spawn the mob.
|
||||||
|
if (storedData.getBoolean(0))
|
||||||
|
{
|
||||||
|
World w = housing.getWorld();
|
||||||
|
|
||||||
|
int roll = w.rand.nextInt(100);
|
||||||
|
|
||||||
|
if (roll <= this.chanceToSpawn)
|
||||||
|
{
|
||||||
|
if (this.spawnsWhilePlayerNear)
|
||||||
|
{
|
||||||
|
List<Entity> entities = this.getEntitiesWithinRange(genome, housing);
|
||||||
|
EntityPlayer target = null;
|
||||||
|
for (Entity e : entities)
|
||||||
|
{
|
||||||
|
if (e instanceof EntityPlayer)
|
||||||
|
{
|
||||||
|
target = (EntityPlayer)e;
|
||||||
|
// Check for wearing armor & cancel
|
||||||
|
if (ItemArmorApiarist.getNumberPiecesWorn(target) >= 4)
|
||||||
|
{
|
||||||
|
// Full armor suit is treated as "invisible."
|
||||||
|
target = null;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Let's spawn a mob. =D
|
||||||
|
if (target != null)
|
||||||
|
{
|
||||||
|
storedData.setBoolean(0, !this.spawnMob(genome, target, w, housing, false));
|
||||||
|
}
|
||||||
|
else if (this.alternateMob != null)
|
||||||
|
{
|
||||||
|
storedData.setBoolean(0, !this.spawnMob(genome, null, w, housing, true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
storedData.setBoolean(0, !this.spawnMob(genome, null, w, housing, true));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (this.mobSound != null && w.rand.nextInt(100) < 35)
|
||||||
|
{
|
||||||
|
int range = genome.getTerritory()[0];
|
||||||
|
double x = housing.getXCoord() + w.rand.nextDouble() * (range * 2) - range;
|
||||||
|
range = genome.getTerritory()[1];
|
||||||
|
double y = housing.getYCoord() + w.rand.nextDouble() * (range * 2) - range;
|
||||||
|
range = genome.getTerritory()[2];
|
||||||
|
double z = housing.getZCoord() + w.rand.nextDouble() * (range * 2) - range;
|
||||||
|
w.playSoundEffect(x, y, z, this.mobSound, 0.5f,
|
||||||
|
(w.rand.nextFloat() - w.rand.nextFloat()) * 0.2f + 1.0f);
|
||||||
|
}
|
||||||
|
storedData.setBoolean(0, true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean spawnMob(IBeeGenome bee, EntityPlayer player, World world, IBeeHousing housing, boolean spawnAlternate)
|
||||||
|
{
|
||||||
|
boolean spawnedFlag = false;
|
||||||
|
|
||||||
|
|
||||||
|
EntityLiving mob;
|
||||||
|
if (spawnAlternate && this.alternateMob != null)
|
||||||
|
{
|
||||||
|
mob = (EntityLiving) EntityList.createEntityByName(this.alternateMob, world);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
mob = (EntityLiving) EntityList.createEntityByName(this.mobName, world);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (mob != null)
|
||||||
|
{
|
||||||
|
double pos[] = this.randomMobSpawnCoords(world, bee, housing);
|
||||||
|
|
||||||
|
int entitiesCount = world.getEntitiesWithinAABB(mob.getClass(),
|
||||||
|
AxisAlignedBB.getBoundingBox((int)pos[0], (int)pos[1], (int)pos[2], (int)pos[0] + 1, (int)pos[1] + 1, (int)pos[2] + 1)
|
||||||
|
.expand(8.0D, 4.0D, 8.0D)).size();
|
||||||
|
|
||||||
|
mob.setPositionAndRotation(pos[0], pos[1], pos[2], world.rand.nextFloat() * 360f, 0f);
|
||||||
|
|
||||||
|
if (entitiesCount < this.maxMobsInArea && mob.getCanSpawnHere())
|
||||||
|
{
|
||||||
|
spawnedFlag = world.spawnEntityInWorld(mob);
|
||||||
|
if (this.aggosOnPlayer && player != null)
|
||||||
|
{
|
||||||
|
if (ItemArmorApiarist.getNumberPiecesWorn(player) < 4)
|
||||||
|
{
|
||||||
|
// Protect fully suited player from initial murder intent.
|
||||||
|
mob.setAttackTarget(player);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return spawnedFlag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public AlleleEffectSpawnMob setSpawnsOnPlayerNear(String alternateMobToSpawn)
|
||||||
|
{
|
||||||
|
this.spawnsWhilePlayerNear = true;
|
||||||
|
this.alternateMob = alternateMobToSpawn;
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public AlleleEffectSpawnMob setAggrosPlayerOnSpawn()
|
||||||
|
{
|
||||||
|
this.aggosOnPlayer = true;
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public AlleleEffectSpawnMob setThrottle(int val)
|
||||||
|
{
|
||||||
|
this.throttle = val;
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public AlleleEffectSpawnMob setChanceToSpawn(int value)
|
||||||
|
{
|
||||||
|
this.chanceToSpawn = value;
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public AlleleEffectSpawnMob setMaxMobsInSpawnZone(int value)
|
||||||
|
{
|
||||||
|
this.maxMobsInArea = value;
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected double[] randomMobSpawnCoords(World world, IBeeGenome bee, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
double pos[] = new double[3];
|
||||||
|
pos[0] = housing.getXCoord() + (world.rand.nextDouble() * (bee.getTerritory()[0] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[0] / 2);
|
||||||
|
pos[1] = housing.getYCoord() + world.rand.nextInt(3) - 1;
|
||||||
|
pos[2] = housing.getZCoord() + (world.rand.nextDouble() * (bee.getTerritory()[2] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[2] / 2);
|
||||||
|
return pos;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,103 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import net.minecraft.entity.EntityList;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.EntityLiving;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import forestry.api.apiculture.IAlleleBeeEffect;
|
||||||
|
import forestry.api.apiculture.IBeeGenome;
|
||||||
|
import forestry.api.apiculture.IBeeHousing;
|
||||||
|
import forestry.api.genetics.IEffectData;
|
||||||
|
|
||||||
|
public class AlleleEffectSpawnMobWeighted extends AlleleEffect
|
||||||
|
{
|
||||||
|
private int throttle;
|
||||||
|
private String[] entityNames;
|
||||||
|
private int[] spawnChance;
|
||||||
|
|
||||||
|
public AlleleEffectSpawnMobWeighted(String id, boolean isDominant, int throttle, String[] mobs, int[] chance)
|
||||||
|
{
|
||||||
|
super(id, isDominant);
|
||||||
|
this.throttle = throttle;
|
||||||
|
if (mobs.length != chance.length)
|
||||||
|
{
|
||||||
|
throw new IllegalArgumentException("Array lengths must be equal!");
|
||||||
|
}
|
||||||
|
this.entityNames = mobs;
|
||||||
|
this.spawnChance = chance;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData validateStorage(IEffectData storedData)
|
||||||
|
{
|
||||||
|
if (storedData == null)
|
||||||
|
{
|
||||||
|
storedData = new EffectData(1, 0, 0);
|
||||||
|
}
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IEffectData doEffect(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
int value = storedData.getInteger(0);
|
||||||
|
|
||||||
|
if (value >= this.throttle)
|
||||||
|
{
|
||||||
|
if (this.spawnMob(genome, housing))
|
||||||
|
{
|
||||||
|
storedData.setInteger(0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
storedData.setInteger(0, value + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
return storedData;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean spawnMob(IBeeGenome genome, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
boolean flag = false;
|
||||||
|
|
||||||
|
World w = housing.getWorld();
|
||||||
|
int roll = 0;
|
||||||
|
|
||||||
|
for (int i = 0; i < this.spawnChance.length && !flag; ++i)
|
||||||
|
{
|
||||||
|
roll = 100 - w.rand.nextInt(100)+1;
|
||||||
|
if (roll < this.spawnChance[i])
|
||||||
|
{
|
||||||
|
flag = true;
|
||||||
|
Entity mob = EntityList.createEntityByName(this.entityNames[i], w);
|
||||||
|
double[] coords = this.randomMobSpawnCoords(w, genome, housing);
|
||||||
|
|
||||||
|
mob.setPositionAndRotation(coords[0], coords[1], coords[2], w.rand.nextFloat() * 360f, 0f);
|
||||||
|
if (mob instanceof EntityLiving)
|
||||||
|
{
|
||||||
|
if (((EntityLiving)mob).getCanSpawnHere())
|
||||||
|
{
|
||||||
|
w.spawnEntityInWorld(mob);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
w.spawnEntityInWorld(mob);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return flag;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected double[] randomMobSpawnCoords(World world, IBeeGenome bee, IBeeHousing housing)
|
||||||
|
{
|
||||||
|
double pos[] = new double[3];
|
||||||
|
pos[0] = housing.getXCoord() + world.rand.nextDouble() * (bee.getTerritory()[0] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[0] / 2;
|
||||||
|
pos[1] = housing.getYCoord() + world.rand.nextDouble() * (bee.getTerritory()[1] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[1] / 2;
|
||||||
|
pos[2] = housing.getZCoord() + world.rand.nextDouble() * (bee.getTerritory()[2] * housing.getTerritoryModifier(bee, 1f)) - bee.getTerritory()[2] / 2;
|
||||||
|
return pos;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import java.lang.reflect.Field;
|
||||||
|
|
||||||
|
import cpw.mods.fml.common.FMLLog;
|
||||||
|
import thaumicbees.item.ItemArmorApiarist;
|
||||||
|
import thaumicbees.main.utils.compat.ThaumcraftHelper;
|
||||||
|
import forestry.api.apiculture.IBeeGenome;
|
||||||
|
import forestry.api.apiculture.IBeeHousing;
|
||||||
|
import net.minecraft.entity.EntityList;
|
||||||
|
import net.minecraft.entity.EntityLiving;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.util.AxisAlignedBB;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
|
||||||
|
public class AlleleEffectSpawnWisp extends AlleleEffectSpawnMob
|
||||||
|
{
|
||||||
|
|
||||||
|
private byte[] wispTypes = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47 };
|
||||||
|
|
||||||
|
public AlleleEffectSpawnWisp(String id, boolean isDominant, String mobToSpawn, String soundToPlay)
|
||||||
|
{
|
||||||
|
super(id, isDominant, mobToSpawn, soundToPlay);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected boolean spawnMob(IBeeGenome bee, EntityPlayer player, World world, IBeeHousing housing, boolean spawnAlternate)
|
||||||
|
{
|
||||||
|
boolean spawnedFlag = false;
|
||||||
|
|
||||||
|
EntityLiving mob;
|
||||||
|
if (spawnAlternate && this.alternateMob != null)
|
||||||
|
{
|
||||||
|
mob = (EntityLiving) EntityList.createEntityByName(this.alternateMob, world);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
mob = (EntityLiving) EntityList.createEntityByName(this.mobName, world);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (mob != null)
|
||||||
|
{
|
||||||
|
double pos[] = this.randomMobSpawnCoords(world, bee, housing);
|
||||||
|
|
||||||
|
int entitiesCount = world.getEntitiesWithinAABB(mob.getClass(),
|
||||||
|
AxisAlignedBB.getBoundingBox((int)pos[0], (int)pos[1], (int)pos[2], (int)pos[0] + 1, (int)pos[1] + 1, (int)pos[2] + 1)
|
||||||
|
.expand(8.0D, 4.0D, 8.0D)).size();
|
||||||
|
|
||||||
|
mob.setPositionAndRotation(pos[0], pos[1], pos[2], world.rand.nextFloat() * 360f, 0f);
|
||||||
|
|
||||||
|
if (entitiesCount < this.maxMobsInArea && mob.getCanSpawnHere())
|
||||||
|
{
|
||||||
|
// Try some Reflection on TC code. This could be dangerous.
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Class wispEntity = Class.forName(ThaumcraftHelper.Entity.WISP.getClassName());
|
||||||
|
Field type = wispEntity.getDeclaredField("type");
|
||||||
|
type.setByte(mob, wispTypes[world.rand.nextInt(wispTypes.length)]);
|
||||||
|
}
|
||||||
|
catch (Exception e) { /*Last time I had a request to post error messages, I regretted it.*/ }
|
||||||
|
|
||||||
|
spawnedFlag = world.spawnEntityInWorld(mob);
|
||||||
|
if (this.aggosOnPlayer && player != null)
|
||||||
|
{
|
||||||
|
if (ItemArmorApiarist.getNumberPiecesWorn(player) < 4)
|
||||||
|
{
|
||||||
|
// Protect fully suited player from initial murder intent.
|
||||||
|
mob.setAttackTarget(player);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return spawnedFlag;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
package thaumicbees.bees;
|
||||||
|
|
||||||
|
import forestry.api.genetics.IAlleleFloat;
|
||||||
|
|
||||||
|
public class AlleleFloat extends Allele implements IAlleleFloat
|
||||||
|
{
|
||||||
|
private float value;
|
||||||
|
|
||||||
|
public AlleleFloat(String id, float val, boolean isDominant)
|
||||||
|
{
|
||||||
|
super(id, isDominant);
|
||||||
|
this.value = val;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float getValue()
|
||||||
|
{
|
||||||
|
return this.value;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||