This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function addedCommentToCard(notification) | |
| { | |
| var notif = new Notification(notification); | |
| var members = notif.mentionedMembers(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Absorb] | |
| fAbsorbBoltGrowWidth=0.0000 | |
| fAbsorbBoltSmallWidth=7.0000 | |
| fAbsorbBoltsRadius=5.0000 | |
| fAbsorbCoreColorB=1.0000 | |
| fAbsorbCoreColorG=1.0000 | |
| fAbsorbCoreColorR=1.0000 | |
| fAbsorbGlowColorB=1.0000 | |
| fAbsorbGlowColorG=0.6000 | |
| fAbsorbGlowColorR=0.0000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @SideOnly(Side.CLIENT) | |
| @Override | |
| public void addInformation(ItemStack stack, EntityPlayer player, java.util.List<String> info, boolean par4) | |
| { | |
| info.add(com.mojang.realmsclient.gui.ChatFormatting.RED + "This item " + | |
| com.mojang.realmsclient.gui.ChatFormatting.GREEN + "has a " + | |
| com.mojang.realmsclient.gui.ChatFormatting.BLUE + "colourful " + | |
| com.mojang.realmsclient.gui.ChatFormatting.GOLD + "description."); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "parent": "item/generated", | |
| "textures": { | |
| "layer0": "betterarchery:items/item_simple_bow_body", | |
| "layer1": "betterarchery:items/layer_bow_string_standby" | |
| }, | |
| "display": { | |
| "thirdperson_righthand": { | |
| "rotation": [ -80, 260, -40 ], | |
| "translation": [ -1, -2, 2.5 ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @SubscribeEvent | |
| public static void onBlockLeftClicked(PlayerInteractEvent.LeftClickBlock event) | |
| { | |
| /* | |
| * Tips: Don't worry about World#getBlockState returning null, | |
| * if it does not find anything valid it will just return the default state of AIR. | |
| */ | |
| Random rand = new Random(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.yooksi.fierysouls.block; | |
| import javax.annotation.Nullable; | |
| import com.yooksi.fierysouls.entity.item.EntityItemTorch; | |
| import com.yooksi.fierysouls.item.ItemTorch; | |
| import com.yooksi.fierysouls.tileentity.TileEntityTorch; | |
| import net.minecraft.block.Block; | |
| import net.minecraft.block.state.IBlockState; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.padwolf.minecraft.t1d.packets; | |
| import com.padwolf.minecraft.t1d.refs.Functions; | |
| import cpw.mods.fml.common.network.simpleimpl.IMessage; | |
| import cpw.mods.fml.common.network.simpleimpl.IMessageHandler; | |
| import cpw.mods.fml.common.network.simpleimpl.MessageContext; | |
| public class MessagePacketHandler implements IMessageHandler<MessagePacket, IMessage> | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static boolean extinguishItemTorch(ItemStack stack, Entity owner, int itemSlot, boolean extinguishByWater) | |
| { | |
| if (extinguishByWater == true) | |
| setItemHumidity(stack.getTagCompound(), SharedDefines.TORCH_HUMIDITY_THRESHOLD); | |
| if (ItemTorch.isItemTorch(stack.getItem(), false)) | |
| { | |
| ItemStack unlitTorch = new ItemStack(ResourceLibrary.TORCH_UNLIT, 1); | |
| ItemTorch.createCustomItemNBTFromExisting(unlitTorch, owner.worldObj, stack.getTagCompound()); | |