Compare commits

..
29 Commits
Author SHA1 Message Date
Vazkii 2df312c46a Made the Phantom Block recipe work. Derp... 2013-05-28 21:24:38 +01:00
Vazkii 6320c7d926 And that about wraps up the 1.0.4 release I believe. 2013-05-27 22:46:37 +01:00
Vazkii c6265980a1 Moved and tweaked some things around. 2013-05-27 22:44:08 +01:00
Vazkii 2969d57f55 Added the recipes/researches for the enchants and phantom stone blocks, had to implement a dummy item for crafting to work. 2013-05-27 22:36:06 +01:00
Vazkii 34a78e77ce Mobs shouldn't spawn on phantom stone... 2013-05-27 19:41:11 +01:00
Vazkii e205562eee Meh, I don't need that. 2013-05-27 19:33:17 +01:00
Vazkii 0adca6c6cb Fixed the warded chest rendering in a container breaking subsequent block renders. 2013-05-27 19:29:30 +01:00
Vazkii a97f063d1f Phantom stone blocks now have glint when rendering in the inventory. 2013-05-27 19:21:01 +01:00
Vazkii 84e9abd491 Phantom stone is now working nicely. 2013-05-27 19:10:48 +01:00
Vazkii f6bfd2ff3b Initial draft for the Phantom Stone blocks, currently they don't work, they need more overrides :P 2013-05-27 13:06:48 +01:00
Vazkii 85c552133c That was a nice resource, but I don't need it. 2013-05-27 12:20:19 +01:00
Vazkii c116faae74 Once a mob gets possessed, it should stay for quite a fair bit, not 10 seconds... 2013-05-27 12:16:47 +01:00
Vazkii ec3765f7f0 Lost enchantments should no longer crash the game on enchanting... 2013-05-27 12:06:20 +01:00
Vazkii 840c8ab497 Implemented the Soulbringer enchantment. 2013-05-27 12:03:44 +01:00
Vazkii de0636e941 Yay, enchantment particles :D 2013-05-27 00:21:23 +01:00
Vazkii 774179d40e Added the possessed potion effect. Doesn't do anything yet, will be used for the Soulbringer enchant. 2013-05-26 23:35:12 +01:00
Vazkii 1424f6fbb4 Added config option for wand of dislocation pickup tiles. 2013-05-26 20:23:45 +01:00
Vazkii 86aeb86f91 Made the fume dissipator need to be researched, this should fix som issues... 2013-05-26 20:12:20 +01:00
Vazkii 7a005a1ae3 Implemented the Ashes enchant. 2013-05-26 19:54:25 +01:00
Vazkii 3aac6bc05f Vampirism now does stuff. 2013-05-25 23:56:01 +01:00
Vazkii 32e7a42406 Added SFX to freezing and made the warded chest doesn't budge sound a more appropriate one. 2013-05-25 23:42:41 +01:00
Vazkii 1b71aeb790 Sync and Withering? BORING! Changing enchantments around, bringing back some TC2 goodies :D 2013-05-25 23:39:30 +01:00
Vazkii e255521141 Copied over the Frozen potion effect from Elemental Tinkerer, working on implementing some of the enchantments. 2013-05-25 23:16:25 +01:00
Vazkii a9ef042830 Added the enchantments I want to make, they don't do anything yet. 2013-05-25 12:24:52 +01:00
Vazkii 5df0319081 Actually laid the foundations, that last commit didn't go so well... 2013-05-25 11:38:18 +01:00
Vazkii 09e35e1565 Laid some foundations for some new enchantments. 2013-05-25 11:37:11 +01:00
Vazkii df96ea26c5 Rewrote the Fluxometer render. Should work universally now, hopefully... 2013-05-25 00:49:42 +01:00
Vazkii 671c449743 Stopwatch now behaves on servers... 2013-05-24 23:58:47 +01:00
Vazkii 6737d04706 Ok, a proper code template is good. 2013-05-21 17:20:33 +01:00
37 changed files with 865 additions and 47 deletions

No files matched your search

+12 -2
View File
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="filecomment_context" deleted="false" description="Comment for created Java files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.filecomment" name="filecomment">/**
<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="gettercomment_context" deleted="false" description="Comment for getter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name="gettercomment"/><template autoinsert="false" context="settercomment_context" deleted="false" description="Comment for setter method" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.settercomment" name="settercomment"/><template autoinsert="false" context="constructorcomment_context" deleted="false" description="Comment for created constructors" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name="constructorcomment"/><template autoinsert="false" context="filecomment_context" deleted="false" description="Comment for created Java files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.filecomment" name="filecomment">/**
* This class was created by &lt;Vazkii&gt;. It's distributed as
* part of the ${project_name} Mod.
*
@@ -11,4 +11,14 @@
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [${date}, ${time} (GMT)]
*/</template></templates>
*/</template><template autoinsert="false" context="typecomment_context" deleted="false" description="Comment for created types" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.typecomment" name="typecomment"/><template autoinsert="false" context="fieldcomment_context" deleted="false" description="Comment for fields" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name="fieldcomment"/><template autoinsert="false" context="methodcomment_context" deleted="false" description="Comment for non-overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name="methodcomment"/><template autoinsert="false" context="overridecomment_context" deleted="false" description="Comment for overriding methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name="overridecomment"/><template autoinsert="false" context="delegatecomment_context" deleted="false" description="Comment for delegate methods" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name="delegatecomment"/><template autoinsert="true" context="newtype_context" deleted="false" description="Newly created files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.newtype" name="newtype">${filecomment}
${package_declaration}
${typecomment}
${type_declaration}</template><template autoinsert="true" context="classbody_context" deleted="false" description="Code in new class type bodies" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.classbody" name="classbody">
</template><template autoinsert="true" context="interfacebody_context" deleted="false" description="Code in new interface type bodies" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name="interfacebody">
</template><template autoinsert="true" context="enumbody_context" deleted="false" description="Code in new enum type bodies" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.enumbody" name="enumbody">
</template><template autoinsert="true" context="annotationbody_context" deleted="false" description="Code in new annotation type bodies" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name="annotationbody">
</template><template autoinsert="true" context="catchblock_context" deleted="false" description="Code in new catch blocks" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.catchblock" name="catchblock">// ${todo} Auto-generated catch block
${exception_var}.printStackTrace();</template><template autoinsert="false" context="methodbody_context" deleted="false" description="Code in created method stubs" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.methodbody" name="methodbody"/><template autoinsert="true" context="constructorbody_context" deleted="false" description="Code in created constructor stubs" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name="constructorbody">${body_statement}
// ${todo} Auto-generated constructor stub</template><template autoinsert="true" context="getterbody_context" deleted="false" description="Code in created getters" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.getterbody" name="getterbody">return ${field};</template><template autoinsert="true" context="setterbody_context" deleted="false" description="Code in created setters" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.setterbody" name="setterbody">${field} = ${param};</template></templates>
+2 -2
View File
@@ -2,8 +2,8 @@
{
"modid": "ThaumicTinkerer",
"name": "Thaumic Tinkerer",
"description": "An addon to Thaumcraft 3, implementing new content. This mod is a spiritual successor to Elemental Tinkerer. Compiled for Thaumcraft 3.0.5.",
"version": "1.0.3",
"description": "An addon to Thaumcraft 3, implementing new content. This mod is a spiritual successor to Elemental Tinkerer. Researches that come from this mod are prefixed by [TT]. Compiled for Thaumcraft 3.0.5.",
"version": "1.0.4",
"mcversion": "1.5+",
"logoFile": "/mods/ThaumicTinkerer/logo.png",
"url": "minecraftforum.net/topic/1813058-",
@@ -20,6 +20,7 @@ import thaumcraft.common.CommonProxy;
import thaumcraft.common.Thaumcraft;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.core.proxy.TTCommonProxy;
import vazkii.tinkerer.enchantment.ModEnchantments;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibMisc;
import vazkii.tinkerer.lib.LibNetwork;
@@ -76,6 +77,7 @@ public class ThaumicTinkerer {
ModBlocks.initBlocks();
ModItems.initItems();
ModPotions.initPotions();
ModEnchantments.initEnchantments();
proxy.initEntities();
proxy.initTileEntities();
@@ -0,0 +1,58 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [27 May 2013, 12:27:14 (GMT)]
*/
package vazkii.tinkerer.block;
import java.util.List;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.World;
import thaumcraft.common.Config;
import thaumcraft.common.blocks.BlockWarded;
import thaumcraft.common.tiles.TileOwned;
import vazkii.tinkerer.util.helper.ModCreativeTab;
public class BlockPhantomStone extends BlockWarded {
public BlockPhantomStone(int par1) {
super(par1);
if(Config.wardedStone)
setCreativeTab(ModCreativeTab.INSTANCE);
}
@Override
public boolean canCreatureSpawn(EnumCreatureType type, World world, int x, int y, int z) {
return false;
}
@Override
public boolean isOpaqueCube() {
return false;
}
@Override
public boolean isBlockNormalCube(World world, int x, int y, int z) {
return false;
}
@Override
public void addCollisionBoxesToList(World par1World, int par2, int par3, int par4, AxisAlignedBB par5AxisAlignedBB, List par6List, Entity par7Entity) {
TileOwned tile = (TileOwned) par1World.getBlockTileEntity(par2, par3, par4);
if(!(par7Entity instanceof EntityPlayer && ((EntityPlayer) par7Entity).username.equals(tile.owner)))
super.addCollisionBoxesToList(par1World, par2, par3, par4, par5AxisAlignedBB, par6List, par7Entity);
}
}
@@ -140,7 +140,7 @@ public class BlockWardChest extends BlockModContainer {
par1World.playSoundEffect(par2, par3, par4, "thaumcraft.key", 1F, 1F);
} else {
par5EntityPlayer.addChatMessage("The Chest refuses to budge.");
par1World.playSoundEffect(par2, par3, par4, "random.chestclosed", 1F, 0.2F);
par1World.playSoundEffect(par2, par3, par4, "thaumcraft.doorfail", 1F, 0.2F);
}
}
}
@@ -20,6 +20,7 @@ import thaumcraft.api.ObjectTags;
import thaumcraft.api.ThaumcraftApi;
import vazkii.tinkerer.item.ItemDarkQuartzBlock;
import vazkii.tinkerer.item.ItemDarkQuartzSlab;
import vazkii.tinkerer.item.ItemPhantomStoneBlock;
import vazkii.tinkerer.lib.LibBlockIDs;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.lib.LibMisc;
@@ -37,6 +38,7 @@ public final class ModBlocks {
public static Block darkQuartzSlabFull;
public static Block animationTablet;
public static Block darkGas;
public static Block phantomStone;
public static void initBlocks() {
glowstoneGas = new BlockGlowstoneGas(LibBlockIDs.idGlowstoneGas).setUnlocalizedName(LibBlockNames.GLOWSTONE_GAS);
@@ -48,6 +50,7 @@ public final class ModBlocks {
darkQuartzSlabFull = new BlockDarkQuartzSlab(LibBlockIDs.idDarkQuartzSlabFull, true).setUnlocalizedName(LibBlockNames.DARK_QUARTZ_SLAB);
animationTablet = new BlockAnimationTablet(LibBlockIDs.idAnimationTablet).setUnlocalizedName(LibBlockNames.ANIMATION_TABLET);
darkGas = new BlockDarkGas(LibBlockIDs.idDarkGas).setUnlocalizedName(LibBlockNames.DARK_GAS);
phantomStone = new BlockPhantomStone(LibBlockIDs.idPhantomStone).setUnlocalizedName(LibBlockNames.PHANTOM_STONE);
registerBlocks();
nameBlocks();
@@ -63,6 +66,7 @@ public final class ModBlocks {
GameRegistry.registerBlock(darkQuartzSlabFull, ItemDarkQuartzSlab.class, LibBlockNames.DARK_QUARTZ_SLAB_FULL);
GameRegistry.registerBlock(animationTablet, LibBlockNames.ANIMATION_TABLET);
GameRegistry.registerBlock(darkGas, LibBlockNames.DARK_GAS);
GameRegistry.registerBlock(phantomStone, ItemPhantomStoneBlock.class, LibBlockNames.PHANTOM_STONE);
}
private static void nameBlocks() {
@@ -70,6 +74,7 @@ public final class ModBlocks {
LanguageRegistry.addName(wardChest, LibBlockNames.WARD_CHEST_D);
LanguageRegistry.addName(darkQuartzStairs, LibBlockNames.DARK_QUARTZ_STAIRS_D);
LanguageRegistry.addName(animationTablet, LibBlockNames.ANIMATION_TABLET_D);
LanguageRegistry.addName(phantomStone, LibBlockNames.PHANTOM_STONE_D);
}
public static void applyObjectTags() {
@@ -14,8 +14,8 @@
*/
package vazkii.tinkerer.client.render.item;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiScreen;
import java.awt.Color;
import net.minecraft.client.renderer.RenderEngine;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
@@ -35,11 +35,9 @@ public class RenderItemFluxDetector extends HandheldItemRenderer {
// Because I'm a lasy bastard and don't want to code
// the whole renderer. <3 you Azanor.
DummyGui dummyGui = new DummyGui();
@Override
public void renderThaumometer(ItemStack arg0, EntityPlayer arg1, RenderEngine arg2, float arg3) {
Minecraft mc = MiscHelper.getMc();
MiscHelper.getMc();
boolean goggles = arg1.getCurrentItemOrArmor(4) != null && arg1.getCurrentItemOrArmor(4).getItem() instanceof ItemGoggles;
@@ -49,51 +47,48 @@ public class RenderItemFluxDetector extends HandheldItemRenderer {
renderItemStack(arg1, arg0, 0, false);
GL11.glScalef(0.3334F, 0.3334F, 0.3334F);
float scale = 1F / 128F;
GL11.glScalef(scale, scale, scale);
GL11.glScalef(-1F, -1F, 1F);
GL11.glTranslatef(-1.5F, -1.25F, 0F);
float originalZLevel = dummyGui.getZLevel();
float zLevel = 5F;
ObjectTags tags = ItemFluxDetector.getTags(arg0);
if(tags != null && tags.size() > 0 && !arg1.isSwingInProgress) {
int degPerTag = 360 / tags.size();
int renderDeg = -90 + (int) (ClientTickHandler.clientTicksElapsed % 360);
dummyGui.setZLevel(900 - arg1.rotationPitch * 9);
for(EnumTag tag : tags.getAspects()) {
int amount = tags.getAmount(tag);
int radius = (int) Math.max(0, Math.min(60, arg1.rotationPitch - 30));
int xpos = (int) (radius * Math.cos(renderDeg * Math.PI / 180));
int ypos = (int) (radius * Math.sin(renderDeg * Math.PI / 180));
float radius = Math.max(0, Math.min(60, arg1.rotationPitch - 30)) / 30F;
float xpos = (float) (radius * Math.cos(renderDeg * Math.PI / 180));
float ypos = (float) (radius * Math.sin(renderDeg * Math.PI / 180));
if(amount == 100 && arg1.rotationPitch >= 90 && goggles) {
xpos += Math.random() - 0.5;
ypos += Math.random() - 0.5;
xpos += (Math.random() - 0.5) / 25F;
ypos += (Math.random() - 0.5) / 25F;
}
GL11.glPushMatrix();
GL11.glTranslatef(-2500F, -6000F, -500F);
GL11.glScalef(400F, 400F, 150F);
float opacity = Math.min(arg1.rotationPitch / 100F, Math.max(0.15F, amount / 100F));
float opacity = Math.min(arg1.rotationPitch / 100F, Math.max(0.3F, amount / 100F));
if(!goggles)
opacity = (float) Math.min(arg1.rotationPitch / 100F, Math.cos(ClientTickHandler.clientTicksElapsed / 5F) + 2F / 2F + 0.2F);
UtilsFX.drawTag(mc, xpos, ypos, goggles ? tag : EnumTag.UNKNOWN, 0, 0, dummyGui, false, false, opacity);
dummyGui.setZLevel(dummyGui.getZLevel() - 2F);
opacity = (float) Math.min(arg1.rotationPitch / 100F, Math.cos(ClientTickHandler.clientTicksElapsed / 5F) + 1.5F);
drawTag(goggles ? tag : EnumTag.UNKNOWN, 1.5F - arg1.rotationPitch / 100F, xpos, ypos, zLevel, opacity);
GL11.glTranslatef(0F, 0F, -1F);
GL11.glPopMatrix();
renderDeg += degPerTag;
zLevel -= 0.001F;
}
}
dummyGui.setZLevel(originalZLevel);
GL11.glPopMatrix();
}
private static final class DummyGui extends GuiScreen {
public void setZLevel(float level) {
zLevel = level;
}
private void drawTag(EnumTag tag, float defScale, float x, float y, float z, float opacity) {
final String tex = "/mods/thaumcraft/textures/misc/ss_tags_1.png";
Color color = new Color(tag.color);
public float getZLevel() {
return zLevel;
}
GL11.glPushMatrix();
GL11.glDisable(GL11.GL_LIGHTING);
GL11.glTranslatef(x, y, z);
UtilsFX.renderQuadCenteredFromTexture(tex, 8, tag.id, defScale + (float) Math.cos(ClientTickHandler.clientTicksElapsed / 5F) / 20F, color.getRed() / 255F, color.getGreen() / 255F, color.getBlue() / 255F, 255, GL11.GL_ONE_MINUS_SRC_ALPHA, opacity);
GL11.glPopMatrix();
}
}
@@ -79,7 +79,6 @@ public class RenderTileWardChest extends TileEntitySpecialRenderer {
GL11.glRotatef(rotation, 0F, 1F, 0F);
GL11.glTranslatef(-0.5F, -0.5F, -0.5F);
chestModel.chestLid.render(LibMisc.MODEL_DEFAULT_RENDER_SCALE);
GL11.glDisable(GL12.GL_RESCALE_NORMAL);
GL11.glDisable(GL11.GL_BLEND);
GL11.glDepthMask(true);
GL11.glPopMatrix();
@@ -0,0 +1,25 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 May 2013, 12:18:48 (GMT)]
*/
package vazkii.tinkerer.enchantment;
import net.minecraft.enchantment.EnumEnchantmentType;
public class EnchantmentAshes extends EnchantmentLost {
protected EnchantmentAshes(int par1) {
super(par1, EnumEnchantmentType.all);
}
}
@@ -0,0 +1,25 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 May 2013, 11:03:55 (GMT)]
*/
package vazkii.tinkerer.enchantment;
import net.minecraft.enchantment.EnumEnchantmentType;
public class EnchantmentFreezing extends EnchantmentLost {
protected EnchantmentFreezing(int par1) {
super(par1, EnumEnchantmentType.weapon);
}
}
@@ -0,0 +1,36 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 May 2013, 11:21:12 (GMT)]
*/
package vazkii.tinkerer.enchantment;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnumEnchantmentType;
import net.minecraft.item.ItemStack;
public class EnchantmentLost extends Enchantment {
protected EnchantmentLost(int par1, EnumEnchantmentType par3EnumEnchantmentType) {
super(par1, 1, par3EnumEnchantmentType);
}
@Override
public boolean canApplyAtEnchantingTable(ItemStack stack) {
return false; // Thank god for forge hooks :D
}
@Override
public boolean canApplyTogether(Enchantment par1Enchantment) {
return !(par1Enchantment instanceof EnchantmentLost);
}
}
@@ -0,0 +1,25 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 May 2013, 12:14:21 (GMT)]
*/
package vazkii.tinkerer.enchantment;
import net.minecraft.enchantment.EnumEnchantmentType;
public class EnchantmentSoulbringer extends EnchantmentLost {
protected EnchantmentSoulbringer(int par1) {
super(par1, EnumEnchantmentType.weapon);
}
}
@@ -0,0 +1,25 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 May 2013, 12:17:08 (GMT)]
*/
package vazkii.tinkerer.enchantment;
import net.minecraft.enchantment.EnumEnchantmentType;
public class EnchantmentVampirism extends EnchantmentLost {
protected EnchantmentVampirism(int par1) {
super(par1, EnumEnchantmentType.weapon);
}
}
@@ -0,0 +1,198 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 May 2013, 22:57:41 (GMT)]
*/
package vazkii.tinkerer.enchantment;
import java.util.ArrayList;
import java.util.List;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureAttribute;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAITaskEntry;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.monster.EntityMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.EnumChatFormatting;
import net.minecraftforge.event.EventPriority;
import net.minecraftforge.event.ForgeSubscribe;
import net.minecraftforge.event.entity.living.LivingEvent.LivingUpdateEvent;
import net.minecraftforge.event.entity.living.LivingHurtEvent;
import net.minecraftforge.event.entity.player.PlayerDestroyItemEvent;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.lib.LibEnchantmentIDs;
import vazkii.tinkerer.lib.LibPotions;
import vazkii.tinkerer.potion.ModPotions;
import vazkii.tinkerer.util.helper.MiscHelper;
import cpw.mods.fml.relauncher.ReflectionHelper;
public class ModEnchantmentHandler {
@ForgeSubscribe
public void onEntityDamaged(LivingHurtEvent event) {
if(event.source.getEntity() instanceof EntityLiving) {
EntityLiving attacker = (EntityLiving) event.source.getEntity();
ItemStack heldItem = attacker.getHeldItem();
if(heldItem == null)
return;
if(EnchantmentHelper.getEnchantmentLevel(LibEnchantmentIDs.freezing, heldItem) > 0) {
event.entityLiving.addPotionEffect(new PotionEffect(ModPotions.effectFrozen.id, 60));
event.entityLiving.worldObj.playSoundAtEntity(event.entityLiving, "thaumcraft.ice", 0.6F, 1F);
}
if(EnchantmentHelper.getEnchantmentLevel(LibEnchantmentIDs.soulbringer, heldItem) > 0 && event.entityLiving.getCreatureAttribute() == EnumCreatureAttribute.UNDEAD && !isEntityPossessed(event.entityLiving) && Math.random() < 0.05F) {
event.entityLiving.addPotionEffect(new PotionEffect(ModPotions.effectPossessed.id, 12000));
if(attacker instanceof EntityPlayer) {
EntityPlayer player = (EntityPlayer) attacker;
if(!player.worldObj.isRemote)
player.addChatMessage(EnumChatFormatting.GOLD + "" + EnumChatFormatting.ITALIC + "The " + event.entityLiving.getEntityName() + " was possessed to join your fight.");
}
event.entityLiving.heal(event.entityLiving.getMaxHealth());
event.entityLiving.worldObj.playSoundAtEntity(event.entityLiving, "thaumcraft.wand", 0.6F, 1F);
}
if(EnchantmentHelper.getEnchantmentLevel(LibEnchantmentIDs.vampirism, heldItem) > 0) {
attacker.heal((int) Math.ceil(event.ammount / 4D));
event.entityLiving.worldObj.playSoundAtEntity(event.entityLiving, "thaumcraft.zap", 0.6F, 1F);
}
}
}
@ForgeSubscribe(priority = EventPriority.HIGHEST)
public void onItemBroken(PlayerDestroyItemEvent event) {
if(EnchantmentHelper.getEnchantmentLevel(LibEnchantmentIDs.ashes, event.original) > 0) {
event.original.setItemDamage(0);
NBTTagList list = event.original.getEnchantmentTagList();
int remLoc = -1;
for(int i = 0; i < list.tagCount(); i++) {
short id = ((NBTTagCompound) list.tagAt(i)).getShort("id");
if(id == LibEnchantmentIDs.ashes) {
remLoc = i;
break;
}
}
if(remLoc >= 0)
list.removeTag(remLoc);
for(int i = 0; list.tagCount() > 0 && i < 2; i++) {
int loc = event.entity.worldObj.rand.nextInt(list.tagCount());
list.removeTag(loc);
}
if(list.tagCount() == 0)
event.original.getTagCompound().removeTag("ench");
event.original.stackSize++;
event.entityPlayer.inventory.mainInventory[event.entityPlayer.inventory.currentItem] = event.original.copy();
if(!event.entityPlayer.worldObj.isRemote)
event.entityPlayer.addChatMessage(EnumChatFormatting.GOLD + "" + EnumChatFormatting.ITALIC + "Your " + event.original.getDisplayName() + " was reborn from the Ashes.");
event.entityPlayer.worldObj.playSoundAtEntity(event.entityPlayer, "thaumcraft.fireloop", 0.6F, 1F);
}
}
@ForgeSubscribe(priority = EventPriority.HIGHEST)
public void onEntityUpdate(LivingUpdateEvent event) {
if(isEntityFrozen(event.entityLiving)) {
event.entityLiving.landMovementFactor = 0F;
event.entityLiving.jumpMovementFactor = 0F;
event.entityLiving.setJumping(false);
event.entityLiving.motionY = 0;
for(int i = 0; i < 6; i++) {
float x = (float) (event.entityLiving.posX + (event.entityLiving.worldObj.rand.nextDouble() - 0.5F) * (event.entityLiving.width * 2F));
float y = (float) (event.entityLiving.posY + event.entityLiving.worldObj.rand.nextDouble() * event.entityLiving.height);
float z = (float) (event.entityLiving.posZ + (event.entityLiving.worldObj.rand.nextDouble() - 0.5F) * (event.entityLiving.width * 2F));
float size = (float) Math.random();
float gravity = (float) (Math.random() / 20F);
if(MiscHelper.getMc().renderViewEntity != null)
ThaumicTinkerer.tcProxy.sparkle(x, y, z, size, 2, gravity);
}
} else if(event.entityLiving.landMovementFactor == 0F && event.entityLiving.jumpMovementFactor == 0F){
event.entityLiving.landMovementFactor = 0.1F;
event.entityLiving.jumpMovementFactor = 0.02F;
// This gets calibrated after, but for some entities (e.g. slimes)
// it doesn't get calibrated automatically, so they stay
// in the same place.
}
if(isEntityPossessed(event.entityLiving)) {
List<EntityAITaskEntry> entries = new ArrayList(event.entityLiving.tasks.taskEntries);
entries.addAll(new ArrayList(event.entityLiving.targetTasks.taskEntries));
for(EntityAITaskEntry entry : entries) {
if(entry.action instanceof EntityAIAttackOnCollide)
messWithAttackAI((EntityAIAttackOnCollide) entry.action);
else if(entry.action instanceof EntityAINearestAttackableTarget)
messWithFollowAI((EntityAINearestAttackableTarget) entry.action);
else if(entry.action instanceof EntityAIWatchClosest)
messWithWatchAI((EntityAIWatchClosest) entry.action);
}
if(event.entityLiving.getAttackTarget() instanceof EntityPlayer)
event.entityLiving.setAttackTarget(null);
for(int i = 0; i < 3; i++) {
float x = (float) (event.entityLiving.posX + (event.entityLiving.worldObj.rand.nextDouble() - 0.5F) * (event.entityLiving.width * 2F));
float y = (float) (event.entityLiving.posY + event.entityLiving.worldObj.rand.nextDouble() * event.entityLiving.height);
float z = (float) (event.entityLiving.posZ + (event.entityLiving.worldObj.rand.nextDouble() - 0.5F) * (event.entityLiving.width * 2F));
float size = (float) (Math.random() / 2F);
float gravity = (float) (Math.random() / 20F);
if(MiscHelper.getMc().renderViewEntity != null)
ThaumicTinkerer.tcProxy.wispFX2(event.entityLiving.worldObj, x, y, z, size, 5, false, gravity);
}
}
}
private void messWithAttackAI(EntityAIAttackOnCollide aiEntry) {
// EntityAIAttackOnCollide.classTarget
ReflectionHelper.setPrivateValue(EntityAIAttackOnCollide.class, aiEntry, EntityMob.class, 7);
}
private void messWithFollowAI(EntityAINearestAttackableTarget aiEntry) {
// EntityAINearestAttackableTarget.classTarget
ReflectionHelper.setPrivateValue(EntityAINearestAttackableTarget.class, aiEntry, EntityMob.class, 1);
}
public void messWithWatchAI(EntityAIWatchClosest aiEntry) {
// EntityAIWatchClosest.watchedClass
ReflectionHelper.setPrivateValue(EntityAIWatchClosest.class, aiEntry, EntityMob.class, 5);
}
@ForgeSubscribe
public void onEntityDamage(LivingHurtEvent event) {
if(isEntityFrozen(event.entityLiving) && event.source.isFireDamage())
event.entityLiving.removePotionEffect(LibPotions.idFrozen);
}
public static boolean isEntityFrozen(EntityLiving entity) {
return entity.isPotionActive(LibPotions.idFrozen);
}
public static boolean isEntityPossessed(EntityLiving entity) {
return entity.isPotionActive(LibPotions.idPossessed);
}
}
@@ -0,0 +1,54 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 May 2013, 11:06:00 (GMT)]
*/
package vazkii.tinkerer.enchantment;
import net.minecraft.enchantment.Enchantment;
import net.minecraftforge.common.MinecraftForge;
import vazkii.tinkerer.lib.LibEnchantmentIDs;
import vazkii.tinkerer.lib.LibEnchantmentNames;
import vazkii.tinkerer.util.handler.EnchantedBookCraftingHandler;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
public final class ModEnchantments {
public static Enchantment freezing;
public static Enchantment soulbringer;
public static Enchantment vampirism;
public static Enchantment ashes;
public static void initEnchantments(){
freezing = new EnchantmentFreezing(LibEnchantmentIDs.freezing).setName(LibEnchantmentNames.FREEZING);
soulbringer = new EnchantmentSoulbringer(LibEnchantmentIDs.soulbringer).setName(LibEnchantmentNames.SOULBRINGER);
vampirism = new EnchantmentVampirism(LibEnchantmentIDs.vampirism).setName(LibEnchantmentNames.VAMPIRISM);
ashes = new EnchantmentAshes(LibEnchantmentIDs.ashes).setName(LibEnchantmentNames.ASHES);
nameEnchantments();
MinecraftForge.EVENT_BUS.register(new ModEnchantmentHandler());
GameRegistry.registerCraftingHandler(new EnchantedBookCraftingHandler());
}
private static void nameEnchantments() {
nameEnchant(freezing, LibEnchantmentNames.FREEZING_D);
nameEnchant(soulbringer, LibEnchantmentNames.SOULBRINGER_D);
nameEnchant(vampirism, LibEnchantmentNames.VAMPIRISM_D);
nameEnchant(ashes, LibEnchantmentNames.ASHES_D);
}
private static void nameEnchant(Enchantment enchant, String name) {
LanguageRegistry.instance().addStringLocalization(enchant.getName(), name);
}
}
@@ -0,0 +1,64 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [27 May 2013, 21:05:58 (GMT)]
*/
package vazkii.tinkerer.item;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemEnchantedBook;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import thaumcraft.client.gui.GuiInfusionWorkbench;
import thaumcraft.client.gui.GuiResearchRecipe;
import vazkii.tinkerer.util.helper.MiscHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemDummyEnchantbook extends ItemEnchantedBook {
public ItemDummyEnchantbook(int par1) {
super(par1);
}
@Override
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) {
if(MiscHelper.getMc().currentScreen != null && MiscHelper.getMc().currentScreen instanceof GuiResearchRecipe)
return;
if(MiscHelper.getMc().currentScreen != null && !(MiscHelper.getMc().currentScreen instanceof GuiInfusionWorkbench)) {
par3List.add("A dummy book for enchanting. It's an internal item");
par3List.add("and is of no use to the player.");
} else par3List.add("This book will be enchanted upon creation.");
}
@Override
public EnumRarity getRarity(ItemStack par1ItemStack) {
return EnumRarity.uncommon;
}
@Override
public String getItemDisplayName(ItemStack par1ItemStack) {
return Item.enchantedBook.getItemDisplayName(par1ItemStack);
}
@Override
@SideOnly(Side.CLIENT)
public Icon getIconFromDamage(int par1) {
return Item.enchantedBook.getIconFromDamage(par1);
}
}
@@ -0,0 +1,33 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [27 May 2013, 19:16:25 (GMT)]
*/
package vazkii.tinkerer.item;
import net.minecraft.item.ItemStack;
import thaumcraft.common.blocks.BlockWardedItem;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
public class ItemPhantomStoneBlock extends BlockWardedItem {
public ItemPhantomStoneBlock(int par1) {
super(par1);
}
@Override
@SideOnly(Side.CLIENT)
public boolean hasEffect(ItemStack par1ItemStack) {
return true;
}
}
@@ -21,6 +21,7 @@ import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.ItemStack;
import net.minecraft.potion.PotionEffect;
import net.minecraft.util.FoodStats;
import net.minecraft.world.World;
import net.minecraftforge.common.FakePlayer;
import thaumcraft.common.aura.AuraManager;
@@ -161,8 +162,8 @@ public class ItemStopwatch extends ItemMod {
player.motionY = motionY;
player.motionZ = motionZ;
player.setEntityHealth(health);
player.getFoodStats().setFoodLevel(food);
player.getFoodStats().setFoodSaturationLevel(saturation);
FoodStats foodStats = player.getFoodStats();
foodStats.addStats(food - foodStats.getFoodLevel(), saturation - foodStats.getSaturationLevel());
}
private static void wipeData(ItemStack stack, Entity player) {
@@ -28,6 +28,7 @@ import thaumcraft.common.items.wands.ItemWandTrade;
import vazkii.tinkerer.ThaumicTinkerer;
import vazkii.tinkerer.client.util.helper.IconHelper;
import vazkii.tinkerer.lib.LibFeatures;
import vazkii.tinkerer.util.handler.ConfigurationHandler;
import vazkii.tinkerer.util.helper.ItemNBTHelper;
import vazkii.tinkerer.util.helper.ModCreativeTab;
import cpw.mods.fml.relauncher.Side;
@@ -101,7 +102,7 @@ public class ItemWandDislocation extends ItemWandTrade {
}
arg2.playSoundAtEntity(arg1, "thaumcraft.wand", 0.5F, 1F);
}
} else if(!ThaumcraftApi.portableHoleBlackList.contains(id) && Block.blocksList[id] != null && Block.blocksList[id].getBlockHardness(arg2, arg3, arg4, arg5) != -1F) {
} else if((tile == null || ConfigurationHandler.wandDislocationTiles) && !ThaumcraftApi.portableHoleBlackList.contains(id) && Block.blocksList[id] != null && Block.blocksList[id].getBlockHardness(arg2, arg3, arg4, arg5) != -1F) {
arg2.removeBlockTileEntity(arg3, arg4, arg5);
arg2.setBlock(arg3, arg4, arg5, 0, 0, 1 | 2);
storePickedBlock(arg0, (short) id, (short) meta, tile);
@@ -48,6 +48,7 @@ public final class ModItems {
public static Item gasRemover;
public static Item cleansingTalisman;
public static Item fluxDetector;
public static Item dummyEnchantbook;
public static void initItems() {
wandTinkerer = new ItemWandTinkerer(LibItemIDs.idWandTinkerer).setUnlocalizedName(LibItemNames.WAND_TINKERER);
@@ -71,6 +72,7 @@ public final class ModItems {
gasRemover = new ItemGasRemover(LibItemIDs.idGasRemover).setUnlocalizedName(LibItemNames.GAS_REMOVER);
cleansingTalisman = new ItemCleansingTalisman(LibItemIDs.idCleansingTalisman).setUnlocalizedName(LibItemNames.CLEANSING_TALISMAN);
fluxDetector = new ItemFluxDetector(LibItemIDs.idFluxDetector).setUnlocalizedName(LibItemNames.FLUX_DETECTOR);
dummyEnchantbook = new ItemDummyEnchantbook(LibItemIDs.idDummyEnchantbook).setUnlocalizedName(LibItemNames.DUMMY_ENCHANTBOOK);
nameItems();
}
@@ -97,6 +99,7 @@ public final class ModItems {
LanguageRegistry.addName(gasRemover, LibItemNames.GAS_REMOVER_D);
LanguageRegistry.addName(cleansingTalisman, LibItemNames.CLEANSING_TALISMAN_D);
LanguageRegistry.addName(fluxDetector, LibItemNames.FLUX_DETECTOR_D);
LanguageRegistry.addName(dummyEnchantbook, "DUMMY ENCHANTING BOOK");
}
public static void applyObjectTags() {
+3 -1
View File
@@ -25,6 +25,7 @@ public final class LibBlockIDs {
public static final int DEFAULT_DARK_QUARTZ_STAIRS = 2156;
public static final int DEFAULT_DARK_QUARTZ_SLAB_FULL = 2157;
public static final int DEFAULT_DARK_GAS = 2158;
public static final int DEFAULT_PHANTOM_STONE = 2159;
public static int idGlowstoneGas;
public static int idTransmutator;
@@ -35,4 +36,5 @@ public final class LibBlockIDs {
public static int idDarkQuartzSlabFull;
public static int idAnimationTablet;
public static int idDarkGas;
}
public static int idPhantomStone;
}
@@ -50,6 +50,10 @@ public final class LibBlockNames {
public static final String DARK_GAS = LibItemNames.DARK_GAS;
public static final String PHANTOM_STONE = "phantomStone";
public static final String PHANTOM_STONE_R = "PHANTOM_STONE";
public static final String PHANTOM_STONE_D = "Phantom Stone Block";
public static final String[] DARK_QUARTZ_BLOCK_NAMES = {
"Block of Smokey Quartz",
"Chiseled Smokey Quartz Block",
@@ -0,0 +1,28 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 May 2013, 11:06:36 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibEnchantmentIDs {
public static final int DEFAULT_FREEZING = 215;
public static final int DEFAULT_SOULBRINGER = 216;
public static final int DEFAULT_VAMPIRISM = 217;
public static final int DEFAULT_ASHES = 218;
public static int freezing;
public static int soulbringer;
public static int vampirism;
public static int ashes;
}
@@ -0,0 +1,36 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [25 May 2013, 11:07:24 (GMT)]
*/
package vazkii.tinkerer.lib;
public final class LibEnchantmentNames {
public static final String FREEZING = "freezing";
public static final String FREEZING_R = "ENCHANT_FREEZING";
public static final String FREEZING_D = "Freezing";
public static final String SOULBRINGER = "soulbringer";
public static final String SOULBRINGER_R = "ENCHANT_SOULBRINGER";
public static final String SOULBRINGER_D = "Soulbringer";
public static final String VAMPIRISM = "vampirism";
public static final String VAMPIRISM_R = "ENCHANT_VAMPIRISM";
public static final String VAMPIRISM_D = "Vampirism";
public static final String ASHES = "ashes";
public static final String ASHES_R = "ENCHANT_ASHES";
public static final String ASHES_D = "Ashes";
public static final String LOST_ENCHANTS_RESEARCH_NAME = "LOST_ENCHANTS";
}
@@ -23,6 +23,7 @@ public final class LibItemIDs {
public static final int DEFAULT_GAS_REMOVER = 21168;
public static final int DEFAULT_FLUX_DETECTOR = 21169;
public static final int DEFAULT_CLEANSING_TALISMAN = 21170;
public static final int DEFAULT_DUMMY_ENCHANTBOOK = 21171;
public static int idWandTinkerer;
public static int idGlowstoneGas;
@@ -45,4 +46,5 @@ public final class LibItemIDs {
public static int idGasRemover;
public static int idFluxDetector;
public static int idCleansingTalisman;
public static int idDummyEnchantbook;
}
@@ -93,4 +93,6 @@ public final class LibItemNames {
public static final String CLEANSING_TALISMAN = "cleansingTalisman";
public static final String CLEANSING_TALISMAN_R = "CLEANSING_TALISMAN";
public static final String CLEANSING_TALISMAN_D = "Talisman of Remedium";
public static final String DUMMY_ENCHANTBOOK = "dummyEnchantbook";
}
+1 -1
View File
@@ -18,7 +18,7 @@ public final class LibMisc {
public static final String MOD_ID = "ThaumicTinkerer";
public static final String MOD_NAME = "Thaumic Tinkerer";
public static final String MOD_VERSION = "1.0.3";
public static final String MOD_VERSION = "1.0.4";
public static final String DEPENDENCIES = "required-after:Thaumcraft";
+8 -1
View File
@@ -17,11 +17,18 @@ package vazkii.tinkerer.lib;
public final class LibPotions {
public static final int DEFAULT_ID_STOPWATCH = 21;
public static final int DEFAULT_ID_FROZEN = 22;
public static final int DEFAULT_ID_POSSESSED = 23;
public static int idStopwatch;
public static int idFrozen;
public static int idPossessed = 23;
public static final String NAME_STOPWATCH = "stopwatch";
public static final String NAME_FROZEN = "frozen";
public static final String NAME_POSSESSED = "possessed";
public static final String DISPLAY_NAME_STOPWATCH = "Time Twister";
public static final String DISPLAY_NAME_FROZEN = "Frozen";
public static final String DISPLAY_NAME_POSSESSED = "Possessed";
}
@@ -41,6 +41,7 @@ public final class LibResources {
public static final String MISC_AT_OVERLAY_RIGHT = BLUR + ROOT_MISC + "atRight1.png";
public static final String MISC_AT_OVERLAY_DIAL = BLUR + ROOT_TC + "misc/dial.png";
public static final String MISC_AT_OVERLAY_FACING = BLUR + ROOT_MISC + "tabletFacingInd.png";
public static final String MISC_ENTITY_POSSESSED = ROOT_MISC + "mobPossessed.png";
public static final String EMTPY_TEXTURE = "emptyTexture";
}
@@ -19,11 +19,13 @@ import vazkii.tinkerer.lib.LibPotions;
public final class ModPotions {
public static int idStopwatch;
public static Potion effectStopwatch;
public static Potion effectFrozen;
public static Potion effectPossessed;
public static void initPotions() {
effectStopwatch = new TTPotion(idStopwatch, false, 0x999900, 0, 0).setPotionName(LibPotions.DISPLAY_NAME_STOPWATCH);
effectStopwatch = new TTPotion(LibPotions.idStopwatch, false, 0x999900, 0, 0).setPotionName(LibPotions.DISPLAY_NAME_STOPWATCH);
effectFrozen = new TTPotion(LibPotions.idFrozen, false, 0x8BCFFB, 1, 0).setPotionName(LibPotions.DISPLAY_NAME_FROZEN);
effectPossessed = new TTPotion(LibPotions.idPossessed, false, 0x13001A, 2, 0).setPotionName(LibPotions.DISPLAY_NAME_POSSESSED);
}
}
@@ -14,12 +14,21 @@
*/
package vazkii.tinkerer.research;
import java.util.Arrays;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.api.crafting.ShapedArcaneCraftingRecipes;
import thaumcraft.api.research.ResearchList;
import thaumcraft.common.Config;
import thaumcraft.common.lib.ThaumcraftCraftingManager;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.lib.LibItemNames;
import vazkii.tinkerer.lib.LibMisc;
public final class ModArcaneRecipes {
@@ -41,6 +50,22 @@ public final class ModArcaneRecipes {
'G', new ItemStack(Item.ingotGold),
'F', new ItemStack(Config.itemResource, 1, 8),
'M', new ItemStack(Config.itemThaumometer));
for(int i = 0; i < 16; i++)
ThaumcraftApi.addArcaneCraftingRecipe(LibBlockNames.PHANTOM_STONE_R, 120, new ItemStack(ModBlocks.phantomStone, 4, i),
"SSS", "TBT", "SDS",
'S', new ItemStack(Block.whiteStone),
'T', new ItemStack(Config.blockInfusionWorkbench, 1, 0),
'B', new ItemStack(Config.itemResource, 1, 5),
'D', new ItemStack(Item.dyePowder, 1, i));
ResearchList.craftingRecipesForResearch.put(LibBlockNames.PHANTOM_STONE_R, Arrays.asList(new ShapedArcaneCraftingRecipes[] { ThaumcraftCraftingManager.createFakeArcaneRecipe(
LibBlockNames.PHANTOM_STONE_R, 120, new ItemStack(ModBlocks.phantomStone, 4, LibMisc.CRAFTING_META_WILDCARD),
"SSS", "TBT", "SDS",
'S', new ItemStack(Block.whiteStone),
'T', new ItemStack(Config.blockInfusionWorkbench, 1, 0),
'B', new ItemStack(Config.itemResource, 1, 5),
'D', new ItemStack(Item.dyePowder, 1, LibMisc.CRAFTING_META_WILDCARD)) }));
}
}
@@ -8,8 +8,10 @@ import thaumcraft.api.ObjectTags;
import thaumcraft.api.ThaumcraftApi;
import thaumcraft.common.Config;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.enchantment.ModEnchantments;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.lib.LibEnchantmentNames;
import vazkii.tinkerer.lib.LibItemNames;
import vazkii.tinkerer.lib.LibMisc;
@@ -159,5 +161,41 @@ public final class ModInfusionRecipes {
'S', new ItemStack(ModItems.darkQuartz),
'T', new ItemStack(Config.itemResource, 1, 7),
'W', new ItemStack(Item.enderPearl));
tags = new ObjectTags().add(EnumTag.MAGIC, 12).add(EnumTag.KNOWLEDGE, 32).add(EnumTag.COLD, 40);
ItemStack stack = new ItemStack(ModItems.dummyEnchantbook, 1, 0);
stack.addEnchantment(ModEnchantments.freezing, 1);
ThaumcraftApi.addInfusionCraftingRecipe(LibEnchantmentNames.LOST_ENCHANTS_RESEARCH_NAME, LibEnchantmentNames.FREEZING_R, 200, tags, stack,
"INI", "IBI", "III",
'I', new ItemStack(Block.blockSnow),
'N', new ItemStack(Config.itemResearchNotes),
'B', new ItemStack(Item.book));
tags = new ObjectTags().add(EnumTag.MAGIC, 12).add(EnumTag.KNOWLEDGE, 32).add(EnumTag.INSECT, 40);
stack = new ItemStack(ModItems.dummyEnchantbook, 1, 1);
stack.addEnchantment(ModEnchantments.vampirism, 1);
ThaumcraftApi.addInfusionCraftingRecipe(LibEnchantmentNames.LOST_ENCHANTS_RESEARCH_NAME, LibEnchantmentNames.VAMPIRISM_R, 200, tags, stack,
"INI", "IBI", "III",
'I', new ItemStack(Item.rottenFlesh),
'N', new ItemStack(Config.itemResearchNotes),
'B', new ItemStack(Item.book));
tags = new ObjectTags().add(EnumTag.MAGIC, 12).add(EnumTag.KNOWLEDGE, 32).add(EnumTag.SPIRIT, 40);
stack = new ItemStack(ModItems.dummyEnchantbook, 1, 2);
stack.addEnchantment(ModEnchantments.soulbringer, 1);
ThaumcraftApi.addInfusionCraftingRecipe(LibEnchantmentNames.LOST_ENCHANTS_RESEARCH_NAME, LibEnchantmentNames.SOULBRINGER_R, 200, tags, stack,
"INI", "IBI", "III",
'I', new ItemStack(Block.slowSand),
'N', new ItemStack(Config.itemResearchNotes),
'B', new ItemStack(Item.book));
tags = new ObjectTags().add(EnumTag.MAGIC, 12).add(EnumTag.KNOWLEDGE, 32).add(EnumTag.FIRE, 40);
stack = new ItemStack(ModItems.dummyEnchantbook, 1, 3);
stack.addEnchantment(ModEnchantments.ashes, 1);
ThaumcraftApi.addInfusionCraftingRecipe(LibEnchantmentNames.LOST_ENCHANTS_RESEARCH_NAME, LibEnchantmentNames.ASHES_R, 200, tags, stack,
"INI", "IBI", "III",
'I', new ItemStack(Item.blazeRod),
'N', new ItemStack(Config.itemResearchNotes),
'B', new ItemStack(Item.book));
}
}
@@ -14,6 +14,7 @@
*/
package vazkii.tinkerer.research;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import thaumcraft.api.EnumTag;
import thaumcraft.api.ObjectTags;
@@ -22,6 +23,7 @@ import thaumcraft.common.Config;
import vazkii.tinkerer.block.ModBlocks;
import vazkii.tinkerer.item.ModItems;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.lib.LibEnchantmentNames;
import vazkii.tinkerer.lib.LibItemNames;
public final class ModResearchItems {
@@ -50,6 +52,8 @@ public final class ModResearchItems {
public static ResearchItem gasRemover;
public static ResearchItem cleansingTalisman;
public static ResearchItem fluxDetector;
public static ResearchItem lostEnchants;
public static ResearchItem phantomBlocks;
public static void registerModResearchItems() {
ObjectTags tags = new ObjectTags().add(EnumTag.MAGIC, 16).add(EnumTag.VOID, 8);
@@ -115,14 +119,19 @@ public final class ModResearchItems {
tags = new ObjectTags().add(EnumTag.DARK, 4).add(EnumTag.WIND, 5).add(EnumTag.POWER, 4);
darkGas = new ResearchItem(LibItemNames.DARK_GAS_R, tags, 5, -1, ModItems.darkGas).setParents(Config.researchAlumentum).setParentsHidden(glowstoneGas).registerResearchItem();
tags = new ObjectTags();
gasRemover = new ResearchItem(LibItemNames.GAS_REMOVER_R, tags, 5, -2, ModItems.gasRemover).setParents(darkGas).setHidden().setStub().registerResearchItem();
darkGas.setSiblings(gasRemover);
tags = new ObjectTags().add(EnumTag.LIGHT, 1).add(EnumTag.DARK, 1).add(EnumTag.WIND, 1);
gasRemover = new ResearchItem(LibItemNames.GAS_REMOVER_R, tags, 5, -2, ModItems.gasRemover).setParents(darkGas).registerResearchItem();
tags = new ObjectTags().add(EnumTag.HEAL, 10).add(EnumTag.TOOL, 16).add(EnumTag.MAGIC, 8).add(EnumTag.WATER, 4).add(EnumTag.KNOWLEDGE, 16);
cleansingTalisman = new ResearchItem(LibItemNames.CLEANSING_TALISMAN_R, tags, 1, 18, ModItems.cleansingTalisman).setParents(Config.researchUTFT).setHidden().registerResearchItem();
tags = new ObjectTags().add(EnumTag.VISION, 16).add(EnumTag.MAGIC, 12).add(EnumTag.FLUX, 10);
fluxDetector = new ResearchItem(LibItemNames.FLUX_DETECTOR_R, tags, -3, 19, ModItems.fluxDetector).setParents(Config.researchBasicFlux).setParentsHidden(Config.researchGoggles).registerResearchItem();
tags = new ObjectTags().add(EnumTag.MAGIC, 12).add(EnumTag.KNOWLEDGE, 24).add(EnumTag.COLD, 12).add(EnumTag.SPIRIT, 12).add(EnumTag.FIRE, 12).add(EnumTag.INSECT, 12).add(EnumTag.ELDRITCH, 16).add(EnumTag.POWER, 12).add(EnumTag.WEAPON, 14).add(EnumTag.TOOL, 14);
lostEnchants = new ResearchItem(LibEnchantmentNames.LOST_ENCHANTS_RESEARCH_NAME, tags, 8, 26, Item.enchantedBook).setParentsHidden(Config.researchTTOE).setHidden().setLost().setSpecial().registerResearchItem();
tags = new ObjectTags().add(EnumTag.SPIRIT, 16).add(EnumTag.CRYSTAL, 12).add(EnumTag.TRAP, 6).add(EnumTag.ROCK, 12).add(EnumTag.ELDRITCH, 4);
phantomBlocks = new ResearchItem(LibBlockNames.PHANTOM_STONE_R, tags, 2, 13, new ItemStack(ModBlocks.phantomStone, 1, 15)).setHidden().setParents(Config.researchArcaneDoor).registerResearchItem();
}
}
@@ -7,6 +7,8 @@ import net.minecraftforge.common.Configuration;
import net.minecraftforge.common.Property;
import vazkii.tinkerer.lib.LibBlockIDs;
import vazkii.tinkerer.lib.LibBlockNames;
import vazkii.tinkerer.lib.LibEnchantmentIDs;
import vazkii.tinkerer.lib.LibEnchantmentNames;
import vazkii.tinkerer.lib.LibItemIDs;
import vazkii.tinkerer.lib.LibItemNames;
import vazkii.tinkerer.lib.LibPotions;
@@ -16,6 +18,7 @@ public final class ConfigurationHandler {
private static Configuration config;
private static final String CATEGORY_POTIONS = "potions";
private static final String CATEGORY_ENCHANTMENTS = "enchantments";
private static final String CATEGORY_BALANCE = "balance";
private static ConfigCategory categoryPotions;
@@ -25,11 +28,13 @@ public final class ConfigurationHandler {
private static String NODE_TRANSMUTATOR_ESSENTIA_MULTI = "transmutator.aspectMultiplier";
private static String NODE_TRANSMUTATOR_MAX_VALUE = "transmutator.maxValue";
private static String NODE_TRANSMUTATOR_ENABLE = "transmutator.enable";
private static String NODE_WAND_DISLOCATION_TILES = "wandDislocation.pickupTiles";
public static int transmutatorVisMultiplier = 2;
public static int transmutatorEssentiaMultiplier = 4;
public static int transmutatorMaxValue = 75;
public static boolean enableTransmutator = true;
public static boolean wandDislocationTiles = true;
public static void loadConfig(File configFile) {
config = new Configuration(configFile);
@@ -60,6 +65,7 @@ public final class ConfigurationHandler {
LibItemIDs.idGasRemover = loadItem(LibItemNames.GAS_REMOVER, LibItemIDs.DEFAULT_GAS_REMOVER);
LibItemIDs.idFluxDetector = loadItem(LibItemNames.FLUX_DETECTOR, LibItemIDs.DEFAULT_FLUX_DETECTOR);
LibItemIDs.idCleansingTalisman = loadItem(LibItemNames.CLEANSING_TALISMAN, LibItemIDs.DEFAULT_CLEANSING_TALISMAN);
LibItemIDs.idDummyEnchantbook = loadItem(LibItemNames.DUMMY_ENCHANTBOOK, LibItemIDs.DEFAULT_DUMMY_ENCHANTBOOK);
LibBlockIDs.idGlowstoneGas = loadBlock(LibBlockNames.GLOWSTONE_GAS, LibBlockIDs.DEFAULT_GLOWSTONE_GAS);
LibBlockIDs.idTransmutator = loadBlock(LibBlockNames.TRANSMUTATOR, LibBlockIDs.DEFAULT_TRANSMUTATOR);
@@ -70,13 +76,22 @@ public final class ConfigurationHandler {
LibBlockIDs.idDarkQuartzSlabFull = loadBlock(LibBlockNames.DARK_QUARTZ_SLAB_FULL, LibBlockIDs.DEFAULT_DARK_QUARTZ_SLAB_FULL);
LibBlockIDs.idAnimationTablet = loadBlock(LibBlockNames.ANIMATION_TABLET, LibBlockIDs.DEFAULT_ANIMATION_TABLET);
LibBlockIDs.idDarkGas = loadBlock(LibBlockNames.DARK_GAS, LibBlockIDs.DEFAULT_DARK_GAS);
LibBlockIDs.idPhantomStone = loadBlock(LibBlockNames.PHANTOM_STONE, LibBlockIDs.DEFAULT_PHANTOM_STONE);
LibPotions.idStopwatch = loadPotion(LibPotions.NAME_STOPWATCH, LibPotions.DEFAULT_ID_STOPWATCH);
LibPotions.idFrozen = loadPotion(LibPotions.NAME_FROZEN, LibPotions.DEFAULT_ID_FROZEN);
LibPotions.idPossessed = loadPotion(LibPotions.NAME_POSSESSED, LibPotions.DEFAULT_ID_POSSESSED);
LibEnchantmentIDs.freezing = loadEnchantment(LibEnchantmentNames.FREEZING, LibEnchantmentIDs.DEFAULT_FREEZING);
LibEnchantmentIDs.soulbringer = loadEnchantment(LibEnchantmentNames.SOULBRINGER, LibEnchantmentIDs.DEFAULT_SOULBRINGER);
LibEnchantmentIDs.vampirism = loadEnchantment(LibEnchantmentNames.VAMPIRISM, LibEnchantmentIDs.DEFAULT_VAMPIRISM);
LibEnchantmentIDs.ashes = loadEnchantment(LibEnchantmentNames.ASHES, LibEnchantmentIDs.DEFAULT_ASHES);
transmutatorVisMultiplier = loadBalanceInt(NODE_TRANSMUTATOR_VIS_MULTI, transmutatorVisMultiplier, "The multiplier of the vis cost for an item on the transmutator. X times the total amount of aspect value.");
transmutatorEssentiaMultiplier = loadBalanceInt(NODE_TRANSMUTATOR_ESSENTIA_MULTI, transmutatorEssentiaMultiplier, "The multiplier of the aspect cost for an item on the transmutator, X times the amount of the original value.");
transmutatorMaxValue = loadBalanceInt(NODE_TRANSMUTATOR_MAX_VALUE, transmutatorMaxValue, "The maximum cost of an item that can be put in a transmutator. Cost refers to the total amount of aspect value.");
enableTransmutator = loadBalanceBool(NODE_TRANSMUTATOR_ENABLE, enableTransmutator, "Set to false to completely disable the transmutator.");
wandDislocationTiles = loadBalanceBool(NODE_WAND_DISLOCATION_TILES, wandDislocationTiles, "Set to false to prevent the wand of dislocation from picking up tile entities (chests, furnaces, etc.)");
config.save();
}
@@ -93,6 +108,10 @@ public final class ConfigurationHandler {
return config.get(CATEGORY_POTIONS, label, deafultID).getInt(deafultID);
}
private static int loadEnchantment(String label, int deafultID) {
return config.get(CATEGORY_ENCHANTMENTS, label, deafultID).getInt(deafultID);
}
private static boolean loadBalanceBool(String label, boolean defaultValue, String comment) {
Property prop = config.get(CATEGORY_BALANCE, label, defaultValue);
prop.comment = comment;
@@ -0,0 +1,50 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the ThaumicTinkerer Mod.
*
* ThaumicTinkerer is Open Source and distributed under a
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
*
* ThaumicTinkerer is a Derivative Work on Thaumcraft 3.
* Thaumcraft 3 © Azanor 2012
* (http://www.minecraftforum.net/topic/1585216-)
*
* File Created @ [27 May 2013, 21:02:51 (GMT)]
*/
package vazkii.tinkerer.util.handler;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentData;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import vazkii.tinkerer.enchantment.ModEnchantments;
import vazkii.tinkerer.item.ModItems;
import cpw.mods.fml.common.ICraftingHandler;
public class EnchantedBookCraftingHandler implements ICraftingHandler {
private static Enchantment[] enchantsInBooks;
public EnchantedBookCraftingHandler() {
enchantsInBooks = new Enchantment[] {
ModEnchantments.freezing,
ModEnchantments.vampirism,
ModEnchantments.soulbringer,
ModEnchantments.ashes
};
}
@Override
public void onCrafting(EntityPlayer player, ItemStack item, IInventory craftMatrix) {
if(item.itemID == ModItems.dummyEnchantbook.itemID) {
Item.enchantedBook.func_92115_a(item, new EnchantmentData(enchantsInBooks[item.getItemDamage()], 1));
item.itemID = Item.enchantedBook.itemID;
}
}
@Override
public void onSmelting(EntityPlayer player, ItemStack item) { }
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

+35 -1
View File
@@ -250,7 +250,7 @@ This phial contains a concentrated extract of Gaseous Tenebrae, that can be rele
<project id = "GAS_REMOVER" version = "1">
<name>Fume Dissipator</name>
<popupText>[TT] Clearing the Ambient</popupText>
<longText></longText>
<longText>After knowing Gaseous glowstone and Tenebrae, you are thinking it might be possible to get rid of them in an easy manner. Researching the components of the two gases would be the logical next step, you think.</longText>
<page type = "text">After knowing both the Gaseous Glowstone and Tenebrae, you are thinking it's becoming a hassle to get rid of it. With this item, by shift-right clicking on it, all the nearby gas will get dissipated.</page>
<page type = "arcanecrafting">GAS_REMOVER</page>
</project>
@@ -276,4 +276,38 @@ To enable or disable this ability, one would shift-right click on it. As expecte
This new detector, the Fluxometer can measure the flux in the nearest relevant node. Whilst looking at the Fluxometer with Goggles of Revealing, the holder can see what flux is in the air. The flux displays as icons, the opacity of each icon indicates how much of that aspect is in the aura. If you look close, you can see maxed out aspects as a bit unstable.</page>
<page type = "arcanecrafting">FLUX_DETECTOR</page>
</project>
<!-- ======================================== Lost Enchantments /-->
<project id = "LOST_ENCHANTS" version = "1">
<name>Lost Enchantments</name>
<popupText>[TT] A new level of magic</popupText>
<longText>The pieces of knowledge you have been connecting speak of extremely powerful enchantments on the various schools of magic. You don't know what might come out of this, but you are sure that you would need to study various different items.</longText>
<page type = "text">Extensive research of lost knowledge revealed a set of four very powerful enchantments.
These enchantments can not be enchanted trough the regular means of using an enchanting table, rather, they would need to be created by the usage of an infusion altar. Furthermore, only one of these enchantments can be applied to a specific item at any given time.</page>
<page type = "text">Freezing: Any entity hit with this sword will recieve a freezing effect, imparing their movement. Being set on fire will negate this.
Soulbringer: When a sword imbuded with this hits an undead, there's a chance for that undead to get possessed and succumb to your side.
Vampirism: Upon hitting an entity, a quarter of the damage dealt will be absorbed by the attacker.
Ashes: The only of the four enchantments that isn't only for weapons. Any item that has this enchantment, upon being broken, it'll be revived back to life, at the cost of this enchantment and two random others.</page>
<page type = "infusioncrafting">ENCHANT_FREEZING</page>
<page type = "infusioncrafting">ENCHANT_SOULBRINGER</page>
<page type = "infusioncrafting">ENCHANT_VAMPIRISM</page>
<page type = "infusioncrafting">ENCHANT_ASHES</page>
</project>
<!-- ======================================== Phantom Stone Blocks /-->
<project id = "PHANTOM_STONE" version = "1">
<name>Phantom Stone Blocks</name>
<popupText>[TT] Is it real?</popupText>
<longText>You are not quite sure what you are doing, you think you might have found something, that's about it...</longText>
<page type = "text">You don't know how you managed to do it, but you have found a way of creating blocks that exist in non-euclidean space.
These blocks are based on the design you had put together for Warded Stone Blocks, they can only be broken by the player who placed them, using a wand.
However, there's a particularity to these. They have no physical boundaries for the player who placed them, allowing them to walk trough these blocks as if they didn't exist. For everything else, they act as normal blocks.</page>
<page type = "arcanecrafting">PHANTOM_STONE</page>
</project>
</research>