Remove some hardcodet models

This commit is contained in:
Ste3et_C0st 2017-01-08 23:21:15 +01:00
parent 85574268f6
commit 49c446d40f
68 changed files with 637 additions and 1586 deletions

View File

@ -1,12 +0,0 @@
CactusPlant:
system-ID: 'CactusPlant'
name: '&cCactusPlant'
material: 383
glow: true
lore: ''
crafting:
disable: true
recipe: X0X,X0X,XXX
index:
'0': 0
X: 280

View File

@ -1,11 +0,0 @@
CandyCane:
system-ID: 'CandyCane'
name: '&cCandyCane'
material: 383
glow: false
lore: ''
crafting:
disable: true
recipe: XXX,XXX,XXX
index:
X: 0

View File

@ -1,13 +0,0 @@
Catapult:
system-ID: 'Catapult'
name: '&cCatapult'
material: 383
glow: false
lore: ''
crafting:
disable: false
recipe: AXA,ABA,AAA
index:
X: 0
A: 17
B: 261

View File

@ -1,13 +0,0 @@
Chair:
system-ID: 'Chair'
name: '&cChair'
material: 383
glow: false
lore: ''
crafting:
disable: false
recipe: 0+0,0+0,E0E
index:
'0': 0
+: 96
E: 280

View File

@ -1,13 +0,0 @@
HumanSkeleton:
system-ID: 'HumanSkeleton'
name: '&cHumanSkeleton'
material: 383
glow: false
lore: ''
crafting:
disable: false
recipe: XAX,XOX,XOX
index:
X: 0
A: 397
O: 352

View File

@ -1,13 +0,0 @@
SleepingBag:
system-ID: 'SleepingBag'
name: '&cSleepingBag'
material: 383
glow: false
lore: ''
crafting:
disable: true
recipe: XXX,AOA,AAA
index:
X: 0
A: 35
O: 355

View File

@ -1,13 +0,0 @@
SnowGolem:
system-ID: 'SnowGolem'
name: '&cSnowGolem'
material: 383
glow: false
lore: ''
crafting:
disable: true
recipe: XTX,ATA,TAT
index:
T: 0
X: 280
A: 336

View File

@ -1,14 +0,0 @@
TV:
system-ID: 'TV'
name: '&cTV'
material: 383
glow: false
lore: ''
crafting:
disable: false
recipe: XXX,XEX,0A0
index:
X: 171
E: 69
A: 148
0: 0

View File

@ -0,0 +1,24 @@
CactusPlant:
system-ID: CactusPlant
name: '&cCactusPlant'
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
material: 383
glow: false
lore: ''
PlaceAbleSide: TOP
crafting:
disable: true
recipe: X0X,X0X,XXX
index:
'0': 0
X: 280
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAI2Sv0/CQBTHX6GUoy6Ozu5uTi5Y6LUlgZYAUcpCznolF/sjaQvEjdXRyT+HuBhHB3f/AHdne/QKKDHxpve+976fd/fuVIAqHNkkpFcsZTcBBeBKo0VS2g9IJvLaMCRBUMSywRIhy1oSpsLRiRZbglQFpUeSO5oUSd0M4iWLZrxUBRXPA5po0SygKqAuNkbTLjYVkMbrxw/z9P1ymscuiJXHk1LPzbKFNZ3X7u3/qC1jKNnaoLdhv1yffD70FwdsoXN2y9Hdf7Ibg45p7eBvz/2nV9T6bWju4MIgbtr846alvmmRj5RGWZzcI6i1LTwcgWw7NhZDQFBht3Acsoh6CfGzC4942TyV8tp4HmVSBRSdhGTGHwRB3TEMS7P1AoEA9bSOvS/I+cmG28TAWHTLvTL/H8VAY49kLI4UQOMzx/dTmu1OjyaHkiuk9ZfP16oGVZcs2+d8+xsCNcsXfAIAAA==
'1': H4sIAAAAAAAAAI2Sv0/CQBTHX6GUoy6Ozu5uTiYGC722JNASIEpZyFkPcrE/4rVA/BMcnfwD/EOIi3F0MHF0NfGfsKVXQImJN733vff9vLt3pwKUYc8mAT1nMbv0KUCm1Bokpl2fJCKv9APi+3ksG4wLWdZ4EAtHK5yvCVIZlA7h15TnSdX0owULp1mpCiqe+ZRr4dSnKqA2NgbjNjYVkIbL+w/z8O1snMYuiJXGo0JPzbKFNT2r3dr/UVvEULC1XmfFfr44+LrrznfYQs/YDUd3/8mu9VqmtYG/PnUfXlDjt6G+gQuDuGn9j5sW+qpFOlIaJhG/RVBpWrg/ANl2bCyGgKDErmA/YCH1OJkkJx7xklkspbXRLEykEig6Ccg0exAEVccwLM3WcwQC1NFa9rYgpyfrrxMDY9Et9crZ/8gHGnkkYVGoABoeOZNJTJPN6dFoV3K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5SykLMepLEvSVsgfgAHRye/hYkbG3Exjg7umjgZPoKLd3AFDNGbnud3/+d/9zx3EkAGdk3k4zM3di88DEBJvoxi3PBQwvJs20eeR0IuA7zmRgzzcuTHrKIajFcORCXUUXSFo2WS071w4gZDKpVAUkcejuRg6GEJxJqqdfo1VReA687u3vXDt9M+iW1gi8S9lJNi3lBlhWo39n9pS18H3x2lWIDUW27VF97P54X5bWO85c049S5biv2fdxoTbb5V1Y21+etT4/5FLG9dZm3OClinpT86TfniCDJSHCRhdC1CtmKo7Q7wpmWqbAgi7LiXsOe7AXYiNEhOHOQko5gj2nAUJNwOCAry0ZA+iAg5S9MM2VSWFiKIdblqbgKe3Ky9SjRVZaeRWp7+D1gMNHRQ4oaBAGK3aA0GMU5mD9Pm/GZ/SlAvRY8UND8IshkqfR7RBVnI2GhSOab9/gCX8z5XfAIAAA==
Block: ''

22
src/Models/CampChair.yml Normal file
View File

@ -0,0 +1,22 @@
CampChair:
system-ID: CampChair
name: '&cCampChair'
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
material: 383
glow: false
lore: ''
PlaceAbleSide: TOP
crafting:
disable: false
recipe: XXX,XEX,AXA
index:
E: 126
X: 0
A: 65
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAI2SMU/CQBTHX6GUUhcXE2d3NycXLHBtSaQlQJSSGHLCQRqvbdIWiJuro5uOjn4KNmcHFxeNM34I7+gd0RijN733f+/93r13ZwAUYcvFITkJ0uCcEgCuVGo4JW2KM+GXuiGmNLdVK0iErJpJmIqKZjTfEJQiaC2cXJAkd8o2jRdBNOWpBhhoRkliRlNKDNCPkdUbHiNbA6W/vHmz956Phsz2QRxmD6TOilUHmQ2e+yX+LVfaINlmp7VmP57urq7b8x9soXN2zWv4/2RXOk3b2cCrq4/Xs/udh78LxKTVXyaV+rqCrZREWZxc6lCqO6jbA9X1XKTnS5BO2bMsx3SFz6ZumU2XCzoUgjFsh0FERgmeZIcUj8ckURgsnkWZUgCtgUM85S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JSg6ZNE4Sbe/AW/be0OLAgAA
'3': H4sIAAAAAAAAAI2RMU/CUBDHj1Cg1C/gLKtNGiGCLljktSWhLQGilIW8witpLG3SFgibq6OTH4e4GEcHdz+Aqx/Alr4CSkx80/1/d/e/3D0OIAtHGp6RGzuwTYcAxKTYwAHpODikOtebYcdJYkayfYoZ0Z8FtKPlLrYOmSzkVezfET8RBdnxlrY7jUs54NDcIb7oTh3CAdtGUn/URnIeMoP144d88n41imID6IviYcqjZkZBYjOu3cv/qE1jSL3Frrrxfrk9/nzoLA68KY+9G3rT+Kd3sduSlZ3523Pn6ZVt/G6o78xpA920/semKd+MiE5K3NDzVyzkrhXU6wOj6RpikyOkoqBLkiJqW82qYkvbB0w0s7cVEkLUByIV/zycllRv7oaXY+GcVLFQ5SdWmfCVWu2MxwIxedOqjE08KV8Ik3IpPqs3xqHtuXlgB7xuWQEJdzuww0NkULT+ut+gHGQNvEzS30HCOf6CAgAA
Block: ''

26
src/Models/CandyCane.yml Normal file
View File

@ -0,0 +1,26 @@
CandyCane:
system-ID: CandyCane
name: '&cCandyCane'
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
material: 383
glow: false
lore: ''
PlaceAbleSide: TOP
crafting:
disable: true
recipe: xxx,xxx,xxx
index:
x: '7'
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAI1STW/aQBAdAiGOe+i156qHXpAwBhJ6SQy28UbYJuAARpWiDV6IYW2Qbb7yD3qqeur/6B+I2kPVYw+99wf0XKnHrhMDaaNKXWmlmTfvPXtnhgdIwxMDe6Tjhu4VJQAxcljFIWlSHCX5ftvDlN7HGdUNEjgjBV6YKJC/2Dqk0pDVcTAhwX1yUKfTpeuPYioPvDKnJJD8ESU8cA1FtS4bSj0Lqd7tu+/1599OL1lsQ3JY3N/gTJzRFEmOuQ/qf3A3MWy8pZZ+5/25++zHm+bikXeCx95VU7b/0/uwherazvzrx+b7L1z1b8HJzjwRJC89+cdLN/jdJ1hLiR9NgzUH+zV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AvlkOvm2+KbUq0tjDyLm+MujHVC7ZoyurUtNCdbaGiKTuebrWneq9LbUu51eXLlW7ZBZPdwRQVdBkJxt0kr8sq410Ieu+SYTPRns5Es9f2kC9UxxcAHOsi23fg+/Kiu7o1tKILcABZGXt4Qtgqc3BkqqomGfJDvzngdAkZj4EMG2Nnl6iKkoxmZ77ZvvkIR+7czwLXz5njcUii/ai5QQLd/9xBdgLVfvAvF+++wiGkbbw6L8blX0Tr1NKpAwAA
Block: ''

44
src/Models/Catapult.yml Normal file
View File

@ -0,0 +1,44 @@
catapultTest:
name: '&cCatapult'
system-ID: Catapult
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
material: 383
glow: false
lore: ''
PlaceAbleSide: TOP
crafting:
disable: false
recipe: AXA,ABA,AAA
index:
X: 0
A: 17
B: 261
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAHVSv0/CQBR+hQJHjTur7mxOJqYWegUSKASIUhZy4tE09odpK8Q/wdHJP8A/BF2Mg4OJJrrp7upiXLyDKxAMN733ve/73r13pwCkYcskHj1yIufEpQAcyZdIRFsuiXkupSHT8Yjrzmuy4YSCJmuhFwlFzR8vHJgi2yDhGQ3nSa7iBhPHtzlVAQVfuDTUfNulCqA6NrqDOq5kQepNrz8qu6+HAxZbIA6L+wnOxHIVazrnqj87v129WFjnJjEk3lq7MfN+OC58XbXG/7wFzr1LTd3i3JX6Ju98u1apLs2f71s3j6i0LlCX5kIgJlU3TJrgsxZspdSPg/ASQaZcxZ0uyGbTxGIJCFLOKWx7jk+HIRnF+25gS4wYXPixlIKsTjxi89dAkGsaRlUz9bkeAWpoNXMVkNm1OovEwFi0YlqZf475NoMhiZ3AzwLqFZujUURj9eVNOTi/fWdQP4E+k2mQJaDp9xM/dxlIW2RS3uPlP77HnR15AgAA
'1': H4sIAAAAAAAAAONiYGBm4PZLzE0NyyzOTMpJZWAAiXA6JRanBuQkloD4jMwMrMG5iTk5EDkWt8wiqDIWx6LcYqgOz7wyuAl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name: '&cChair'
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
material: 383
glow: false
lore: ''
PlaceAbleSide: TOP
crafting:
disable: false
recipe: 0+0,0+0,E0E
index:
'0': 0
+: 96
E: 280
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAI2SsU7CQBjHv9JSjro5Obv7Ai5Y7LUlgZYAUcpCTjjIxbZnrgXiIzg6+TjExTg6uPsALj6CLb0CSkzs9P/+9/1/d/ddDQAVjjwS0SuWsJuQAuROvUkS2g1JKutqPyJhWGjNZkLamimiRCZa8XJLUFTQO0TcUlEUNSfkKxbP81YDDLwIqTDjeUgNQG1sD8Zt7OigDNePH87p+8U40wHIL9Oj0s/CmotNK+/dW//RW2oo2Wavs2G/XJ98PnSXB2zp5+ymbwX/ZNd7Lcfdwd+eu0+vqPk70NjBZUDetPHHTUt/s0U2UhqnXNwjqF66uD8AzfM9LIeAoMKmcByxmE4EmaXnqSB3U86FknXzRZwqFdAtEpF5/iQIar5tu6ZnFRAEqGO2vH1Dy87W3xY2xnK/LKvlf0gxUj4hKeOxDmh45s9mCU1350ejQyuQ1vqrsKqgBmRV6G/Hf1C6fgIAAA==
'1': H4sIAAAAAAAAAHWSP0/CQBjG30KBo25OTpq4+wVcsNhrSwItAlHKQk44SGP/mGuBuLk4ODr5VdyIi3FwYHB3ceMTuNmjVyAYb3rf3z3Pc3dvqwDkYc8iPr10I/faowCclKskok2PxKIvtH3ieWkt6y4TWFaZHwlHLZiuE6Q8FBuE3VCWNiXDC2duMOZSBRQ88ShTg7FHFUB1rHf6dWwUQerOn76M48+zflI7IFZS9zKemGUTqxrXVn4OXy6WD0e72qyGLFttNVbZb1cHy8fm9E+24Dy7amsO127t/5ddbtUMcxO+eG0+v6PqrqGyCRcG8dLKPy/N+OqIZKQ0iEN2h6BwbuJ2B2TLtrAYAoKcO4R93w3ogJFRfBozcjsMQyYl6nASxFIOihrxyZh/EgQlW9dN1dLSEASoodasbSAnd2uvGx1jcV7ilfkfko40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LFebWGgJeMEi25aEtgSIUi5kIQtpLG3SFoiP4NGTj0O8GI8evPsAXn0AW7oFlJi4p///dubfzCwHkIUTAy/IjR3YE4cAxKTYxAHpOjikPtdfYMdJNKPYPsWM7C8C2tF2V7uETBbyOvbviJ+Ygup4a9udx6UccGjpEF925w7hgO0gZTDuIDUPmeHm8UM9e78aR9oCeiI9SnnUzGhIbsW1B/c/alMNabbc07fZL7ennw/d1VE25XF202xZ/8wu9tqqtg9/e+4+vbLN3w2NfThtoJM2/pg05dsnopUSN/T8exZy1xrqD4AxTAOxyRJSUzAVRZONnWd1uW0cAiZ6s78zCkI0ByIX/zycl3Rv6YaXE0maVaQLgRfqUpkXBaHO17BIeKEi1KplsVqekGkpXqs3xaHtuXlgh7w5mwUk3M/Ajo6RRdHmK0E5yFp4nehvGNexr4ICAAA=
Block: ''

View File

@ -0,0 +1,40 @@
ChristmasTree:
system-ID: ChristmasTree
name: '&cChristmasTree'
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
material: 383
glow: false
lore: ''
PlaceAbleSide: TOP
crafting:
disable: true
recipe: XXX,XXX,XXX
index:
X: 0
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAI2Sv07DMBDGL22aumFhZGZHQoKJpaTESSq1SdVW0HSpTHGrCCeRkrQVj8DIxONULIgRCXYGRl4Cu3H6B4SEp7uf7/vsO1sHKMOeS0J6GaTBNaMAgtQaJKUdRjKZV3ohYSyPVStIJFaNJEylohnN1w5KGbQ2SW5pkidVm8WLIJqKUh10PGM0MaIpozqgFrb6oxa2NVAGy4cP+/D9fMRjH+Ti8bDgXKw62DBF7db+Tm0RQ+FtdNsr7+erg6/7zvyXt+TCu+GZ/j+9a92m7WzMX586jy+o8VNQ35hLgey0/kenBV8dwUdKoyxO7hBULhzc64Pqei6WQ0BQCm5gPwwiOk7IJDtjlMxpqvDaeBZlSgk0k4RkKh4EQdWzLMdwzdwCAWobTXcbqPxmvXViYSxP41pV/I98oPGYZEEcaYAGR95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Offset: 0.0
Type: FLOWER_POT
Data: 0

View File

@ -0,0 +1,25 @@
HumanSkeleton:
system-ID: HumanSkeleton
name: '&cHumanSkeleton'
material: 383
glow: false
lore: ''
crafting:
disable: false
recipe: XAX,XOX,XOX
index:
X: 0
A: 397
O: 352
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
PlaceAbleSide: TOP
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAI2Sv0/CQBTHX6GUUhNnVt3ZnFyw0F8YaAkQoSzkwCtpbK9JWyBubsbRv4jN2cFdJx3cTYyLd/QK/oiJN733fe993r13pwAUYc9GIT7zE38aYACmVBoowd0Apdwv9UMUBJktGn7MZVGNw4RXtMhySxCKIHVQfIHjzCmbQbTyyZylKqDoiwDHKpkHWAG5rRuDSVs3JRBG69tH8/DhZEJtF/ih9jjXabFo6arGcr/Ev+XmNuRstdfZsO+G1deb7vIXm+uM3XA095/sSq9lWjv487B6+qJd/yyovx98DLRadVfAJ63/MWmub1rQlWKSRvGlDKWmpfcHINqOrcvZEnKn7BiGpdrcp1N31JbNBBkK/jnshz7Bsxh56fE0IligqGhBUqEAkoZCNGfvRYn0Xv0t3tB13ouF2O/I1hnNUOpHRAJ5VHM8L8Fp/Sm/uzzOpfut5HJp/eaxc1WCootWzSMW/gT/RLPVegIAAA==
'1': H4sIAAAAAAAAAI2Sv0/CQBTHX6FAqYkzq+5sTi5Y6bXFQEuACGUhB15JY38kbYG4uRlHRzf/EzYTd3c3HNxNjIt37RV/xcQ3vfe99z7v3ruTAYqwY2KfnLqxO/UIAFOqxzgmXQ8nPC71fex5mS9qbsRlUYn8mFe0guWWIBSh3MHROYmyoKJ74coN5ixVBhktPBIpwdwjMkhtpA0mbaSXQRitb570/cejCfVt4Eb9ca7TYtFAispyv5x/y819yNlKr5Oy74e1l+vu8heb64x9bKn2P9nVXks3tvDGZlg7eVavfhY03vbeB2q99lnAJ238MWmupy3oSkmQhNGFBKWmgfoDEE3LRFK2hDyoWJpmKCaP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IAAAAAAAAAHVSv0/CQBR+SIGjDq6sujPp5FILbQEDhQCRHws58SAN1zZpC8TBxM04OvmPGFd0QRcTY9wdHBzcTYyLd+X4ocY3vffd933v3ruTAaKwbmKbHFi+dUgJAEeSGeyTCsWBqGM1G1M6yyXD8gQsqZ7tC0XBGS0cIlGIl7A3IN6sSOSoO7acPqfKIOtDSjzV6VMiAyrqRr1T1HNxiDQnFy+5ree9DstbIILl7TnOxFJeV7WQ+7n5VdfSKc5VHuSnu6lyEnKvG6n9N+0M5t5qtRTyp43U+3ll9Mdb4Nw7U9ZanLty/oM7zxk3WS3k8kvzx9vK5T3K/BYoS3MhEJMq/0w6x8MWbKXECVzvGEEsm9drdZDMsqmLJSBYs45gw7Yc0vVwL9j1B0NKI4zqDp0gsgZxDdu4z98DQaJsGHnV1GYOCFBJLZirgMQuVlsUhq6LZkwr8e8B4T7dLg4s14kDaqbLvZ5PAuV1m8cOg9oCulnMg1oCmnz0eJzGINrC4+wVP/4G8uiS6HsCAAA=
Block: ''

View File

@ -0,0 +1,22 @@
SleepingBag:
system-ID: SleepingBag
name: '&cSleepingBag'
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
material: 383
glow: false
lore: ''
PlaceAbleSide: TOP
crafting:
disable: true
recipe: XXX,AOA,AAA
index:
X: 0
A: 35
O: 355
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAHVSPU8CQRCdg+NY8AdIqz2JiVY2eHBfJHBHgCjQkBX2yMX7MHsHxM7W0sqfQ2yMpYn2/gB/gdq4C3tAMEw18/a9NzuzWwTIwoGNA3Lpxd61TwA4UqjimLR8nPBaykKuE2DfX53JhkcFTVZpEAtFPZytHZhCaWJ6Q+iqyJt+NPfCCacWoahPfULVcOKTIqCGbnSHDd1UQOotHj/N44+LIcv7IILlgxRnYtnSVY1zK99Hv12tXNrlpjmk3mq7ufR+uSp9PbRm/7wFzr2rjtbn3K3zfd6Fdt20NuZvz62nV1TdFVQ25kIgJq3smTTFly3YSk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DezjCeGvgyDTsKyK7hixBQJU16vONqDwztrrxDJNWY1rFfE/4oUGIxy5AVUBdfON8Tgk0aZ71JdQ4e1WnBsO9SS0+Hi17/YuIA2pHp6XD4XiG1rfG5t8AgAA
'3': H4sIAAAAAAAAAI2RwU7CQBCGx1Cg1BfwLFebgLCFeMEi25aEFgJEKReymC1pLG3SFoiP4NGTj0O8GI8evPsAvoEnW7oFlJi4p///dubfzKwAkIFjg8zptR3YU4cCxKTQJAHtOSRkPjuYE8dJNKfYPsOc7M8D1tF2l9uEowzkdOLfUT8xedXxVrY7i0sFEPDCob7szhwqAN/BynDSwWoOjkbrxw/19P1yEmkT2In0OOVRM6dhuRXX7t3/qE01pNlyX99kv9ycfD70lgfZjMfZzW7L/Gd2od9WtV3423Pv6ZVv/m5o7MJZA5u08cekKd88Ea2UuqHn3/OQvdLwYAic0TUwnywhNfmuomiysfW8LreNfcBFbw62RsGY5UDk4p+Hs6LuLdzwolKqSOVqCYkISUisolpNnNbPLRGRSpnUpbolIVSM1+rdktD23BzwI7FrWQENdzPw40NkMrT+SlAWMiZZJfobjtWVooICAAA=
Block: ''

31
src/Models/SnowGolem.yml Normal file
View File

@ -0,0 +1,31 @@
SnowGolem:
system-ID: SnowGolem
name: '&cSnowGolem'
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
material: 383
glow: false
lore: ''
PlaceAbleSide: TOP
crafting:
disable: true
recipe: xxx,xxx,xxx
index:
x: '7'
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAI2SMU/CQBTHX6GUoyZODs7ubk4uWOi1JYG2AaKUhZx4kMb2mlwLRL+Bo5Pfwq9AXIyjg4mjcfZL2NIroMTEm9773/v/3t27UwHKsGeTkJ77sX8ZUIBMqTVITN2AJCKv9EISBHksGz4XsqzxMBaOFpuvCVIZlA7h15TnSdUMooXPplmpCiqeBZRrbBpQFVAbG/1RG5sKSIPl/Yd59HY2SmMPxErjYaGnZtnCmp7Vbu3/qC1iKNhat7NiP18cft258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Hrn5ZWnFpi/7lVbkfg61agUBRMaOdMEGgACkXChFaCRGYwsDIwRyaWO28BeRcApP8+znsCAAA=
Block:
'0':
X-Offset: 0.0
Y-Offset: 0.0
Z-Offset: 0.0
Type: SNOW_BLOCK
Data: 0

27
src/Models/TV.yml Normal file
View File

@ -0,0 +1,27 @@
TV:
system-ID: TV
name: '&cTV'
creator: ff5f37d0-c1ea-4736-b6c3-ebbfdd67a810
material: 383
glow: false
lore: ''
PlaceAbleSide: TOP
crafting:
disable: false
recipe: XXX,XEX,0A0
index:
X: 171
E: 69
A: 148
'0': 0
ProjectModels:
ArmorStands:
'0': H4sIAAAAAAAAAI2SzU7CQBDHp1BgqS/g2YtefAEvWOwXCbQEiFJi0qywlMZ+kG2B8AiejCcfh+jBePTg3ZMn757d0i2gxsQ9zfx3/r/dmV0JoAh7Jg7IuRd7Vz4BSJVqHcek7eOE56VugH2fhUIRRM2jXBZlGsTc0QjnGwKrKrcwvSY0Syq6Hy280E1LJZDUmU+oHLo+kQA1Va3nNFW9DEJ/dfemH7yeOiy2gS8WD3KdmUVDlZW0dmf/W20eQ86WO601++li/+OmPf/F5nrKrluK/U92tdPQjS385aF9/4zqPw21LZwbeKe1PzrN9fURbKQkTCK6RFA6M9RuD0TTMlU+BAQFbwSHgReSIcXj5GRC8HzpLIjnThIycqaUxPGMEmeavqPAENEsTIQClBUcYDd9JwQVS9MM2VQyMgLUkhvmriCyC3c3iaaq/BLMK6bfJptzNMSJF4VlQP1jazyOSbJtCg1+SzaXVu+Pt5dHn1CCoo0X2fYX1/Pt1ZMCAAA=
'1': H4sIAAAAAAAAAI2Sv0/CQBTHX6GUow4uDs7uJiY6uUCh15YEWgJEKQs58SCN/ZFcK0T/A0cn/wv/BeJiHE10N87+D8YrvQJqTLzpve+97+fdvTsVoAhbNgnoiRd7Zz4FSJVKncS045NE5KVeQHw/i2XDY0KWNRbEwtEMZyuCVASlTdgFZVlSNv1o7oXTtFQFFV/6lGnh1KcqoBY2+qMWNhWQB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6i7LYhsw7nBj5pZsekIV9cwVZKXN+j9whiubxaq4NolA2VLwFBxLqFA8dySZvijn/WxrRHfIFpvYHrCxGIK9jBXQL7gCBR1rS8bCjLCASoJBeMTSCyP6utGk1V+W3MKwbvY7lQr419y3PjgBrpcqfTJ/7keyad915nDDVD9DK+nD8csYGQGaIpI4djiEHUxKPcaTDvH4oOjp58AgAA
Block: ''

View File

@ -81,14 +81,6 @@ public class config
return false; return false;
} }
public boolean isMaps(String folder){
if(new File(path + folder).list().length > 0){
return true;
}
return false;
}
public void deleteFolder(File folder) public void deleteFolder(File folder)
{ {

View File

@ -1,18 +1,21 @@
package de.Ste3et_C0st.Furniture.Main; package de.Ste3et_C0st.Furniture.Main;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List; import java.util.List;
import org.bukkit.Bukkit; import org.bukkit.Bukkit;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.plugin.Plugin; import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.java.JavaPlugin; import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.util.Vector;
import de.Ste3et_C0st.Furniture.Objects.RPG.Crossbow; import de.Ste3et_C0st.Furniture.Objects.RPG.Crossbow;
import de.Ste3et_C0st.Furniture.Objects.RPG.HumanSkeleton; import de.Ste3et_C0st.Furniture.Objects.RPG.Catapult;
import de.Ste3et_C0st.Furniture.Objects.RPG.catapult;
import de.Ste3et_C0st.Furniture.Objects.RPG.flag; import de.Ste3et_C0st.Furniture.Objects.RPG.flag;
import de.Ste3et_C0st.Furniture.Objects.RPG.guillotine; import de.Ste3et_C0st.Furniture.Objects.RPG.guillotine;
import de.Ste3et_C0st.Furniture.Objects.RPG.weaponStand; import de.Ste3et_C0st.Furniture.Objects.RPG.weaponStand;
@ -21,30 +24,22 @@ import de.Ste3et_C0st.Furniture.Objects.School.SchoolChair;
import de.Ste3et_C0st.Furniture.Objects.School.SchoolTable; import de.Ste3et_C0st.Furniture.Objects.School.SchoolTable;
import de.Ste3et_C0st.Furniture.Objects.School.TrashCan; import de.Ste3et_C0st.Furniture.Objects.School.TrashCan;
import de.Ste3et_C0st.Furniture.Objects.christmas.AdventCalender; import de.Ste3et_C0st.Furniture.Objects.christmas.AdventCalender;
import de.Ste3et_C0st.Furniture.Objects.christmas.CandyCane;
import de.Ste3et_C0st.Furniture.Objects.christmas.ChristmasTree;
import de.Ste3et_C0st.Furniture.Objects.christmas.FireworkLauncher; import de.Ste3et_C0st.Furniture.Objects.christmas.FireworkLauncher;
import de.Ste3et_C0st.Furniture.Objects.christmas.SnowGolem;
import de.Ste3et_C0st.Furniture.Objects.electric.billboard; import de.Ste3et_C0st.Furniture.Objects.electric.billboard;
import de.Ste3et_C0st.Furniture.Objects.electric.camera; import de.Ste3et_C0st.Furniture.Objects.electric.camera;
import de.Ste3et_C0st.Furniture.Objects.electric.streetlamp; import de.Ste3et_C0st.Furniture.Objects.electric.streetlamp;
import de.Ste3et_C0st.Furniture.Objects.electric.tv;
import de.Ste3et_C0st.Furniture.Objects.garden.SleepingBag;
import de.Ste3et_C0st.Furniture.Objects.garden.TFlowerPot; import de.Ste3et_C0st.Furniture.Objects.garden.TFlowerPot;
import de.Ste3et_C0st.Furniture.Objects.garden.Trunk; import de.Ste3et_C0st.Furniture.Objects.garden.Trunk;
import de.Ste3et_C0st.Furniture.Objects.garden.campchair;
import de.Ste3et_C0st.Furniture.Objects.garden.fance; import de.Ste3et_C0st.Furniture.Objects.garden.fance;
import de.Ste3et_C0st.Furniture.Objects.garden.graveStone; import de.Ste3et_C0st.Furniture.Objects.garden.graveStone;
import de.Ste3et_C0st.Furniture.Objects.garden.log; import de.Ste3et_C0st.Furniture.Objects.garden.log;
import de.Ste3et_C0st.Furniture.Objects.garden.mailBox; import de.Ste3et_C0st.Furniture.Objects.garden.mailBox;
import de.Ste3et_C0st.Furniture.Objects.garden.sunshade; import de.Ste3et_C0st.Furniture.Objects.garden.sunshade;
import de.Ste3et_C0st.Furniture.Objects.indoor.chair;
import de.Ste3et_C0st.Furniture.Objects.indoor.lantern; import de.Ste3et_C0st.Furniture.Objects.indoor.lantern;
import de.Ste3et_C0st.Furniture.Objects.indoor.largeTable; import de.Ste3et_C0st.Furniture.Objects.indoor.largeTable;
import de.Ste3et_C0st.Furniture.Objects.indoor.sofa; import de.Ste3et_C0st.Furniture.Objects.indoor.sofa;
import de.Ste3et_C0st.Furniture.Objects.indoor.table; import de.Ste3et_C0st.Furniture.Objects.indoor.table;
import de.Ste3et_C0st.Furniture.Objects.light.WaxCandle; import de.Ste3et_C0st.Furniture.Objects.light.WaxCandle;
import de.Ste3et_C0st.Furniture.Objects.outdoor.CactusPlant;
import de.Ste3et_C0st.Furniture.Objects.outdoor.barrels; import de.Ste3et_C0st.Furniture.Objects.outdoor.barrels;
import de.Ste3et_C0st.Furniture.Objects.outdoor.campfire_1; import de.Ste3et_C0st.Furniture.Objects.outdoor.campfire_1;
import de.Ste3et_C0st.Furniture.Objects.outdoor.campfire_2; import de.Ste3et_C0st.Furniture.Objects.outdoor.campfire_2;
@ -54,30 +49,34 @@ import de.Ste3et_C0st.Furniture.Objects.outdoor.tent_2;
import de.Ste3et_C0st.Furniture.Objects.outdoor.tent_3; import de.Ste3et_C0st.Furniture.Objects.outdoor.tent_3;
import de.Ste3et_C0st.Furniture.Objects.trap.BearTrap; import de.Ste3et_C0st.Furniture.Objects.trap.BearTrap;
import de.Ste3et_C0st.FurnitureLib.Crafting.Project; import de.Ste3et_C0st.FurnitureLib.Crafting.Project;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureLateSpawnEvent;
import de.Ste3et_C0st.FurnitureLib.ShematicLoader.ProjectLoader;
import de.Ste3et_C0st.FurnitureLib.Utilitis.LocationUtil; import de.Ste3et_C0st.FurnitureLib.Utilitis.LocationUtil;
import de.Ste3et_C0st.FurnitureLib.main.FurnitureLib; import de.Ste3et_C0st.FurnitureLib.main.FurnitureLib;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.CenterType; import de.Ste3et_C0st.FurnitureLib.main.Type.CenterType;
import de.Ste3et_C0st.FurnitureLib.main.Type.PlaceableSide; import de.Ste3et_C0st.FurnitureLib.main.Type.PlaceableSide;
public class main extends JavaPlugin{ public class main extends JavaPlugin implements Listener{
FurnitureLib lib; FurnitureLib lib;
config c; config c;
FileConfiguration file; FileConfiguration file;
public static double damage = 0; public static double damage = 0;
public static main instance; public static main instance;
static LocationUtil util; static LocationUtil util;
public static List<Material> materialWhiteList = new ArrayList<Material>(); public static List<Material> materialWhiteList = new ArrayList<Material>();
public static HashMap<String, Vector> catapultRange = new HashMap<String, Vector>();
public void onEnable(){ public void onEnable(){
if(!Bukkit.getPluginManager().isPluginEnabled("FurnitureLib")){Bukkit.getPluginManager().disablePlugin(this);} if(!Bukkit.getPluginManager().isPluginEnabled("FurnitureLib")){Bukkit.getPluginManager().disablePlugin(this);}
instance = this; instance = this;
lib = (FurnitureLib) Bukkit.getPluginManager().getPlugin("FurnitureLib"); lib = (FurnitureLib) Bukkit.getPluginManager().getPlugin("FurnitureLib");
util = lib.getLocationUtil(); util = lib.getLocationUtil();
if(lib.getDescription().getVersion().startsWith("1.7") || lib.getDescription().getVersion().startsWith("1.6")){ if(lib.getDescription().getVersion().startsWith("1.8")){
new Project("Camera", this,getResource("Crafting/Camera.yml"),PlaceableSide.TOP, camera.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("Camera", this,getResource("Crafting/Camera.yml"),PlaceableSide.TOP, camera.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("TV", this,getResource("Crafting/TV.yml"),PlaceableSide.TOP, tv.class).setSize(1, 2, 3, CenterType.CENTER);
new Project("GraveStone", this,getResource("Crafting/GraveStone.yml"),PlaceableSide.TOP, graveStone.class).setSize(1, 2, 3, CenterType.CENTER); new Project("GraveStone", this,getResource("Crafting/GraveStone.yml"),PlaceableSide.TOP, graveStone.class).setSize(1, 2, 3, CenterType.CENTER);
new Project("Chair", this,getResource("Crafting/Chair.yml"),PlaceableSide.TOP, chair.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("LargeTable", this,getResource("Crafting/LargeTable.yml"),PlaceableSide.TOP, largeTable.class).setSize(2, 1, 2, CenterType.RIGHT); new Project("LargeTable", this,getResource("Crafting/LargeTable.yml"),PlaceableSide.TOP, largeTable.class).setSize(2, 1, 2, CenterType.RIGHT);
new Project("Lantern", this,getResource("Crafting/Lantern.yml"),PlaceableSide.TOP, lantern.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("Lantern", this,getResource("Crafting/Lantern.yml"),PlaceableSide.TOP, lantern.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("Sofa", this,getResource("Crafting/Sofa.yml"),PlaceableSide.TOP, sofa.class).setSize(1, 1, 3, CenterType.RIGHT); new Project("Sofa", this,getResource("Crafting/Sofa.yml"),PlaceableSide.TOP, sofa.class).setSize(1, 1, 3, CenterType.RIGHT);
@ -95,35 +94,46 @@ public class main extends JavaPlugin{
new Project("Mailbox", this, getResource("Crafting/Mailbox.yml"),PlaceableSide.TOP, mailBox.class).setSize(1, 2, 1, CenterType.RIGHT); new Project("Mailbox", this, getResource("Crafting/Mailbox.yml"),PlaceableSide.TOP, mailBox.class).setSize(1, 2, 1, CenterType.RIGHT);
new Project("WeaponStand", this, getResource("Crafting/WeaponStand.yml"),PlaceableSide.TOP, weaponStand.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("WeaponStand", this, getResource("Crafting/WeaponStand.yml"),PlaceableSide.TOP, weaponStand.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("Hammock", this, getResource("Crafting/Hammock.yml"),PlaceableSide.TOP, hammock.class).setSize(1, 2, 7, CenterType.RIGHT); new Project("Hammock", this, getResource("Crafting/Hammock.yml"),PlaceableSide.TOP, hammock.class).setSize(1, 2, 7, CenterType.RIGHT);
new Project("CampChair", this, getResource("Crafting/CampChair.yml"),PlaceableSide.TOP, campchair.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("CactusPlant", this, getResource("Crafting/CactusPlant.yml"),PlaceableSide.TOP, CactusPlant.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("Guillotine", this, getResource("Crafting/guillotine.yml"),PlaceableSide.TOP, guillotine.class).setSize(1, 5, 2, CenterType.RIGHT); new Project("Guillotine", this, getResource("Crafting/guillotine.yml"),PlaceableSide.TOP, guillotine.class).setSize(1, 5, 2, CenterType.RIGHT);
new Project("Log", this, getResource("Crafting/log.yml"), PlaceableSide.TOP, log.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("Log", this, getResource("Crafting/log.yml"), PlaceableSide.TOP, log.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("FlowerPot", this, getResource("Crafting/FlowerPot.yml"),PlaceableSide.BOTTOM, TFlowerPot.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("FlowerPot", this, getResource("Crafting/FlowerPot.yml"),PlaceableSide.BOTTOM, TFlowerPot.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("SleepingBag", this, getResource("Crafting/SleepingBag.yml"), PlaceableSide.TOP, SleepingBag.class).setSize(1, 1, 2, CenterType.RIGHT);
new Project("BearTrap", this, getResource("Crafting/BearTrap.yml"), PlaceableSide.TOP, BearTrap.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("BearTrap", this, getResource("Crafting/BearTrap.yml"), PlaceableSide.TOP, BearTrap.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("Trunk", this, getResource("Crafting/Trunk.yml"), PlaceableSide.TOP, Trunk.class).setSize(1, 1, 4, CenterType.RIGHT); new Project("Trunk", this, getResource("Crafting/Trunk.yml"), PlaceableSide.TOP, Trunk.class).setSize(1, 1, 4, CenterType.RIGHT);
new Project("SchoolTable", this, getResource("Crafting/SchoolTable.yml"), PlaceableSide.TOP, SchoolTable.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("SchoolTable", this, getResource("Crafting/SchoolTable.yml"), PlaceableSide.TOP, SchoolTable.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("SchoolChair", this, getResource("Crafting/SchoolChair.yml"), PlaceableSide.TOP, SchoolChair.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("SchoolChair", this, getResource("Crafting/SchoolChair.yml"), PlaceableSide.TOP, SchoolChair.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("BlackBoard", this, getResource("Crafting/BlackBoard.yml"), PlaceableSide.SIDE, BlackBoard.class).setSize(1, 2, 3, CenterType.RIGHT); new Project("BlackBoard", this, getResource("Crafting/BlackBoard.yml"), PlaceableSide.SIDE, BlackBoard.class).setSize(1, 2, 3, CenterType.RIGHT);
new Project("TrashCan", this, getResource("Crafting/TrashCan.yml"), PlaceableSide.TOP, TrashCan.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("TrashCan", this, getResource("Crafting/TrashCan.yml"), PlaceableSide.TOP, TrashCan.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("HumanSkeleton", this, getResource("Crafting/HumanSkeleton.yml"), PlaceableSide.TOP, HumanSkeleton.class).setSize(3, 1, 2, CenterType.RIGHT);
new Project("Crossbow", this, getResource("Crafting/Crossbow.yml"), PlaceableSide.TOP, Crossbow.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("Crossbow", this, getResource("Crafting/Crossbow.yml"), PlaceableSide.TOP, Crossbow.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("Catapult", this, getResource("Crafting/Catapult.yml"), PlaceableSide.TOP, catapult.class).setSize(3, 2, 3, CenterType.RIGHT);
new Project("Flag", this, getResource("Crafting/flag.yml"), PlaceableSide.TOP, flag.class).setSize(1, 3, 1, CenterType.RIGHT); new Project("Flag", this, getResource("Crafting/flag.yml"), PlaceableSide.TOP, flag.class).setSize(1, 3, 1, CenterType.RIGHT);
new Project("SnowGolem", this, getResource("Crafting/SnowGolem.yml"), PlaceableSide.TOP, SnowGolem.class).setSize(1, 2, 1, CenterType.RIGHT);
new Project("CandyCane", this, getResource("Crafting/CandyCane.yml"), PlaceableSide.TOP, CandyCane.class).setSize(3, 4, 1, CenterType.RIGHT);
new Project("AdventCalender", this, getResource("Crafting/AdventCalender.yml"), PlaceableSide.TOP, AdventCalender.class).setSize(1, 1, 1, CenterType.RIGHT); new Project("AdventCalender", this, getResource("Crafting/AdventCalender.yml"), PlaceableSide.TOP, AdventCalender.class).setSize(1, 1, 1, CenterType.RIGHT);
new Project("ChristmasTree", this, getResource("Crafting/ChristmasTree.yml"), PlaceableSide.TOP, ChristmasTree.class).setSize(1, 1, 1, CenterType.CENTER);
new Project("FireworkLauncher", this, getResource("Crafting/FireworkLauncher.yml"), PlaceableSide.TOP, FireworkLauncher.class).setSize(1, 1, 1, CenterType.CENTER); new Project("FireworkLauncher", this, getResource("Crafting/FireworkLauncher.yml"), PlaceableSide.TOP, FireworkLauncher.class).setSize(1, 1, 1, CenterType.CENTER);
new Project("WaxCandle", this, getResource("Crafting/WaxCandle.yml"), PlaceableSide.TOP, WaxCandle.class); new Project("WaxCandle", this, getResource("Crafting/WaxCandle.yml"), PlaceableSide.TOP, WaxCandle.class);
new Project("Catapult", this, getResource("Models/Catapult.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(3, 2, 3, CenterType.RIGHT).setEditorProject(false);
new Project("HumanSkeleton", this, getResource("Models/HumanSkeleton.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(3, 1, 2, CenterType.RIGHT).setEditorProject(false);
new Project("CandyCane", this, getResource("Models/CandyCane.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(3, 4, 1, CenterType.RIGHT).setEditorProject(false);
new Project("SnowGolem", this, getResource("Models/SnowGolem.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(1, 2, 1, CenterType.RIGHT).setEditorProject(false);
new Project("TV", this, getResource("Models/TV.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(1, 2, 3, CenterType.CENTER).setEditorProject(false);
new Project("Chair", this, getResource("Models/Chair.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(1, 1, 1, CenterType.RIGHT).setEditorProject(false);
new Project("CampChair", this, getResource("Models/CampChair.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(1, 1, 1, CenterType.RIGHT).setEditorProject(false);
new Project("CactusPlant", this, getResource("Models/CactusPlant.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(1, 1, 1, CenterType.RIGHT).setEditorProject(false);
new Project("SleepingBag", this, getResource("Models/SleepingBag.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(1, 1, 2, CenterType.RIGHT).setEditorProject(false);
new Project("ChristmasTree", this, getResource("Models/ChristmasTree.yml"), PlaceableSide.TOP, ProjectLoader.class).setSize(1, 1, 2, CenterType.RIGHT).setEditorProject(false);
addDefault("fence", "whiteList", "config.yml"); addDefault("fence", "whiteList", "config.yml");
addDefault("bearTrap", "damage", "damage.yml"); addDefault("bearTrap", "damage", "damage.yml");
addDefault("catapult", "range", "range.yml");
setDefaults(); setDefaults();
setDefaults_2(); setDefaults_2();
lib.registerPluginFurnitures(this); lib.registerPluginFurnitures(this);
loadModels();
Bukkit.getPluginManager().registerEvents(this, this);
}else{ }else{
lib.send("FurnitureLib Version 1.6.x or 1.7.x not found"); lib.send("FurnitureLib Version > 1.6.x not found");
lib.send("DiceFurniture deos not load"); lib.send("DiceFurniture deos not load");
} }
} }
@ -141,6 +151,16 @@ public class main extends JavaPlugin{
c = new config(); c = new config();
this.file = c.getConfig("damage", "plugin/bearTrap/"); this.file = c.getConfig("damage", "plugin/bearTrap/");
damage = this.file.getDouble("damage"); damage = this.file.getDouble("damage");
c = new config();
this.file = c.getConfig("range", "plugin/catapult/");
for(String str : this.file.getConfigurationSection("rangeOptions").getKeys(false)){
Vector v = new Vector(
0,
this.file.getDouble("rangeOptions." + str + ".height"),
this.file.getDouble("rangeOptions." + str + ".width"));
catapultRange.put(str, v);
}
} }
private void setDefaults(){ private void setDefaults(){
@ -160,4 +180,20 @@ public class main extends JavaPlugin{
public static Plugin getInstance() { public static Plugin getInstance() {
return instance; return instance;
} }
public void loadModels(){
for(ObjectID id : FurnitureLib.getInstance().getFurnitureManager().getObjectList()){
switch (id.getProjectOBJ().getName()) {
case "Catapult":new Catapult(id);break;
default:break;
}
}
}
@EventHandler
public void onFurnitureLateSpawn(FurnitureLateSpawnEvent event){
if(event.getProject().getName().equalsIgnoreCase("Catapult")){
new Catapult(event.getID());
}
}
} }

View File

@ -0,0 +1,157 @@
package de.Ste3et_C0st.Furniture.Objects.RPG;
import java.util.HashMap;
import org.bukkit.Bukkit;
import org.bukkit.EntityEffect;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.FallingBlock;
import org.bukkit.entity.Player;
import org.bukkit.entity.TNTPrimed;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityExplodeEvent;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import org.bukkit.util.Vector;
import de.Ste3et_C0st.Furniture.Main.main;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.FurnitureHelper;
import de.Ste3et_C0st.FurnitureLib.main.FurnitureLib;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
import de.Ste3et_C0st.FurnitureLib.main.entity.fEntity;
public class Catapult extends FurnitureHelper implements Listener{
private fArmorStand stand1;
private HashMap<Entity, Player> fallingSandList = new HashMap<Entity, Player>();
public Catapult(ObjectID id) {
super(id);
Bukkit.getPluginManager().registerEvents(this, main.instance);
for(fEntity stand : id.getPacketList()){
if(stand.getCustomName().toLowerCase().startsWith("#range")){
stand1 = (fArmorStand) stand;
stand1.setNameVasibility(false);
if(stand1.getCustomName().equalsIgnoreCase("#range")){
stand1.setName("#range:1");
}
}
}
}
@EventHandler
public void onPrimedTnt(EntityExplodeEvent e){
if(e.getEntity()==null) return;
if(e.getEntity() instanceof TNTPrimed){
if(fallingSandList.containsKey(e.getEntity())){
Entity entity = e.getEntity();
Player p = fallingSandList.get(e.getEntity());
fallingSandList.remove(e.getEntity());
Block b = entity.getLocation().getBlock().getRelative(BlockFace.DOWN);
if(!FurnitureLib.getInstance().getPermManager().canBuild(p, b.getLocation())){
e.setCancelled(true);
e.blockList().clear();
e.getEntity().remove();
}
}
}
}
@EventHandler
public void FurnitureClickEvent(FurnitureClickEvent e){
if(getObjID()==null) return;
if(e.getID()==null) return;
if(!e.getID().equals(getObjID())) return;
if(e.getID().getSQLAction().equals(SQLAction.REMOVE)) return;
Location loc = getRelative(getCenter(), getBlockFace(), -.8, -1.03).add(0, -.2, 0);
loc.setYaw(getYaw());
ItemStack stack = e.getPlayer().getInventory().getItemInMainHand();
if(stack.getType().equals(Material.TNT)){
TNTPrimed tnt = (TNTPrimed) e.getID().getWorld().spawnEntity(loc, EntityType.PRIMED_TNT);
if(tnt == null) return;
Vector v= getLaunchVector(getBlockFace());
if(v == null) return;
tnt.playEffect(EntityEffect.WITCH_MAGIC);
tnt.setVelocity(v.multiply(1));
fallingSandList.put(tnt, e.getPlayer());
}else if(stack.getType().equals(Material.AIR)){
if(stand1!=null){
int x = -59;
String name = "#range:1";
switch (stand1.getName().substring(stand1.getName().length()-1, stand1.getName().length())) {
case "1":
name = "#range:2";
x -= 4;
break;
case "2":
name = "#range:3";
x -= 8;
break;
case "3":
name = "#range:4";
x -= 12;
break;
case "4":
name = "#range:5";
x -= 16;
break;
default: break;
}
stand1.setName(name);
EulerAngle angle = stand1.getLeftArmPose();
angle = getLutil().Radtodegress(angle);
angle = angle.setX(x);
stand1.setLeftArmPose(getLutil().degresstoRad(angle));
update();
}
}else{
@SuppressWarnings("deprecation")
FallingBlock block = getWorld().spawnFallingBlock(loc, stack.getType().getId(), (byte) stack.getDurability());
if(block == null) return;
Vector v= getLaunchVector(getBlockFace());
if(v == null) return;
block.playEffect(EntityEffect.WITCH_MAGIC);
block.setDropItem(false);
block.setVelocity(v.multiply(1));
fallingSandList.put(block, e.getPlayer());
}
if(e.getPlayer().getGameMode().equals(GameMode.CREATIVE) && FurnitureLib.getInstance().useGamemode()) return;
Integer i = e.getPlayer().getInventory().getHeldItemSlot();
ItemStack is = e.getPlayer().getInventory().getItemInMainHand();
is.setAmount(is.getAmount()-1);
e.getPlayer().getInventory().setItem(i, is);
e.getPlayer().updateInventory();
}
public Vector getLaunchVector(BlockFace face){
String str = "#range:1";
if(this.stand1!=null){str = stand1.getName().toLowerCase();}
str = str.replace("#range:", "");
String level = "Range" + str;
Vector v = new Vector(0, .5, 1.2);
if(main.catapultRange.containsKey(level)) v = main.catapultRange.get(level);
switch (face) {
case NORTH:v= new Vector(0, v.getY(), v.getZ());break;
case SOUTH:v= new Vector(0, v.getY(), -v.getZ());break;
case EAST: v= new Vector(-v.getZ(), v.getY(), 0);break;
case WEST: v= new Vector(v.getZ(), v.getY(), 0);break;
default:break;
}
return v;
}
}

View File

@ -105,9 +105,8 @@ public class Crossbow extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.remove(); e.remove();
@ -116,9 +115,8 @@ public class Crossbow extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBlockBreakEvent e) { public void onFurnitureBreak(FurnitureBlockBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.remove(); e.remove();
@ -127,9 +125,8 @@ public class Crossbow extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
fEntity stand = getArmorStand(); fEntity stand = getArmorStand();
@ -148,9 +145,8 @@ public class Crossbow extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureBlockClickEvent e) { public void onFurnitureClick(FurnitureBlockClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
fEntity stand = getArmorStand(); fEntity stand = getArmorStand();
@ -178,6 +174,7 @@ public class Crossbow extends Furniture implements Listener {
case WEST: v= new Vector(1.2, 0.5, 0);break; case WEST: v= new Vector(1.2, 0.5, 0);break;
default:break; default:break;
} }
if(v == null) return;
getWorld().playSound(getLocation(), Sound.ENTITY_ARROW_SHOOT, 1, 1); getWorld().playSound(getLocation(), Sound.ENTITY_ARROW_SHOOT, 1, 1);
Location start = getRelative(getCenter(), getBlockFace(), 0,0); Location start = getRelative(getCenter(), getBlockFace(), 0,0);
start.setYaw(getYaw()); start.setYaw(getYaw());

View File

@ -1,94 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.RPG;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import de.Ste3et_C0st.Furniture.Main.main;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
public class HumanSkeleton extends Furniture implements Listener {
public HumanSkeleton(ObjectID id) {
super(id);
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, main.getInstance());
return;
}
spawn(id.getStartLocation());
}
@Override
public void spawn(Location paramLocation) {
List<fArmorStand> asList = new ArrayList<fArmorStand>();
fArmorStand stand = spawnArmorStand(getRelative(getLocation().add(0, -1.4, 0), -.25, 0));
stand.setItemInMainHand(new ItemStack(Material.BONE));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(-40,0,90)));
asList.add(stand);
stand = spawnArmorStand(getRelative(getLocation().add(0, -1.4, 0), .2, 1.2));
stand.setItemInMainHand(new ItemStack(Material.BONE));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(40,0,90)));
asList.add(stand);
stand = spawnArmorStand(getRelative(getLocation().add(0, -1.4, 0), .3, .75));
stand.setItemInMainHand(new ItemStack(Material.BONE));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(0,0,90)));
asList.add(stand);
stand = spawnArmorStand(getRelative(getLocation().add(0, -1.4, 0), .9, .42));
stand.setItemInMainHand(new ItemStack(Material.BONE));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(-30,0,90)));
asList.add(stand);
stand = spawnArmorStand(getRelative(getLocation().add(0, -1.4, 0), 1.1, -.6));
stand.setItemInMainHand(new ItemStack(Material.BONE));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(-80,0,90)));
asList.add(stand);
stand = spawnArmorStand(getRelative(getLocation().add(0, -1.4, 0), 1.6, 1.3));
stand.setItemInMainHand(new ItemStack(Material.BONE));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(30,0,90)));
asList.add(stand);
Location loc = getRelative(getLocation().add(0, -1.4, 0), getBlockFace(), 2.0, -.1);
loc.setYaw(getYaw()+180);
stand = spawnArmorStand(loc);
stand.setHelmet(new ItemStack(Material.SKULL_ITEM));
stand.setHeadPose(getLutil().degresstoRad(new EulerAngle(-90,13,-5)));
asList.add(stand);
for(fArmorStand asp : asList){
asp.setInvisible(true);
asp.setBasePlate(false);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;}
delete();
e.remove();
}
@Override
public void onFurnitureClick(FurnitureClickEvent paramFurnitureClickEvent) {}
}

View File

@ -1,241 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.RPG;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.EntityEffect;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.entity.Entity;
import org.bukkit.entity.EntityType;
import org.bukkit.entity.FallingBlock;
import org.bukkit.entity.Player;
import org.bukkit.entity.TNTPrimed;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityChangeBlockEvent;
import org.bukkit.event.entity.EntityExplodeEvent;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import org.bukkit.util.Vector;
import de.Ste3et_C0st.Furniture.Main.main;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.FurnitureLib;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
public class catapult extends Furniture implements Listener {
public catapult(ObjectID id) {
super(id);
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, main.getInstance());
return;
}
spawn(id.getStartLocation());
}
HashMap<Entity, Player> fallingSandList = new HashMap<Entity, Player>();
@Override
public void spawn(Location paramLocation) {
List<fArmorStand> asList = new ArrayList<fArmorStand>();
double d = .05;
for(int i =0;i<5;i++){
Location loc = getRelative(getCenter(), -.5+i*.61, -.26-d).add(0, -1.8, 0);
fArmorStand stand = spawnArmorStand(loc);
stand.setHelmet(new ItemStack(Material.LOG));
stand.setHeadPose(getLutil().degresstoRad(new EulerAngle(90, 0, 0)));
asList.add(stand);
}
for(int i =0;i<5;i++){
Location loc = getRelative(getCenter(), -.5+i*.61, -2+.28+d).add(0, -1.8, 0);
fArmorStand stand = spawnArmorStand(loc);
stand.setHelmet(new ItemStack(Material.LOG));
stand.setHeadPose(getLutil().degresstoRad(new EulerAngle(90, 0, 0)));
asList.add(stand);
}
for(int i =0;i<4;i++){
Location loc = getRelative(getCenter(), .9 , -.26-d).add(0, -.9+i*.43, 0);
fArmorStand stand = spawnArmorStand(loc);
stand.setHelmet(new ItemStack(Material.LOG));
stand.setSmall(true);
asList.add(stand);
}
for(int i =0;i<4;i++){
Location loc = getRelative(getCenter(), .9 , -2+.28+d).add(0, -.9+i*.43, 0);
fArmorStand stand = spawnArmorStand(loc);
stand.setHelmet(new ItemStack(Material.LOG));
stand.setSmall(true);
asList.add(stand);
}
Location loc = getRelative(getCenter(), getBlockFace(), .15, -.2).add(0, -1.6, 0);
fArmorStand stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setMarker(false);
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(80,0,90)));
asList.add(stand);
loc = getRelative(getCenter(), getBlockFace(), 2.8-.12, -.2).add(0, -1.6, 0);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setMarker(false);
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(80,0,90)));
asList.add(stand);
loc = getRelative(getCenter(), getBlockFace(), 1.5-.12, -.2).add(0, -1.6, 0);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setMarker(false);
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(80,0,90)));
asList.add(stand);
loc = getRelative(getCenter(), getBlockFace(), 1.5-.12, -.2).add(0, 0, 0);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setMarker(false);
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(80,0,90)));
asList.add(stand);
loc = getRelative(getCenter(), getBlockFace(), 1.5-.3, -1.4).add(0, -1.1, 0);
loc.setYaw(getYaw()+180);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setMarker(false);
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(335,0,0)));
asList.add(stand);
loc = getRelative(getCenter(), getBlockFace(), .4, -1.4).add(0, -.9, 0);
loc.setYaw(getYaw()+180);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(335,0,0)));
stand.setMarker(false);
asList.add(stand);
loc = getRelative(getCenter(), getBlockFace(), -.8, -1.03).add(0, -1.2, 0);
loc.setYaw(getYaw());
stand = spawnArmorStand(loc);
stand.setHelmet(new ItemStack(Material.STEP));
stand.setHeadPose(getLutil().degresstoRad(new EulerAngle(15,0,0)));
asList.add(stand);
for(fArmorStand asp : asList){
asp.setInvisible(true);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;}
e.remove();
delete();
}
@EventHandler
public void onFallingSand(EntityChangeBlockEvent e){
if(e.getEntity()==null) return;
if(e.getEntity() instanceof FallingBlock){
if(fallingSandList.containsKey(e.getEntity())){
Entity entity = e.getEntity();
Player p = fallingSandList.get(e.getEntity());
fallingSandList.remove(e.getEntity());
Block b = entity.getLocation().getBlock().getRelative(BlockFace.DOWN);
if(!FurnitureLib.getInstance().getPermManager().canBuild(p, b.getLocation())){
e.setCancelled(true);
e.getEntity().remove();
}
}
}
}
@EventHandler
public void onPrimedTnt(EntityExplodeEvent e){
if(e.getEntity()==null) return;
if(e.getEntity() instanceof TNTPrimed){
if(fallingSandList.containsKey(e.getEntity())){
Entity entity = e.getEntity();
Player p = fallingSandList.get(e.getEntity());
fallingSandList.remove(e.getEntity());
Block b = entity.getLocation().getBlock().getRelative(BlockFace.DOWN);
if(!FurnitureLib.getInstance().getPermManager().canBuild(p, b.getLocation())){
e.setCancelled(true);
e.blockList().clear();
e.getEntity().remove();
}
}
}
}
@SuppressWarnings("deprecation")
@EventHandler
public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;}
if(e.getPlayer().getItemInHand()==null){return;}
if(e.getPlayer().getItemInHand().getType()==null){return;}
if(!e.getPlayer().getItemInHand().getType().isBlock()){return;}
Location loc = getRelative(getCenter(), getBlockFace(), -.8, -1.03).add(0, -.2, 0);
loc.setYaw(getYaw());
ItemStack stack = e.getPlayer().getItemInHand();
if(stack.getType().equals(Material.TNT)){
TNTPrimed tnt = (TNTPrimed) getWorld().spawnEntity(loc, EntityType.PRIMED_TNT);
Vector v=null;
switch (getBlockFace()) {
case NORTH:v= new Vector(0, 0.5, 1.2);break;
case SOUTH:v= new Vector(0, 0.5, -1.2);break;
case EAST: v= new Vector(-1.2, 0.5, 0);break;
case WEST: v= new Vector(1.2, 0.5, 0);break;
default:break;
}
tnt.playEffect(EntityEffect.WITCH_MAGIC);
tnt.setVelocity(v.multiply(1));
fallingSandList.put(tnt, e.getPlayer());
}else{
FallingBlock block = getWorld().spawnFallingBlock(loc, stack.getType().getId(), (byte) stack.getDurability());
Vector v=null;
switch (getBlockFace()) {
case NORTH:v= new Vector(0, 0.5, 1.2);break;
case SOUTH:v= new Vector(0, 0.5, -1.2);break;
case EAST: v= new Vector(-1.2, 0.5, 0);break;
case WEST: v= new Vector(1.2, 0.5, 0);break;
default:break;
}
block.playEffect(EntityEffect.WITCH_MAGIC);
block.setDropItem(false);
block.setVelocity(v.multiply(1));
fallingSandList.put(block, e.getPlayer());
}
if(e.getPlayer().getGameMode().equals(GameMode.CREATIVE) && getLib().useGamemode()) return;
Integer i = e.getPlayer().getInventory().getHeldItemSlot();
ItemStack is = e.getPlayer().getItemInHand();
is.setAmount(is.getAmount()-1);
e.getPlayer().getInventory().setItem(i, is);
e.getPlayer().updateInventory();
}
}

View File

@ -129,9 +129,8 @@ public class flag extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
@ -141,9 +140,8 @@ public class flag extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
if(e.getPlayer().getInventory().getItemInMainHand()!=null&&e.getPlayer().getInventory().getItemInMainHand().getType()!=null){ if(e.getPlayer().getInventory().getItemInMainHand()!=null&&e.getPlayer().getInventory().getItemInMainHand().getType()!=null){
@ -170,9 +168,8 @@ public class flag extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBlockBreakEvent e) { public void onFurnitureBreak(FurnitureBlockBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
delete(); delete();
@ -181,9 +178,8 @@ public class flag extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureBlockClickEvent e) { public void onFurnitureClick(FurnitureBlockClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
if(e.getPlayer().getInventory().getItemInMainHand()!=null&&e.getPlayer().getInventory().getItemInMainHand().getType()!=null){ if(e.getPlayer().getInventory().getItemInMainHand()!=null&&e.getPlayer().getInventory().getItemInMainHand().getType()!=null){

View File

@ -310,9 +310,8 @@ public class guillotine extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
if(!isRunning()){ if(!isRunning()){
@ -341,12 +340,10 @@ public class guillotine extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
Player p = e.getPlayer(); Player p = e.getPlayer();
if(!getLib().canBuild(e.getPlayer(), getObjID(), EventType.INTERACT)){return;} if(!getLib().canBuild(e.getPlayer(), getObjID(), EventType.INTERACT)){return;}
if(p.isSneaking()){ if(p.isSneaking()){
@ -453,7 +450,7 @@ public class guillotine extends Furniture implements Listener{
boolean a = false,b = false,c = false; boolean a = false,b = false,c = false;
a = !packet1.isInvisible(); a = !packet1.isInvisible();
b = !packet2.isInvisible(); b = !packet2.isInvisible();
if(packet1.getItemInMainHand()!=null&&!packet1.getItemInMainHand().equals(Material.AIR)){ if(packet1.getItemInMainHand()!=null&&!packet1.getItemInMainHand().getType().equals(Material.AIR)){
c = true; c = true;
} }

View File

@ -53,9 +53,8 @@ public class weaponStand extends Furniture {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(e.isCancelled()){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
if(p!=null){ if(p!=null){
p.closeInventory(); p.closeInventory();
@ -77,10 +76,9 @@ public class weaponStand extends Furniture {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(p!=null){return;} if(p!=null){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
this.p = e.getPlayer(); this.p = e.getPlayer();
@ -105,12 +103,12 @@ public class weaponStand extends Furniture {
ItemMeta im1 = is1.getItemMeta(); ItemMeta im1 = is1.getItemMeta();
ItemMeta im3 = is3.getItemMeta(); ItemMeta im3 = is3.getItemMeta();
im1.setDisplayName("<EFBFBD>c"); im1.setDisplayName("§c");
im3.setDisplayName("<EFBFBD>c"); im3.setDisplayName("§c");
is1.setItemMeta(im1); is1.setItemMeta(im1);
is3.setItemMeta(im3); is3.setItemMeta(im3);
inv = Bukkit.createInventory(null, 45, "<EFBFBD>cWeaponBox"); inv = Bukkit.createInventory(null, 45, "§cWeaponBox");
List<fEntity> asList = getManager().getfArmorStandByObjectID(getObjID()); List<fEntity> asList = getManager().getfArmorStandByObjectID(getObjID());
int j = 1; int j = 1;

View File

@ -61,7 +61,6 @@ public class BlackBoard extends Furniture implements Listener {
Location loc = getRelative(getCenter(), getBlockFace(),.25d, 1.2d).add(0, -1.63, 0); Location loc = getRelative(getCenter(), getBlockFace(),.25d, 1.2d).add(0, -1.63, 0);
loc.setYaw(getYaw()+180); loc.setYaw(getYaw()+180);
fArmorStand stand = spawnArmorStand(loc); fArmorStand stand = spawnArmorStand(loc);
//stand.setItemInHand(new ItemStack(Material.BONE));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(-110, 0, 270))); stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(-110, 0, 270)));
stand.setMarker(false); stand.setMarker(false);
stand.setName("#ITEM#"); stand.setName("#ITEM#");
@ -76,9 +75,8 @@ public class BlackBoard extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
delete(); delete();
@ -87,13 +85,11 @@ public class BlackBoard extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
Player p = e.getPlayer(); Player p = e.getPlayer();
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
if(p.getInventory().getItemInMainHand().getType().isBlock()&&!p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;} if(p.getInventory().getItemInMainHand().getType().isBlock()&&!p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;}
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#ITEM#")){ if(packet.getName().equalsIgnoreCase("#ITEM#")){

View File

@ -72,7 +72,9 @@ public class SchoolChair extends Furniture implements Listener {
stand.setHelmet(new ItemStack(Material.IRON_PLATE)); stand.setHelmet(new ItemStack(Material.IRON_PLATE));
asList.add(stand); asList.add(stand);
stand = spawnArmorStand(getCenter().subtract(0, 1.3, 0)); Location loc = getCenter().subtract(0, 1.7, 0);
loc.setYaw(getYaw()+180);
stand = spawnArmorStand(loc);
stand.setName("#SITZ#"); stand.setName("#SITZ#");
asList.add(stand); asList.add(stand);
@ -90,9 +92,8 @@ public class SchoolChair extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID()==null) return; if(e.getID()==null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
@ -102,9 +103,8 @@ public class SchoolChair extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#SITZ#")){ if(packet.getName().equalsIgnoreCase("#SITZ#")){

View File

@ -36,12 +36,10 @@ public class SchoolTable extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#ITEM#")){ if(packet.getName().equalsIgnoreCase("#ITEM#")){
if(packet.getInventory().getItemInMainHand()!=null&&!packet.getInventory().getItemInMainHand().getType().equals(Material.AIR)){ if(packet.getInventory().getItemInMainHand()!=null&&!packet.getInventory().getItemInMainHand().getType().equals(Material.AIR)){
@ -56,13 +54,11 @@ public class SchoolTable extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
Player p = e.getPlayer(); Player p = e.getPlayer();
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
if(p.getInventory().getItemInMainHand().getType().isBlock()&&!p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;} if(p.getInventory().getItemInMainHand().getType().isBlock()&&!p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;}
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#ITEM#")){ if(packet.getName().equalsIgnoreCase("#ITEM#")){

View File

@ -33,9 +33,8 @@ public class TrashCan extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.remove(); e.remove();
@ -44,9 +43,8 @@ public class TrashCan extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
ItemStack is = e.getPlayer().getInventory().getItemInMainHand(); ItemStack is = e.getPlayer().getInventory().getItemInMainHand();

View File

@ -87,10 +87,8 @@ public class AdventCalender extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}
e.remove(true,false); e.remove(true,false);
@ -99,10 +97,8 @@ public class AdventCalender extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
ItemStack is = e.getPlayer().getInventory().getItemInMainHand(); ItemStack is = e.getPlayer().getInventory().getItemInMainHand();
if(is==null){open(e.getPlayer()); return;} if(is==null){open(e.getPlayer()); return;}

View File

@ -42,10 +42,8 @@ public class AdventWreath extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}
e.remove(true,false); e.remove(true,false);
@ -54,13 +52,9 @@ public class AdventWreath extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;}
if(e.isCancelled()){return;}
if(e.getID()==null) return;
if(!e.getID().equals(getObjID())){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
fArmorStand stand = e.getfArmorStand(); fArmorStand stand = e.getfArmorStand();
String str = stand.getName(); String str = stand.getName();
if(str.startsWith("Fire") || str.startsWith("Torch")){ if(str.startsWith("Fire") || str.startsWith("Torch")){

View File

@ -1,123 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.christmas;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.SkullType;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import com.mojang.authlib.GameProfile;
import com.mojang.authlib.properties.Property;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
public class CandyCane extends Furniture implements Listener {
public CandyCane(ObjectID id){
super(id);
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, getPlugin());
return;
}
spawn(id.getStartLocation());
}
private String generateSessionKey(int length){
String alphabet = new String("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"); //9
int n = alphabet.length();
String result = new String();
Random r = new Random();
for (int i=0; i<length; i++) result = result + alphabet.charAt(r.nextInt(n));
return result;
}
private ItemStack getSkull() {
ItemStack skull = new ItemStack(Material.SKULL_ITEM, 1, (short) SkullType.PLAYER.ordinal());
ItemMeta headMeta = skull.getItemMeta();
GameProfile profile = new GameProfile(UUID.randomUUID(), generateSessionKey(10));
Property textures = new Property(
"textures",
"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGNjM2Y3ODFjOTIzYTI4ODdmMTRjMWVlYTExMDUwMTY2OTY2ZjI2MDI1Nzg0MDFmMTQ1MWU2MDk3Yjk3OWRmIn19fQ"
);
profile.getProperties().put(textures.getName(), textures);
try {
Field profileField = headMeta.getClass().getDeclaredField("profile");
profileField.setAccessible(true);
profileField.set(headMeta, profile);
} catch (NoSuchFieldException | SecurityException e) {
e.printStackTrace();
} catch (IllegalArgumentException | IllegalAccessException e) {
e.printStackTrace();
}
skull.setItemMeta(headMeta);
return skull;
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;}
e.remove();
delete();
}
public void onFurnitureClick(FurnitureClickEvent e) {
}
@Override
public void spawn(Location arg0) {
List<fArmorStand> asList = new ArrayList<fArmorStand>();
ItemStack is = getSkull();
double d = .0;
double c = .0;
for(int i = 1; i<7;i++){
d = -2.6+ .59*i;
Location loc = getCenter().clone().add(0,d, 0);
fArmorStand stand = spawnArmorStand(loc);
stand.setHelmet(is);
asList.add(stand);
}
d = d + 3.5;
for(int i = 1; i<4;i++){
c = -.32+.59*i;
Location loc = getRelative(getCenter(), c, 0).add(0,-2.9+d, 0);
fArmorStand stand = spawnArmorStand(loc);
stand.setHelmet(is);
asList.add(stand);
}
Location loc = getRelative(getCenter(), c+.3, 0).add(0,-3.5+d, 0);
fArmorStand stand = spawnArmorStand(loc);
stand.setHelmet(is);
asList.add(stand);
for(fArmorStand pack : asList){
pack.setInvisible(true);
pack.setBasePlate(false);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
}

View File

@ -1,121 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.christmas;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
public class ChristmasTree extends Furniture implements Listener{
public ChristmasTree(ObjectID id){
super(id);
setBlock();
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, getPlugin());
return;
}
spawn(id.getStartLocation());
}
private void setBlock(){
Block b = getCenter().getBlock();
b.setType(Material.FLOWER_POT);
getObjID().addBlock(Arrays.asList(b));
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;}
e.remove(true,true);
delete();
}
@Override
public void onFurnitureClick(FurnitureClickEvent arg0) {
}
@Override
public void spawn(Location arg0) {
List<fArmorStand> asList = new ArrayList<fArmorStand>();
double d = -1.1;
setEbene(.3, d, .3, asList);
setEbene(.2, d+.63, .2, asList);
setEbene(.1, d+1.26, .1, asList);
fArmorStand stand = spawnArmorStand(getCenter().add(0, d+1.89, 0));
stand.setHelmet(new ItemStack(Material.LEAVES));
asList.add(stand);
stand = spawnArmorStand(getCenter().add(0, d+3.18, 0));
stand.setHelmet(new ItemStack(Material.LEAVES));
stand.setSmall(true);
asList.add(stand);
stand = spawnArmorStand(getRelative(getCenter(), getBlockFace(), .5, .4).add(0, d+.2, 0));
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(80, 0, 0)));
asList.add(stand);
stand = spawnArmorStand(getRelative(getCenter(), getBlockFace(), .5, .4).add(0, d+3.3, 0));
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(80, 0, 0)));
asList.add(stand);
Location location = getRelative(getCenter(), getBlockFace(), .15, 0);
location.add(0, 2.9, 0);
stand = spawnArmorStand(location);
stand.setHeadPose(getLutil().degresstoRad(new EulerAngle(90f,180f,90f)));
stand.setHelmet(new ItemStack(Material.GOLD_BLOCK));
stand.setSmall(true);
asList.add(stand);
stand = spawnArmorStand(location);
stand.setHeadPose(getLutil().degresstoRad(new EulerAngle(90f,180f,45f)));
stand.setHelmet(new ItemStack(Material.GOLD_BLOCK));
stand.setSmall(true);
asList.add(stand);
for(fArmorStand pack : asList){
pack.setInvisible(true);
pack.setBasePlate(false);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
private void setEbene(double x, double y, double z, List<fArmorStand> standL){
float yaw = 0;
for(int i = 1; i<=4;i++){
Location loc = getLutil().getRelativ(getCenter(), getLutil().yawToFace(yaw), x, z);
loc.add(0, y, 0);
loc.setYaw(yaw);
fArmorStand stand = spawnArmorStand(loc);
stand.setHelmet(new ItemStack(Material.LEAVES));
yaw+=90;
standL.add(stand);
}
}
}

View File

@ -38,10 +38,8 @@ public class FireworkLauncher extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
@ -58,10 +56,8 @@ public class FireworkLauncher extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}
Player p = e.getPlayer(); Player p = e.getPlayer();

View File

@ -1,145 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.christmas;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBlockBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
public class SnowGolem extends Furniture implements Listener{
public SnowGolem(ObjectID id){
super(id);
setBlock();
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, getPlugin());
return;
}
spawn(id.getStartLocation());
}
private void setBlock(){
Block b = getCenter().getBlock();
b.setType(Material.SNOW_BLOCK);
getObjID().addBlock(Arrays.asList(b));
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;}
e.remove();
delete();
}
@EventHandler
public void onFurnitureBreak(FurnitureBlockBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;}
e.remove();
delete();
}
@Override
public void onFurnitureClick(FurnitureClickEvent arg0) {
}
@Override
public void spawn(Location arg0) {
List<fArmorStand> asList = new ArrayList<fArmorStand>();
fArmorStand stand = spawnArmorStand(getCenter().add(0, -.87, 0));
stand.setHelmet(new ItemStack(Material.SNOW_BLOCK));
asList.add(stand);
stand = spawnArmorStand(getCenter().add(0, .38, 0));
stand.setHelmet(new ItemStack(Material.COAL_BLOCK));
stand.setSmall(true);
asList.add(stand);
Location loc = getRelative(getCenter().add(0, -.75, 0), -.18, -.54);
loc.setYaw(getYaw()+90);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.CARROT_ITEM));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(90, 0, -150)));
stand.setMarker(false);
asList.add(stand);
loc = getRelative(getCenter().add(0, .2, 0), .05, -.15);
loc.setYaw(getYaw()+90);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.COAL_BLOCK));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(70f, 0f, 45f)));
stand.setSmall(true);
asList.add(stand);
loc = getRelative(getCenter().add(0, .2, 0), .05, -.45);
loc.setYaw(getYaw()+90);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.COAL_BLOCK));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(70f, 0f, 45f)));
stand.setSmall(true);
asList.add(stand);
loc = getRelative(getCenter().add(0, -.55, 0), -.15, -.28);
loc.setYaw(getYaw()+90);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.COAL_BLOCK));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(70f, 0f, 45f)));
stand.setSmall(true);
asList.add(stand);
loc = getRelative(getCenter().add(0, -.95, 0), -.15, -.28);
loc.setYaw(getYaw()+90);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.COAL_BLOCK));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(70f, 0f, 45f)));
stand.setSmall(true);
asList.add(stand);
loc = getRelative(getCenter().add(0, -.45, 0), .0, 1.22);
loc.setYaw(getYaw());
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(90f,90f,70f)));
asList.add(stand);
loc = getRelative(getCenter().add(0, -.45, 0), -.1, -1.22);
loc.setYaw(getYaw()+180);
stand = spawnArmorStand(loc);
stand.setItemInMainHand(new ItemStack(Material.STICK));
stand.setRightArmPose(getLutil().degresstoRad(new EulerAngle(90f,90f,70f)));
asList.add(stand);
for(fArmorStand pack : asList){
pack.setInvisible(true);
pack.setBasePlate(false);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
}

View File

@ -93,10 +93,8 @@ public class billboard extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}
e.remove(); e.remove();

View File

@ -105,10 +105,8 @@ public class camera extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.remove(); e.remove();

View File

@ -127,7 +127,6 @@ public class streetlamp extends Furniture implements Listener{
@EventHandler @EventHandler
private void onBlockBreak(FurnitureBlockBreakEvent e){ private void onBlockBreak(FurnitureBlockBreakEvent e){
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
@ -139,7 +138,6 @@ public class streetlamp extends Furniture implements Listener{
@EventHandler @EventHandler
private void onBlockClick(FurnitureBlockClickEvent e){ private void onBlockClick(FurnitureBlockClickEvent e){
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
@ -221,7 +219,6 @@ public class streetlamp extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
@ -235,10 +232,8 @@ public class streetlamp extends Furniture implements Listener{
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
Boolean isOn = isOn(); Boolean isOn = isOn();
fEntity packet = getPacket(); fEntity packet = getPacket();
if(packet==null) return; if(packet==null) return;

View File

@ -1,98 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.electric;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.BlockFace;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import de.Ste3et_C0st.Furniture.Main.main;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.BodyPart;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
public class tv extends Furniture implements Listener{
public tv(ObjectID id){
super(id);
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, main.getInstance());
return;
}
spawn(id.getStartLocation());
}
public void spawn(Location location){
List<fArmorStand> aspList = new ArrayList<fArmorStand>();
BlockFace b = getLutil().yawToFace(location.getYaw()).getOppositeFace();
Location center = getLutil().getCenter(location);
double d = .2;
center.add(0, -1.38+d, 0);
center.setYaw(getLutil().FaceToYaw(b));
Location iron = center.clone();
fArmorStand as = getManager().createArmorStand(getObjID(), iron);
as.getInventory().setHelmet(new ItemStack(Material.IRON_PLATE));
as.setSmall(true);
aspList.add(as);
center.add(0, -1.0, 0);
center.setYaw(getLutil().FaceToYaw(b));
as = getManager().createArmorStand(getObjID(), getRelative(center, getBlockFace(), .3, 0).subtract(0, d, 0));
as.getInventory().setHelmet(new ItemStack(Material.LEVER));
aspList.add(as);
Location tv = getLutil().getRelativ(center.clone().add(0, .55, 0), b, -.38, -.2);
tv.add(0, -.1, 0);
tv.setYaw(getLutil().FaceToYaw(b));
Double l = .62-d;
for(int i = 0;i<=1;i++){
setRow(tv, .62, l, -.35,2,getLutil().degresstoRad(new EulerAngle(90, 0, 0)), aspList);
l+=.62;
}
for(fArmorStand asp : aspList){
asp.setBasePlate(false);
asp.setInvisible(true);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
public void setRow(Location loc, double x,double y, double z, int replay, EulerAngle angle, List<fArmorStand> list){
Double d = .0;
for(int i = 0; i<=replay;i++){
Location loc1= getLutil().getRelativ(loc, getBlockFace(), z, d-.825);
loc1.setYaw(getLutil().FaceToYaw(getBlockFace()));
loc1.add(0, y,0);
fArmorStand packet = getManager().createArmorStand(getObjID(), loc1);
packet.getInventory().setHelmet(new ItemStack(Material.CARPET, 1 , (short) 15));
packet.setPose(angle, BodyPart.HEAD);
list.add(packet);
d+=x;
}
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){
if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;}
e.remove();
delete();
}
@EventHandler
public void onFurnitureClick(FurnitureClickEvent e){}
}

View File

@ -1,88 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.garden;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import de.Ste3et_C0st.Furniture.Main.main;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
import de.Ste3et_C0st.FurnitureLib.main.entity.fEntity;
public class SleepingBag extends Furniture implements Listener {
public SleepingBag(ObjectID id){
super(id);
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, main.getInstance());
return;
}
spawn(id.getStartLocation());
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) {
if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;}
delete();
e.remove();
}
@EventHandler
public void onFurnitureClick(FurnitureClickEvent e) {
if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;}
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#SITZ#")){
if(packet.getPassanger()==null){
packet.setPassanger(e.getPlayer());
}
}
}
}
public void spawn(Location loc) {
List<fArmorStand> asList = new ArrayList<fArmorStand>();
double offset = .3;
fArmorStand stand = spawnArmorStand(getRelative(getCenter(), 0 - offset, 0).add(0, -2.15, 0));
asList.add(stand);
stand.setHelmet(new ItemStack(Material.IRON_TRAPDOOR));
stand.setHeadPose(getLutil().degresstoRad(new EulerAngle(90, 0, 0)));
stand = spawnArmorStand(getRelative(getCenter(), 2 - offset, 0).add(0, -1.7, 0));
asList.add(stand);
stand.setHelmet(new ItemStack(Material.BANNER, 1, (short) 3));
stand.setHeadPose(getLutil().degresstoRad(new EulerAngle(-90, 0, 0)));
stand = spawnArmorStand(getRelative(getCenter(), -.5 - offset, 0).add(0, -1.68, 0));
asList.add(stand);
stand.setHelmet(new ItemStack(Material.BANNER, 1, (short) 3));
stand.setHeadPose(getLutil().degresstoRad(new EulerAngle(-90, 180, 0)));
stand = spawnArmorStand(getRelative(getCenter(), .3 - offset, 0).add(0, -2.1, 0));
stand.setName("#SITZ#");
asList.add(stand);
for(fArmorStand as : asList){
as.setInvisible(true);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
}

View File

@ -76,13 +76,12 @@ public class TFlowerPot extends Furniture implements Listener {
@EventHandler @EventHandler
private void BlockBreak(FurnitureBlockBreakEvent e){ private void BlockBreak(FurnitureBlockBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if (pot==null) return; if (pot==null) return;
if (e.getBlock() == null) return; if (e.getBlock() == null) return;
if (e.getBlock().getLocation() == null) return; if (e.getBlock().getLocation() == null) return;
if(!e.getBlock().equals(pot)){return;} if(!e.getBlock().equals(pot)){return;}
e.setCancelled(true);
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}
destroy(e.getPlayer()); destroy(e.getPlayer());
pot.setType(Material.AIR); pot.setType(Material.AIR);

View File

@ -35,9 +35,8 @@ public class Trunk extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.remove(); e.remove();
@ -46,9 +45,8 @@ public class Trunk extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.getPlayer().getInventory().getItemInMainHand().getType().isBlock()|| if(!e.getPlayer().getInventory().getItemInMainHand().getType().isBlock()||
e.getPlayer().getInventory().getItemInMainHand().getType().equals(Material.AIR)){setPassanger(e.getfArmorStand(), e.getPlayer());return;} e.getPlayer().getInventory().getItemInMainHand().getType().equals(Material.AIR)){setPassanger(e.getfArmorStand(), e.getPlayer());return;}

View File

@ -45,9 +45,8 @@ public class WaterBottle extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
@ -57,9 +56,8 @@ public class WaterBottle extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canInteract(e.getPlayer())){return;} if(!canInteract(e.getPlayer())){return;}
Material data = e.getPlayer().getInventory().getItemInMainHand().getType(); Material data = e.getPlayer().getInventory().getItemInMainHand().getType();
@ -77,7 +75,7 @@ public class WaterBottle extends Furniture implements Listener {
for(fEntity stand : getfAsList()){ for(fEntity stand : getfAsList()){
if(stand.getName().equalsIgnoreCase("#ITEM#")){ if(stand.getName().equalsIgnoreCase("#ITEM#")){
fstand = stand; fstand = stand;
if(stand.getItemInMainHand()!=null&&!stand.getItemInMainHand().equals(Material.AIR)){ if(stand.getItemInMainHand()!=null&&!stand.getItemInMainHand().getType().equals(Material.AIR)){
ItemStack is = stand.getItemInMainHand(); ItemStack is = stand.getItemInMainHand();
is.setAmount(1); is.setAmount(1);
getWorld().dropItem(getLocation(), is); getWorld().dropItem(getLocation(), is);

View File

@ -1,99 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.garden;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.BodyPart;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
import de.Ste3et_C0st.FurnitureLib.main.entity.fEntity;
public class campchair extends Furniture implements Listener {
public campchair(ObjectID id){
super(id);
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, getPlugin());
return;
}
spawn(id.getStartLocation());
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) {
if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;}
delete();
e.remove();
}
@EventHandler
public void onFurnitureClick(FurnitureClickEvent e) {
if(e.getID() == null || getObjID() == null) return;
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;}
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#SITZ#")){
if(packet.getPassanger()==null){
packet.setPassanger(e.getPlayer());
}
}
}
}
@Override
public void spawn(Location location) {
List<fArmorStand> aspList = new ArrayList<fArmorStand>();
Location middle = getLutil().getCenter(location);
middle.add(0, -1.05, 0);
middle.setYaw(getLutil().FaceToYaw(getBlockFace()));
Location l1 = getLutil().getRelativ(middle, getBlockFace(), .25, .4);
fArmorStand packet = getManager().createArmorStand(getObjID(), l1);
packet.getInventory().setItemInMainHand(new ItemStack(Material.LADDER));
packet.setPose(getLutil().degresstoRad(new EulerAngle(50, 0, 0)), BodyPart.RIGHT_ARM);
aspList.add(packet);
l1 = getLutil().getRelativ(middle, getBlockFace().getOppositeFace(), .25, .4);
packet = getManager().createArmorStand(getObjID(), l1);
packet.getInventory().setItemInMainHand(new ItemStack(Material.LADDER));
packet.setPose(getLutil().degresstoRad(new EulerAngle(50, 0, 0)), BodyPart.RIGHT_ARM);
aspList.add(packet);
l1 = middle.clone();
l1.add(0, -.39, 0);
packet = getManager().createArmorStand(getObjID(), l1);
packet.getInventory().setHelmet(new ItemStack(Material.WOOD_PLATE));
aspList.add(packet);
middle.add(0,-0.6-.26,0);
middle.setYaw(getLutil().FaceToYaw(getBlockFace().getOppositeFace()));
packet = getManager().createArmorStand(getObjID(), middle);
packet.setName("#SITZ#");
aspList.add(packet);
for(fArmorStand as : aspList){
as.setInvisible(true);
as.setBasePlate(false);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
}

View File

@ -73,7 +73,6 @@ public class fance extends Furniture implements Listener{
private void onBlockBreak(FurnitureBlockBreakEvent e){ private void onBlockBreak(FurnitureBlockBreakEvent e){
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.remove(); e.remove();
@ -85,7 +84,6 @@ public class fance extends Furniture implements Listener{
private void onBlockBreak(FurnitureBlockClickEvent e){ private void onBlockBreak(FurnitureBlockClickEvent e){
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
Player p = e.getPlayer(); Player p = e.getPlayer();
@ -109,13 +107,10 @@ public class fance extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(e.getID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
e.remove(); e.remove();
delete(); delete();
} }
@ -132,7 +127,7 @@ public class fance extends Furniture implements Listener{
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;} if(e.isCancelled()){return;}
if(this.block==null) return; if(this.block==null) return;

View File

@ -130,7 +130,6 @@ public class graveStone extends Furniture implements Listener{
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().getPlugin().equalsIgnoreCase(main.getInstance().getName())){return;} if(!e.getID().getPlugin().equalsIgnoreCase(main.getInstance().getName())){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
@ -156,7 +155,6 @@ public class graveStone extends Furniture implements Listener{
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(!e.getID().getPlugin().equalsIgnoreCase(getPlugin().getName())){return;} if(!e.getID().getPlugin().equalsIgnoreCase(getPlugin().getName())){return;}
if(e.isCancelled()){return;}
Player p = e.getPlayer(); Player p = e.getPlayer();
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}

View File

@ -19,10 +19,12 @@ import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.util.EulerAngle; import org.bukkit.util.EulerAngle;
import de.Ste3et_C0st.Furniture.Main.main; import de.Ste3et_C0st.Furniture.Main.main;
import de.Ste3et_C0st.FurnitureLib.Crafting.Project;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBlockBreakEvent; import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBlockBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBlockClickEvent; import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBlockClickEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent; import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent; import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.Utilitis.HiddenStringUtils;
import de.Ste3et_C0st.FurnitureLib.Utilitis.ManageInv; import de.Ste3et_C0st.FurnitureLib.Utilitis.ManageInv;
import de.Ste3et_C0st.FurnitureLib.main.Furniture; import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.FurnitureLib; import de.Ste3et_C0st.FurnitureLib.main.FurnitureLib;
@ -35,7 +37,7 @@ public class log extends Furniture {
Block b; Block b;
int mode = 0; int mode = 0;
Inventory inv = Bukkit.createInventory(null, 9, "$2Settings"); Inventory inv = Bukkit.createInventory(null, 9, "§2Settings");
ItemStack pane = new ItemStack(Material.STAINED_GLASS_PANE); ItemStack pane = new ItemStack(Material.STAINED_GLASS_PANE);
ItemStack permissions = new ItemStack(Material.ARROW); ItemStack permissions = new ItemStack(Material.ARROW);
List<ItemStack> isList = new ArrayList<ItemStack>(); List<ItemStack> isList = new ArrayList<ItemStack>();
@ -46,7 +48,7 @@ public class log extends Furniture {
b = getLocation().getBlock(); b = getLocation().getBlock();
getObjID().addBlock(Arrays.asList(b)); getObjID().addBlock(Arrays.asList(b));
ItemMeta meta = pane.getItemMeta(); ItemMeta meta = pane.getItemMeta();
meta.setDisplayName("$c"); meta.setDisplayName("§c");
pane.setItemMeta(meta); pane.setItemMeta(meta);
pane.setDurability((short) 15); pane.setDurability((short) 15);
pane.setItemMeta(meta); pane.setItemMeta(meta);
@ -62,24 +64,24 @@ public class log extends Furniture {
ItemStack stack = new ItemStack(Material.BANNER); ItemStack stack = new ItemStack(Material.BANNER);
stack.setDurability((short) 1); stack.setDurability((short) 1);
ItemMeta meta = stack.getItemMeta(); ItemMeta meta = stack.getItemMeta();
meta.setDisplayName("$6Mode: $cTop"); meta.setDisplayName("§6Mode: §cTop");
stack.setItemMeta(meta); stack.setItemMeta(meta);
isList.add(stack); isList.add(stack);
stack = new ItemStack(Material.BANNER); stack = new ItemStack(Material.BANNER);
stack.setDurability((short) 2); stack.setDurability((short) 2);
meta = stack.getItemMeta(); meta = stack.getItemMeta();
meta.setDisplayName("$6Mode: $cFront I"); meta.setDisplayName("§6Mode: §cFront I");
stack.setItemMeta(meta); stack.setItemMeta(meta);
isList.add(stack); isList.add(stack);
stack = new ItemStack(Material.BANNER); stack = new ItemStack(Material.BANNER);
stack.setDurability((short) 11); stack.setDurability((short) 11);
meta = stack.getItemMeta(); meta = stack.getItemMeta();
meta.setDisplayName("$6Mode: $cFront II"); meta.setDisplayName("§6Mode: §cFront II");
stack.setItemMeta(meta); stack.setItemMeta(meta);
isList.add(stack); isList.add(stack);
meta = permissions.getItemMeta(); meta = permissions.getItemMeta();
meta.setDisplayName("$cChange Permissions (Owner Only)"); meta.setDisplayName("§cChange Permissions (Owner Only)");
permissions.setItemMeta(meta); permissions.setItemMeta(meta);
} }
@ -237,6 +239,7 @@ public class log extends Furniture {
return; return;
}else if(!p.getInventory().getItemInMainHand().getType().isBlock() && !p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){ }else if(!p.getInventory().getItemInMainHand().getType().isBlock() && !p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){
fEntity stand = null; fEntity stand = null;
if(getProjectByItem(p.getInventory().getItemInMainHand()) != null){return;}
for(fEntity s : getObjID().getPacketList()){ for(fEntity s : getObjID().getPacketList()){
if(s.getName().equalsIgnoreCase(mode+"")){ if(s.getName().equalsIgnoreCase(mode+"")){
stand = s; stand = s;
@ -313,10 +316,8 @@ public class log extends Furniture {
public void onBlockBreak(FurnitureBlockBreakEvent e){ public void onBlockBreak(FurnitureBlockBreakEvent e){
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
Player p = e.getPlayer(); Player p = e.getPlayer();
fEntity stand = null; fEntity stand = null;
@ -327,8 +328,6 @@ public class log extends Furniture {
} }
} }
if(stand==null){p.sendMessage("test1");return;}
if(stand.getItemInMainHand()!=null&&!stand.getItemInMainHand().getType().equals(Material.AIR)){ if(stand.getItemInMainHand()!=null&&!stand.getItemInMainHand().getType().equals(Material.AIR)){
ItemStack is = stand.getItemInMainHand(); ItemStack is = stand.getItemInMainHand();
is.setAmount(1); is.setAmount(1);
@ -339,4 +338,33 @@ public class log extends Furniture {
b.setType(Material.AIR); b.setType(Material.AIR);
b=null; b=null;
} }
private Project getProjectByItem(ItemStack is){
ItemStack stack = getItemStackCopy(is);
if(stack==null) return null;
String systemID = "";
if(stack.hasItemMeta()){
if(stack.getItemMeta().hasLore()){
List<String> s = stack.getItemMeta().getLore();
if(HiddenStringUtils.hasHiddenString(s.get(0))) systemID = HiddenStringUtils.extractHiddenString(s.get(0));
}
}
for(Project pro : FurnitureLib.getInstance().getFurnitureManager().getProjects()){
if(pro==null) continue;
if(pro.getSystemID()==null) continue;
if(pro.getSystemID().equalsIgnoreCase(systemID)){
return pro;
}
}
return null;
}
private ItemStack getItemStackCopy(ItemStack is){
ItemStack copy = new ItemStack(is.getType());
copy.setAmount(1);
copy.setDurability(is.getDurability());
copy.setItemMeta(is.getItemMeta());
return copy;
}
} }

View File

@ -188,7 +188,6 @@ public class mailBox extends Furniture implements Listener {
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}

View File

@ -114,15 +114,12 @@ public class sunshade extends Furniture implements Listener{
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
Player p = e.getPlayer(); Player p = e.getPlayer();
ItemStack is = p.getInventory().getItemInMainHand(); ItemStack is = p.getInventory().getItemInMainHand();
if(!getLib().canBuild(e.getPlayer(), getObjID(), EventType.INTERACT)){return;} if(!getLib().canBuild(e.getPlayer(), getObjID(), EventType.INTERACT)){return;}
if(is.getType().equals(Material.BANNER)){ if(is.getType().equals(Material.BANNER)){
e.setCancelled(true);
if(isRunning()){return;} if(isRunning()){return;}
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getInventory().getHelmet()!=null&&packet.getInventory().getHelmet().getType().equals(Material.BANNER)){ if(packet.getInventory().getHelmet()!=null&&packet.getInventory().getHelmet().getType().equals(Material.BANNER)){
@ -154,10 +151,8 @@ public class sunshade extends Furniture implements Listener{
public void onBlockBreak(FurnitureBlockBreakEvent e){ public void onBlockBreak(FurnitureBlockBreakEvent e){
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
stopTimer(); stopTimer();
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#ITEM#")){ if(packet.getName().equalsIgnoreCase("#ITEM#")){
@ -175,14 +170,11 @@ public class sunshade extends Furniture implements Listener{
public void onBlockBreak(FurnitureBlockClickEvent e){ public void onBlockBreak(FurnitureBlockClickEvent e){
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
Player p = e.getPlayer(); Player p = e.getPlayer();
ItemStack is = p.getInventory().getItemInMainHand(); ItemStack is = p.getInventory().getItemInMainHand();
if(is.getType().equals(Material.BANNER)){ if(is.getType().equals(Material.BANNER)){
e.setCancelled(true);
if(isRunning()){return;} if(isRunning()){return;}
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getInventory().getHelmet()!=null&&packet.getInventory().getHelmet().getType().equals(Material.BANNER)){ if(packet.getInventory().getHelmet()!=null&&packet.getInventory().getHelmet().getType().equals(Material.BANNER)){
@ -219,10 +211,8 @@ public class sunshade extends Furniture implements Listener{
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
stopTimer(); stopTimer();
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#ITEM#")){ if(packet.getName().equalsIgnoreCase("#ITEM#")){

View File

@ -1,128 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.indoor;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.BlockFace;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import de.Ste3et_C0st.Furniture.Main.main;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.BodyPart;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
import de.Ste3et_C0st.FurnitureLib.main.entity.fEntity;
public class chair extends Furniture implements Listener{
public chair(ObjectID id){
super(id);
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, main.getInstance());
return;
}
spawn(id.getStartLocation());
}
public void spawn(Location loc){
List<fArmorStand> aspList = new ArrayList<fArmorStand>();
BlockFace b = getLutil().yawToFace(loc.getYaw()).getOppositeFace();
Location center = getLutil().getCenter(loc).add(0, -.05, 0);
Location sitz = new Location(center.getWorld(), center.getX(), center.getY(), center.getZ());
Location lehne = getLutil().getRelativ(center.add(0,-1.1,0), b, -.25, .0);
double offsetX = -.25;
Location feet1 = getRelative(center.clone(), getBlockFace(), -.24-offsetX, -.24).subtract(0, 1.2, 0);
Location feet2 = getRelative(center.clone(), getBlockFace(), .24-offsetX, -.24).subtract(0, 1.2, 0);
Location feet3 = getRelative(center.clone(), getBlockFace(), .24-offsetX, .24).subtract(0, 1.2, 0);
Location feet4 = getRelative(center.clone(), getBlockFace(), -.24-offsetX, .24).subtract(0, 1.2, 0);
feet1.setYaw(getYaw());
feet2.setYaw(getYaw());
feet3.setYaw(getYaw());
feet4.setYaw(getYaw());
sitz.add(0,-1.45,0);
sitz.setYaw(getLutil().FaceToYaw(b));
lehne.setYaw(getLutil().FaceToYaw(b));
fArmorStand as = getManager().createArmorStand(getObjID(), sitz.clone());
as.getInventory().setHelmet(new ItemStack(Material.TRAP_DOOR));
aspList.add(as);
as = getManager().createArmorStand(getObjID(), lehne.clone());
as.getInventory().setHelmet(new ItemStack(Material.TRAP_DOOR));
as.setPose(new EulerAngle(1.57, .0, .0), BodyPart.HEAD);
aspList.add(as);
as = getManager().createArmorStand(getObjID(), feet1.clone());
as.getInventory().setHelmet(new ItemStack(Material.LEVER));
aspList.add(as);
as = getManager().createArmorStand(getObjID(), feet2.clone());
as.getInventory().setHelmet(new ItemStack(Material.LEVER));
aspList.add(as);
as = getManager().createArmorStand(getObjID(), feet3.clone());
as.getInventory().setHelmet(new ItemStack(Material.LEVER));
aspList.add(as);
as = getManager().createArmorStand(getObjID(), feet4.clone());
as.getInventory().setHelmet(new ItemStack(Material.LEVER));
aspList.add(as);
Location sit = sitz.clone().add(0,-.2,0);
as = getManager().createArmorStand(getObjID(), sit.clone());
as.setName("#SITZ#");
aspList.add(as);
for(fArmorStand asp : aspList){
asp.setInvisible(true);
asp.setBasePlate(false);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;}
e.remove();
delete();
}
@EventHandler
public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;}
fEntity packet = null;
for(fEntity as : getManager().getfArmorStandByObjectID(getObjID())){
if(as.getName().equalsIgnoreCase("#SITZ#")){
packet=as;
break;
}
}
if(packet!=null){
if(packet.getPassanger()==null){
packet.setPassanger(e.getPlayer());
packet.update();
}
}
}
}

View File

@ -108,9 +108,8 @@ public class lantern extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(block==null) return; if(block==null) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
@ -120,9 +119,8 @@ public class lantern extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()) return;
if(block==null) return; if(block==null) return;
if(!e.getID().equals(getObjID())) return; if(!e.getID().equals(getObjID())) return;
if(!e.canBuild()){return;} if(!e.canBuild()){return;}

View File

@ -177,9 +177,8 @@ public class largeTable extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID()==null){return;} if(e.getID()==null){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
@ -198,13 +197,11 @@ public class largeTable extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID()==null) return; if(e.getID()==null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
Player p = e.getPlayer(); Player p = e.getPlayer();
if(p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){ if(p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){
getLib().getColorManager().color(p, e.canBuild(), Material.STAINED_GLASS_PANE, getObjID(), ColorType.BLOCK, 3); getLib().getColorManager().color(p, e.canBuild(), Material.STAINED_GLASS_PANE, getObjID(), ColorType.BLOCK, 3);
@ -231,8 +228,8 @@ public class largeTable extends Furniture implements Listener{
} }
} }
} }
if(as==null) return;
if(as!=null&&as.getInventory().getItemInMainHand()!= null && as.getInventory().getItemInMainHand().equals(is)){return;} if(as.getInventory().getItemInMainHand()!= null && as.getInventory().getItemInMainHand().equals(is)){return;}
if(as.getInventory().getItemInMainHand()!=null&&!as.getInventory().getItemInMainHand().getType().equals(Material.AIR)){ if(as.getInventory().getItemInMainHand()!=null&&!as.getInventory().getItemInMainHand().getType().equals(Material.AIR)){
fEntity asp = as; fEntity asp = as;
ItemStack item = asp.getInventory().getItemInMainHand(); ItemStack item = asp.getInventory().getItemInMainHand();

View File

@ -152,11 +152,9 @@ public class sofa extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
e.setCancelled(true);
final Player p = e.getPlayer(); final Player p = e.getPlayer();
if(p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){ if(p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){
getLib().getColorManager().color(p, e.canBuild(), Material.CARPET, getObjID(), ColorType.BLOCK, 12); getLib().getColorManager().color(p, e.canBuild(), Material.CARPET, getObjID(), ColorType.BLOCK, 12);
@ -187,12 +185,10 @@ public class sofa extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(e.isCancelled()){return;}
if(e.getID()==null){return;} if(e.getID()==null){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!getLib().canBuild(e.getPlayer(), getObjID(), EventType.BREAK)){return;} if(!getLib().canBuild(e.getPlayer(), getObjID(), EventType.BREAK)){return;}
e.setCancelled(true);
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getPassanger()!=null){ if(packet.getPassanger()!=null){
packet.eject(); packet.eject();

View File

@ -66,12 +66,10 @@ public class table extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#ITEM#")){ if(packet.getName().equalsIgnoreCase("#ITEM#")){
if(packet.getInventory().getItemInMainHand()!=null&&!packet.getInventory().getItemInMainHand().getType().equals(Material.AIR)){ if(packet.getInventory().getItemInMainHand()!=null&&!packet.getInventory().getItemInMainHand().getType().equals(Material.AIR)){
@ -86,13 +84,11 @@ public class table extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
Player p = e.getPlayer(); Player p = e.getPlayer();
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
if(p.getInventory().getItemInMainHand().getType().isBlock()&&!p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;} if(p.getInventory().getItemInMainHand().getType().isBlock()&&!p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;}
for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){ for(fEntity packet : getManager().getfArmorStandByObjectID(getObjID())){
if(packet.getName().equalsIgnoreCase("#ITEM#")){ if(packet.getName().equalsIgnoreCase("#ITEM#")){
@ -107,7 +103,9 @@ public class table extends Furniture implements Listener {
if(p.getGameMode().equals(GameMode.CREATIVE) && getLib().useGamemode()) break; if(p.getGameMode().equals(GameMode.CREATIVE) && getLib().useGamemode()) break;
Integer i = p.getInventory().getHeldItemSlot(); Integer i = p.getInventory().getHeldItemSlot();
ItemStack is = p.getInventory().getItemInMainHand(); ItemStack is = p.getInventory().getItemInMainHand();
is.setAmount(is.getAmount()-1); int amount = is.getAmount();
amount = amount - 1;
is.setAmount(amount);
p.getInventory().setItem(i, is); p.getInventory().setItem(i, is);
p.updateInventory(); p.updateInventory();
break; break;

View File

@ -55,9 +55,8 @@ public class WaxCandle extends Furniture{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}
@ -67,9 +66,8 @@ public class WaxCandle extends Furniture{
@EventHandler @EventHandler
public void onFurnitureBlockBreak(FurnitureBlockBreakEvent e){ public void onFurnitureBlockBreak(FurnitureBlockBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}
@ -79,9 +77,8 @@ public class WaxCandle extends Furniture{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureBlockClickEvent e) { public void onFurnitureClick(FurnitureBlockClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}
@ -98,9 +95,8 @@ public class WaxCandle extends Furniture{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!canBuild(e.getPlayer())){return;} if(!canBuild(e.getPlayer())){return;}

View File

@ -1,109 +0,0 @@
package de.Ste3et_C0st.Furniture.Objects.outdoor;
import java.util.ArrayList;
import java.util.List;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.EulerAngle;
import de.Ste3et_C0st.Furniture.Main.main;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureBreakEvent;
import de.Ste3et_C0st.FurnitureLib.Events.FurnitureClickEvent;
import de.Ste3et_C0st.FurnitureLib.main.Furniture;
import de.Ste3et_C0st.FurnitureLib.main.ObjectID;
import de.Ste3et_C0st.FurnitureLib.main.Type.BodyPart;
import de.Ste3et_C0st.FurnitureLib.main.Type.SQLAction;
import de.Ste3et_C0st.FurnitureLib.main.entity.fArmorStand;
public class CactusPlant extends Furniture implements Listener {
public CactusPlant(ObjectID id){
super(id);
if(isFinish()){
Bukkit.getPluginManager().registerEvents(this, main.getInstance());
return;
}
spawn(id.getStartLocation());
}
@EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;}
delete();
e.remove();
}
@Override
public void onFurnitureClick(FurnitureClickEvent e) {}
public void spawn(Location location) {
List<fArmorStand> aspList = new ArrayList<fArmorStand>();
Location middle = getLutil().getCenter(location);
middle.add(0, -1.9, 0);
middle.setYaw(getLutil().FaceToYaw(getBlockFace()));
fArmorStand packet = getManager().createArmorStand(getObjID(), middle);
packet.getInventory().setHelmet(new ItemStack(Material.CACTUS));
aspList.add(packet);
packet = getManager().createArmorStand(getObjID(), middle.clone().add(0, .63, 0));
packet.getInventory().setHelmet(new ItemStack(Material.CACTUS));
aspList.add(packet);
packet = getManager().createArmorStand(getObjID(), middle.clone().add(0, 1.18, 0));
packet.getInventory().setHelmet(new ItemStack(Material.CACTUS));
packet.setPose(getLutil().degresstoRad(new EulerAngle(20, 0, 0)), BodyPart.HEAD);
aspList.add(packet);
Location l1 = getLutil().getRelativ(middle.clone().add(0, 1.665, 0), getBlockFace(), .16d, 0d);
l1.setYaw(getLutil().FaceToYaw(getBlockFace()));
packet = getManager().createArmorStand(getObjID(), l1);
packet.getInventory().setHelmet(new ItemStack(Material.CACTUS));
packet.setPose(getLutil().degresstoRad(new EulerAngle(5, 0, 0)), BodyPart.HEAD);
aspList.add(packet);
l1 = getLutil().getRelativ(middle.clone().add(0, 1.43, 0), getBlockFace(), .1d, 0d);
l1.setYaw(getLutil().FaceToYaw(getBlockFace()));
packet = getManager().createArmorStand(getObjID(), l1);
packet.getInventory().setHelmet(new ItemStack(Material.CACTUS));
packet.setSmall(true);
packet.setPose(getLutil().degresstoRad(new EulerAngle(60, 0, 0)), BodyPart.HEAD);
aspList.add(packet);
l1 = getLutil().getRelativ(middle.clone().add(0, 2.3, 0), getBlockFace(), -.07d, 0d);
l1.setYaw(getLutil().FaceToYaw(getBlockFace()));
packet = getManager().createArmorStand(getObjID(), l1);
packet.getInventory().setHelmet(new ItemStack(Material.CACTUS));
packet.setSmall(true);
packet.setPose(getLutil().degresstoRad(new EulerAngle(-45, 0, 0)), BodyPart.HEAD);
aspList.add(packet);
l1 = getLutil().getRelativ(middle.clone().add(0, 2.0, 0), getBlockFace(), .07d, .06d);
l1.setYaw(getLutil().FaceToYaw(getBlockFace()));
packet = getManager().createArmorStand(getObjID(), l1);
packet.getInventory().setHelmet(new ItemStack(Material.CACTUS));
packet.setSmall(true);
packet.setPose(getLutil().degresstoRad(new EulerAngle(0, 0, 45)), BodyPart.HEAD);
aspList.add(packet);
for(fArmorStand as : aspList){
as.setInvisible(true);
as.setBasePlate(false);
}
send();
Bukkit.getPluginManager().registerEvents(this, getPlugin());
}
}

View File

@ -50,11 +50,9 @@ public class barrels extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
Player p = e.getPlayer(); Player p = e.getPlayer();
if(!p.getInventory().getItemInMainHand().getType().isBlock()&&!p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;} if(!p.getInventory().getItemInMainHand().getType().isBlock()&&!p.getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;}
fEntity packet = getManager().getfArmorStandByObjectID(getObjID()).get(0); fEntity packet = getManager().getfArmorStandByObjectID(getObjID()).get(0);
@ -78,11 +76,9 @@ public class barrels extends Furniture implements Listener {
@EventHandler @EventHandler
private void onBlockBreak(FurnitureBlockBreakEvent e){ private void onBlockBreak(FurnitureBlockBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
fEntity packet = getManager().getfArmorStandByObjectID(getObjID()).get(0); fEntity packet = getManager().getfArmorStandByObjectID(getObjID()).get(0);
if(packet.getInventory().getHelmet()!=null&&!packet.getInventory().getHelmet().getType().equals(Material.AIR)){ if(packet.getInventory().getHelmet()!=null&&!packet.getInventory().getHelmet().getType().equals(Material.AIR)){
ItemStack is = packet.getInventory().getHelmet(); ItemStack is = packet.getInventory().getHelmet();
@ -95,12 +91,10 @@ public class barrels extends Furniture implements Listener {
@EventHandler @EventHandler
private void onBlockClick(FurnitureBlockClickEvent e){ private void onBlockClick(FurnitureBlockClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
if(!e.getPlayer().getInventory().getItemInMainHand().getType().isBlock()&&!e.getPlayer().getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;} if(!e.getPlayer().getInventory().getItemInMainHand().getType().isBlock()&&!e.getPlayer().getInventory().getItemInMainHand().getType().equals(Material.AIR)){return;}
e.setCancelled(true);
ItemStack Itemstack = e.getPlayer().getInventory().getItemInMainHand().clone(); ItemStack Itemstack = e.getPlayer().getInventory().getItemInMainHand().clone();
Itemstack.setAmount(1); Itemstack.setAmount(1);
fEntity packet = getManager().getfArmorStandByObjectID(getObjID()).get(0); fEntity packet = getManager().getfArmorStandByObjectID(getObjID()).get(0);
@ -125,11 +119,9 @@ public class barrels extends Furniture implements Listener {
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
fEntity packet = getManager().getfArmorStandByObjectID(getObjID()).get(0); fEntity packet = getManager().getfArmorStandByObjectID(getObjID()).get(0);
if(packet.getInventory().getHelmet()!=null&&!packet.getInventory().getHelmet().getType().equals(Material.AIR)){ if(packet.getInventory().getHelmet()!=null&&!packet.getInventory().getHelmet().getType().equals(Material.AIR)){
ItemStack is = packet.getInventory().getHelmet(); ItemStack is = packet.getInventory().getHelmet();

View File

@ -32,7 +32,6 @@ public class campfire_1 extends Furniture implements Listener{
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null||e.getID()==null){return;} if(getObjID()==null||e.getID()==null){return;}
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID()==null) return; if(e.getID()==null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
@ -49,12 +48,10 @@ public class campfire_1 extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
List<fEntity> aspList = getManager().getfArmorStandByObjectID(getObjID()); List<fEntity> aspList = getManager().getfArmorStandByObjectID(getObjID());
ItemStack is = e.getPlayer().getInventory().getItemInMainHand(); ItemStack is = e.getPlayer().getInventory().getItemInMainHand();
if(is.getType().equals(Material.WATER_BUCKET)){ if(is.getType().equals(Material.WATER_BUCKET)){

View File

@ -151,12 +151,10 @@ public class campfire_2 extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
List<fEntity> aspList = getManager().getfArmorStandByObjectID(getObjID()); List<fEntity> aspList = getManager().getfArmorStandByObjectID(getObjID());
final ItemStack itemStack = e.getPlayer().getInventory().getItemInMainHand(); final ItemStack itemStack = e.getPlayer().getInventory().getItemInMainHand();
fArmorStand packet = null; fArmorStand packet = null;
@ -211,12 +209,10 @@ public class campfire_2 extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
if(isRunning()){ if(isRunning()){
Bukkit.getScheduler().cancelTask(timer); Bukkit.getScheduler().cancelTask(timer);
timer=null; timer=null;

View File

@ -77,9 +77,8 @@ public class hammock extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e) { public void onFurnitureBreak(FurnitureBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
@ -89,9 +88,8 @@ public class hammock extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBlockBreakEvent e) { public void onFurnitureBreak(FurnitureBlockBreakEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.remove(); e.remove();
@ -100,9 +98,8 @@ public class hammock extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
List<fEntity> aspList = getManager().getfArmorStandByObjectID(getObjID()); List<fEntity> aspList = getManager().getfArmorStandByObjectID(getObjID());
Player p = e.getPlayer(); Player p = e.getPlayer();
@ -136,9 +133,8 @@ public class hammock extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureBlockClickEvent e) { public void onFurnitureClick(FurnitureBlockClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
List<fEntity> aspList = getManager().getfArmorStandByObjectID(getObjID()); List<fEntity> aspList = getManager().getfArmorStandByObjectID(getObjID());
Player p = e.getPlayer(); Player p = e.getPlayer();

View File

@ -227,10 +227,8 @@ public class tent_1 extends Furniture implements Listener{
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null||e.getID()==null) return; if(getObjID()==null||e.getID()==null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
block.setType(Material.AIR); block.setType(Material.AIR);
e.remove(); e.remove();
delete(); delete();
@ -238,12 +236,10 @@ public class tent_1 extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
final Player p = e.getPlayer(); final Player p = e.getPlayer();
if(!p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){ if(!p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){
p.openWorkbench(this.block.getLocation(), true); p.openWorkbench(this.block.getLocation(), true);

View File

@ -156,7 +156,7 @@ public class tent_2 extends Furniture implements Listener{
bedLoc = getLutil().setBed(this.getBlockFace(), b1); bedLoc = getLutil().setBed(this.getBlockFace(), b1);
getObjID().addBlock(Arrays.asList(b1.getWorld().getBlockAt(b1))); getObjID().addBlock(Arrays.asList(b1.getBlock(), b2.getBlock(), b1.getBlock().getRelative(getLutil().yawToFace(getLutil().FaceToYaw(getBlockFace()) + 180))));
block.add(b1.getWorld().getBlockAt(b1)); block.add(b1.getWorld().getBlockAt(b1));
block.add(b2.getWorld().getBlockAt(b2)); block.add(b2.getWorld().getBlockAt(b2));
} }
@ -177,12 +177,10 @@ public class tent_2 extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
for(Block bl : block){ for(Block bl : block){
bl.setType(Material.AIR); bl.setType(Material.AIR);
} }
@ -192,11 +190,9 @@ public class tent_2 extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(final FurnitureClickEvent e){ public void onFurnitureClick(final FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
e.setCancelled(true);
Player p = e.getPlayer(); Player p = e.getPlayer();
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
if(!p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){ if(!p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){

View File

@ -155,12 +155,10 @@ public class tent_3 extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
e.setCancelled(true);
bed.setType(Material.AIR); bed.setType(Material.AIR);
e.remove(); e.remove();
delete(); delete();
@ -168,11 +166,9 @@ public class tent_3 extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e){ public void onFurnitureClick(FurnitureClickEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
e.setCancelled(true);
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
Player p = e.getPlayer(); Player p = e.getPlayer();
if(p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){ if(p.getInventory().getItemInMainHand().getType().equals(Material.INK_SACK)){

View File

@ -104,9 +104,8 @@ public class BearTrap extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureBreak(FurnitureBreakEvent e){ public void onFurnitureBreak(FurnitureBreakEvent e){
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(e.getID() == null || getObjID() == null) return; if(e.getID() == null || getObjID() == null) return;
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
@ -116,9 +115,8 @@ public class BearTrap extends Furniture implements Listener{
@EventHandler @EventHandler
public void onFurnitureClick(FurnitureClickEvent e) { public void onFurnitureClick(FurnitureClickEvent e) {
if(getObjID()==null){return;} if(e.getID() == null || getObjID() == null) return;
if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;} if(getObjID().getSQLAction().equals(SQLAction.REMOVE)){return;}
if(e.isCancelled()){return;}
if(!e.getID().equals(getObjID())){return;} if(!e.getID().equals(getObjID())){return;}
if(!e.canBuild()){return;} if(!e.canBuild()){return;}
if(b){ if(b){

View File

@ -1,5 +1,5 @@
name: DiceFurniture name: DiceFurniture
version: 2.9.2 version: 3.1
description: Add some new Objects to the Server description: Add some new Objects to the Server
author: Ste3et_C0st author: Ste3et_C0st
website: http://dicecraft.de website: http://dicecraft.de

16
src/range.yml Normal file
View File

@ -0,0 +1,16 @@
rangeOptions:
Range1:
height: 0.25
width: 1.2
Range2:
height: 0.5
width: 1.2
Range3:
height: 0.75
width: 1.2
Range4:
height: 1.0
width: 1.2
Range5:
height: 1.3
width: 1.2