1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Thu Feb 05 20:10:25 EST 2015 -->
<title>net.minecraftforge.event.entity (Forge API)</title>
<meta name="date" content="2015-02-05">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="net.minecraftforge.event.entity (Forge API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../net/minecraftforge/event/brewing/package-summary.html">Prev Package</a></li>
<li><a href="../../../../net/minecraftforge/event/entity/item/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?net/minecraftforge/event/entity/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h1 title="Package" class="title">Package net.minecraftforge.event.entity</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="../../../../net/minecraftforge/event/entity/EntityEvent.html" title="class in net.minecraftforge.event.entity">EntityEvent</a></td>
<td class="colLast">
<div class="block">EntityEvent is fired when an event involving any Entity occurs.<br>
If a method utilizes this <a href="../../../../cpw/mods/fml/common/eventhandler/Event.html" title="class in cpw.mods.fml.common.eventhandler"><code>Event</code></a> as its parameter, the method will
receive every child event of this class.<br>
<br>
<a href="../../../../net/minecraftforge/event/entity/EntityEvent.html#entity"><code>EntityEvent.entity</code></a> contains the entity that caused this event to occur.<br>
<br>
All children of this event are fired on the <code>MinecraftForge#EVENT_BUS</code>.<br></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../net/minecraftforge/event/entity/EntityEvent.CanUpdate.html" title="class in net.minecraftforge.event.entity">EntityEvent.CanUpdate</a></td>
<td class="colLast">
<div class="block">CanUpdate is fired when an Entity is being created.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../net/minecraftforge/event/entity/EntityEvent.EnteringChunk.html" title="class in net.minecraftforge.event.entity">EntityEvent.EnteringChunk</a></td>
<td class="colLast">
<div class="block">EnteringChunk is fired when an Entity enters a chunk.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../net/minecraftforge/event/entity/EntityEvent.EntityConstructing.html" title="class in net.minecraftforge.event.entity">EntityEvent.EntityConstructing</a></td>
<td class="colLast">
<div class="block">EntityConstructing is fired when an Entity is being created.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../net/minecraftforge/event/entity/EntityJoinWorldEvent.html" title="class in net.minecraftforge.event.entity">EntityJoinWorldEvent</a></td>
<td class="colLast">
<div class="block">EntityJoinWorldEvent is fired when an Entity joins the world.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="../../../../net/minecraftforge/event/entity/EntityStruckByLightningEvent.html" title="class in net.minecraftforge.event.entity">EntityStruckByLightningEvent</a></td>
<td class="colLast">
<div class="block">EntityStruckByLightningEvent is fired when an Entity is about to be struck by lightening.<br>
This event is fired whenever an EntityLightningBolt is updated to strike an Entity in
EntityLightningBolt#onUpdate() via <code>ForgeEventFactory#onEntityStruckByLightning(Entity, EntityLightningBolt)</code>.<br>
<br>
<a href="../../../../net/minecraftforge/event/entity/EntityStruckByLightningEvent.html#lightning"><code>EntityStruckByLightningEvent.lightning</code></a> contains the instance of EntityLightningBolt attempting to strike an entity.<br>
<br>
This event is <a href="../../../../cpw/mods/fml/common/eventhandler/Cancelable.html" title="annotation in cpw.mods.fml.common.eventhandler"><code>Cancelable</code></a>.<br>
If this event is canceled, the Entity is not struck by the lightening.<br>
<br>
This event does not have a result.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="../../../../net/minecraftforge/event/entity/PlaySoundAtEntityEvent.html" title="class in net.minecraftforge.event.entity">PlaySoundAtEntityEvent</a></td>
<td class="colLast">
<div class="block">PlaySoundAtEntityEvent is fired a sound is to be played at an Entity<br>
This event is fired whenever a sound is set to be played at an Entity such as in
EntityPlayerSP#playSound(String, float, float), World#playSoundAtEntity(Entity, String, float, float),
and World#playerSoundToNearExcept(EntityPlayer, String, float, float).<br>
<br>
<a href="../../../../net/minecraftforge/event/entity/PlaySoundAtEntityEvent.html#name"><code>PlaySoundAtEntityEvent.name</code></a> contains the name of the sound to be played at the Entity.<br>
<a href="../../../../net/minecraftforge/event/entity/PlaySoundAtEntityEvent.html#volume"><code>PlaySoundAtEntityEvent.volume</code></a> contains the volume at which the sound is to be played.<br>
<a href="../../../../net/minecraftforge/event/entity/PlaySoundAtEntityEvent.html#pitch"><code>PlaySoundAtEntityEvent.pitch</code></a> contains the pitch at which the sound is to be played.<br>
Changing the <a href="../../../../net/minecraftforge/event/entity/PlaySoundAtEntityEvent.html#name"><code>PlaySoundAtEntityEvent.name</code></a> field will cause the sound of this name to be played instead of the originally intended sound.<br>
<br>
This event is <a href="../../../../cpw/mods/fml/common/eventhandler/Cancelable.html" title="annotation in cpw.mods.fml.common.eventhandler"><code>Cancelable</code></a>.<br>
If this event is canceled, the sound is not played.<br>
<br>
This event does not have a result.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li class="navBarCell1Rev">Package</li>
<li>Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../net/minecraftforge/event/brewing/package-summary.html">Prev Package</a></li>
<li><a href="../../../../net/minecraftforge/event/entity/item/package-summary.html">Next Package</a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?net/minecraftforge/event/entity/package-summary.html" target="_top">Frames</a></li>
<li><a href="package-summary.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
|